/* Commons */
body{
    background-repeat: no-repeat;
    min-height: 100vh;
}
body.sc-bg-defualt{
    background: #B70404;
    background: linear-gradient(135deg,rgba(183, 4, 4, 1) 0%, rgba(76, 45, 53, 1) 50%, rgba(6, 35, 92, 1) 100%);
}
body.sc-bg-white{
    background: #FFF;
}
body.sc-bg-black{
    background: #000;
}
body.sc-bg-gray{
    background: #D8D9DA;
    background: linear-gradient(135deg,rgba(216, 217, 218, 1) 0%, rgba(229, 232, 235, 1) 25%, rgba(224, 226, 228, 1) 50%, rgba(252, 252, 252, 1) 75%, rgba(187, 189, 191, 1) 100%);
}
body.sc-bg-red{
    background: #303942;
    background: linear-gradient(135deg,rgba(48, 57, 66, 1) 0%, rgba(122, 55, 61, 1) 50%, rgba(214, 53, 54, 1) 100%);
}
body.sc-bg-blue{
    background: #303942;
    background: linear-gradient(90deg,rgba(48, 57, 66, 1) 0%, rgba(47, 60, 78, 1) 25%, rgba(47, 64, 90, 1) 50%, rgba(43, 65, 104, 1) 75%, rgba(42, 67, 116, 1) 100%);
}
body.sc-bg-gray-red{
    background: #303942;
    background: linear-gradient(180deg,rgba(48, 57, 66, 1) 0%, rgba(48, 57, 66, 1) 25%, rgba(74, 53, 62, 1) 50%, rgba(101, 49, 58, 1) 75%, rgba(148, 42, 52, 1) 100%);
}

div.ccm-page{
    color: #FFF;
    font-family: 'Prompt', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 200;
    line-height: 1.3;
}

div.ccm-page h1, div.ccm-page h2, div.ccm-page h3, div.ccm-page h4, div.ccm-page h5, div.ccm-page h6{
    line-height: 1.3;
    font-family: 'Prompt', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 300;
}
div.ccm-page h1 {font-size: 44px;}
div.ccm-page h2 {font-size: 40px;}
div.ccm-page h3 {font-size: 36px;}
div.ccm-page h4 {font-size: 32px;}

div.ccm-page .ccm-image-slider-container .ccm-image-slider-text p{

}

div.ccm-page hr{
    margin-top: 20px;
    margin-bottom: 20px;
    border-top: 1px solid #8d979a;
}

.sc-button {
    color: #606060 !important;
    background: #ffffff;
    padding: 13px 20px;
    border-radius: 0px;
    display: inline-block;
    font-size: 1.2em;
    box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.28);
    -webkit-box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.28);
    -moz-box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.28);
}
.sc-button:hover {
    color: #ffffff !important;
    background: #274a97;
}

div.ccm-page td, div.ccm-page th{
    padding: 10px;
}

#select_language{
    position: relative;
    margin-top: 17px;
    text-align: right;
}
#select_language .text_holder{
    color: #606060;
    padding: 13px 37px 13px 15px;
    background: #ffffff url('/application/themes/siamcreate/images/arrow-down.png') right 13px center no-repeat;
    border-radius: 0px !important;
    font-size: 18px;
    font-family: 'Prompt', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: normal;
    cursor: pointer;
    display: inline-block;
}
#select_language .text_holder.selected{
    background: #ffffff url('/application/themes/siamcreate/images/arrow-up.png') right 13px center no-repeat;
}
#select_language .region_holder{
    display: none;
    position: absolute;
    background: #ffffff;
    border-radius: 0px;
    margin-top: 0px;
    padding: 7px;
    right: 0;
    text-align: left;
    z-index: 5;
}

#select_language .search_language{
    
}

#select_language .search_language #search_value{
    color: #606060 ;
}

#select_language .search_result{
    
}

#select_language .search_data{
    
}

#select_language .search_result, #select_language .search_data{
    overflow-y: scroll;
    max-height: 200px;
}

#select_language .search_result ul, #select_language .search_data ul{
    float: none;
    margin: 0px;
    padding: 0px;
}

#select_language .search_result ul li, #select_language .search_data ul li{
    display: block;
    float: none;
}

#select_language .search_result ul li a, #select_language .search_data ul li a{
    display: block;
    padding: 5px;
}


/* Header */
div.ccm-page header{
    border: none;
}

div.ccm-page header .top_nav{
    position: relative;
    z-index: 2;
    padding: 0 20px;
}
div.ccm-page header .header_background{
    margin-top: -150px;
}
div.ccm-page header .header_background img.header_background_img{
    width: 100%;
    margin-top: -150px;
}
div.ccm-page header .header_content{
    position: absolute;
    z-index: 1;
    top: 140px;
    width: 100%;
}

div.ccm-page header nav ul{
    margin-top: 0px !important;
}

div.ccm-page header nav ul li{
    margin-right: 20px;
    margin-top: 30px;
}
div.ccm-page header nav ul li:last-child{
    border-right: none;
}

div.ccm-page header nav ul li a{
    color: #606060;
    padding: 13px 20px;
    background: #ffffff;
    border-radius: 0px !important;
    font-size: 18px;
    font-family: 'Prompt', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: normal;
    box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.28);
    -webkit-box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.28);
    -moz-box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.28);
}

div.ccm-page header nav ul li a:hover,
div.ccm-page header nav ul li a.nav-path-selected{
    color: #ffffff;
    background: #274a97;
    box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.28) inset;
    -webkit-box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.28) inset;
    -moz-box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.28) inset;
}

div.ccm-page header nav ul li ul{
    top: 38px !important;
    border-radius: 0px;
    padding: 10px;
    width: 260px;
    box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.28);
    -webkit-box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.28);
    -moz-box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.28);
}
div.ccm-page header nav ul li ul li{
    border-right: none;
    margin: 0px;
}
div.ccm-page header nav ul li ul li a{
    font-family: 'Prompt', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: normal;
    color: #606060;
    background: none;
    box-shadow: none;
    padding: 10px 5px;
}
div.ccm-page header nav ul li ul li a:hover,
div.ccm-page header nav ul li ul li a.nav-path-selected{
    background: none;
    color: #274a97;
    border: none;
    box-shadow: none;
}

.ccm-responsive-menu-launch i:after{
    color: #303942;
}
.ccm-responsive-menu-launch.responsive-button-close i:after{
    color: #FFF;
}

div.ccm-page .language_selection ul{

}


div.ccm-page .language_selection ul li{

}

div.ccm-page .language_selection ul li a{

}

div.ccm-page .language_selection ul li a:hover,
div.ccm-page .language_selection ul li a.nav-path-selected{

}


/* Body */
div.ccm-page main {
    padding: 0 ;
    background: none;
    font-family: 'Prompt', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

div.ccm-page main ul.nav {

}

div.ccm-page main ul.nav li{

}
div.ccm-page main ul.nav li:last-child{

}

div.ccm-page main ul.nav li a{
    color: #1a2e35 !important;
}

div.ccm-page main ul.nav li a:hover,
div.ccm-page main ul.nav li a.nav-path-selected{
    padding-left: 30px;
    background: url('/application/themes/siamcreate/images/arrow-right.png') left center no-repeat;
    color: #1a2e35 !important;
}

/* Footer */
footer#footer-theme{
    color: #2c3e50;
    background: #D8D9DA;
    background: linear-gradient(90deg,rgba(216, 217, 218, 1) 0%, rgba(229, 232, 235, 1) 25%, rgba(224, 226, 228, 1) 50%, rgba(252, 252, 252, 1) 75%, rgba(187, 189, 191, 1) 100%);
}

footer h1, footer h2, footer h3, footer h4, footer h5{
    color: #2c3e50;
    font-family: 'Prompt', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

footer .footercoppyright{
    border-top: solid 1px #2b569b;
    padding-top: 20px;
    margin-top: 10px;
}

footer ul{
    list-style: none;
    padding-left: 0px;
}
footer ul li{
    padding: 0 0 0 30px;
    background: url('/application/themes/siamcreate/images/icon-arrow.png') top left no-repeat;
}
footer ul li a{
    
}
footer ul li a:hover{
    text-decoration: underline !important;
}

/* Block Slide */
div.ccm-page .ccm-image-slider-container{
    border: none;
    padding: 0;
    margin: 0;
}
div.ccm-page .ccm-image-slider-container .rslides_tabs{
    text-align: center;
}
div.ccm-page .ccm-image-slider-container .rslides_tabs li a{
    width: 10px;
    height: 10px;
}
.ccm-image-slider-text {
    width: 50%;
    text-align: center;
}
div.ccm-page .ccm-image-slider-container .ccm-image-slider-text p{
    width: 100%;
}
div.ccm-page .ccm-image-slider-container .ccm-image-slider-text p b,
div.ccm-page .ccm-image-slider-container .ccm-image-slider-text p strong{
    font-size: 1.5em;

}

/* Block Carousel Slide */
.easy-slider-carousel .info > div{
    opacity: 0.7 !important;
}
.easy-slider-carousel .info p{
    padding: 0 !important;
}
.easy-slider-carousel .info a{
    font-size: 1.5em !important;
    background-color: none !important;
}

/* Block Page List*/
div.ccm-page div.ccm-block-page-list-thumbnail-grid-wrapper div.ccm-block-page-list-title{
    font-size: 1em;
    background: #e7e8ea;
    padding: 20px 15px;
    margin-top: 0px;
}
div.ccm-page div.ccm-block-page-list-thumbnail-grid-wrapper div.ccm-block-page-list-title a{
    color: #58585a;
    font-family: 'Prompt', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
div.ccm-page div.ccm-block-page-list-thumbnail-grid-wrapper div.ccm-block-page-list-title a:hover{
    color: #144391;
}

/* Block Gallery */
.ccm-block-gallery .ccm-block-gallery-image{
    padding-top: calc(3.125rem + 12.5vw);
}
.ccm-block-gallery .ccm-block-gallery-image-caption{
    color: #333;
    text-align: center;
    font-family: 'Prompt', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
}

/* Block Form */
div.ccm-block-type-form div.form-group label.control-label{
    color: #1a2e35;
    font-weight: normal !important;
}
/* Responsive */
@media screen and (max-width: 767px) {
    .ccm-responsive-overlay{
        border: none;
        height: 100%;
        top: 0px;
        z-index: 1;
        background: #FFF;
        padding-top: 300px;
    }
    div.ccm-page .language_selection ul{
        margin-right: 20px;
    }
    .ccm-responsive-menu-launch{
        display: block;
        background: #ffffff;
        padding: 10px 10px;
        border-radius: 0px;
    }
    .ccm-responsive-menu-launch.responsive-button-close{
        background: #303942;
    }
    div.ccm-page header .header_content{
        position: relative;
        top: 0px;
    }
    div.ccm-page header .header_background{
        margin-top: 0px;
    }
    div.ccm-page header .header_background img.header_background_img{
        width: 100%;
        margin-top: 0px;
    }
}
@media screen and (min-width: 1200px) {
    .ccm-block-gallery .ccm-block-gallery-image{
        padding-top: 11rem;
    }
}

/* ── Fix: ลดขนาดปุ่ม Nav ให้พอดี 1 บรรทัด (v5 - แก้ padding ที่พลาดไป) ── */
div.ccm-page header nav > ul{
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    width: 100%;
}
div.ccm-page header nav ul li{
    margin-right: 6px;
    margin-top: 20px;
    flex-shrink: 0;
}
div.ccm-page header nav ul li a{
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 0px;
}
#select_language{
    margin-top: 20px;
    flex-shrink: 0;
}
#select_language .text_holder{
    padding: 8px 30px 8px 12px;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 0px;
    background-position: right 12px center;
}
div.ccm-page header .top_nav{
    padding: 0 10px;
}
div.ccm-page header .row{
    display: flex !important;
    align-items: stretch !important;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
}
div.ccm-page header .col-sm-10{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    flex: 1;
}
div.ccm-page header .col-sm-9{
    flex: 0 1 auto;
    display: flex !important;
    align-items: center !important;
}
div.ccm-page header .col-sm-3{
    flex: 0 0 auto;
    width: auto;
    margin-left: 20px;
    display: flex !important;
    align-items: center !important;
}
@media screen and (max-width: 767px) {
    div.ccm-page header nav > ul{
        flex-wrap: wrap !important;
    }
    div.ccm-page header nav ul li a{
        font-size: 11px;
        padding: 6px 10px;
    }
}