/* @import "desyre.min.css"; */
@import './global/fonts.min.css';
@import './global/desyre-icons.min.css';
@import './global/desyre-text.min.css';
@import './components/desyre-buttons.min.css';
@import './components/desyre-checkbox.min.css';
@import './components/desyre-switch.min.css';
@import './components/desyre-toast.min.css';

@import './tooltips.css';

/* CSS Document */

html,
body {
    height: 100%;
    margin: 0 auto;
}

body,
a {
    font-family: 'Graphie', Verdana, Arial, Helvetica, sans-serif;
    color: var(--dsr-color-dark-4);
}

.hidden {
    visibility: hidden;
}

hr {
    color: var(--dsr-color-light-1);
}

/* HEADER */

#header,
#login_header {
    padding-left: 0;
    padding-right: 0;
    margin: auto;
    background-color: #ffffff;
    z-index: 10;
    box-shadow: 0 10px 6px -6px #dadada;
    display: flex;
    flex-direction: row-reverse;
    min-height: 100px;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

#header #site_title,
#header #site_title b {
    margin: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 1.4em;
}

#homelink {
    background-image: url(../imgs/alpine.png);
    background-repeat: no-repeat;
    background-position: center left;
    background-size: contain;
    width: 200px;
    height: auto;
    min-height: 100px;
    margin-left: 35px;
    margin-right: 35px;
    right: 0;
}

#homelink::after {
    display: block;
    width: 200px;
    min-height: 100px;
    content: ' ';
    height: auto;
}

@media (max-width: 500px) {

    #homelink {
        background-image: url(../imgs/alpine.png) !important;
        background-position: center center !important;
        width: 100% !important;
        max-width: 200px;
    }

    #homelink::after {
        width: 100% !important;
        /* max-width: 92px; */
    }
}

/* GENERAL LAYOUT */
#content {
    margin: 0 10px;
}

#maintable {
    min-height: 100%;
    overflow: auto;
    position: relative;
}

#maintable>div:nth-child(1) {
    margin-bottom: 70px;
}

#message {
    background-color: #FFF;
    min-width: 200px;
}

#message .button {
    width: 300px;
    margin: 35px auto;
}

#message .button a {
    text-align: center;
    font-size: 14px !important;
}


/* subheader */

#subheader #search {
    display: none;
}

#subheader #search form {
    background-repeat: no-repeat;
    background-position: left center;
    background-image: url(../imgs/nav_search.gif);
    background-position: left top;
    padding-left: 32px;
    height: 33px;
}

#admin_user {
    margin: 5px 10px;
}

#nav ul {
    display: flex;
    flex-direction: row-reverse;
    list-style: none;
    margin-right: 5px;
}

.nav li {
    margin: 0px;
}

.nav a {
    padding: 0 8px 0 0;
    cursor: pointer;
}

#nav a {
    width: auto;
    color: #3a434e;
    font-size: 12px;
    line-height: 32px;
    float: left;
}

#nav li:hover a {
    text-decoration: underline;
}

#nav li:hover a,
#nav .active a {
    color: #3a434e !important;
}

#nav li:hover a {
    border-bottom-color: #818285;
}

#nav .notification {
    background-image: none;
    float: none;
    filter: none;
    height: auto;
    left: 0;
    line-height: 10px;
    margin: 0;
    position: relative;
    top: 0;
    width: auto;
    display: inline;
    line-height: auto;
    color: #3a434e;
}

#nav .notification span {
    display: inline;
}

#breadcrumb {
    background: #333333;
    color: #ffffff !important;
    width: 100%;
}

#breadcrumb ul {
    margin: 0;
    display: inline-block;
    height: 40px;
}

#breadcrumb a {
    color: #ffffff;
}

#breadcrumb li {
    float: left;
    line-height: 40px;
    list-style: none;
    font-size: 13px;
}

#breadcrumb .active {
    font-weight: normal;
    font-family: 'Graphie Medium', Verdana, Arial, Helvetica, sans-serif;
}


/* LOGIN */
#login_form {
    text-align: center;
    border-bottom: 2px solid #ececec;
}

#login_form label {
    display: none;
}

#login_form li {
    list-style: none;
}

#login_form .error {
    margin-bottom: 10px;
    color: var(--dsr-color-red);
}

#login_links {
    margin-top: 15px;
}

#loginpage input[type="submit"],
#loginpage div.button a {
    font-family: 'Graphie SemiBold', Verdana, Arial, Helvetica, sans-serif;
    padding: 0;
    margin-top: 14px;
    color: var(--dsr-color-white);
}

#loginpage #submit_button {
    display: flex;
    justify-content: center;
}

#login ul {
    padding: 0;
}

#login li {
    margin-bottom: 10px;
}

#dialog {
    margin: 0 auto;
    text-align: center;
}

#dialog h2 {
    border-bottom: 2px solid #ececec;
    padding-bottom: 14px;
}

#dialog .content {
    padding: 0;
}

#dialog .ok_button {
    display: none;
}

#dialog .clear {
    display: none;
}

#forgot ul {
    list-style: none;
    padding: 0;
}

#forgot ul li {
    margin: 10px 0;
}

#forgot ul li label,
#forgot ul li .required {
    display: none;
}

#forgot,
#forgot .recordset {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


/* Boxes */
.home #boxes {
    margin-left: 18px;
}

#boxes .box {
    width: 130px;
    height: 130px;
    margin: 15px;
    background-color: var(--dsr-color-yellow);
    /*margin-bottom:46px;
	margin-top:-18px;
	background-image:url(../imgs/box_placeholder.png);
	background-repeat:no-repeat;
	background-position:left 25px;*/
}

#boxes .box>a {
    display: inline-block;
    text-decoration: none;
    color: #000000;
    width: 130px;
    height: 130px;
}

#boxes h3 {
    /*margin: 0px;
	font-size: 11px;
	border: none;
	padding-bottom: 0;*/
    height: 0;
    margin: 0px;
    border: none;
    padding-bottom: 0;
    width: 130px;
    display: block;
    vertical-align: top;
    position: relative;
    top: 80px;
    font-family: 'Graphie SemiBold', Verdana, Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 12px;
}

#boxes h3 a {
    margin: 0 auto;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 16px;
}

#boxes .border {
    display: none;
    border: none;
    height: 130px;
    width: 130px;
    position: absolute;
    z-index: 1;
    cursor: pointer;
}

#boxes .Home {
    width: 286px;
    height: 195px;
    margin-right: 22px;
    margin-bottom: 24px;
    margin-top: 0;
    background-image: none;
}

#boxes .Home h3 {
    display: none;
}

#boxes .Home .border {
    border: none;
    width: 286px;
    height: 205px;
    margin-top: -10px;
}

#boxes .Home .new .border {
    background-image: url(/media/imgs/new.png);
    background-position: top left;
    background-repeat: no-repeat;
}

.section #boxes {
    background: #ececec;
    text-align: center;
    padding: 20px 0;
    margin: 45px auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}

.section.section_3_wide #boxes {
    background: #ececec;
    text-align: center;
    margin: 45px auto;
}

#boxes img {
    max-height: 100%;
    max-width: 100%;
    margin: 0px;
    padding: 0px;
    border: none;
}

/* selects */

select::-ms-expand {
    display: none;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    border-radius: 0;
    padding-left: 10px;
    padding-right: 10px;
    border: none;
    background: #F1F1F2;
    height: 40px;
}

.ms-options-wrap>button:focus,
.ms-options-wrap>button {
    margin-top: 0;
    height: 40px;
    border: 1px solid var(--dsr-color-light-2);
    background-color: var(--dsr-color-light-2);
    font-size: 11px;
}

/* Button */

.button a,
.button a:visited,
.button input,
input[type="submit"] {
    display: block;
    text-decoration: none;
    font-weight: bold;
    border: 0;
}

.button a,
.button a:visited,
.button input,
.register a,
input[type="submit"] {
    background: var(--dsr-color-yellow);
    color: #ffffff;
    width: 300px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    text-transform: uppercase;
    font-weight: normal;
    font-family: 'Graphie SemiBold', Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    padding: 0;
    cursor: pointer;
}

.button input {
    width: 300px;
    height: 30px;
}

.button {
    float: none;
}

input {
    font-family: 'Graphie', Verdana, Arial, Helvetica, sans-serif;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    border: none;
    background: var(--dsr-color-light-2);
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
}

/* FOOTER */
#footer {
    bottom: 0;
    position: absolute;
    width: 100%;
    background: var(--dsr-color-dark-3);
    display: flex;
    align-items: center;
}

#footer>div:nth-child(1) {
    width: 100%;
}

#foot {
    color: var(--dsr-color-white);
    font-size: 9px;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#foot a {
    color: var(--dsr-color-white);
}

#foot b {
    font-size: 12px;
    height: 14px;
    display: block;
}

#foot #foot_text {
    font-size: 11px;
}

#boxes .Home.box:hover,
#boxes .Default.box:hover,
#boxes .wBorder.box {
    /* background-color: #ffdd33; */
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
    background: var(--dsr-color-yellow);
    border-color: var(--dsr-color-yellow);
}

#breadcrumb {
    display: none;
}

#subheader .nav .menu li a {
    padding: 5px 7px;
}

.dataTable td {
    text-align: center;
    cursor: pointer;
}

/* Form Fields*/


.button-container .dsr-btn {
    margin-bottom: 5px;
}

.CDB_field {
    margin: 10px;
}

.CDB_field_title {
    font-family: 'Graphie SemiBold', Verdana, Arial, Helvetica, sans-serif;
}

.CDB_dropdown_field .CDB_field_inner {
    width: 220px;
}

.busyTab .CDB_field {
    flex: 0 0 20%;
}

.CDB_field input[type="text"],
.CDB_field input[type="password"],
.CDB_field input[type="number"] {
    min-width: 200px;
    border: none;
    background: var(--dsr-color-light-2);
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
}

.CDB_field textarea {
    width: 216px;
    background: #F1F1F2;
    font-family: 'Graphie', Verdana, Arial, Helvetica, sans-serif;
}

.CDB_field select {
    min-width: 220px;
    height: 40px;
}

.dsr-checkbox {
    margin-top: 10px;
}

.CDB_field_inner {
    text-align: center;
    display: flex;
}

.busyTab .CDB_field_inner {
    text-align: inherit;
}

.CDB_hidden_field {
    position: absolute;
}

.ui-widget-overlay {
    opacity: 0.3 !important;
}

@media (max-width: 565px) {
    .CDB_field {
        width: 100%;
    }

    .CDB_hidden_field {
        width: 0;
    }

    .busyTab .CDB_field {
        flex: 0 1 auto;
    }

    .CDB_dropdown_field .CDB_field_inner {
        width: 100%;
    }

    .CDB_field input[type="text"],
    .CDB_field input[type="password"],
    .CDB_field input[type="number"],
    .CDB_field .ms-options-wrap,
    .CDB_field textarea {
        width: 100%;
    }

    textarea {
        width: calc(100% - 0.5rem);
    }

    select {
        width: calc(100%);
    }

    .CDB_field .dsr-btn {
        width: 100%;
        display: inline-block;
        text-align: center;
    }
}

@media (max-width: 45em) {
    .CDB_field_inner {
        text-align: inherit;
    }
}

.CDB_field .required::after {
    content: '*';
    color: red;
}

.CDB_field .dsr-checkbox__label {
    font-family: 'Graphie', Verdana, Arial, Helvetica, sans-serif;
}

.terms-block .dsr-checkbox .dsr-checkbox__label {
    font-size: 1em;
}

.CDB_field input:invalid,
.CDB_field input[type="text"]:invalid,
.CDB_field textarea:invalid,
.CDB_field select:invalid {
    border:  1px solid var(--dsr-color-red-light) !important;
}

.dsr-checkbox__label.required:before {
    border: solid 1px var(--dsr-color-red-light);
}

#dashboard_message #submit_button {
    margin-top: 15px;
}

#header #logo {
    flex: 0 1 auto;
    width: 200px;
    height: 1px;
    visibility: hidden;
}

@media (max-width: 900px) {
    #nav ul {
        flex-direction: row-reverse;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
        position: absolute;
        width: 100%;
        background: var(--dsr-color-light-2);
    }

    #header, #login_header {
        flex-direction: column;
    }
}

.login-pane::before {
    content: '';
    background: url('../imgs/alpine.png');
    background-size: contain;
    display: block;
    width: 200px;
    height: 66px;
    background-repeat: no-repeat;
    margin: 0 auto;
}

.CDB_field .dsr-btn {
    white-space: nowrap;
}

.ui-dialog {
    font-family: 'Graphie', Verdana, Arial, Helvetica, sans-serif !important;
}

.ui-dialog button {
    font-family: 'Graphie SemiBold', Verdana, Arial, Helvetica, sans-serif !important;
    font-size: 14px;
}

.dsr-checkbox__input:checked+span:after {
    color: white !important;
}