/* Import Fonts */


/* @import url('https://fonts.googleapis.com/css?family=Prompt:100,200,300,400,500,600,700,800,900&subset=thai'); */
@import url('https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;1,300;1,400&display=swap');
/* @import url('../fonts/prompt/stylesheet.css'); */

/* Bootstrap Grid System Breakpoint: xs<576, sm>=576, md>=768, lg>=992, xl>=1200 */


/* Global */

body {
    /* font-family: 'DB HelvethaicaMon X 57 Cond'; */
    font-family: 'Sarabun';
    font-size: 16px;
    line-height: 20px;
    height: 100%;
    min-height: 100%;
    background-color: #FFF;
}
body#cover{
    background: url('../img/main/banner/pc_banner.png') no-repeat center center;
    /* border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px; */
    background-size: cover;
    position: relative;
    height: 74vh!important;
    width: 100%;
    padding-right: 0!important;
}
/* * {
    -o-transition: .6s;
    -ms-transition: .6s;
    -moz-transition: .6s;
    -webkit-transition: .6s;
    transition: .6s;
} */

p{
    font-size: 18px;
    margin: 0;
}
h1{
    font-size: 40px;
}
h2{
    font-size: 36px;
}

h3.text-topic,p.text-topic{
    font-size: 30px;

}


.font-span{
    font-size: 16px;
}

.font-p{
    font-size: 20px;
}

.text-second-topic{
    font-size: 28px;
}

.text-number-score{
    font-size: 45px;
}



/* Main CSS*/

.text-tosh-primary{
    color : #54B6AB;
}

.text-tosh-warning{
    color : #FFE483;
}

.text-success{
    color: #6EBDA5
}

.text-tosh-yellow{
    color: #FF7A00;
}

.text-risk-green{
    color: #8BC349;
}

.text-risk-yellow{
    color: #FDC012;
}

.text-risk-orange{
    color: #ED6D23;
}

.text-risk-red{
    color: #E63A35;
}

.text-black{
    color: #000;
}


.bg-tosh-primary{
    background: #54B6AB;
}
.bg-tosh-success{
    background: #6EBDA5;
}

.bg-tosh-warning{
    background: #FFE483;
}

.btn-tosh-primary{
    border: 2px solid #54B6AB !important;
    background: #54B6AB;
    color: #fff;
}
.btn-tosh-secondary{
    border: 2px solid #BEBEBE !important;
    background: #BEBEBE;
    color: #fff;
}

.btn-tosh-warning{
    border: 2px solid #ff9e44 !important;
    background: #ff9e44;
    color: #fff;
}

.border-radius-btn,.border-radius-card{
    border-radius: 12px;
    border: none;
}

.border-radius-modal{
    border-radius: 20px;
}

.box-shadow{
    /* box-shadow: 0px 5px 5px 0px rgb(0 0 0 / 15%); */
    box-shadow: -1px 2px 12px 2px rgb(0 0 0 / 15%);
}

.tosh-line-height{
    line-height: 1.4em;
}

.text-bold{
    font-weight: 500;
}

.text-larg-bold{
    font-weight: 600;
}

.form-check-input:checked {
    background-color: #54B6AB;
    border-color: #54B6AB;
}

.btn-tosh-primary:hover{
    border: 2px solid #6EBDA5 !important;
    background: #6EBDA5;
    color: #fff;
}
.btn-tosh-secondary:hover{
    background: #a5a4a4;
    color: #fff;
}

.btn-tosh-warning:hover{
    border: 2px solid #dd9654!important;
    background: #dd9654;
}

.none-underline-hover,.none-underline-hover:hover{
    text-decoration: none;
    cursor: pointer;
}

a , a:hover{
    color: #fff;
}
.hr-color{
    /* border: 1px solid #d7d7d7; */
    color: #999;
}

.dispaly-on-screen{
    display: none !important;
}

p.about_us>a{
    color: #54B6AB;
    text-decoration: none;
    cursor: pointer;
}

p.about_us>a:hover{
    color: #dd9654;
    text-decoration: none;
    cursor: pointer;
}

.border-right-2{
    border-right: 2px solid #fff;
    padding: 6px 10px;
    margin: 20px 5px;
}




/* End Main CSS ---------------- */



 /* .block-header{
   background: url('../img/main/banner/pc_banner.png') no-repeat center center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    background-size: cover;
    position: relative;
    height: 74vh;
    width: 100%; 

}*/

/* .block-start-page{
 margin: -195px 0px 0px 0px;   
} */

/* #content-wrapper{
    padding-top: 10em;
} */

.block-start,.block-start-c6{
    margin: -425px 0px 0px 0px;   
}

.block-btn{
    margin-top: 1.2em ;
    margin-bottom: 2em;
}

.img-sysname{
    position: relative;
    margin-top: 24.5em;
}
.img-sysname img{
    width: 60%;
}

a .border-radius-card:hover{
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.nav-mobile{
    display: none;
}

.display-fix>img{
    display: none;
}

.block-second,.block-second-partc{
    margin-top: -30px; /*-300*/
}
.block-second-partc6,.block-second-eva{
    margin-top: -38px; /*-300*/
}

#displayImage img{
    width: 40%;
}
#displayImageC img{
    width: 60%;
}

.img-sum img{
    width: 12%;
}

.advice-image img{
    width: 80%;
}
.card-advice{
    padding: 0.8em;
}

.risk-result-topic>span{
    padding: 0.3em 0.8em;
    border-radius: 8px;
    
}

.risk-topic-search{
    padding: 0.7em;
    margin: auto;
    border-radius: 5px;
    
}

#border-risk{
    border-radius: 15px;
    border: 3px solid #6EBDA5;
}

.advice-border-bottom{
    border-bottom: 2px solid #6EBDA5 !important;
    padding: 2px;
}

.position-middle{
    margin: auto;
}

.modal-header{
    display: block;
    border-bottom:none;
}
.modal-footer{
    display: block;
    border-top:none;
}

#btn_submit_search,#btn_clear_search{
    padding: 5px 35px;
}

#block-btn-search{
    margin-top: 2.5em;
}

#image-partc-search img{
    width: 25%;
}

/*edit screen when click btn submit answer*/
body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){
    overflow: unset  !important; /*unset*/
}


/* Footer ----------------------------------------------*/
.main-footer{
    margin: 3.5em 0 0 0;
    /* padding: 3.5em 0 0 0; */
    color: #222; 
}

.footer-copyright{
    /* margin: 10px 0 10px 0; */
    padding: 12px 0;
    text-align: center;
    font-size: 16px;
    line-height: 16px;
} 

.mobile-copyright{
    display: none;
}





