﻿@font-face {
    font-family: "Anton-Regular";
    src: url('/static/fonts/Anton-Regular.ttf') format("truetype");
}

@font-face {
    font-family: "RobotoCondensed-Regular";
    src: url('/static/fonts/RobotoCondensed-Regular.ttf') format("truetype");
}

body {
    font-family: "RobotoCondensed-Regular","Anton-Regular","Roboto","Lucida Grande","DejaVu Sans","Bitstream Vera Sans",Verdana,Arial,sans-serif;
    background-color: #1E1E1E;
    color: #FFFFFF;
}

a, a:focus, a:visited {
    text-decoration: none;
    color: #E31937;
}

a:hover {
    text-decoration: underline;
    color: #E31937;
}

label {
    color: white;
    font-size: 1rem;
}

input[type="text"], [type="number"] {
    -moz-appearance: textfield;
    background-color: #373737;
    color: #FFFFFF;
    border-radius: 5px;
    caret-color: #80CBB0;
    margin-bottom: 0; 
    border:none;
    transition:none;
    box-shadow: none;
}

input[type="text"]:focus, [type="number"]:focus {
    background-color: #373737;
    box-shadow: none;
    border: 1px solid #979797;
    transition: none;
}

input[type="submit"] {
    background-color: Transparent;
    color: #FFFFFF;
    font-family: "Anton-Regular";
    font-size: 24px;
    margin: auto;
    border: none;
    cursor: pointer;
    vertical-align: middle;
    letter-spacing: 2px;
    width: 100px;
}

input[type="submit"]:focus {
    outline:0;
}

input[type="submit"]:disabled {
    color: graytext;
    cursor: default;
}

input[type="radio"] {
    margin: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    outline: none;
    border: 2px solid #979797;
    vertical-align: middle;
}

input[type="radio"]:checked:before {
    background: #CF202F;
    
}

input[type="radio"]:checked {
    border-color:#CF202F;
}


input[type="radio"]:before {
    content: "";
    display: block;
    width: 60%;
    height: 60%;
    margin: 20% auto;
    border-radius: 50%;
}

input[type="radio"] + label {
    vertical-align: middle;
}

button {
    font-size: 18px;
    height: 45px;
    background-color: #373737;
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    letter-spacing: 0.5px;
}

button:disabled {
    color: graytext;
    background-color: #2f2f2f;
    cursor: default;
}

p {
    color: #979797;
}

select {
    background-color: #373737;
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

select:focus {
    outline: none;
    border: none;
    background-color: #373737;
    box-shadow: none;
}

select:disabled {
    color: graytext;
    background-color: #2f2f2f;
    cursor: default;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#langDropdownItems {
    background-color: #000000;
}

.lang-button {
    background-color: transparent;
    font-size: 12px;
    height: 100%;
    cursor: pointer;
}

.dropdown-pane {
    border: none;
    padding-top: 0;
    padding-bottom: 0;
    padding:0;
    background-color: transparent;
    position: relative;
}

.dropdown-item {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: solid 1px #4A4A4A;
    border-radius: 0;
}

.dropdown-item:hover {
    text-decoration: underline;
}


.inline-block {
    display: inline-block;
}

.hidden {
    display: none;
}

.page_header {
    width: 100%;
    background-color: #000000;
}
.page_body {
    margin-top: 1rem;
}

@media print, screen and (min-height: 45em) {
    .page_body {
        margin-top: 2rem;
    }
}

.page_title {
    font-family: "Anton-Regular";
    font-size: 48px;
    margin-top: 1rem;
    letter-spacing: 1px;
    line-height: 50px;
}

@media print, screen and (min-height: 45em) {
    .page_title {
        margin-top: 2rem;
    }
}

@media print, screen and (min-height: 50em) {
    .page_title {
        margin-top: 3rem;
    }
}

.page_subtitle {
    font-family: "RobotoCondensed-Regular";
    font-size: 20px;
    margin-top: 15px;
    line-height: 26px;
    color: #80CBB0;
}

.subtitle {
    font-family: "RobotoCondensed-Regular";
    font-size: 16px;
    line-height: 21px;
    text-align: left;
}

.doc_btn {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 5px;
}

.info_btn {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 5px;
    margin-right: 0px;
}

#search_btn {
    width: 250px;
}

#serial_btn {
    margin-right: 165px;
    margin-left: -15px;
}

.btn_group {
    margin-top: 2rem;
}

.btn-pair {
    margin-top: 0.5rem;
}

.unit_btn_group {
    display: inline-table; 
    vertical-align: middle; 
    text-align: left;
}

.sap {
    background: transparent;
    text-align: right;
    margin-top: 1rem;
}

@media print, screen and (min-height: 45em) {
    .sap {
        margin-top: 1.5rem;
    }
}

.select_group {
    margin-bottom: 28px;
}

.im_hint_serial {
    cursor: pointer;
    outline: none;
    max-width: 1rem;
    margin-left: .5rem;
}

#user_manual {
    border-top: 1px solid #4A4A4A;
}

.error_msg {
    color: red;
    text-decoration: underline;
    font-weight: bold;
    margin-top: 3px;
    font-size: 15px;
}

.bracket_inner {
    background-color: Transparent;
    color: #FFFFFF;
    font-family: "Anton-Regular";
    font-size: 24px;
    vertical-align: middle;
    border: none;
}

.left-bracket {
    border-left: 4px solid #CF202F;
    border-top: 4px solid #CF202F;
    border-bottom: 4px solid #CF202F;
    display: inline-block;
    padding: 10px 3px;
}

.left-bracket-disabled {
    border-left: 4px solid #840913;
    border-top: 4px solid #840913;
    border-bottom: 4px solid #840913;
    display: inline-block;
    padding: 10px 3px;
}

.right-bracket {
    border-right: 4px solid #CF202F;
    border-top: 4px solid #CF202F;
    border-bottom: 4px solid #CF202F;
    display: inline-block;
    padding: 10px 3px;
}

.right-bracket-disabled {
    border-right: 4px solid #840913;
    border-top: 4px solid #840913;
    border-bottom: 4px solid #840913;
    display: inline-block;
    padding: 10px 3px;
}

/*Source http://jaspreetchahal.org/pure-css-square-brackets/ */
.squarebrackets
{
  position: relative;
  display: inline-block;
}
.squarebrackets:before {
   content: " ";
   position: absolute;
   border-left:4px solid #CF202F;
   border-top:4px solid #CF202F;
   border-bottom:4px solid #CF202F;
   padding:6px;
   top:-4px;
   bottom:-4px;
   left: -4px;
}
.squarebrackets:after
{
   content: " ";
   position: absolute;
   border-right:4px solid #CF202F;
   border-top:4px solid #CF202F;
   border-bottom:4px solid #CF202F;
   padding:6px;
   top:-4px;
   bottom:-4px;
   right: -4px;
}
/*End of source*/

.arrow {
    width: 24px;
}

.error-modal {
    background-color: #CF202F;
    width: 100%;
    max-width: 100%;
    left: 0;
    border: none;
    outline: none;
}

.text-modal {
    color: #373737;
    line-height: 36px;
}

.info-modal {
    color: #373737;
    line-height: 36px;
}

@media print, screen and (min-width: 40em) {
    .info-modal {
        width: fit-content;
        border-radius: 5px;
        overflow-y: visible;
        margin-top: 4rem;
    }

    .text-modal {
        margin-top: 4rem;
        border-radius: 5px;
        overflow-y: visible;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .error-modal {
        margin-top: 5rem;
    }

    @media print, screen and (min-height: 50em) {
        .info-modal {
            width: fit-content;
            border-radius: 5px;
            overflow-y: visible;
            margin-top: 9rem;
        }

        .text-modal {
            margin-top: 9rem;
            border-radius: 5px;
            overflow-y: visible;
            padding-top: 2rem;
            padding-bottom: 2rem;
        }
    }
}

.modal-button {
    height: 40px;
    margin-bottom: 4rem;
}

.modal-text {
    font-family: "RobotoCondensed-Regular";
    font-size: 17px;
    line-height: 20px;
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 3rem;
}

.modal_img {
    margin-bottom: 40px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}

.close-button {
    background-color: transparent;
    color: #80CBB0;
}

@media print, screen and (min-width: 40em) {
    .close-button {
        margin-top: -60px;
        right: 0;
    }
}

.close-button:hover {
    color: #80CBB0;
}

.is-reveal-open {
    position: static !important;
}

.reveal-overlay {
    background-color: transparent;
    overflow: auto;
}


.show-for-small {
    display: block;
}

.hide-for-small {
    display: none;
}
@media print, screen and (min-width: 40em) {
    .show-for-small {
        display: none;
    }

    .hide-for-small {
        display: block;
    }
}