html, body {
    background-color: #222f3f;
    margin: 0;
    height: 100%;
}

html,
input,
button {
    font-family: 'Open Sans';
    font-size: 18px;
    color: white;
}

html {
    overflow-y: auto;
}

.mch-login-container h1,
.mch-preloader h1 {
    margin: 0px;
    font-size: 34px;
    font-weight: 600;
}

/* PRELOADER */
.mch-preloader h1 {
    text-align: center;
}

.mch-preloader {
  position: fixed;
  top: 0px;
  z-index: 99998;
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(to right, #2C3E50, #778B9D);
  overflow: hidden;
}
.mch-preloader .mch-preloader-content {
  position: absolute;
  z-index: 99999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
  text-align: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.mch-preloader .mch-preloader-content h1 {
    margin: 0;
}

.mch-preloader .mch-preloader-content img {
    width: 60px;
    height: 60px;
    margin-top: 30px;
}

/*===========================
 * PARTS OF THE PAGE
 *=========================*/

.mch-container-login {
    width: 100%;
    height: calc(100% - 100px);
    position: relative;
}

@media (max-width: 767px) {
    .mch-container-login {
        min-height: 1060px;
    }
}

@media (min-width: 768px) {
    .mch-container-login {
        min-height: 840px;
    }
}

.mch-container-login .mch-row,
.mch-frag .mch-row,
.mch-preloader .mch-row {
    margin-top: 30px;
    position: relative;
}

@media (max-width: 576px) {
    .mch-container-login .mch-row,
    .mch-preloader .mch-row {
        margin-top: 16px;
        position: relative;
    }
    .mch-frag .mch-row {
        margin-top: 30px;
    }
}

.mch-consent-row,
.mch-row.mch-consent-row {
    margin-top: 40px;
}

.mch-container-home {
    position: relative;
    
    /* leave some space on top because of the navigation */
    padding-top: 56px;

    /* center horizontally */
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px) {
    .mch-container-home {
        width: 100%;
        height: calc(100% - 56px);
    }
}

@media (min-width: 768px) {
    .mch-container-home {
        width: 736px;
        height: calc(100% - 56px);
    }
}

@media (min-width: 993px) {
    .mch-container-home {
        width: 960px;
    }
}

@media (min-width: 1201px) {
    .mch-container-home {
        width: 1034px;
    }
}

.mch-cols-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    min-height: 100%;
}

.mch-footer {
    height: 50px;
}

@media (max-width: 767px) {
    .mch-home-footer {
        position: absolute;
        bottom: 0;
        height: 80px;
        padding-left: 16px;
        padding-right: 16px;
        width: calc(100% - 32px);
        background-image: linear-gradient(to right, #506375, #37495B);
    }

    .mch-footer {
        border-top: 1px solid #222f3f;
        padding-top: 30px;
        width: 100%;
        background-image: none;
    }
}

@media (min-width: 768px) {
    .mch-home-footer {
        position: absolute;
        width: 100vw;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    .mch-footer {
        width: 100%;
        margin-top: 50px;
        background-image: linear-gradient(to right, #2C3E50, #778B9D);
    }
}

.mch-copyright {
    margin-bottom: 30px;
    font-size: 14px;
    text-align: center;
}

.mch-policy-links {
    text-align: center;
}

.mch-policy-links a {
    margin-left: 16px;
    margin-right: 16px;
}

/*====================================
 * COLUMNS
 *==================================*/

.left {
    position: absolute;
    left: 0;
}

.right {
    position: absolute;
    right: 0;
}

.mch-col.double {
    width: 100%;
}

@media (max-width: 767px) {
    .mch-col {
        width: 100%;
        min-height: calc(100% - 81px);
        margin-bottom: 80px;
    }
    .mch-col.active {
        display: block;
    }
    .mch-col.left {
        position: static;
    }
    .mch-col.right {
        position: static;
    }
    .mch-col:not(.active) {
        visibility: hidden;
        position: absolute;
        left: -100000px;
        top: -100000px;
    }
}

@media (min-width: 768px) {
    .mch-col {
        width: 360px;
        margin-bottom: 110px;
    }
    .mch-col.left {
        position: static;
    }
    .mch-col.right {
        position: static;
    }
}

@media (min-width: 993px) {
    .mch-col,
    .mch-col.half {
        width: 472px;
    }

    .mch-col.narrow {
        width: 400px;
    }

    .mch-col.wide {
        width: 544px;
    }
}

@media (min-width: 1200px) {
    .mch-col {
        width: 509px;
    }

    .mch-col.half {
        width: 509px;
    }

    .mch-col.narrow {
        width: 400px;
    }

    .mch-col.wide {
        width: 618px;
    }
}

.mch-col-msg {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    overflow: hidden;
}

@media (min-width: 768px) {
    .mch-col-msg {
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }
}

.mch-col-msg .mch-alert {
    display: block;
}

/*====================================
 * FRAGMENT
 *==================================*/

.mch-frag {
    background-image: linear-gradient(to right, #506375, #37495B);
    position: relative;
}

@media (max-width: 767px) {
    .mch-frag {
        padding: 16px;
        padding-top: 30px;
        width: calc(100% - 32px);
        min-height: calc(100% - 46px);
        border-radius: 0;
    }
}

@media (min-width: 768px) {
    .mch-frag {
        margin-top: 16px;
        min-height: 700px;
        border-radius: 12px;
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .mch-frag-back {
        display: inline-block;
        width: 22px;
        height: 22px;
        position: relative;
        bottom: -4;
    }
}

@media (min-width: 768px) {
    .mch-frag-back {
        display: none;
    }
}

.mch-frag-back a {
    width: 100%;
    height: 100%;
}

.mch-frag .mch-frag-title {
    font-weight: 600;
    padding-bottom: 30px;
    border-bottom: 1px solid #222f3f;
}

.mch-frag .mch-frag-subtitle {
    font-weight: 600;
    padding-bottom: 30px;
}

.mch-frag-section {
    padding-top: 30px;
    padding-bottom: 30px;
    position: relative;
}

.mch-frag-section.delim,
.mch-notif-section.delim {
    border-top: 1px solid #222f3f;
}

.mch-frag-section.btn-section {
    text-align: right;
}

.mch-row-frag-bottom {
    position: absolute;
    bottom: 0;
}

/* vehicle fragment */
.mch-vehicle-section {
    padding-top: 30px;
    position: relative;
    font-size: 16px;
}

.mch-vehicle-section.delim {
    border-top: 1px solid #222f3f;
}

.mch-vehicle-section .mch-vehicle-title {
    font-weight: 600;
}

.mch-vehicle-section .mch-vehicle-value {
    color: #C6A277;
}

/* notifications fragment */
.mch-notif-section {
    padding-top: 30px;
    padding-bottom: 30px;
    position: relative;
}

.mch-notif-section .mch-notif-title {
    width: calc(100% - 90px);
    font-size: 14px;
}

.mch-notif-section .mch-notif-time {
    color: #C6A277;
    position: absolute;
    right: 0;
    top: 0;
}

/*===========================
 * SPECIAL FRAGMENT ELEMENTS
 *=========================*/

.mch-frag-section .mch-select-row {
    position: relative;
    font-size: 16px;
    font-weight: 600;
}

.mch-frag-section .mch-select-row .mch-row-right {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 24px;
    min-height: 24px;
}

.mch-frg-select-link {
    width: 22px;
    height: 22px;
}

@media (max-width: 767px) {
    .mch-frag-section .mch-select-row .mch-row-right input[type=radio] {
        display: none;
    }
}

@media (min-width: 768px) {
    .mch-frag-select-link {
        display: none;
    }
}


/*===========================
 * TEXT
 *=========================*/

.mch-container-login strong,
.mch-container-login-home strong {
    font-weight: 600;
}

.mch-bold {
    font-weight: 600;
}

/*====================================
 * NAVIGATION
 *==================================*/

#mch-top-nav,
#mch-bottom-nav {
    z-index: 8888;
    background-color: #222f3f;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.75);
}

#mch-top-nav {
    width: 100%;
    height: 56px;
    position: fixed;
    top: 0;
    left: 0;
}

#mch-top-nav .mch-nav-container {
    height: 100%;
    position: relative;
}

@media (max-width: 767px) {
    #mch-top-nav .mch-nav-container {
        width: calc(100% - 32px);
        margin-left: 16px;
        margin-right: 16px;
    }
}

@media (min-width: 768px) {
    #mch-top-nav .mch-nav-container {
        width: 736px;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (min-width: 992px) {
    #mch-top-nav .mch-nav-container {
        width: 960px;
    }
}

@media (min-width: 1200px) {
    #mch-top-nav .mch-nav-container {
        width: 1034px;
    }
}

#mch-top-nav .mch-nav-menu {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("../img/ic_menu.svg");
}

#menu-container {
    position: absolute;
    top: 50px;
    right: 0;

    overflow: hidden;

    z-index: 100;

    border-radius: 12px;
    border: 1px solid white;
    background-color: #222f3f;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.75);
}

#menu-container a {
    cursor: pointer;
    color: white;
    display: block;
    text-decoration: none;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
}

#menu-container a:hover {
    background-color: #506375;
}

#mch-top-nav .mch-nav-brand img {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: auto;
}

#mch-bottom-nav {
    width: 100%;
    height: 80px;
    position: fixed;
    bottom: 0;
    left: 0;
}

#mch-bottom-nav .nav-wrapper {
    height: 100%;
}

@media (max-width: 767px) {
    #mch-bottom-nav .nav-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    #mch-bottom-nav .nav-wrapper {
        display: inline-block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

#mch-bottom-nav .nav-link {
    width: 110px;
    height: 100%;
    display: inline-block;
    text-align: center;
}

#mch-bottom-nav .nav-link .nav-link-container {
    margin-top: 20px;
}

#mch-bottom-nav .nav-link svg {
    width: 24px;
    height: 24px;
}

.nav-link svg .cls-home,
.nav-link svg .cls-not {
    fill: #FFFFFF;
}

.nav-link svg .cls-vehicle,
.nav-link svg .cls-not2,
.nav-link svg .cls-not3 {
    fill: none;
    stroke: #FFFFFF;
    stroke-miterlimit:10;
}

.nav-link.active svg .cls-home,
.nav-link.active svg .cls-not {
    fill: #C6a277;
}

.nav-link.active svg .cls-vehicle,
.nav-link.active svg .cls-not2,
.nav-link.active svg .cls-not3 {
    stroke: #C6a277;
}

#mch-bottom-nav .nav-link .nav-img-txt {
    font-size: 16px;
}

#mch-bottom-nav .nav-link.active {
    font-weight: 600;
    color: #C6A277;
}

/*===========================
 * MESSAGES
 *=========================*/

.mch-alert {
    padding-left: 21px;
    padding-right: 21px;
    padding-top: 21px;
    padding-bottom: 21px;
}

.mch-alert-success {
    background-color: green;
    background-image: linear-gradient(to right, #C6A277, #D6BC9B);
}

.mch-alert-title {
    margin-bottom: .5rem;
}

.mch-alert-danger {
    background-color: #D20003;
}

/*===========================
 * MODAL
 *=========================*/

.mch-modal {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transform: scale(1.1);
}

.mch-modal.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

.mch-modal-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: 1;
    border-radius: 12px;
    border: 1px solid white;
    padding: 30px;
    background-image: linear-gradient(to right, #2C3E50, #778B9D);
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.75);
}

@media (max-width: 767px) {
    .mch-modal-content {
        width: calc(100% - 92px);
    }
}

@media (min-width: 768px) {
    .mch-modal-content {
        width: 500px;
    }
}

.mch-modal-close {
    float: right;
    cursor: pointer;
    /* color: rgb(169, 143, 109); */
}

.mch-modal-title {
    padding-bottom: 30px;
    border-bottom: 1px solid #222f3f;
}

/*===========================
 * BUTTONS & LINKS
 *=========================*/

a {
    cursor: pointer;
}

.mch-container-login a,
.mch-container-home a,
.cookie-container a{
    color: #C6A277;
    text-decoration: none;
}

button:hover,
.mch-btn:hover {
    cursor: pointer;
    background-color: rgb(193, 163, 125);
}
button:focus,
.mch-btn:focus {
    outline: none;
}
button:active,
.mch-btn:active {
    background-color: rgb(169, 143, 109);
}
button:disabled,
.mch-btn:disabled {
    background-color: rgb(62, 78, 94);
}

.mch-btn {
    display: inline-block;

    color: white !important;
    text-align: center;
    vertical-align: middle;

    font-size: 18px;
    font-family: 'Open Sans';

    height: 40px;
    line-height: 40px;

    border: none;
    border-radius: 20px;

    background-color: #2C3E50;

    font-weight: 600;
}

@media (max-width: 767px) {
    .btn-section {
        display: flex;
        justify-content: space-between;
    }

    .mch-btn {
        width: calc(50% - 16px);
    }
}

@media (min-width: 768px) {
    .mch-btn {
        width: 160px;
    }
}

.mch-btn.large {
    width: 200px;
    height: 60px;
    border-radius: 30px;
    text-transform: uppercase;
}

@media (max-width: 576px) {
    .mch-btn.large {
        width: 100%;
    }
}

.mch-btn.full-width {
    width: 100%;
}

/*===========================
 * FORM
 *=========================*/

@media (max-width: 767px) {
    .mch-form-group {
        width: 100%;
        margin-bottom: 80px;
    }

    .mch-form-group-wide {
        width: 100%;
        margin-bottom: 80px;
    }
}

@media (min-width: 768px) {
    .mch-form-group {
        width: 330px;
        margin-bottom: 80px;
    }

    .mch-form-group-wide {
        width: 660px;
        margin-bottom: 80px;
    }
}

/*===========================
 * INPUTS
 *=========================*/

label:hover {
    cursor: pointer;
}

input[type=text],
input[type=text]:disabled,
input[type=email],
input[type=text]:disabled,
input[type=password],
input[type=password]:disabled {
    /* clear the background */
    background: none;

    color: #C6A277;

    border: none;
    border-bottom: 1px solid white;
}

input[type=text]:disabled,
input[type=password]:disabled,
input[type=email]:disabled {
    opacity: 0.5;
}

input[type=text]:focus,
input[type=password]:focus {
    outline: none;
}

input[type=text]::-webkit-input-placeholder,
input[type=password]::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #C6A2777F;
}
input[type=text]::-moz-placeholder,
input[type=password]::-moz-placeholder { /* Firefox 19+ */
  color: #C6A2777F;
}
input[type=text]::-ms-input-placeholder,
    input[type=password]::-ms-input-placeholder { /* IE 10+ */
  color: #C6A2777F;
}
input[type=text]::-moz-placeholder,
input[type=password]::-moz-placeholder { /* Firefox 18- */
  color: #C6A2777F;
}

@media (max-width: 767px) {
    .mch-form-group input {
        width: 100%;
    }
}

.mch-input-additional {
    font-size: 14px;
    text-align: right;
}

.mch-form-group input {
    width: 100%;
}


/*===========================
 * AUTOSUGGEST
 *=========================*/

.mch-autosugg {
    position: relative;
}

.mch-autosugg-input {
    width: 100%;
}

.mch-autosugg-suggest {
    background-color: #222f3f;
    padding-bottom: 16px;
    width: 100%;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    position: absolute;
    bottom: 0;
    transform: translateY(100%);
}

.mch-autosugg-item {
    cursor: pointer;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.mch-autosugg-item:hover {
    background-color: #506375;
}

/*===========================
 * RADIO BUTTON
 *=========================*/

input[type=radio] {
    cursor: pointer;
}

.mch-container-login input[type=radio],
.mch-container-home input[type=radio] {
    background: none;
}

/*===========================
 * SELECT
 *=========================*/

select {
    width: 100%;
    height: 40px;

    padding: 12px;

    font-size: 16px;
    color: #C6A277;

    background-color: #2C3E50;

    border-radius: 12px;
    border: none;

    cursor: pointer;

    /* style the arrow */
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
    background-image: url('../img/ic_arrow_down.svg');
    background-repeat: no-repeat;
    background-position: bottom 50% right 8px;
    background-size: 24px 24px;
}

select:focus {
    outline: none;
}

/*===========================
 * ON / OFF SWITCH (FORMS)
 *=========================*/

.mch-switch-wrapper {
    min-height: 26px;
}

.mch-switch-wrapper .mch-switch-label {
    width: calc(100% - 65px);
    display: inline-block;
    margin-left: 16px;
}

.mch-switch-wrapper.disabled,
.txt-panel-value.disabled {
    opacity: 0.5;
}

.mch-switch-label.no-switch {
    display: inline-block;
    margin-left: 65px;
}

.formswitch {
    display: inline-block;
    vertical-align: top;
    margin-top: 3px;
}

/* the switch was made here: https://proto.io/freebies/onoff/ */
.formswitch {
    position: relative;
    width: 44px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.formswitch-checkbox {
    display: none;
}
.formswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 1px solid white; border-radius: 18px;
}
.formswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.formswitch-inner:before, .formswitch-inner:after {
    display: block; float: left; width: 50%; height: 18px; padding: 0; line-height: 18px;
    font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.formswitch-inner:before {
    content: "";
    padding-left: 10px;
    color: white;
}
.formswitch-inner:after {
    content: "";
    padding-right: 10px;
    background-color: ; color: white;
    text-align: right;
}
.formswitch-switch {
    display: block; width: 12px; margin: 3px;
    background: ;
    position: absolute; top: 0; bottom: 0;
    right: 22px;
    border: 1px solid white; border-radius: 18px;
    transition: all 0.3s ease-in 0s; 
}
.formswitch-checkbox:checked + .formswitch-label .formswitch-inner {
    margin-left: 0;
}
.formswitch-checkbox:checked + .formswitch-label .formswitch-switch {
    right: 0px; 
    background-color: white; 
}

/*====================================
 * ON/OFF SWITCH (HOME SCREEN)
 *==================================*/

.onoffswitch {
    position: relative; width: 50px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 1px solid white; border-radius: 25px;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 25px; padding: 0; line-height: 25px;
    font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "";
    padding-left: 10px;
    background-color: ; color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "";
    padding-right: 10px;
    background-color: ; color: ;
    text-align: right;
}
.onoffswitch-switch {
    display: block; width: 18px; margin: 3.5px;
    background: ;
    position: absolute; top: 0; bottom: 0;
    right: 21px;
    border: 1px solid white; border-radius: 25px;
    transition: all 0.3s ease-in 0s; 
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px; 
}

/* non-generated code */
.onoffswitch.disabled {
    opacity: 0.5;
}

/*===========================
 * INPUT GROUPS
 *=========================*/

.mch-chk-group {
    margin-top: 40px;
    margin-bottom: 10px;
}

.center {
    margin-left: auto;
    margin-right: auto;
}

/*===========================
 * HELPER CLASSES
 *=========================*/

.margin.top {
    margin-top: 30px;
}

.margin.right {
    margin-right: 30px;
}

.margin.bottom {
    margin-bottom: 30px;
}

.padding-small {
    height: 16px;
}

.halfmargin.top {
    margin-top: 15px;
}

.tinymargin.top {
    margin-top: 8px;
}

.hidden {
    display: none !important;
}
