/* @import "desyre.min.css"; */
@import './global/desyre-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: 'Read', 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 h1,
#header h1 b {
    margin: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#homelink {
    background-image: url(../imgs/logo-v2-black.png);
    background-repeat: no-repeat;
    background-position: center left;
    width: 20rem;
    height: auto;
    min-height: 80px;
    margin-left: 35px;
    margin-right: 35px;
    /* position: absolute; */
    right: 0;
}

#homelink::after {
    display: block;
    width: 20rem;
    min-height: 80px;
    content: ' ';
    height: auto;
}

@media (max-width: 500px) {

    #header,
    #login_header {
        /* flex-direction: column; */
        /* justify-content: flex-end; */
    }

    #homelink {
        /* background-image: url(../imgs/mobile_logo.svg) !important; */
        background-image: url(../imgs/logo-v2-black.png) !important;
        background-position: center center !important;
        width: 100% !important;
        max-width: 92px;
    }

    #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;
}



/* #global_nav {
	background:#ececec;
	top: 0;
	left:5px;
	right:5px;
	position: absolute;
	margin: 0 auto;
	padding:9px 85px 9px 0;
	text-align:right;
} */

/* #global_nav ul {
	list-style:none;
	padding:0;
	text-transform:uppercase;
	color:#414b56;
	font-size:10px;
	margin:0;
	display:inline-block;
} */

/* #global_nav li {
	float:left;
	padding:0 15px 0 0;
} */

/* #global_nav a:hover {
	text-decoration: underline;
} */

/* #global_nav .last {
	border:none;
	padding:0;
	padding-left:8px;
} */

/* subheader */

#subheader {
    /* height:30px; */
    /* padding-left:100px;
	position:relative;
	top:-33px; */
    /* z-index: 10; */
}

#subheader #search {
    display: none;
    /* visibility:hidden;
	height:37px;
	width:20rem;
	float:right; */
}

#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;
}

/* #nav li.normal {
    margin-right: 25px;
} */

#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: 'Read Medium', Verdana, Arial, Helvetica, sans-serif;
}

/* section modules */

/*.section_modules #content {
	width:732px;
	float:left;
	margin-right:18px;
}

.section_modules #column2 {
	width:550px;
}

#section_modules {
	width:200px;
	height:362px;
	float:left;
	background-image:url(../imgs/content_bg.gif);
	background-repeat:repeat-x;
}

#section_modules #whatsnew_column h2 {
	display:none;
}

#section_modules #whatsnew_column {
	background-repeat:no-repeat;
	background-position:center top;
	padding:8px;
	padding-top:47px;
	padding-left:14px;
	padding-right:0;
	height:362px;
	margin-top:-4px;
}

#section_modules #whatsnew_column .box {
	margin-bottom:28px;
	float:left;
	margin-right:8px;
	margin-top:-40px;
}

#section_modules #whatsnew_column .box span {
	display:none;
}

#section_modules #whatsnew_column .box h3 {
	font-size:10px;
	width:80px;
	height:24px;
	margin-bottom: 16px;
	overflow: hidden;
	vertical-align:bottom;
	position:relative;
	top:126px
}

#section_modules #whatsnew_column .box img {
	width:80px;
	height:80px;
	border:1px solid #ababab;
}

.service #whatsnew_column {
	background-image:url(../imgs/whatsnew_yellow.png);
}

.body_and_insurance #whatsnew_column {
	background-image:url(../imgs/whatsnew_red.png);
}

.extended_warranty #whatsnew_column {
	background-image:url(../imgs/whatsnew_blue.png);
}

.trade #whatsnew_column {
	background-image:url(../imgs/whatsnew_purple.png);
}

.accessories_and_merchandising #whatsnew_column {
	background-image:url(../imgs/whatsnew_green.png);
}

.dealer_stationery #whatsnew_column {
	background-image:url(../imgs/whatsnew_dark_blue.png);
}*/


/* 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"] {
    font-family: 'Read Medium', Verdana, Arial, Helvetica, sans-serif;
    padding: 0;
    margin-top: 14px;
}

#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: #ffcc33;
    /*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: 'Read Medium', Verdana, Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 12px;
}

#boxes h3 a {
    /*color: #FFF;
	display: none;
	height: 66px;
	line-height: 0;
	font-size: 0;
	color: transparent;*/
    /* max-width: 130px; */
    /* max-height: 130px; */
    margin: 0 auto;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 16px;
}

/* #boxes h3 a:hover:after {
	content: "";
	display: block;
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 10px solid black;
	margin-left: -10px;
	margin-top: 21px;
} */

#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;
    /* padding:20px 322px; */
    margin: 45px auto;
    /* width:480px; */
}

#boxes img {
    max-height: 100%;
    max-width: 100%;
    margin: 0px;
    /*margin-top:-3px;*/
    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: #ffcc33;
    color: #000000;
    width: 300px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    text-transform: uppercase;
    font-weight: normal;
    font-family: 'Read Medium', Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    padding: 0;
    cursor: pointer;
}

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

.button {
    float: none;
}

input {
    font-family: 'Read', 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: #ffcc33;
    border-color: #ffcc33;
}

#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: 'Read Medium', 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: 'Read', 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: 'Read', 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: 20rem;
    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/logo-v2-black.png');
    display: block;
    /* width: 198px; */
    height: 60px;
    background-repeat: no-repeat;
    background-position-x: center;
    margin: 0 auto;
}

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

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

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

#page_mydetails #column2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#page_mydetails #column2 ul {
    list-style: none;
}

#page_mydetails #column2 ul li {
    margin: 5px;
    display: flex;
    justify-content: space-around;
    align-content: space-around;
}

#company_details {
    display: none;
}