/*
Theme Name:   TIS
Description:  The International School Singapore
Author:       The International Schools
Author URL:   https://theinternationalschools.com
Template:     Divi
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  TIS
*/

/* Write here your own personal stylesheet */
.field_type-star_rating_field {clear:both;}
.field_type-star_rating_field ul.star-rating {list-style:none!important;padding:0;font-size:24px;cursor:pointer;display:inline;}
.field_type-star_rating_field ul.star-rating li {float:left;margin-right:5px;margin-bottom:0;}
.field_type-star_rating_field ul.star-rating li:last-child {margin-right:15px;}
.field_type-star_rating_field ul.star-rating li i {cursor:pointer;}
.field_type-star_rating_field.theme-color ul.star-rating li i { color: #fbb034; background: linear-gradient(315deg, #fbb034 0%, #ffdd00 74%);-webkit-background-clip: text;-webkit-text-fill-color: transparent; }
.wp-core-ui .btn-star-clear { line-height: 30px;color: #2271b1;border: 1px solid #2271b1;background: #f6f7f7;border-radius:3px;text-decoration:none;padding:0 10px;height:30px;margin-top:1px;display:inline-flex; }
.fa-star-o:before { content: "\f006";}
.preloader {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background-color: #fefefe;
   z-index: 100000;
   height: 100%;
   width: 100%;
   overflow: hidden !important;
}
.preloader .status {
   width: 80px;
   height: 80px;
   position: absolute;
   left: 50%;
   top: 50%;
   background-image: url(https://theinternationalschools.com/sg/wp-content/uploads/sites/2/2022/01/1488.gif);
   background-repeat: no-repeat;
   background-position: center;
   -webkit-background-size: cover;
   background-size: cover;
   margin: -50px 0 0 -50px;
} 
.et_divi_100_custom_hamburger_menu__icon{width:50px; height:60px;}
.et_divi_100_custom_hamburger_menu__icon div{height: 3px; margin: 10px auto;}
.et_divi_100_custom_hamburger_menu__icon.et_divi_100_custom_hamburger_menu__icon--toggled div:first-child {
    -webkit-transform: translateY(12px) rotate(45deg);
    transform: translateY(12px) rotate(45deg);
}
.et_divi_100_custom_hamburger_menu__icon.et_divi_100_custom_hamburger_menu__icon--toggled div:last-child {
    -webkit-transform: translateY(-13px) rotate(-45deg);
    transform: translateY(-13px) rotate(-45deg);
}
@media only screen and (max-width: 768px){
.et_header_style_split .et_menu_container .mobile_menu_bar{top:0;}}
@media only screen and (max-width: 450px){.et_divi_100_custom_hamburger_menu__icon{width:40px; height:60px;}
.et_header_style_split .et_menu_container .mobile_menu_bar{top:-10px!important;}}
.et_fixed_nav #main-header { position: fixed!important;}
.et_header_style_split #main-header .centered-inline-logo-wrap{width:auto!important;}
.founded { background-image: url(https://theinternationalschools.com/sg/wp-content/uploads/sites/2/2022/01/founded-1997.png); width: 160px; background-size: contain; height: 70px; background-repeat: no-repeat; padding: 40px 20px; font-size: 40px; position: relative; text-align: center; color: #6c6c6c; font-family: 'Raleway';}
.review-submit {border: none; padding: 6px 10px; background: #0070bd; color: #fff; margin-left:12px!important;}
.gform_wrapper.gravity-theme .gfield input, .gform_wrapper.gravity-theme .gfield select { border: none!important; border-bottom: 1px solid #999!important;}
.gform_button {border: none; background: #0e4778; padding: 10px; color: #fff; width: 100%; max-width: 240px;font-size:20px; text-transform:uppercase; letter-spacing:2px; font-weight:600;}
.school-cert { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); column-gap:20px }
.validity {font-size: 10px;}
.star-rating span {font-size: 16px!important; color: #00afe4;}
.no-review {text-align: center; display: block; padding: 40px 10px;}
.add-review:before {content: "\e050"; font-family: 'ETmodules'; margin-right: 10px; position: absolute; bottom: 28px; left: 49%; font-size: 29px;}
.level { background: #f9f9f9; padding: 1px 4px; margin: 2px; display: inline-block;}
.curri {background: #f7f7f7; padding: 3px 6px; margin: 4px; display: inline-block;}
.gform_wrapper.gravity-theme .description, .gform_wrapper.gravity-theme .gfield_description, .gform_wrapper.gravity-theme .gsection_description, .gform_wrapper.gravity-theme .instruction{font-size:12px!important;color:#979797;}
.gform-theme-datepicker:not(.gform-legacy-datepicker) .ui-datepicker-calendar .ui-state-disabled .ui-state-default{border:none!important; opacity:0.4;}
.side-buttons { position: fixed; left: 0; top: 35%; display: grid; z-index: 9999; gap: 5px; grid-template-columns: 75px; }
.side-buttons a { box-shadow: 0 0 1px 1px #fefefeab; color: #fff; background: #555555; padding: 10px; font-size: 10px; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; vertical-align: middle; line-height: 1.2; text-align: center; min-height: 75px; }
.side-buttons a:hover { color: #fff; background:#1878cb;; width: 85px; box-shadow: 3px 3px 6px 1px #939494; font-size: 11px; }
.sb1 { border-top-right-radius: 10px; }
.sb3 {border-bottom-right-radius: 10px;}
.facility-list {
    list-style: none!important;
    column-count: 2;
    background: aliceblue;
    padding: 20px!important;
}
.alike-compare-widget-button {
    background-color: #0070bd!important;
}
.alike-compare-widget-post-remove-button{color:#0070bd!important}
.fee {
    display: grid;
    grid-template-columns: auto auto auto;
    border: 1px solid #ceeaff;
}
.fee-bottom {
    display: grid;
    grid-template-columns: auto auto;
    background: #bbd5eb;
    font-weight: 600;
}
.fee-detail {
    padding: 8px 12px;
    border: .5px solid #ceeaff;
}
.award-detail {
    display: grid;
    grid-template-columns: 36% 70%;
    margin-bottom: 20px;
    align-items: center;
    background: #fff; box-shadow: #e7e9ea 6px 6px 6px;
}
.award-description {
    padding: 0 20px;
}
a.alike-button.alike-button-style {
    background: #c7780d;
    padding: 10px;
    color: #fff;
    text-transform: uppercase;
}

.dir-compare {
    color: #0070bf!important;
    background: none!important;
    font-weight: 700;
    font-size: 14px; padding:0!important;
    text-align: center;
}
/*.dir-compare:before {
    content: '\e050';
    font-family: 'ETmodules';
    display: block;
    font-size: 30px;
    margin-bottom: 15px;
}*/
.school-tile {
    display: flex;
    column-gap: 30px;
    margin-bottom: 30px;
    justify-content: space-evenly;
    align-items: center;
    border-bottom:1px solid #f6f6f6;
}
.school-logo {
    width: 20%; text-align:center;
}
.tile-detail {
    width: 80%;
    line-height: 1.4em;
    padding: 20px;
    column-gap: 15px; justify-content: space-between;
    display: flex;
    align-items: center;
}
.tile-detail p {
    padding-bottom: 7px;
}
.addtocompare {
    text-align: center;
    width:100px; padding:10px;
}
.addtocompare a:hover::before {
    content: "\f058";
    color: #333;
}
.addtocompare a:before {
    
    content: "\f055";
    font-family: 'Font Awesome 5 Free';
    font-size: 30px; display:block; margin-bottom:10px;
}
.tile-detail a:hover {
    color: orange;
}
.slider_testimonial{
    margin: 40px auto;}
.testimonial_slides {
   padding:20px;
}
.testimonial_slide_image img{border-radius:50%; margin:auto}
.slick-prev:before,
    .slick-next:before {
        color: black;
    }
.testimonial_slide{display:grid!important; grid-template-columns: 15% 85%; justify-content: space-around;margin-bottom:30px;  }
.user-reviews {
    display: grid;
    grid-template-columns: auto auto; margin-bottom:30px;
}
.review {
    background: #f9f9f9;
    margin: 20px;
    padding: 10px;
    border-radius: 10px;
}
.review_image img{border-radius:50%; margin:auto}
.review-item{display:grid!important; grid-template-columns: 30% 70%; justify-content: space-around; align-items:center; margin-bottom: 20px; background: #f7f7f7; border-radius: 10px; padding: 10px; }
.review-comment span {text-transform: uppercase; font-weight: 600;}
.news-tile{padding: 20px; background: #f7f7f7; box-shadow: 3px 2px 6px 1px rgb(0 0 0 / 9%);}
.news { display: grid; grid-gap: 16px; text-align:center;}
.new.title{display:block;} .news.content{display:block}
.scontact {
    display: flex;
    align-items: center; margin-bottom:15px;
}
.address-school {
    display: flex;
    column-gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}
.address-school a {
   color: #000000;
    background: #bfe2fa;
    padding: 4px 6px;
    line-height: 1.2;
    border-radius: 5px;
    font-size: 10px;
}
.scontact span{
    content: "";
    font-family: etmodules;
    font-size: 16px;
    padding: 8px;
    margin-right: 10px;
    color: #fff;
    border: 3px solid #fff;
    background: #28abe3; 
    position: relative;
    bottom: -3px;
}
.scontact a {
   background: #0070bd;
    padding: 2px 15px 4px 0;
    color: #fff; width:100%;
}
.acdre-logo {
    margin: 10px 0;
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 10px;
    align-items: center;
}
.star {font-family: 'ETmodules'; color: #0070bd;}

@media all and (max-width: 980px) {
.custom_row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
flex-wrap: wrap;
}
.first-on-mobile {-webkit-order: 1;order: 1;}
.second-on-mobile {-webkit-order: 2; order: 2;}
.fee {grid-template-columns: auto;}
.fee-bottom {grid-template-columns: auto;}
.testimonial_slide{display:block!important} .review-item{display:block!important} .review {display: block!important;}
	.user-reviews {display: grid; grid-template-columns: auto;}
}
@media (min-width: 600px) {
.news {grid-template-columns: repeat( 2, 1fr );} 

}
@media (min-width: 1024px) {.news {grid-template-columns: repeat( 3, 1fr );}}
.school-compare {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
    border: 1px solid #e8e8e8;
}
.school-compare-cl {
    width: 200px; background:#0070bd;
}
.compare-top{height:150px!important}

.school-compare-title{width: 200px;
    height: 55px; color:#fff;
    font-weight: 700;
    flex-shrink: 0;
    display: flex;
    padding:10px;
    align-items: center;
    border-bottom: 1px solid #e8e8e8;
    border-right: 1px solid #e8e8e8;
    
}
.school-compare-items {
    /*display: flex;*/
    flex-direction: row;
    width: calc(100% - 200px);
    justify-content: flex-start;
    overflow: auto;
}
.school-compare-item {
    font-size: 13px;
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    height: 55px;
    min-width: 200px;
    overflow: hidden;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: #fff;
    line-height: 1.5;
}
.fee-filter {
    -moz-column-count: 4;
    -moz-column-gap: 20px;
    -webkit-column-count: 4;
    -webkit-column-gap: 20px;
    column-count: 4;
   margin: 20px;
    column-gap: 20px;
    list-style: none!important;
}
input.feeFilter {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}
ul.fee-filter {
    font-size: 16px;
}
.fslide {
    border: 2px solid #0070bd;
    padding: 30px;
    margin: 100px 100px 20px 0;
	padding-bottom:50px; 
}
.fslide_image {width: 60%; float: right; margin-top: -146px; display: block; position: relative; right: -130px;}
.fslider-flex { display: flex;}
.fslide_description { width: 57%;}
.fslide_title {font-size: 26px; margin-bottom: 15px;font-weight: 800;}
.fslide_content {font-size: 16px;}

.modal-dialog{position:absolute; left:0; right:0;}
.alike-compare-widget-post-title { font-size: 10px; margin-top: 10px; line-height: 1.4; width: auto; white-space: inherit; overflow: inherit; text-overflow: inherit;}
.fslider-bottom {padding-top: 20px; display: grid; row-gap: 30px; width: 100%; grid-template-columns: repeat( auto-fit, minmax(250px, 1fr) );}
.location { display: grid; column-gap: 25px; row-gap: 20px; grid-template-columns: repeat( auto-fit, minmax(230px, 1fr) );}
.fslider-links {display: flex;}
.fslide-logo {  margin:auto;}
.edutrust{background-color: #f7f7f7; text-align:center; min-width:220px;
    border-radius: 10px 10px 10px 10px; color:#555;
    overflow: hidden;
    padding-top: 8px;
    padding-right: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
    box-shadow: 0px 2px 18px 0px rgb(0 0 0 / 30%);
}
.edutitle{font-family: 'Bebas Neue',display;
    font-size: 20px;
	margin-bottom: 2px!important;}
.eduno{font-family: 'Bebas Neue',display;
    font-size: 28px;
    letter-spacing: 1px;
    margin-bottom: 2px!important;}
.com-img { max-width: 70px; margin-right: 8px; max-height: 70px; ;}
.compare-big { height: 100px;}
.com-check, .com-cross {
    font-family: 'ETmodules';
    font-size: 22px;
    color: #0070bd;
}
.com-cross {
    color: #00b8c1;
}
.campus-box {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: 20px;
    padding: 6px;
    background: #f7f7f7;
    box-shadow: 6px 6px 16px 0px #cdc8c8;
}

.w3-badge {
    font-size: 10px;
    width: 55px;
    margin: auto;
    align-items: center;
    display: flex;
    height: 55px;
    background-size: cover;
    background-image: url(https://theinternationalschools.com/wp-content/uploads/2021/10/non-profit.jpg);
}
.badge-text {
    background: #094fa7ba;
    width: 98%;
    text-align: center;
    color: #fff;
}
.np-img {
    width: 95px;
    filter: hue-rotate(
116deg);
}
.fslides-bottom {
    margin-top: -55px;
    width: 90%;
    margin-left: 20px;
}
.fbottom_image {
    width: 90%; height: 150px;
    position: relative;
    background-size: cover;
}
.fbottom_title {
    position: absolute;
    bottom: 0;
    height: 60px;
    font-size: 12px;
    color: #fff;
    font-weight: 800;
    background: #00000061;
    width: 100%;
    padding: 10px;
}
.slick-dots {bottom:36px}
.fee-toggle {
    background: none;
    border: none;
    padding: 5px;
}

.fee-compare .school-compare-item {
    height: auto!important;
    background: none;
    border: none;
    justify-content: center;
}
.fee-compare .school-compare-items {
    background: #f1f9fd;
    height: auto!important;
    color: #777!important;
    justify-content: center;
}

.ftt:before { content: "\33";
    color: #fff;
    font-size: 24px;
}
.et_pb_button.tab:after {
    font-size: 20px;
}
.et_pb_toggle_open .ftt:before {content: "\32";
}
.fee-toggle .et_pb_toggle_title.et_pb_toggle_open:before{content:"\32!important"}
.facility-toggle {
    padding: 0;
}
.facility-toggle.et_pb_toggle_close {background: #bae2f5; border: none;}
.facility-toggle h5 {padding: 10px 20px!important;text-align: center;color: #000!important;}
.ft2:before { content: "\33"; color: #0070bd; font-size: 24px; right:30px!important;}
.et_pb_toggle_open .ft2:before {content: "\32";}
.explore {background: #0070bd; padding: 4px 16px; color: #fff; border-radis:6px}
.badge { max-width: 90px;}
.gfslide_title {
    font-size: 20px;
    font-weight: 800;
    color: #444;
}
.gfslide_description { 
margin-top: 20px;
}
.gfslide_content {
    font-size: 14px;
    line-height: 1.4;
    color: #666;
}
.gfslideimg {
    height: 400px; background-size: cover; background-position: center center; background-repeat: no-repeat;
}
.fregion { writing-mode: tb; position: absolute; text-align: center; padding: 10px; left: 0; color: #000; letter-spacing: 12px; text-transform: uppercase; font-size: 24px; font-weight: 900; height: 400px; z-index: 10; background: #dceffcc2; }
.img-fluid { width: 90px; margin-bottom: 10px; margin-right: 40px; }
.gflinks {display: flex; flex-wrap: wrap; justify-content: start;}
.glocation {
    background: #0070bd;
    padding: 6px;
    transform-origin: 0 15px; display:block;
    color: #fff;
    transform: rotate(90deg);}
.gfslider .slick-dots{ text-align: left; bottom: -3%; padding:0;  height: 30px;    width: auto;}
.gfslider .slick-dots li.slick-active button:before {
    color: #0070bd!important;
    opacity: 1!important;
    font-size: 16px;
}
.gfslider .slick-dots li{width:12px; height:12px;}
.gfslider .slick-dots li button:before {
    color: #adadad!important;
    opacity: 1!important;
    font-size: 10px;
}
.acf-map {
	width: 100%;
	height: 600px;
	border: #ccc solid 1px;
	margin: 20px 0;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}
.marker-detail { max-width: 300px;}
.map-title {
    display: flex;
    align-items: center;
    column-gap: 10px;
    padding: 10px 0;
    }
.map-title img { max-width: 120px!important;}
.map-title h4 {font-size: 14px!important;font-weight: 800;}
.map-detail {
    display: flex;
    column-gap: 10px;}
.address {
    width: 68%;
}
.map-button {
    background: #0070bd;
    padding: 6px; display: block;
    color: #fff;
    border-radius: 6px;
}
.map-np-img {width: 80px; height:28px}
.map-icon {
    font-family: 'ETmodules';
    font-size: 26px;
    margin-right: 8px; color:#444; padding:10px
}

.map-bottom {
    display: flex;
    margin-top: 10px; 
    justify-content: space-evenly;align-items:start;
}
.map-link {width: 55px;}
.job-side-table {
    display: flex;
    justify-content: space-between;
}
.organisation {
 margin: 40px 0;
    text-align:center;
}
.joblogo {
    text-align: center;
    margin: 20px 0;
}
.job-side-title {
    width: 65%;
}
.job-side-info {
    width: 35%;
}
.jobt-info {
    background: #e9e9e9;
    padding: 6px;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.jobt-title {
    text-transform: uppercase;
    padding: 6px;
    margin-bottom: 4px;
    background: aliceblue;}
.sflag {
    padding: 3px;
    width: 70px;
	height:70px;
	border-radius:50%;
    margin: auto;
    margin-top: 10px;
    background: #dddddd;
}
.job-card {
    display: grid;
    grid-template-columns: 1fr 3fr;
    margin-bottom: 40px;
    padding: 20px;
    box-shadow: rgb(136 165 191 / 48%) 6px 2px 16px 0px, rgb(255 255 255 / 80%) -6px -2px 16px 0px;
}
.impdates {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}
.employer {
    text-align: center;
}
.orglogo {
    width: 80%;
    margin: auto;
    margin-bottom: 10px;
}
.job-icon {
    font-family: 'ETmodules';
    font-size: 12px;
    background: linear-gradient(-45deg,#44cceb,#0873a6,#303030,#24cde8);
    color: #fff;
    padding: 5px;
    border-radius: 50%;
    vertical-align: middle;
    animation: gradient 15s ease infinite;
    background-size: 400% 400%;
    margin-right: 4px;
}
.applyby, .pdate, .sdate{
	padding: 2px 6px;}
   
.joblinks {
    margin-top: 15px;
}
.jobbutton1 {
    background: linear-gradient(165deg,#020024, #00d4ff, #090979, #00ffff, #e0f534); animation: gradient 13s ease infinite; background-size: 400% 400%;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px; text-align:center;
	margin-right:20px;
    
}
.jobbutton2 {
    padding: 6px 10px;
    border: 2px solid #0070bd; text-align:center;
    border-radius: 8px;
}
img.tflag {
    max-width: 20px;
    vertical-align: middle;
    margin-right: 8px;
}
.get-direction { text-align:center;
    background: #f7f7f7;
    margin-right:-10px;
    padding: 12px;
}
.getd {
    font-family: 'ETmodules';
    font-size: 30px;
}
.marker-filter {
    text-align: center;
    display: inline-block;
}
.filter-box {
    margin-right: 6px;
    text-transform: uppercase;
}
/*.dir-compare:hover::before{animation: bounce 1s infinite alternate;
  -webkit-animation: bounce 1s infinite alternate;
}*/
input[type=checkbox]:checked {
    box-shadow: inset 0 0 0 6px #0070bd;
}
input[type=checkbox] {
    vertical-align: middle;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transition: box-shadow .7s;
    background: #cdeaed;
    cursor: pointer;
    border: 0;
    appearance: none;
    -webkit-appearance: none;
}
@media (min-width: 576px){
.bsui .modal-dialog { margin: 15% auto;}}
.bsui .modal-dialog { margin: 40% auto;}
@keyframes bounce {from {margin-top: 0;}to {margin-top: -15px;}
}
@keyframes gradient {0% {background-position: 0% 50%;}	50% {background-position: 100% 50%;}100% {background-position: 0% 50%;}}

@media only screen and (max-width: 768px) {.job-card {display: block;}
    .impdates {display: flex; justify-content: flex-start; align-items: flex-start;} .applyby, .pdate, .sdate {padding: 0;} .orglogo{width:100%;} 
    .employer {text-align: left;margin-bottom: 20px;} #job-type, #role-type, #location, #employer, #jobsearch{width:90%;} .school-logo {width: 90%;} 
    .school-tile {flex-flow: column;margin: 40px 0; box-shadow: 6px 6px 16px 6px #f3f3f3;} .tile-detail {flex-flow: column;width: 90%;}
    .fslide_image { width: 100%; position: inherit;margin-bottom:20px}
.fslide_description {width: 100%;}
.fslide {margin:0;}
.side-buttons { position: fixed; top: auto; bottom: 0; display: grid; gap:0; grid-template-columns: repeat(3, auto); z-index: 9999; width: 100%; }
.side-buttons a:hover { background:#1878cb; color: #fff; font-size: 11px; width: auto; }
.side-buttons a { padding: 8px; font-size: 12px; display: grid; line-height: 1.2; text-align: center; min-height: 50px; }
.sb1 { border-top-right-radius: 0; } .sb3 { border-bottom-right-radius: 0; }
.map-detail { flex-wrap: wrap-reverse; gap: 10px; }
.address { width: 100%; }
}
@media only screen and (max-width: 768px) {.job-card {display: block;}
    .impdates {display: flex; justify-content: flex-start; align-items: flex-start;} .applyby, .pdate, .sdate {padding: 0;}
    .employer {text-align: left;margin-bottom: 20px;} 
}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {}
/* X icon in expanded mobile menu */
.mobile_nav.opened .mobile_menu_bar:before {
content: '\4d';
}
.et_mobile_menu li li, .et_mobile_menu li ul {
padding-left:0 !important;
}
/* Make mobile menu fullwidth */
.et_mobile_menu {min-width: 100vw; margin-left: -10vw; height:100vh;}
.et_mobile_menu li a{padding:5%; font-size:22px}
.select_page { visibility: hidden; }
@media screen and (max-width: 980px) {
.et_header_style_split #logo {float: left; max-height: 80px;max-width: 60%;}
.et_header_style_split #main-header .mobile_nav{background-color:transparent}
.et_header_style_split #main-header {padding: 0 0 10px 0!important;}
.fslides-bottom { width: 93%; margin-left: 20px;}
.fslide{margin:100px 0 20px 0; min-height:740px;} .fslide_title{font-size:20px;margin-bottom:6px;}
}

.um-field-arrow {color: #0070bf!important;}
.um-field-error{background:#0070bf;}
.acf-form .acf-field { border: none;}
.field_615fee977a160{display:none;}
.um-profile-nav { padding: 0!important; background: none!important;}
.um-header{border-bottom:none!important}
.um-profile-nav-item a{color:#545454!important;}
.um-profile-nav-item a:hover { background: #bee7fb; color: #044ebf!important;}
.um-profile-nav-item.active a{background: #ecf7fd!important; color: #0463c5!important; border-bottom: 2px solid #0463c5!important;}
.review-rating .acf-fields {border: none!important;}
.review-type{display:flex!important; justify-content: space-between; padding: 0px!important; border: none!important;}
.review-type .acf-input{display:flex!important;}
.review-comment {display: inline-block!important; vertical-align: top;}
.review-rating { display: inline-block!important; }
.review-total{display:none;}
.fa-star-o:before {color: #0a66b7;} .fa-star:before{color: #0a66b7;}
.hidden{display:none;}
body {
-webkit-user-select: none !important;
-moz-user-select: -moz-none !important;
-ms-user-select: none !important;
user-select: none !important;
}




/* CODE ADDED TO GLOBALLY SHOW MOBILE SEARCH ICON */
.et_pb_menu .et_mobile_menu .menu-item-has-children.visible > a:after,
#main-header .et_mobile_menu .menu-item-has-children.visible > a:after {
    content: '\4d';
}

.et_pb_menu .et_mobile_menu ul.sub-menu,
#main-header .et_mobile_menu ul.sub-menu,
.et-db #et-boc .et-l .et_pb_menu .et_mobile_menu li ul.sub-menu {
    display: none !important;
    visibility: hidden !important;
    transition: all 1.5s ease-in-out;
}

.et_pb_menu .et_mobile_menu li.visible > ul.sub-menu,
#main-header .et_mobile_menu li.visible > ul.sub-menu,
.et-db #et-boc .et-l #main-header .et_mobile_menu li.visible > ul.sub-menu,
.et-db #et-boc .et-l .et_pb_fullwidth_menu .et_mobile_menu li.visible > ul.sub-menu,
.et-db #et-boc .et-l .et_pb_menu .et_mobile_menu li.visible > ul.sub-menu {
    display: block !important;
    visibility: visible !important;
}

.et_header_style_split #main-header .container{
    max-width: 100%!important;
    width: 99%!important;
    margin-right: 0;
    margin-left: 0;
}

@media only screen and (max-width: 981px) {
#logo {
    content: url("https://theinternationalschools.com/wp-content/uploads/2021/11/Tis_favi12.png");
  }.et_header_style_split #logo {
    display: block;
    position: absolute;
    left: 0; right:0; margin:auto;
    height: 43px; bottom:0;
}.et_header_style_split #et_search_icon:before {
    margin-top: 0px; color: #1e72bd;
}.et_header_style_split .et_mobile_menu {
    top: 43px;
}.menu-item-has-children .menu-item a {
    font-size: 18px;
    padding: 10px;
}.gflinks {
    display: flex;
    flex-wrap: nowrap;
}img#timeline-nav {
    margin: 0 10%;
} .et_header_style_split .et-search-form {
    width: 100% !important;
    max-width: 100% !important;
    background: #fff!important;
}.et_header_style_split .et_search_outer {
    display: inline-block; 
}.et_header_style_split #et_top_search {
    float: left; z-index:4;
    display: block!important;
}.container.et_search_form_container.et_pb_search_visible.et_pb_no_animation {
    width: 100%!important;
    max-width: 90%!important;}
}
/* CODE ADDED TO GLOBALLY SHOW MOBILE SEARCH ICON */




/* header custom styling update */
@media only screen and (max-width: 981px){
    .et_header_style_split #logo {
        height: 30px!important;
        padding-top: 5px;
    }
    .et_header_style_split #et_mobile_nav_menu {
        float: none;
        position: relative;
        margin-top: 6px!important;
        display: block;
    }
    .et_divi_100_custom_hamburger_menu__icon{
        width: 26px!important;

    }
    .et_divi_100_custom_hamburger_menu__icon div:first-child{
        display: none;
    }
    .et_divi_100_custom_hamburger_menu__icon.et_divi_100_custom_hamburger_menu__icon--toggled div:first-child{
        display: block;
        margin-top: -1px!important;
    }
    .et_divi_100_custom_hamburger_menu__icon div {
        height: 2px!important;
        margin: auto!important;
        margin-bottom: 5px!important;
        margin-top: 6px!important;
    }
    .et_divi_100_custom_hamburger_menu__icon.et_divi_100_custom_hamburger_menu__icon--toggled div{
        height: 2px!important;
        margin: 10px auto!important;
        margin-bottom: 10px!important;
        margin-top: 10px!important;
    }
    .et_header_style_split .et_menu_container .mobile_menu_bar{
        background: #1e72bd;
        height: 33px;
        width: 33px!important;
        border-radius: 100%;
        padding-right: 8px;
        padding-left: 8px;
        padding-top: 5px;
    }
    .et_header_style_split .et_menu_container .mobile_menu_bar.et_divi_100_custom_hamburger_menu__icon--toggled {
        top: 2px!important;
    }
    .et_menu_container{
        width:calc(100% - 10px)!important;
    }
    .et_mobile_menu {
        margin-left: 0px!important;
    }

    #et_top_search {
        margin: 0 60px 0 0!important;
        float: right!important;
    }
    .container.et_search_form_container.et_pb_search_visible.et_pb_no_animation.container  {
        max-width: 100%!important;
    }

    body.et_divi_100_custom_hamburger_menu .et_divi_100_custom_hamburger_menu__icon div {
        background: #ffffff!important;
    }
    .et_header_style_split #et_search_icon:before {
        margin-top: -6px!important;
        color: #ffffff!important;
        background: #1e72bd!important;
        padding: 8px!important;
        border-radius: 100%!important;
    }
    /* consent pop up */
    .cc-window.cc-floating{
        right: 5%!important;
        left: 5%!important;
        top: 40%!important;
        bottom: auto!important;
    }
}
@media only screen and (max-width: 450px){
    .et_header_style_split .et_menu_container .mobile_menu_bar {
        top: 3px!important;
    }
    .et_header_style_split #et_search_icon:before {
        margin-top: -4px!important;
    }
    .container.et_search_form_container.et_pb_search_visible.et_pb_no_animation.container  {
        max-width: 98%!important;
    }
}

/*For parent testimonial slider arrow*/

/* Position arrows inside slider */
/* Main slider container */
.testimonial_slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden; /* Keep each testimonial contained */
}

/* Swiper container itself */
.testimonial_slider .swiper {
  width: 100%;
  height: auto;
  overflow: hidden !important; /* Prevent next/prev content from showing */
}

/* Wrapper that holds slides */
.testimonial_slider .swiper-wrapper {
  align-items: stretch;
}

/* Each testimonial slide */
.testimonial_slider .swiper-slide {
  width: 100%;
  box-sizing: border-box;
  padding: 20px 60px; /* spacing inside */
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* Testimonial content layout */
.testimonial_slide_image img {
  border-radius: 50%;
  display: block;
  margin: 0 auto 15px;
}

.testimonial_slide_description {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial_slide_title {
  margin-bottom: 10px;
  font-weight: 600;
}

/* Navigation arrows */
.testimonial_slider .swiper-button-prev,
.testimonial_slider .swiper-button-next {
  color: #007bff;
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.testimonial_slider .swiper-button-prev {
  left: 10px;
}

.testimonial_slider .swiper-button-next {
  right: 10px;
}

/* Pagination dots */
.testimonial_slider .swiper-pagination {
  bottom: 10px !important;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .testimonial_slider .swiper-slide {
    padding: 20px;
  }
  .testimonial_slider .swiper-button-prev {
    left: 5px;
  }
  .testimonial_slider .swiper-button-next {
    right: 5px;
  }
}

/* for Principal Heading*/
.et_pb_toggle_1_tb_body.et_pb_toggle.et_pb_toggle_open h3.et_pb_toggle_title{
color:#0C71C3!important;}

.et_pb_toggle_1_tb_body.et_pb_toggle h3.et_pb_toggle_title{
    font-family: 'Nothing You Could Do', handwriting !important;
    font-weight: 700;
    font-size: 30px !important;
    color: #0C71C3!important;
    line-height: 1.7em;
}

/* For Principle Info*/


/* ======================================
   REMOVE UNDERLINE FROM BUTTON-LIKE LINKS
   ====================================== */

a,
a:hover,
a:focus,
a:active {
    text-decoration: none !important;
}

            
/*For FAQ Section*/
 .faq-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: 'Poppins', sans-serif;
}

.faq-item {
  border-bottom: 1px solid #000;
  padding: 30px 0;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out 0.2s;
}

.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: #111;
  text-align: left;
}
/* =====================================
   FORCE SAME FONT FOR ALL FAQ QUESTIONS
   ===================================== */

/* Target all FAQ question text */
.faq-section .faq-question,
.faq-section .faq-header,
.faq-section h2,
.faq-section h3,
.faq-section h4,
.faq-section h5 {
    font-family:'Quicksand',Helvetica,Arial,Lucida,sans-serif!important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #111 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/*.faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #000;
  user-select: none;
  transition: transform 0.3s ease;
}*/
.faq-toggle {
  font-size: 0;                 /* hides âˆ’ */
  position: relative;
  width: 30px;
  height: 30px;
  user-select: none;
}
/* Default (closed): show + */
.faq-toggle::before {
  content: "+";
  font-size: 28px;
  font-weight: bold;
  color: #000;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}
/* Open state: show – */
.faq-item.active .faq-toggle::before {
  content: "–";
}

.faq-answer {
  display: none;
  margin-top: 20px;
  text-align: justify;
  font-size: 16px;
  color: #333;
  line-height: 1.7;
  max-width: 80%;
  margin-left: auto; /* pushes answer to right */
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);    
  content: "-";
}


/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

        @media (max-width: 768px) {
            .faq-question {
                font-size: 18px;
            }
            .faq-icon {
                font-size: 22px;
            }
        }
        

/*for Mailchimp*/
  #mce-EMAIL-label,
label[for="mce-EMAIL"] {
  display: none !important;
}


/* OVERRIDE all old scroll rules */
@media (max-width: 980px) {
    .et_pb_text table {
        display: table !important;
        width: 100% !important;
        overflow: visible !important;
        white-space: normal !important;
        -webkit-overflow-scrolling: auto !important;
    }
}

/* ==========================================================
   UNIVERSAL IB TABLE STYLING FOR PAGES 5462, 7094, 5553
   ========================================================== */

.page-id-5462 .ib-table-wrapper table,
.page-id-7094 .ib-table-wrapper table,
.page-id-7532 .ib-table-wrapper table,
.page-id-5553 .ib-table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    font-family: inherit;
}

/* Table Header */
.page-id-5462 .ib-table-wrapper table thead tr,
.page-id-7094 .ib-table-wrapper table thead tr,
.page-id-7532 .ib-table-wrapper table thead tr,
.page-id-5553 .ib-table-wrapper table thead tr {
    background: #f4f4f4;
}

/* Table Cells */
.page-id-5462 .ib-table-wrapper table th,
.page-id-7094 .ib-table-wrapper table th,
.page-id-7532 .ib-table-wrapper table th,
.page-id-5553 .ib-table-wrapper table th,
.page-id-5462 .ib-table-wrapper table td,
.page-id-7094 .ib-table-wrapper table td,
.page-id-7532 .ib-table-wrapper table td,
.page-id-5553 .ib-table-wrapper table td {
    padding: 14px 18px;
    border-bottom: 1px solid #e5e5e5;
    text-align: left;
    font-size: 16px;
}

/* Header Text */
.page-id-5462 .ib-table-wrapper table th,
.page-id-7094 .ib-table-wrapper table th,
.page-id-7532 .ib-table-wrapper table th,
.page-id-5553 .ib-table-wrapper table th {
    font-weight: 600;
    color: #333;
}

/* Alternate Row Background */
.page-id-5462 .ib-table-wrapper table tr:nth-child(even),
.page-id-7094 .ib-table-wrapper table tr:nth-child(even),
.page-id-7532 .ib-table-wrapper table tr:nth-child(even),
.page-id-5553 .ib-table-wrapper table tr:nth-child(even) {
    background: #fafafa;
}

/* Hover Row */
.page-id-5462 .ib-table-wrapper table tr:hover,
.page-id-7094 .ib-table-wrapper table tr:hover,
.page-id-7532 .ib-table-wrapper table tr:hover,
.page-id-5553 .ib-table-wrapper table tr:hover {
    background: #f0f7ff;
}

/* Highlight 2nd Column (Avg Score) */
.page-id-5462 .results-table td:nth-child(2),
.page-id-7094 .results-table td:nth-child(2),
.page-id-7532 .results-table td:nth-child(2),
.page-id-5553 .results-table td:nth-child(2) {
    font-weight: 600;
    color: #000;
}

/* Link style */
.page-id-5462 .results-table a,
.page-id-7094 .results-table a,
.page-id-7532 .results-table a,
.page-id-5553 .results-table a {
    color: #0066cc;
    font-weight: 600;
}
.page-id-5462 .results-table a:hover,
.page-id-7094 .results-table a:hover,
.page-id-7532 .results-table a:hover,
.page-id-5553 .results-table a:hover {
    text-decoration: underline;
}

/* ==========================================================
   RESPONSIVE TABLE SUPPORT
   ========================================================== */
.page-id-5462 .ib-table-responsive,
.page-id-7094 .ib-table-responsive,
.page-id-7532 .ib-table-responsive,
.page-id-5553 .ib-table-responsive {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    display: block;
}

.page-id-5462 .ib-table-responsive table,
.page-id-7094 .ib-table-responsive table,
.page-id-7532 .ib-table-responsive table,
.page-id-5553 .ib-table-responsive table {
    min-width: 750px; /* Ensures no column squish */
}

@media (max-width: 768px) {
    .page-id-5462 .ib-table-wrapper table th,
    .page-id-7094 .ib-table-wrapper table th,
    .page-id-7532 .ib-table-wrapper table th,
    .page-id-5553 .ib-table-wrapper table th,
    .page-id-5462 .ib-table-wrapper table td,
    .page-id-7532 .ib-table-wrapper table td,
    .page-id-7094 .ib-table-wrapper table td,
    .page-id-5553 .ib-table-wrapper table td {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* Update Error Message For Ultimate Member*/
.um-field-error {
    font-size: 14px;
    color: #ffffff !important;
    background: #0070bd !important;
    padding: 12px;
    border-radius: 6px;
}

/* For Recaptcha hidden */

.grecaptcha-badge {
  visibility: hidden !important;
}

/* Country dropdown – bottom border only */
.um-field-country_of_residence select,
.um .um-field-area select {
    border: none !important;
    border-bottom: 2px solid #d0d0d0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Remove focus glow and highlight */
.um-field-country_of_residence select:focus {
    outline: none !important;
    box-shadow: none !important;
    border-bottom: 2px solid #0073aa !important;
}

/* Mobile number & country field styling */
.um input[name='mobile_number'],
.um select[name='country'] {
    background: #f1fafb;
    border: none !important;
    border-bottom: 1px solid #0070bd !important;
    border-radius: 0 !important;
    padding-left: 0 !important;
}
.um input[name='mobile_number'],
.um select[name='country_residence'] {
    background: #f1fafb;
    border: none;
    border-bottom: 1px solid #0070bd !important;
    border-radius: 0;
}
/* ================================
   Ultimate Member – Privacy Policy
   Fix layout without affecting
   other Divi pages
================================ */

/* Stop height syncing ONLY inside UM privacy policy */


.um-field[data-key="use_terms_conditions_agreement"] .et_pb_row {
    align-items: flex-start !important;
}

/* Limit privacy policy height and allow internal scroll */
.um-field[data-key="use_terms_conditions_agreement"] .et_pb_section {
    max-height: 170px;
    overflow-y: auto;
    padding-right: 10px;
}

/* (Optional) Improve scrollbar appearance */
.um-field[data-key="use_terms_conditions_agreement"] .et_pb_section::-webkit-scrollbar {
    width: 6px;
}

.um-field[data-key="use_terms_conditions_agreement"] .et_pb_section::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.3);
    border-radius: 4px;
}

/* Hide the TOP global privacy toggle (keep only checkbox one) */
.um a.um-toggle-gdpr {
    display: none !important;
}

/* Re-show the toggle ONLY inside the terms/checkbox area */
.um .um-field-type_terms_conditions a.um-toggle-gdpr {
    display: inline-block !important;
}
/* Hide ONLY the top privacy toggle (inside content) */
.um .um-gdpr-content > a.um-toggle-gdpr {
    display: none !important;
}

input[name="mobile_number"] {
    letter-spacing: normal !important;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* =========================================
   Singapore American School – Post ID 806
   Custom Banner & Button Colors Only
   ========================================= */

/* Banner background */
.postid-806 .counter-timer-container {
    background: #081e5c !important;  /* Blue */
    color: #ffffff !important;
}

/* Button color */
.postid-806 .ct-btn {
    background: #9c2d33 !important;  /* Red */
    color: #ffffff !important;
}

/* Optional: Hover effect */
.postid-806 .ct-btn:hover {
    background: #9c2d33 !important;  /* Darker red on hover */
    color: #ffffff !important;
}
/* Review form container width */
.um-profile,
.um-4682 .um-profile {
    max-width: 850px !important;
    margin: 0 auto !important;
}
/* Fix Review Form Width */
.um-4682 .um-profile-body.add_review,
.um-profile .um-profile-body.add_review {
    max-width: 850px !important;
    margin: 0 auto !important;
}
/* Hide Divi background mask on Review form */
.um-profile-body.add_review .et_pb_background_mask,
.um-profile-body.add_review-default .et_pb_background_mask {
    display: none !important;
}
/* Remove Divi row background for Review Form (Form ID 4682) across multisite */
.um-4682 .et_pb_row_0 {
    background: transparent !important;
}
/* Hide background mask only for review form across all sites */
.um-4682 .et_pb_background_mask {
    display: none !important;
}

.school-gallery-1 .et_pb_gallery_items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.school-gallery-1 .et_pb_gallery_item {
    width: 100% !important;
}


@media (max-width: 768px) {
    .school-gallery-1 .et_pb_gallery_items {
        grid-template-columns: 1fr;
    }
}
/* Banner background for Malaysia */
.postid-2239 .counter-timer-container {
    background: #d8b990 !important;  /* Blue */
    color: #000 !important;
}

/* Button color */
.postid-2239 .ct-btn {
    background: #1d346f !important;  /* blue */
    color: #ffffff !important;
}

/* Optional: Hover effect */
.postid-2239 .ct-btn:hover {
    background: #1d346f !important;  /* Darker blue on hover */
    color: #ffffff !important;
}
/* Change banner text color for Senior School Discovery */
.postid-2239 .ct-date-text-label {
    color: #000000 !important;
}




/* ===============================
   GLOBAL VARIABLES
================================ */
:root {
  --fallback-font: 'Raleway', Helvetica, Arial, Lucida, sans-serif;
}

/* ===============================
   GRID
================================ */
/*.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width:1200px;
  margin:auto;
}
*/
.event-grid{
  display:flex;
  flex-wrap:wrap;
  gap:25px;
  justify-content:center;
}
.oh-event-card{
  flex:0 1 320px;
  max-width:320px;
  display:flex;
  flex-direction:column;
}
.oh-event-card .museum-content{
  display:flex;
  flex-direction:column;
  flex:1;
}
.oh-event-card .event-footer{
  margin-top:auto;
  text-align:center;
}
.oh-event-card .event-footer{
  margin-top:auto;
  text-align:center;
}

/* ===============================
   EVENT / MUSEUM CARD BASE
================================ */
.event-card,
.museum-card {
  border-radius: 14px;
  overflow: hidden;
  transition: 0.4s ease;
  --school-color: #002f5f; /* fallback */
}

/* ===============================
   EVENT CARD (WHITE STYLE)
================================ */
.event-card {
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* ===============================
   MUSEUM CARD (COLORED STYLE)
================================ */
.museum-card,
.museum-card .museum-content {
  display: flex;
  flex-direction: column;
  background: var(--school-color);
  color: #fff;
}

.museum-card:hover {
  transform: translateY(-5px);
}

/* ===============================
   IMAGE
================================ */
.event-img,
.museum-image {
  position: relative;
  overflow: hidden;
}

.event-img img,
.museum-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.museum-image img {
  height: 180px;
}

.event-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.event-card:hover .event-img img {
  transform: scale(1.1);
}

.event-card:hover .event-img::after {
  opacity: 1;
}

.museum-placeholder {
  height: 200px;
  background: var(--school-color);
  opacity: 0.15;
}

/* ===============================
   DATE BADGE
================================ */
.event-date,
.museum-date {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--school-color);
  font-family: var(--fallback-font);
}

.museum-date {
  background: rgba(0,0,0,0.8);
  font-size: 12px;
  text-align: center;
}

.museum-date strong {
  display: block;
  font-size: 18px;
}

/* ===============================
   CONTENT
================================ */
.event-content,
.museum-content {
  padding: 18px;
  flex: 1;
}

/* ===============================
   TYPOGRAPHY (ONE PLACE 🔥)
================================ */
.event-header h2,
.museum-title {
  font-size: 32px;
  font-weight: 700;
  color: #002f5f;
  font-family: var(--fallback-font);
}

.museum-title {
  font-size: 20px;
  color: #fff;
}


.event-header p,
.event-school,
.museum-school,
.museum-location,
.museum-desc,
.countdown,
.museum-time,
.museum-countdown,
.event-filter select {
  font-family: var(--fallback-font);
}

.event-header p {
  max-width: 700px;
  color: #555;
}

.event-school {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.event-school strong {
  font-weight: 600;
  color: #000;
}

/* ===============================
   FILTER
================================ */
.event-filter {
  margin-bottom: 30px;
  display: flex;
}

.event-filter select {
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  font-weight: 500;
  color: #002f5f;
}

/* ===============================
   ACTIONS
================================ */
.event-actions {
  display: flex;
  gap: 14px;
  margin-top: auto;
}

/* ===============================
   BUTTONS
================================ */
.event-btn,
.museum-btn {
  display: inline-block;
  padding: 10px 20px;
  margin-top:10px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.event-btn {
  background: var(--school-color);
  color: #fff;
}

.museum-btn {
  background: #fff;
  color: var(--school-color);
}

.event-btn:hover,
.museum-btn:hover {
  opacity: 0.9;
}

.event-btn.disabled,
.museum-btn.disabled {
  background: #ccc;
  color: #666;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.7;
}

/* ===============================
   COUNTDOWN / TIME
================================ */
.countdown {
  font-size: 15px;
  font-weight: 700;
  margin-top: 10px;
  color: var(--school-color);
}

.oh-event-card {
  background: var(--school-color, #002f5f);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  height: 100%;
  flex-direction: column;
  color: #fff;
  transition: 0.3s ease;
}
.oh-event-card .museum-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.oh-event-card .event-actions {
  margin-top: auto;
}
.oh-event-card .event-footer {
  margin-top: auto;
  text-align: center;
  align-items: center;
}
.oh-event-card .event-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap:10px;
  margin-top: 10px;
}
.oh-event-card .museum-title {
  font-family: 'Raleway', Helvetica, Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;

  white-space: nowrap;
  overflow: hidden;
  display: block;
  position: relative;
}
.oh-event-card .museum-title span {
  display: inline-block;
  padding-left: 100%;
  
  background: linear-gradient(90deg, #ffffff, #00eaff, #ffcc00, #ff5e9c, #ffffff);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: runningText 8s linear infinite, gradientMove 4s linear infinite;
}
@keyframes runningText {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes gradientMove {
  0% { background-position: 0% }
  100% { background-position: 300% }
}

.oh-event-card .museum-school {
  font-family: 'Raleway', Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600;
  margin-bottom: 4px;
  animation: colorChange 4s infinite linear;
}
/* Smooth color animation */
@keyframes colorChange {
  0%   { color: #ffffff; }
  25%  { color: #00eaff; }
  50%  { color: #ffcc00; }
  75%  { color: #ff5e9c; }
  100% { color: #ffffff; }
}
.oh-event-card .museum-location {
  font-family: 'Raleway', Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  opacity: 0.9;
  margin-bottom: 10px;
}
.oh-event-card .museum-desc {
  font-family: 'Raleway', Helvetica, Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.5;
  margin-bottom: 12px;
}
/*.oh-event-card .museum-countdown {
  font-family: 'Raleway', Helvetica, Arial, sans-serif !important;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 13px !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
}*/
.oh-event-card .museum-countdown {
  font-family: 'Raleway', Helvetica, Arial, sans-serif !important;
  margin-top: 12px;
  padding: 6px 50px;
  border-radius: 30px;
  font-size: 13px !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  color: #fff;

  background: linear-gradient(
    110deg,
    rgba(255,255,255,0.15) 25%,
    rgba(255,255,255,0.35) 37%,
    rgba(255,255,255,0.15) 63%
  );
  background-size: 200% 100%;
  animation: shimmerCountdown 2s linear infinite;
}
@keyframes shimmerCountdown {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.oh-event-card .museum-time {
  font-family: 'Raleway', Helvetica, Arial, sans-serif !important;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 30px;
  font-size: 13px !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
}
.oh-event-card .event-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
/*.oh-event-card .museum-btn {
  font-family: 'Raleway', Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--school-color, #002f5f);
  text-decoration: none;
  transition: 0.3s ease;
}*/
.oh-event-card .museum-btn {
  font-family: 'Raleway', Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600;
  padding: 8px 16px 8px 40px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--school-color, #002f5f);
  text-decoration: none;
  transition: 0.3s ease;
  position: relative;
  display: inline-block;
}
.oh-event-card .museum-btn::before {
  content: "👉";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;

  animation: clickHand 1s infinite;
}
@keyframes clickHand {
  0% {
    transform: translateY(-50%) scale(1);
  }
  50% {
    transform: translateY(-50%) scale(1.3);
  }
  100% {
    transform: translateY(-50%) scale(1);
  }
}
.oh-event-card .museum-btn:hover {
  opacity: 0.85;
}

/* For Ch Gallery images*/

.gallery-row-fix.et_pb_row {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.gallery-row-fix {
  display: flex;
  gap: 15px;
}

.gallery-row-fix .et_pb_column {
  margin-right: 0 !important;
  padding: 0 !important;
}

.gallery-row-fix .et_pb_image {
  margin: 0 !important;
}

.gallery-row-fix .et_pb_image_wrap {
  width: 100%;
}

.gallery-row-fix img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  margin-left:7px;
}

/* For POPUP School */
/* ===== POPUP CONTAINER ===== */
.glass-popup{
position:fixed;
top:0;
left:0;
width:100vw;
height:100vh;
background:rgba(0,0,0,0.7);
display:none;
align-items:center;
justify-content:center;
z-index:999999;
overflow-y:auto;
padding:20px;
}

.glass-popup.show{
display:flex;
}
.glass-inner{
position:relative;
max-width:1000px;
width:auto;
padding:50px 40px;
border-radius:30px;
background:rgba(255,255,255,0.15);
backdrop-filter:blur(25px);
display:flex;
flex-direction:column;
align-items:center;
gap:30px;
}
body.popup-active{
overflow:hidden;
}

.popup-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px;
justify-content:center;
justify-items:center;
width:100%;
max-width:900px;
}
/* ===== MODERN CARD ===== */

.modern-card{
background:#fff;
border-radius:40px;
overflow:hidden;
width:100%;
max-width:260px;
padding-bottom:30px;
text-align:center;
box-shadow:0 15px 30px rgba(0,0,0,0.15);
border:none;
}

.modern-image-wrap{
height:180px;
overflow:hidden;
}
.modern-campus{
border-bottom-left-radius:0;
border-bottom-right-radius:0;
}
.modern-campus{
width:100%;
height:100%;
object-fit:cover;
display:block;
}
/* ===== LOGO ===== */
.modern-logo-wrap{
margin-top:-35px;
display:flex;
justify-content:center;
}

.modern-logo{
width:80px;
height:80px;
object-fit:contain;
background:#fff;
padding:10px;
border-radius:15px;
box-shadow:0 6px 15px rgba(0,0,0,0.15);
}

/* ===== TITLE ===== */
.modern-title{
margin-top:15px;
font-size:20px;
font-weight:700;
color:#000;
}
.popup-header{
text-align:center;
width:100%;
margin-bottom:20px;
}

.popup-heading-script{
font-family: 'Nothing You Could Do', handwriting !important;
color:#fff;
font-size:38px;
font-weight:700;
margin:0;
white-space:nowrap;
}


.popup-close{
position:absolute;
top:25px;
right:30px;
font-size:28px;
background:none;
border:none;
color:#fff;
cursor:pointer;
z-index:9999;
}

.glass-popup{
animation:fadePopup .4s ease;
}

@keyframes fadePopup{
from{
opacity:0;
transform:scale(.9);
}
to{
opacity:1;
transform:scale(1);
}
}
.school-link{
display:block;
text-decoration:none;
color:inherit;
width:100%;
max-width:260px;
}
@media (max-width:768px){

.glass-inner{
width:90%;
max-width:1000px;
margin:auto;
}

.popup-heading-script{
font-size:28px;
white-space:normal;
text-align:center;
}

.popup-close{
position:fixed;
top:20px;
right:20px;
font-size:28px;
background:none;
border:none;
color:#fff;
cursor:pointer;
z-index:999999;
}

}
.glass-popup{
align-items:flex-start;
padding-top:70px;
padding-bottom:40px;
overflow-y:auto;
}
.popup-header h3{
text-transform:none !important;
font-variant:normal;
letter-spacing:normal;
}

/*for Toprated preschool*/
/* FIX PRESCHOOL GRID */
.rated-schools {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    column-gap: 20px;
    row-gap: 20px;
    margin: auto;
    width: 90%;
}

.rated-item {
    background-size: cover;
    height: 240px;
    background-blend-mode: overlay;
    background-color: #4f5052b5;
    border-radius: 8px;
}

.rated-overlay {
    position: relative;
    height: 100%;
    width: 100%;
    border-radius: 8px;
}

.rated-name {
    position: relative;
    top: 60%;
    left: 10%;
    max-width: 75%;
    color: #fff;
    font-weight: 800;
    transition: 0.4s ease;
}

.rated-overlay .number {
    font-size: 100px;
    font-weight: 800;
    position: absolute;
    right: 2%;
    color: #fff;
    opacity: 0.4;
    bottom: 12%;
}

/* 🔥 MOVE TITLE UP ON HOVER */
.rated-item:hover .rated-name {
    top: 10%;
}

.rated-txt {
    position: absolute;
    opacity: 0;
    left: 8%;
    bottom: 0%;
    transition: 0.5s;
}

.rated-item:hover .rated-txt {
    opacity: 1;
    bottom: 8%;
}

.grid-btn {
    background: #10d6ff;
    color: #01020a;
    padding: 5px 8px;
    border-radius: 4px;
}

.rating {
    display: flex;
    justify-content: end;
    align-items: center;
    font-size: 20px;
    text-align: center;
    margin: 10px;
}
.rating .star {
    color: #1e73be;
}