body {
    font-family: kanit;
    background-color: #1565C0;
    height: 100vh;
    color: #fff;
        

   
}

a {
    color: #000;
    text-decoration: none;
}
a:hover {
    color: #1da1ff;
    text-decoration: none;
}
header {
    top: 0;
    position: fixed;
    width: 100%;
    height: 120px;
    z-index: 1;    
    background-color: #fff;
    transition: all .5s;
    transition-timing-function: ease-out;
    display:flex;
    align-items:center;
}

.brand-nav{
    font-family: Kanit;
    color: #363636;
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: 5px;
    text-transform: uppercase;
    flex: 0 1 auto;
    margin: 0 auto;
    padding: 15px 5%;
    text-decoration: none;
}


header .hamburger {
    position: absolute;
    right: 0;
    float: left;
    width: 30px;
    height: 30px;
    right: 25px;
    top: 45px;
    display: flex; 
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    z-index: 3;
    opacity: 1;
    pointer-events: initial;
    cursor:pointer;
}

header .hamburger span.slice {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #000;
    -webkit-transition: .2s ease-in-out;
    -o-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}

header .hamburger span.lettuce {
    background-color: #000;
    -webkit-transform-origin: center left;
    -ms-transform-origin: center left;
    transform-origin: center left;
    -webkit-transform: rotate(43deg);
    -ms-transform: rotate(43deg);
    transform: rotate(43deg);
}
header .hamburger span.beef {
    background-color: #000;
    -webkit-transform-origin: center left;
    -ms-transform-origin: center left;
    transform-origin: center left;
    -webkit-transform: rotate(-43deg);
    -ms-transform: rotate(-43deg);
    transform: rotate(-43deg);
}
header .hamburger span.cheese {
    opacity: 0;
}


header nav#nav-link-mobile {
    background-color: #ffffffe5;
    position: absolute;
    height: 100vh;  
    width: 0;
    right: 0;
    top: 0;
    padding: 80px 0;    
    overflow-x: hidden;
    transition: .2s linear;
    -webkit-transition: .2s linear;
    -o-transition: .2s linear;

    

}

header nav#nav-link-mobile.open {
    width: 100%;
    -webkit-transition: .2s linear;
    -o-transition: .2s linear;
    transition:.2s linear;
    
}


header nav#nav-link-mobile a {
    display: block;
    font-family: Kanit;
    color: #000;
    font-size: 20px;
    font-weight: 400;
    line-height: 70px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    
}
header nav#nav-link-mobile a:hover {
    background-color: #1da1ff;
    color: white;
}
header nav#nav-link-desktop {
    font-family: Kanit;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;    
    text-transform: uppercase;
    display: flex;
    margin: 0 auto;
    text-decoration: none;
    display: none;
}
header nav#nav-link-desktop ul{
    display: -webkit-box;
}
header nav#nav-link-desktop ul li{
    padding: 15px 2%;
}


@media (min-width: 900px) {
    header .hamburger {
        display: none!important;
    }
    header nav#nav-link-mobile {
        display: none;
    }
    header nav#nav-link-desktop {
        display: block;
        flex: 1 1 auto;
    }
}
/* Main */

main {
    
  padding-top: 120px;
     

}

#mainBody {
      
    color: #fff;
    background-color: #1565C0;    
    background-image: url('../images/header.JPG');
    background-position: left top;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
}
#mainBody h2 {
    font-family: kanit;
    font-size: 35px;
    font-weight: 500;
    line-height: 45px;
    padding: 0 7%;
    text-shadow: 2px 2px 8px #111;
    margin-bottom: 10px;
 
}
#mainBody h1 {
    font-family: kanit;
    font-size: 25px;
    font-weight: 400;
    line-height: 40px;
    padding: 0 7%;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px #111;
 
}
#mainBody p {
    font-size: 20px;
    line-height: 30px;   
    padding: 0 7%;
    text-shadow: 2px 2px 8px #111;

}
#mainDesc {
    background-color: white;
    color:black;
    text-shadow: none;
}
#mainDesc h2 {
    font-family: kanit;
    font-size: 35px;
    font-weight: 500;
    line-height: 45px;
    padding: 0 7%;
    margin-bottom: 10px;
}

#mainDesc h1 {
    font-family: kanit;
    font-size: 25px;
    font-weight: 400;
    line-height: 40px;
    padding: 0 7%;
    margin-bottom: 20px;
}

#mainDesc p {
    font-size: 20px;
    line-height: 30px;
    padding: 0 7%;
}

.text-warning {
    color: #ff0000;
    font-weight: 700;
}
.img-responsive {
    max-width: 100%;
    height: auto;
}
.img-desc {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 15px!important;
    font-weight: 400;

}
.quote {
    margin: 0 auto;
    width: calc(100% - 50px);
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
}


.writer {
    text-align: right;
    font-size: 15px;    
}
.btn-next {    
    display: inline-block;
    background-color: #ff0000;
    padding: 20px;
    margin: 10px 0;
    border: 1px solid black;
    border-radius: 8px;
    color: white;

}
.btn-next:hover {
    background-color: #700000;
    color: white;
}

/* FOOTER */
footer {
    height: 80px;
    overflow: hidden;
    justify-content: center !important;   
    align-items: center;
}
footer div {
    display: flex;
}

footer ul li a {
    font-family: Kanit;
    color: rgb(255, 255, 255);
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
}
footer ul li a:hover {
    color: rgb(66, 66, 66);
}
footer ul li p {
    font-family: Kanit;
    color: rgb(255, 255, 255);
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
    text-align: center;
}
.ft-menu{
    display: none;
    height:120px;
}
.ft-icon-social {
    margin:0 auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

@media (min-width: 900px) {
    .callAction {
        display: none;    
    }
    .ft-menu {
        display: flex;
    }
    footer {
        height: 120px;
    }
    
}
.callAction {
    display: none;
    position: fixed;
    bottom: 0;
    z-index: 999;
}
.callAction .wrapCall {
    width:100%;
    display: block;
    height: 80px;
}

.callAction .wrapCall a {
    
    width: auto;
    overflow: hidden;
    color: white;
}

.callAction .wrapCall img {
    height: 100%;
    margin-right: 1rem;
}

.callAction .wrapCall div {
    height: 100%;
    font-family: Kanit;
}


/* CO2 PAGE SUM */
#chartjs-tooltip3{
    opacity: 0;
    position: absolute;
    background: rgba(0, 0, 0, .6);
    color: white;
    padding: 5px 12px 3px 12px;
    border-radius: 3px;
    -webkit-transition: all .1s ease;
    transition: all .2s ease;
    pointer-events: none;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}
#formSumCO2{
    background-color: whitesmoke;
    color: #000;    
    margin-top:50px;
    margin-bottom:50px;
    padding: 30px; 
    border-radius: 5px;

}

.title-h {
    font-size: 30px;
    padding: 10px 0;
}
.Summary {
    background-color: white;
}


#canvas {
    height: 500px!important;
}

/* SEND FORM */


form#formSend {
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 30px;    
    padding: 20px;
    background-color: #c0c0c0;
    border-radius: 10px;
}

@media (min-width: 900px) {
    form#formSend {
        width: 80%;
    }
}