/* 
Theme Name: Garden International School 
Theme URI: 
Description: 
Author: Phoenix Media
Author URI: https://www.phoenixmedia.co.th/
Template: hello-elementor
Version: 1.0.1
Text Domain: 
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: 
*/

/*
    Add your custom styles here
*/
:root {
  --heading-font :"Libre Baskerville", Sans-serif;
  --body-font :"Lato", Sans-serif;
  --primary-blue: #0153A7;
  --blue700: #012A54;
  --blue600: #013E7D;
  --bluec500: #057FCC;
  --blue300: #6798CA;
  --blue50: #E6EEF7;
  --primary-yellow: #F7D285;
  --secondary-yellow: #F5C767;
  --third-yellow: #FDF4E1;
  --Davys-Grey: #57585A;
}
h1 a,
h2 a,
h3 a {
    color: inherit !important;
    font-family: inherit !important;
}
.h2 .elementor-heading-title,
h2.elementor-heading-title {
    font-family: "Libre Baskerville", Sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 80px;
}
.sm-title h2, 
.sm-title .elementor-heading-title {
    font-size: 44px;
    line-height: 52px;
}
#single-master-content h2 {
    font-size: 40px;
    line-height: 52px;
}
#single-master-content .sm-title-x3 h2 {
	font-size: 32px;
    line-height: 40px;
}
#single-master-content h3 {
    font-size: 36px;
    line-height: 44px;
}
#single-master-content h4,
#single-master-content .h3 .elementor-heading-title {
    font-size: 32px;
    line-height: 40px;
}
#single-master-content h4.elementor-size-medium,
#single-master-content .h4 .elementor-heading-title  {
	font-size: 26px;
    line-height: 32px;
}
#single-master-content h5,
#single-master-content .h5,
#single-master-content .h5 .elementor-heading-title {
    font-size: 20px;
    line-height: 24px;
}
p:last-child { margin:0 }
.elementor-widget-text-editor ul:not(:last-child), 
.elementor-widget-text-editor ol:not(:last-child) {
    margin-bottom: 0.9rem;
}
.hp-logo-slider .swiper-slide img {
    max-height: 88px;
}
.text-indent-60 {
    text-indent: 60px;
}
/* Header */
header ul.elementor-nav-menu--dropdown a, 
header ul.elementor-nav-menu--dropdown a:focus, 
header ul.elementor-nav-menu--dropdown a:hover,
header ul.sub-menu a, 
header ul.sub-menu a:focus, 
header ul.sub-menu a:hover {
    border-left: 0!important;
    justify-content: space-between;
}
.master-nav ul.sub-menu {
    padding: 8px 0 !important;
}
.master-nav ul.sub-menu a,
.master-nav ul.sub-menu a:hover {
    margin: 8px 16px;
}
.master-nav nav > ul > li > ul.sub-menu:before {
    border-left: 12px inset transparent;
    border-right: 12px inset transparent;
    border-bottom: 12px solid var(--third-yellow);
    top: -18px;
    content: "";
    height: 0;
    left: 10%;
    position: absolute;
    width: 0;
    z-index: 999;
}
.hp-post-slider .qodef-e-title,
.hp-post-slider .qodef-e-info a:not(:first-child),
.hp-post-slider .qodef-e-info .qodef-category-separator {
    display: none;
}
.hp-post-slider .qodef-e-info-category a {
    background: var(--secondary-yellow);
    padding: 4px 16px; 
    margin-right: 5px;
}
.home-news-carousel .swiper-container {
	padding-bottom:40px;
}
.home-news-carousel .swiper-wrapper { padding: 16px 0; }
.home-news-carousel .qodef-e-inner,
.home-news-carousel .eael-grid-post-holder-inner {
    padding: 16px;
    background: var(--blue50) !important;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.08) !important;
    border-radius: 4px;
}
.home-news-carousel .qodef-e-content {
    text-align: center;
    padding: 20px 0 !important;
}
.home-news-carousel .qodef-e-text,
.home-news-carousel h5 {
    margin-bottom: 0 !important;
}
.home-news-carousel .swiper-wrapper .swiper-slide:nth-child(4n+1),
.home-news-carousel .swiper-wrapper .swiper-slide:nth-child(4n+2){
    transform: rotate(-3deg);
}
.home-news-carousel .swiper-wrapper .swiper-slide:nth-child(4n+3),
.home-news-carousel .swiper-wrapper .swiper-slide:nth-child(4n+4){
    transform: rotate(3deg);
}
.home-news-carousel .swiper-slide .eael-entry-media .eael-entry-thumbnail {
    height: 330px;
}
.section-subheader {
    color: var(--blue300);
    font-family: var(--body-font);
    font-size: 28px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 26px;
}
/* Single Page */
.single-breadcrumbs .bc-separate {
    padding: 0 10px;
    font-weight: 700;
}
/* Staff Page */
.staff-flip-img .elementor-flip-box {
    box-shadow: 0px 8px 32px rgba(14, 44, 56, 0.16);
    border-radius: 50%;
}
.gform_required_legend { display:none; }
/* Table */
.tb-style-1 .tablepress tr, 
.tb-style-1 .tablepress tr:hover,
.tb-style-1 .tablepress tr td, 
.tb-style-1 .tablepress tr:hover td { background:transparent !important}
.tb-style-1 .tablepress th,
.tb-style-1 .tablepress td {
	border:1px solid #000 !important;
	text-align: center;
    vertical-align: middle;
}
.tb-style-1 .tablepress.col1-text-left th.column-1,
.tb-style-1 .tablepress.col1-text-left td.column-1 {
	text-align:left;
}
@media only screen and (min-width: 1200px) {
    header .elementor-nav-menu ul,
    header .elementor-nav-menu ul ul {
       min-width: 300px !important;
        max-width: 350px !important;
    }
    header .elementor-nav-menu a {
        white-space: inherit !important; 
    }
}
@media only screen and (max-width: 1470px) {
    .home-news-carousel .swiper-slide .eael-entry-media .eael-entry-thumbnail {
        height: 265px;
    }
    .master-nav nav > ul > li.main-last > ul.sub-menu:before {
        left: 46%;
    }
}
@media only screen and (max-width: 1024px) {
    .h2 .elementor-heading-title,
    h2.elementor-heading-title {
        font-size: 40px;
        line-height: 52px;
    }
}
@media only screen and (max-width: 768px) {
    .h2 .elementor-heading-title,
    h2.elementor-heading-title {
        font-size: 32px;
        line-height: 40px;
    }
    .hp-community,
    .hp-philosophy  {

    }
}
@media only screen and (max-width: 480px) {
    .h2 .elementor-heading-title,
    h2.elementor-heading-title {
        font-size: 28px;
        line-height: 36px;
    }
    footer nav .menu-item a {
        justify-content: center !important;
    }
}
.readmorebtn .elementor-tab-title a {
    display: block;
    text-align-last: center;
    font-weight: 400;
    text-align: center;
    font-size: 16px;
    transition: all 0.25s ease;
    color: var(--primary-blue); !important;
    background-color: transparent;
}
.readmorebtn .elementor-tab-title a,
.readmorebtn .elementor-tab-title.elementor-active::before {
    padding: 12px 43px;
    border:1px solid var(--primary-blue);
    border-radius: 4px;
}
.readmorebtn .elementor-tab-title a:hover {
    color: #fff ;
    background-color: var(--primary-blue); 
    border: 1px solid var(--primary-blue);
} 
.readmorebtn .elementor-tab-title.elementor-active::before {
    content: 'Read Less';
    font-weight: 400;
    display: block;
    text-align-last: center;
    background-color: var(--primary-blue);
    color: #ffffff;
    margin-top: 15px;
    }
.readmorebtn .elementor-toggle-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column-reverse;
}
.readmorebtn .elementor-tab-title.elementor-active a{
    display:none;
} 
.readmorebtn .elementor-toggle .elementor-tab-title {
    display: flex;
}