
/*
@font-face {
    font-family: Lato;
    src: url(../css/fonts/Lato/Lato-Regular.ttf);
}
@font-face {
    font-family: LatoB;
    src: url(../css/fonts/Lato/Lato-Bold.ttf);
}
*/

/* Hide HTML5 Up and Down arrows. */
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="date"]::-webkit-outer-spin-button, input[type="date"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
 
input[type="number"] {
    -moz-appearance: textfield;
}
input::-webkit-contacts-auto-fill-button {
  visibility: hidden;
  display: none !important;
  pointer-events: none;
  position: absolute;
  right: 0;
}
input::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    right: 0;
}

::-webkit-scrollbar {
display: none;
}


/* GLOBALS */

.modal {
    z-index:100000;
    display:none;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    overflow:auto;
    background-color:rgba(0,0,0,0.4);
}

.modal-content {
    display: flex;
    height: inherit;
    max-width: 100% !important;
    z-index:100001
}

.main-container {
    width: 100%!important;
    height: 100vh!important;
    overflow: hidden;
}

.cg-flex {
	display: flex;
    height: inherit;
    max-width: 100% !important;
}

.flex-content {
    margin: auto;
}

.close-card {
    position: relative;
    float: right;
    color: #000;
    font-size: 40px;
    font-weight: 400;
    transition: 0.3s;
}

.cg-pointer {
    cursor:pointer;
}

.close-card:hover,
.close-card:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.spinner-block{
    z-index:200000;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    overflow:auto;
    font-size:100%;
/*    background-color:rgba(200,200,200,0.3);*/
    
    background-image: url("./imgMain/doncarboColor.jpg");
    background-position: center;
    background-repeat: no-repeat;
}
.spinner-end-block{
    z-index:200000;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    overflow:auto;
    font-size:100%;
    background-color:rgba(200,200,200,0.7);
    
    background-image: url("./imgMain/doncarboColor.png");
    background-position: center;
    background-repeat: no-repeat;
}
.spinner{
    font-size: 5em;
}

* {
    box-sizing: border-box;
}

/* Main styles */

html { 
    height: 100%;
}

body {
    color: #000;
    font-family: 'Roboto',sans-serif;
    font-style: normal;
    font-weight: 400;
    background: #fff;
    height: 100%;
    overflow: auto;
}

/* BACKGROUND */
/*
.doncarbo {
    background-image: url("../img/doncarbo.png");
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
*/

/* WELCOME */
.welcome-block {
    display: block;
    margin: auto;
    text-align: center;
    padding: 0px 20px;
    width: 400px;
    color: #000!important;
    background-color: #fff;
    box-shadow: 0 4px 10px 0 rgba(0,0,0,0.2), 0 4px 20px 0 rgba(0,0,0,0.19);
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

.welcome-text {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    text-align: center;
    padding-bottom: 16px;
    width: 100%;
}

.welcome-infos {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    padding-bottom: 16px;
    width: 100%;
}

.welcome-btn-block {
    padding: 16px 0px;
}

.welcome-cancel-block {
    padding: 16px 0px;
}


.welcome-btn {
    display: block;
    text-transform: none;
    font-weight: 400;
    font-size: 1.1rem;
    width: 100%;
    padding: 16px;
    cursor: pointer;
    color:#000;
    border: 1px solid darkgreen;
    text-align: center;
    white-space: nowrap;
}

.welcome-alert {
    display: block;
    font-weight: 400;
    font-size: 1.1rem;
    width: 100%;
    padding: 16px;
    cursor: default;
    color:#000;
    border: 1px solid red;
    background: rgba(255, 0, 0, 0.2);
    text-align: center;
    
}

.welcome-btn:hover {
    color:#fff;
    background: darkgreen;
}

/* DATE PICKER */
.datepicker-content {
    display: none;
    position: relative;
    width: 100%;
}

.datepicker {
    position: relative;
    font-size: 100%;
    font-weight: 300;
    padding: 0px;
    border-radius: 0px;
}
.datepicker table{
    width: 100%;
}

.datepicker td, .datepicker th{
    width: 35px;
    height: 35px;
    font-weight: 400;
}

.datepicker .prev, .datepicker .next{
    font-size: 2rem;
}

.datepicker .datepicker-switch {
    font-weight: 400;
}

/* TIME PICKER */
.time-picker-row {
    display: table;
    width: 100%;
    height: 40px;
    font-size: 100%;
}

.time-picker-time {
    display: table-cell;
    vertical-align: middle;
}

.time-picker-time:hover {
    background: #d5d5d5;
    border-radius: 6px;
    cursor: pointer;
}

.time-picker-disabled {
    display: table-cell;
    vertical-align: middle;
    color: #d5d5d5;
    cursor: default;
}

/* TOP */
.page-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 1em;
    background-color: rgba(255,255,255,.9);
    z-index: 999;
}

.top-content {
    display: inline-block;
    width: 100% !important;
    height:40px;
    background-color: darkgreen;
    z-index: 999;
}

/* CONNECT */
.connect-block{
    display: flex;
    float: right;
    margin-right: 16px;
    height: 40px;
    cursor: pointer;
}

.connect-text {
    margin:auto;
    font-weight: 300;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #fff;
}

.connect-container {
    display: block;
    margin: auto;
    text-align: left;
    padding: 20px;
    min-width: 350px;
    font-size: 1rem;
    color: #000!important;
    background-color: #fff!important;
    box-shadow: 0 4px 10px 0 rgba(0,0,0,0.2), 0 4px 20px 0 rgba(0,0,0,0.19);
}

.connect-icon{
    float:left;
    font-size:2.3em
}

.connect-title{
    display: table-cell;
    vertical-align: middle;
    font-size:1.1rem;
    text-align:left;
    text-transform: uppercase;
    padding:0px 10px
}


.connect-input-block {
    display: table;
    padding-top: 16px;
    width: 100%;
    border-bottom: 1px solid darkgreen;
}

.connect-input-label {
    display: table-cell;
    text-align: left;
    padding-right: 4px;
    width: 5%;
    white-space:nowrap;
    border: none;
}

.connect-input-cell {
    display: table-cell;
    max-width: 100%
    border: none;
}

.connect-input {
    width: 100%;
    padding: 6px;
    border: none;
}

.connect-input-active {
    background-color: rgba(255, 229, 204, 0.4);
}

.connect-input::placeholder {
    font-size: 0.875em;
}

.connect-input-alert {
    display: none;
    padding: 6px 0px 4px 0px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 400;
    color: red;
}

.connect-btn-block {
    padding: 24px 0px 0px 0px;
}

.connect-btn {
    display: block;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 1rem;
    width: 100%;
    padding: 8px;
    cursor: pointer;
    color:#fff;
    background: darkgreen;
    text-align: center;
    white-space: nowrap;
}

.connect-link {
    display: block;
    text-transform: none;
    text-align: center;
    font-weight: 400;
    font-size: 1.1rem;
    width: 100%;
    padding: 16px 0px 8px 0px;
    cursor: pointer;
    color:#000;
    border-bottom: 1px solid darkgreen;
    white-space: nowrap;
}

.connect-link:hover {
    font-weight: 400;
    color:darkgreen;
    
}

.connect-infos-block {
    display: table;
    padding-top: 16px;
    width: 100%;
    text-align: left;
}

.connect-infos-btn {
    display: block;
    text-transform: uppercase;
    font-weight: 300;
    width: 100%;
    padding: 8px;
    cursor: pointer;
    color:#000;
    border: 1px solid darkgreen;
    text-align: center;
    white-space: nowrap;
}

.connect-infos-btn:hover {
    color:#fff;
    background: darkgreen;
}



/* HEADER */

.header-content {
    display: inline-block;
    position: relative;
    width: 100% !important;
    height: 32px;
    color: #000;
    font-weight: 200;
    padding:0px 40px;
    border: none;
    font-size: 1em;
    margin-bottom: 0;
    z-index: 9999;
}

.logo-content {
    position: relative;
    float: left;
    margin-top:-35px;
    z-index: 9999;
    
}

.logo {
    margin: 0;
    max-width: inherit;
    cursor: pointer;
    z-index: 9999;
}

.logo img{
    margin: 0;
    width: auto;
    max-height: 100px;
    
}

/*NAVIGATOR*/
.navigator {
    display: block;
    position: fixed;
    top: 130px;
    width: 100% !important;
    padding-left: 43px;
    height: 30px;
    margin-left: auto;
    margin-right: auto;
    z-index: 999;
    background-color: rgba(255,255,255,.9);
}

.navigator ul {
    display: inline-block;
    font-size: 0.8rem;
    color: #787878;
    margin: 0;
    padding-top: 8px;
    padding-left: 0px;
    list-style: none none;
}

.navigator li {
    display: inline-block;
    cursor: default;
}
.navigator li:not(:last-child) {
    cursor: pointer;
}

.navigator li:not(:last-child):after {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1em;
    line-height: 1em;
    content: '|';
    font-family: 'Roboto';
    margin: 0 10px;
    vertical-align: top;
    display: inline-block;
    font-weight: 400;
    overflow: hidden;
    speak: none;
    text-align: center;
}

.navigator li a {
    border-bottom: 1px solid transparent;
    transition: all .5s;
    color: #787878;
}

.navigator li:not(:last-child) a:hover {
    color: darkgreen;
    border-bottom: 1px solid green;
}

/*PARRALAX*/
.bgimg-1 {
    position: relative;
    height: calc(100vh - 130px);
    opacity: 0.75;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

}
.bgimg-1 {
    background-image: url("./imgMain/1961.jpg");
    min-height: calc(100vh - 220px);
}

.caption {
    position: absolute;
    display: flex;
    height: 100%;
    width: 100%;

}
.caption-div {
    margin: auto;
    background-color: rgba(255, 255, 255,0.8);
    width: 100%;
}

.caption-title {
    margin: auto;
    color: #000;
    text-transform: uppercase;
    
}

/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 1024px) {
    .bgimg-1, .bgimg-2, .bgimg-3 {
        background-attachment: scroll;
    }
}

/* CONTENT */

.main-flex {
    display: block;
    position: relative;
/*    top:0;*/
    margin-top:130px;
/*    padding-bottom: 40px;*/
    width: 100% !important;
/*    height: calc(100vh - 130px);*/
    margin-left: auto;
    margin-right: auto;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    
}

.main-content {
    display: inline-block;
    position: relative;
    margin: auto;
    width: 100%;
/*    margin-top: 1em;*/
    overflow: hidden;
}

.main-fixed {
    position: fixed;
/*    margin: auto;*/
    top: 160px;
    overflow: hidden;
}

.main-title {
    font-size: 2em;
    font-weight: 400;
    padding-bottom: 1.5rem;
    padding-top: 1.5rem;
    margin-bottom: 16px;
    text-align: center;
    cursor: default;
    text-transform: uppercase;
    border-bottom: 1px solid rgb(204, 33, 28);
    
}

.main-block {
    padding: 0px 33px;
    overflow: auto;
}


.main-column {
    float: left;
    padding-top: 24px;
    padding-left: 24px;
}


/* SELECTOR */
.selector-block {
    position: fixed;
    top: 160px;
    width: 20%;
/*    height: calc(100vh - 160px);*/
}

.selector-title {
    display: inline-flex;
    width: 100%;
    font-size: 1em;
    font-weight: 500;
    height:60px;
    text-align: center;
    cursor: default;
    text-transform: uppercase;
    border-bottom: 1px solid darkgreen;
    
}

.selector-item {
    display: inline-flex;
    width: 100%;
    font-size: 0.875em;
    height:40px;
    font-weight: 300;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    border-bottom: 1px solid darkgreen;
    
}

.selector-title span, .selector-item span {
    margin: auto;
}

.selector-selected {
    color:#fff;
    background: darkgreen;
}

.selector-item-hover:hover {
    color:#fff;
    background: darkgreen;
    opacity: 0.6;
}

/* CONTENT RIGHT */
.content-right-full {
/*    position: absolute;*/
    margin-left: 20%;
    padding-bottom: 40px;
    margin-top: 160px;
    width: 80%;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
/*    overflow: auto;*/
}

.content-right {
/*    position: absolute;*/
    margin-left: 20%;
    padding-bottom: 40px;
    margin-top: 160px;
    width: 80%;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
/*    height: inherit;*/
/*    overflow: auto;*/
}


.content-full {
    padding: 0px 33px;
    overflow: auto;
}

.content-block {
    padding: 0px 33px;
    height: 100vh;
    overflow: auto;
}

.content-title {
    display: inline-flex;
    width: 100%;
    font-size: 1.5em;
    font-weight: 500;
    height:60px;
    text-align: center;
    cursor: default;
    text-transform: uppercase;
    border-bottom: 1px solid darkgreen;
    
}

.content-item-block {
    float: left;
    width: 25%;
    padding: 10px;
    cursor: pointer;
}

/* FOOTER */
.footer-main {
    background-color:#1f1f1f;
    padding-bottom:20px;
    margin-top:50px;
    cursor:default;
    width:100%!important;
}
.footer-content {
    padding: 0px 40px;
    width:100%!important;
}
.footer-column {
    margin-top: 16px;
}
.footer-title {
    color:#fff;
    text-transform: uppercase;
    font-size: 16px;
}
.footer-text {
    color:#b3b3b3;
    line-height: 1.5em;
    font-size: 14px;
}

.footer-link {
    cursor:pointer;
}

.footer-link:hover {
    color:#fff;
}

.footer-social {
    display: inline-flex;
    background-color:#b3b3b3;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    color: #000;
    margin: auto;
    font-size: 2.2em;
}

.footer-social:hover {
    background-color:#fff;
}

@media (min-width: 1025px){
    
    .main-page {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        margin: 0;
        min-height: 100%;
        position: relative;
        transition: margin .3s ease-out 0s;
        z-index: 1;
    }
    
}

@media only screen and (max-width: 1024px){
    
    .content-item-block {
        width: 33.3333%;
    }
    
}

@media only screen and (max-width: 768px){
    
    .navigator, .connect-block {
        display: none;
    }
    
    .mob-icon {
        display: block;
    }
    
    .top-content {
        height:50px;
    }
    
    .page-header {
        background: rgba(255,255,255,.95);
        border-bottom: 1px solid rgb(204, 33, 28);
    }
    
    .header-content {
        padding-left: 10px;
        padding-right: 16px;
        height:auto;
    }
    
    .logo-content {
        margin-top:-30px;
        margin-bottom:0px;
    }
    
    .logo img{
        max-height: 90px;
    }
    
    .main-flex {
        margin-top: 120px;
        position: absolute;
/*        height: calc(100vh - 170px);*/

    }
    
    .main-block, .content-full, .content-block {
        padding: 0px;
        
    }
    
    .main-title {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .selector-block {
        top: 123px;
/*        height: calc(100vh - 130px);*/
    }
    
    .selector-title, .content-title {
        height: 60px;
    }
    
    .content-title {
        font-size: 1rem;
    }
    
    .selector-title span, .selector-item span {
        margin-left: 6px;
    }
    
    
    .content-right-full, .content-right {
        width: 80%;
        margin-top: 123px;
        border-left: 1px solid darkgreen;
    }
    
    .content-item-block {
        width: 50%;
    }
    
}

@media only screen and (max-width: 500px){
    
    body {
        height:100vh;
        
    }
    
    .spinner-block{
        background-size: auto 98%;
    }
    
    /* WELCOME */
    .welcome-block {
        padding: 3px 10px;
        margin: 0px;
        background-color: rgba(255, 255, 255, 0.875);
    }
    
    .welcome-text {
        font-size: 1rem;
        font-weight: 500;
        padding-bottom: 0px;
    }
    

    .welcome-btn {
        font-weight: 500;
        font-size: 0.9rem;
        padding: 10px;
        color:#fff;
        background:  darkgreen;
    }
    
    .welcome-cancel-block {
        padding: 4px 0px 8px 0px;
    }
    
    .datepicker td, .datepicker th{
        width: 32px;
        height: 32px;
        font-weight: 400;
    }
    
    .time-picker-row {
        height: 32px;
        font-size: 100%;
    }
    
    /* TOP */
    .mob-icon {
        display: block;
    }
    
    .top-content {
        height:50px;
    }
    
    .page-header {
        background: rgba(255,255,255,.95);
        border-bottom: 1px solid rgb(204, 33, 28);
    }
    
    .header-content {
        padding-left:10px;
        padding-right:16px;
        height:auto;
    }
    
    .logo-content {
        margin-top:-25px;
        margin-bottom:0px;
    }
    
    .logo img{
        max-height: 85px;
    }
    
    /* CONNECT */
    
    .connect-container {
        padding: 6px 6px 16px 6px;
        min-width: 100%;
        font-size: 0.9rem
    }
    
    .connect-title{
        font-size: 0.9rem;
        padding-left: 0px;
    }
    
    .connect-icon{
        font-size:2.1em
    }
    
    .connect-btn-block {
        padding: 16px 0px 0px 0px;
    }
    
    /* CONTENT */
    .main-flex {
        display:none;
        margin-top: 120px;
        position: absolute;
/*        height: calc(100vh - 120px);*/
        overflow-y: scroll; /* has to be scroll, not auto */
        -webkit-overflow-scrolling: touch;

    }
    
    .main-block, .content-full, .content-block {
        padding: 0px;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
    }
    
    .main-title {
        font-size:1.5rem;
    }
    
    .selector-block {
        width: 40%;
    }
    
    .selector-title, .content-title {
        height: 60px;
    }
    
    .content-title {
        font-size: 1rem;
    }
    
    .selector-title span, .selector-item span {
        margin-left: 6px;
    }
    
    
    .content-right-full, .content-right {
        width: 60%;
        margin-left: 40%;
    }
    
    .content-item-block {
        width: 100%;
        border-bottom: 1px solid darkgreen;
    }
}