/* Table of Content */
/* #001415   #ED1C24 */
/* 
1. Section Setting 
2. Section Navbar
3. Section Carousel
4. Section VDO
5. Section Activities
6. Section Footer
7. Section on to top



*/




/* Section Setting */
@font-face {
    src: url(../fonts/CHULALONGKORNReg.otf);
    font-family: cu;
}

.cu_font {
    font-family: cu;
}

html,
body {
    height: 100%;
}

.bg-alpha {
    background: #ED1C24;

}

.navbar-toggler {
    border: 0;
}

.logo img {
    max-width: 100%;
    object-fit: contain;
}

.text-color {
    color: #ED1C24;
}

/* Section Navbar */
#navbar {
    padding: 25px;
    transition: 0.5s;
}

.header {
    margin-top: 5px;
    margin-bottom: 5px;
}

.flag img {
    width: 15px;
    height: 15px;
}

.flag a {
    text-decoration: none;
    color: #000000;
}

.social img {
    width: 20px;
    height: 20px;
}

/* Section to line */
.to-line {
    position: fixed;
    top: 12%;
    right: 2%;
    z-index: 9999;
    border-radius: 50%;
    font-size: 25px;
    cursor: pointer;
    text-align: center;
}

/* Section Page-title */
.page-imge {
    padding: 200px 0 120px;
    text-align: center;
    color: #ffffff;
    background: rgba(0, 20, 21, 0.7);
}

.close {
    z-index: 10;
}

/* Section Carousel */
.carousel,
.carousel-inner,
.carousel-item,
.carousel-inner .active {
    height: 100%;
}

.carousel-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.carousel-caption {
    top: 58%;
}

.backscreen_first {
    background: rgba(0, 20, 21, 0.3);
    height: 100%;
}

.backscreen {
    background: rgba(0, 20, 21, 0.7);
    height: 100%;
}

/* Section History */
.jumbotron p {
    font-size: 18px;
}

/* Section VDO */
.vdo {
    background-color: #001415;
}

/* What new */
.bg_whatnew {
    background-color: #ED1C24;
}

.text-color {
    color: #ffffff;
}

/* Section Activities */
.warpper-card-img {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.warpper-card-img img {
    position: absolute;
    top: 0;
    transition: 1s;
}

.warpper-card-img img:hover {
    transform: scale(1.2);
}

.warpper-card-img-circle {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.warpper-card-img-circle img {
    position: absolute;
    top: 0;
    transition: 1s;
}

.warpper-card-img-circle img:hover {
    transform: scale(1.2);
}

/* Section memorandum
.warpper-card-img-memorandum{
    position: relative;
    padding-top: 140%;
    overflow: hidden;
}

.warpper-card-img-memorandum img{
    position: absolute;
    top: 0;
    transition: 1s;
}

.warpper-card-img-memorandum img:hover{
    transform: scale(1.2);
} */



.btn-group button {
    margin-bottom: 0.5rem;
    width: 60px;
}

.btn-group a {
    text-decoration: none;
}

.card {
    border: none;
}

.btn:hover {
    color: #ED1C24;
    border-radius: 0px;
    border-bottom: 1px solid #ED1C24;
}

.activities-content {
    padding: 50px 100px;
    box-shadow: 0 0 10px #a5a5a5;
}

.owl-carousel .card-body {
    height: 150px;
    overflow: hidden;
}

@media (max-width: 991px) {
    .activities-content {
        padding: 40px 50px;
    }
}

@media (max-width: 768px) {
    .activities-content {
        padding: 20px 30px;
    }
}

/* Section Footer */
.semi-footer {
    background-color: #DFC98A;
    color: #000;
}

.semi-footer a {
    color: #000;
}

.semi-footer li.active>a {
    color: #ffffff;
}

.semi-footer h4 {
    color: #000;
    border-bottom: 1px solid;
    padding: 10px 2px 0 0;
}

.footer {
    background: #ED1C24;
    color: #fff;
    font-size: 12px;
    height: 60px;
    text-align: center;
    padding: 10px 0;
}

/* Section on to top */
.to-top {
    position: fixed;
    bottom: 2%;
    right: 2%;
    width: 40px;
    height: 40px;
    background: #ED1C24;
    color: #fff;
    z-index: 9999;
    border-radius: 50%;
    font-size: 25px;
    cursor: pointer;
    text-align: center;
}

.to-top:hover {
    background: none;
    border: 1px solid #ED1C24;
    color: #ED1C24;
}

/* Staff */
.member-warpper-card-img {
    position: relative;
    padding-top: 120%;
    overflow: hidden;
}

.member-warpper-card-img img {
    position: absolute;
    top: 0;
    transition: 1s;
}

.member-warpper-card-img img:hover {
    transform: scale(1.2);
}

/* Classroom */
.map img {
    width: 100%;
}

.card-header {
    background: none;
    padding: 0px 5px;
}

.btn {
    font-weight: 500;
    font-size: 18px;
    color: #ED1C24;
}

.card-body img {
    width: 100%;
}

.panorama {
    width: 90px;
    height: 20px;
    background: none;
    border: 1px solid #ED1C24;
    font-size: 12px;
    cursor: pointer;
    text-align: center;
    margin: 10px;
    justify-content: center;
}

.panorama a {
    color: #ED1C24;
    text-decoration: none;
}

/* Admin */
.admin a {
    color: #ED1C24;
    text-decoration: none;
}

.display-3 {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
    text-align: center;
}


.text-cen {
    margin-left: auto;
    margin-right: auto;
    font-size: 21px;
}


.text-cen-sctc {
    text-align: center;
}

.logo-sctc {
    width: 15%;
    display: flex;
    margin-left: auto;
    margin-right: auto;
}


.row-center {
    text-align: center;
    justify-content: center;
}

.head-footer {
    font-weight: 600;
    font-size: 24px;
}



/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .font-nav-head {
        font-size: 19px;
        font-weight: 600;
    }
    
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .font-nav-head {
        font-size: 19px;
        font-weight: 600;
    }
    
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .font-nav-head {
        font-size: 29px;
        font-weight: 600;
    }
    
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .font-nav-head {
        font-size: 30px;
        font-weight: 600;
    }
    
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .font-nav-head {
        font-size: 32px;
        font-weight: 600;
    }
    
}