/* hide the dotted lines around an element when it receives focus */
* { _noFocusLine: expression(this.hideFocus=true); } /* ie7 */
::-moz-focus-inner {border:0;} /* firefox */
:focus {outline:none;} /* ie8, chrome, etc */

body {
    overflow-wrap: anywhere;
    overflow-x: hidden;
    overflow-y: scroll; /* hide horizontal scrollbar */
    font-size: 62.5%;
    font-family: Rubik, sans-serif;
    font-weight: 400;
    background: #01d0fe;
    background-image: -moz-linear-gradient(128deg, rgba(1,208,254,1) 0%, rgba(57,73,214,1) 100%);
    background-image: -webkit-linear-gradient(128deg, rgba(1,208,254,1) 0%, rgba(57,73,214,1) 100%);
    background-image: linear-gradient(128deg, rgba(1,208,254,1) 0%, rgba(57,73,214,1) 100%);
    background-attachment: fixed;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#01d0fe",endColorstr="#3949d6",GradientType=1);
    width: 100%;
    height: 100%;
    margin: 0;
    color: #6f848a;
    line-height: 1.5;
    text-align: left;
    letter-spacing: 0px;
    letter-spacing: .01rem;
}

.prominent {
    color: #354144;
}

div {
    font-size: 20px;
    font-size: 1.0rem;
}

div.content h1, div.content h2 {
    font-weight: 600;
    margin-top: 6px !important;
    margin-top: .3rem !important;
    margin-bottom: 34px !important;
    margin-bottom: 1.7rem !important;
    color: #484c4d;
    position: relative;
}

div.content h1::after, div.content h2::after {
    display: block;
    position: absolute;
    left: 0;
    bottom: -16px;
    bottom: -0.8rem;
    width: 40px;
    width: 2.0rem;
    height: 10px;
    height: .5rem;
    border-radius: 4px;
    border-radius: .2rem;
    background-color: #f54f06;
    content: '';
}

h1 {
    font-size: 36px;
    font-size: 1.8rem;
}
h2 {
    font-size: 30px;
    font-size: 1.5rem;
}

h2 span.tag_num {
    font-size: 20px !important;
    font-size: 1.0rem !important;
    color: #cccccc !important;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border: 0;
}


a {
    color: #2F71BE;
    text-decoration: none;
    position: relative;
    /*text-decoration: underline;
    text-decoration-thickness: 2px;*/
    text-decoration-thickness: .1rem;*/
    transition: all .25s ease-in-out;
}

a:link {
    color: #2F71BE;
}
a:visited {
    color: #2F71BE;
}
a:active {
    color: #f54f06;
}
a:hover {
    color: #f54f06;
}

a img {
    transition: all .25s ease-in-out;
}
a img:hover {
    opacity: 0.9;
    filter: alpha(opacity=90);
}


div.content-wrapper {
    background-color: white;
    width: 100%;
    padding: 0px;
    margin: 0 auto;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 14px 58px 0px;
    box-shadow: rgba(100, 100, 111, 0.2) 0rem .7rem 2.9rem 0rem;
}


div.header {
    width: 100%;
    padding: 0px;
    margin: 0 auto;
    display: -ms-flexbox;
    display: flex;
    color: white;
}

@media screen and (min-width: 1034px) {
    div.content-wrapper {
        border-radius: 5px;
        box-sizing: border-box;
    }
    div.content-wrapper.fixed-width {
        width: 1014px;
    }
    div.header {
        box-sizing: border-box;
    }
    div.header.fixed-width {
        width: 1014px;
    }
}

div.header > a.logo > svg {
    flex: 0 0 250px;
    text-align: left;
}

div.header > a.menu {
    flex: 1;
    text-align: right;
    height: 100%;
    position: relative;
    color: white;

    opacity: 0.8;
    filter: alpha(opacity=80);
}

div.header > a.menu:hover {
    color: white;
    opacity: 1.0;
    filter: none;
}

div.header > a.menu svg, div.header > a.menu image {
    position: absolute;
    top: 7px;
    top: 14px;
    top: 0.7rem;
    right: 5px;
    right: 10px;
    right: 0.5rem;
}

div.header > a.menu span {
    display: none;
    position: absolute;
    top: 24px;
    top: 1.2rem;
    right: 70px;
    right: 3.5rem;
}

@media screen and (min-width: 500px) {
    div.header > a.menu span {
        display: block;
    }
}


div.content {
    padding: 20px;
    padding: 1.0rem;
}

div.cards {
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

div.cards img {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    width: 100%;
    border-top-left-radius: 10px;
    border-top-left-radius: .5rem;
    border-top-right-radius: 10px;
    border-top-right-radius: .5rem;
    box-sizing: border-box;
    border-style: none;
}

div.cards a {
    font-weight: 600;
}

div.cards > div {
    width: 100%;
    min-width: 0;
    max-width: 33.3333333333%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

div.card {
    margin-left: 0;
    margin-right: 0;
    margin-top: 10px;
    margin-top: 0.5rem;
    margin-bottom: 10px;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    border-radius: .5rem;
    box-shadow: rgba(149, 157, 165, 0.25) 0px 8px 24px;
}

@media screen and (min-width: 576px) {
    div.cards > div {
        -ms-flex: 0 0 33.3333333333%;
        flex: 0 0 33.3333333333%;
        max-width: 33.3333333333%;
    }

    div.card {
        margin: 10px;
        margin: .5rem;
    }
}

div.card-title {
    border-bottom-left-radius: 10px;
    border-bottom-left-radius: .5rem;
    border-bottom-right-radius: 10px;
    border-bottom-right-radius: .5rem;
    text-align: center;
    padding: 10px 4px;
    padding: .5rem .2rem;
    font-size: 28px;
    font-size: 1.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

div.footer {
    color: white;
    font-size: 15px;
    font-size: 0.75rem;
    letter-spacing: normal;
    text-align: center;
    margin-left: 10px;
    margin-left: .5rem;
    margin-right: 10px;
    margin-right: .5rem;
}

div.footer a {
    color: #cee9ff;
    font-weight: 700;
}

div.footer a:hover {
    color: white;
}

div.footer ul {
    list-style: none;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 20px;
    margin-bottom: 1.0rem;
}

div.footer li {
    margin-left: 10px;
    margin-left: .5rem;
    margin-right: 10px;
    margin-right: .5rem;
    font-size: 20px;
    font-size: 1.0rem;
}

/* menu and forms */

div.menu {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #0000;
    content: '';    
    transition: all 0.5s;
}

div.menu > div.right {
    overflow: hidden;
    position: fixed;
    right: -100%;
    top: 0;
    height: 100%;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border: 1px solid #e6e6e6;
}

div.menu > div.right, div.content-menu {
    background-color: white;
    text-align: center;
    transition: all 0.5s;
}

div.menu > div.right div {
    border-top: 1px solid #e6e6e6;
    padding: 10px 40px;
    padding: .5rem 2.0rem;
}

div.menu > div.right a:hover div, div.content-menu a:hover div {
    background-color: #f5f5f5;
}

div.menu > div.right a, div.content-menu a {
    text-decoration: none;
    color: #55656a;
    text-align: left;
}

button, a.button, a.anti-button {
    border: none;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

button, a.button {
    border-radius: 8px;
    border-radius: .4rem;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    box-shadow: 0px .2rem .3rem rgba(0, 0, 0, 0.2);
    background-color: #f54f06;
    background-image: -moz-linear-gradient(top, #f58c06 0%, #f54f06 100%);
    background-image: -webkit-linear-gradient(top, #f58c06 0%, #f54f06 100%);
    background-image: linear-gradient(to bottom, #f58c06 0%, #f54f06 100%);
    color: white !important;
    transition: all 0.5s;
}

button:hover, a.button:hover {
    background-image: none;
}

button:active, a.button:active {
    background-color: #f54f06;
    background-image: -moz-linear-gradient(top, #f54f06 0%, #f58c06 100%);
    background-image: -webkit-linear-gradient(top, #f54f06 0%, #f58c06 100%);
    background-image: linear-gradient(to bottom, #f54f06 0%, #f58c06 100%);
    box-shadow: none;
}

button, a.button, a.anti-button {
    /* anti-button is a regular link which has bounds like button so you
       can mix buttons and links in the same line with proper vertical
       alignment*/
    height: 64px;
    height: 3.2rem;
    text-align: center;
    cursor: pointer;
    font-size: 24px;
    font-size: 1.2rem;
    margin: 0 20px;
    margin: 0 1.0rem;
    line-height: 64px;
    line-height: 3.2rem;

}

div.content-menu div.info a.button {
    height: initial;
    line-height: initial;
}

button, a.button {
    padding-left: 40px;
    padding-left: 2.0rem;
    padding-right: 40px;
    padding-right: 2.0rem;
}


table.form {
    width: 100%;
}

td.line {
    border-bottom: 1px solid #e6e6e6;
}

td.label.narrow, td.input {
    padding-top: 10px;
    padding-top: .5rem;
}
td.input.narrow {
    text-align: left;
    width: 66.6%;
}
td.label.narrow {
    text-align: right;
    padding-right: 20px;
    padding-right: 1.0rem;
    width: 33.3%;
    min-width: 10%;
}
td.input input, td.input select {
    box-sizing: border-box;
    width: 90%;
    min-width: 10%;
    margin-right: 8px;
    margin-right: .4rem;
    margin-bottom: 2px;
    margin-bottom: .1rem;
}
@media screen and (min-width: 576px) {
    td.input input, td.input select {
        width: 47%;
    }
}

label {
    font-size: 18px;
    font-size: 0.9rem;
}

input, select {
    outline: none;
    margin: 0;
    border: none;
    height: 48px;
    height: 2.4rem;
    background: #f4f4f4;
    -webkit-box-shadow: inset 0 2px 6px 0 rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: inset 0 .1rem .3rem 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 2px 6px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 .1rem .3rem 0 rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 2px 6px 0 rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 .1rem .3rem 0 rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 6px;
    -webkit-border-radius: .3rem;
    -moz-border-radius: 6px;
    -moz-border-radius: .3rem;
    border-radius: 6px;
    border-radius: .3rem;
    padding: 10px 20px;
    padding: 0.5rem 1.0rem;
    font-size: 20px;
    font-size: 1.0rem;
    font-weight: 400;
    color: #666;
}

td.input input[type=checkbox] {
    height: auto;
    width: auto;
    min-width: auto;
}

input.valid, select.valid {
    border: 1px solid green;
    background-color: #ddffdd;
    color: #006600;
}

input.invalid, select.invalid {
    border: 1px solid red;
    background-color: #ffdddd;
    color: #660000;
}

input:focus, select:focus {
    border: 1px solid #ccc;
    background-color: #fafafa;
    background-image: none;
}

/* hint under input element */
.form .hint {
    font-size: 16px;
    font-size: 0.8rem;
}

td.label > div.error, .error-box {
    border: 1px solid #222;
    border-radius: 8px;
    border-radius: .4rem;
    background-color: #ffb00a;
    background-image: -webkit-linear-gradient(top, #ffb00a 0%, #ffdc96 100%);
    background-image: -ms-linear-gradient(top, #ffb00a 0%, #ffdc96 100%);
    background-image: -moz-linear-gradient(top, #ffb00a 0%, #ffdc96 100%);
    background-image: -o-linear-gradient(top, #ffb00a 0%, #ffdc96 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ffb00a), color-stop(1, #ffdc96));
    background-image: -webkit-linear-gradient(top, #ffb00a 0%, #ffdc96 100%);
    background-image: linear-gradient(to bottom, #ffb00a 0%, #ffdc96 100%);
    padding: 6px;
    padding: .3rem;
    margin: 0;
    color: #7d0d0d;
    font-weight: bold;
    font-style: underline;
}

@media screen and (min-width: 576px) {
    td.label > div.error {
        padding: 16px;
        padding: .8rem;
        margin: 10px;
        margin: .5rem;
    }
}

td.label > div.error > label {
    display: inline-block;
    border-bottom: 2px dotted #222;
    margin-bottom: 10px;
    margin-bottom: .5rem;
    font-weight: 400;
    color: #222;
}

td.label > div.error > div {
    font-size: 18px;
    font-size: 0.9rem;
}

#submit_container label {
    /* makes consent text on registation button a little bit smaller */
    font-size: 16px;
    font-size: 0.8rem;
}

div.breadcrumbs {
    padding: 10px;
    padding: 0.5rem;
    background: #f3f3f3;
}

div.breadcrumbs .long-crumbs {
    display: none;
}

@media screen and (min-width: 576px) {
    div.breadcrumbs .long-crumbs {
        display: inline-block;
    }
    div.breadcrumbs .short-crumbs {
        display: none;
    }
}

/* site content */

div.type-url {
    display: inline-block;
    border: 8px dashed #222;
    border: .4rem dashed #222;
    color: #222;
    font-size: 24px;
    font-size: 1.2rem;
    margin: 6px 0px;
    margin: 0.3rem 0rem;
    padding: 12px;
    padding: 0.6rem;
    font-weight: 600;
    --white-space: nowrap;
    overflow: hidden;

    background-color: #ffb00a;
}

img.platform {
    border: 0px;
    width: 128px;
    height: 128px;
    margin-right: 20px;
    margin-bottom: 20px
}

@media screen and (min-width: 750px) {
    div.type-url {
        font-size: 40px;
        font-size: 2.0rem;
        margin: 10px 0px;
        margin: 0.5rem 0rem;
        padding: 20px;
        padding: 1.0rem;
    }
}

div.warning {
    background-color: #fd824d;
    color: #3e1301;
    font-size: 24px;
    font-size: 1.2rem;
    margin: 20px;
    padding: 20px;
    padding: 1.0rem;
    border-radius: 14px;
    border-radius: 0.7rem;
    border: 12px solid #f54f06;
    border: 0.6rem solid #f54f06;
    font-weight: 600;
}

.countdown {
    font-size: 44px;
    font-size: 2.2rem;
}

div.content-menu > a > div {
    border-top: 1px solid #e6e6e6;
    padding: 10px 40px;
    padding: .5rem 2.0rem;
}

div.content-menu div.item {
    border-top: 1px solid #e6e6e6;
    padding: 6px 40px;
    padding: 0.3rem 2.0rem;
    font-size: 30px;
    font-size: 1.5rem;
    text-align: left;
}

div.content-menu div.info a {
    padding: 10px 20px;
    padding: 0.5rem 1.0rem;
    margin: 10px 0;
    margin: 0.5rem 0;
    white-space: normal;
}

div.content-menu div.info > div {
    text-align: right;
}

div.content-menu div.info {
    padding: 6px 40px;
    padding: .3rem 2.0rem;
    margin-bottom: 10px;
    margin-bottom: 0.5rem;
    text-align: left;
}

div.collapsed {
    text-align: left;
    width: 100%;
    overflow-x: auto;
    min-width: 100%;
}

div.collapsed > pre {
    font-family: fixedsys, monospace;
    font-size: 16px;
    font-size: 0.8rem;
    background-color: #000070;
    display: table-cell; /* makes scrollable background fill whole space */
    color: #ffe977;
    line-height: normal;
    margin: 0px;
}


/* admin panel */

table.admin {
    border-collapse: collapse;
    width: 100%;
}

table.admin td, table.admin th {
    border: 1px solid #999;
    padding: 10px;
    padding: 0.5rem;
}

table.admin th {
    color: #666;
    background-color: #ddd;
    white-space: nowrap;
}

table.admin th.name {
    width: 20%;
}
table.admin td.name {
    width: min-content;
}

table.admin th.type {
    width: 10%;
}
table.admin td.type {
    width: min-content;
}
table.admin .type {
    display: none;
}

table.admin td.name {
    background-color: #f7f7f7;
}

table.admin td.name i {
    font-size: 16px;
    font-size: 0.8rem;
    display: none;
}

table.admin td.type {
    color: #aaa;
}

table.admin td.value {
    color: black;
}

@media screen and (min-width: 600px) {
    table.admin .type {
        display: table-cell;
    }
    table.admin td.name i {
        display: inline;
    }
}

table.admin td.value > div {
    white-space: pre-wrap;
    width: 100%;
    height: 100%;
    min-height: 30px;
    min-height: 1.5rem;
}

table.admin textarea {
    white-space: pre-wrap;
}

div#admin-apply-changes {
    border: 20px solid #ccc;
    border: 1.0rem solid #ccc;
    padding: 20px;
    padding: 1.0rem;
    text-align: center;
    box-sizing: border-box;
}

a.foreign-key::before {
    content: "\2316";
}
