/*
 Theme Name:   ESF Central Child Theme
 Theme URI:    http://www.esf.edu.hk
 Description:  Clever Course child theme built for the ESF
 Author:       Siobhan Houlihan
 Author URI:   http://www.syoban.me
 Template:     clevercourse
 Version:      2.0.0
 Text Domain:  esf-central-theme
*/
/* ---------- GENERAL OVERRIDES -------- */


body {
    border: 0 !important;
    border-color: transparent !important;
}

.gdlr-top-woocommerce-wrapper {display:none;}

.home .page-id-164 .section-container,
.home .gdlr-item-start-content,
.home .gdlr-parallax-wrapper,
.home .gdlr-color-wrapper {
    padding-top: 0;
}
.gdlr-item-start-content {
    padding-top: 40px;
}
.copyright-container {
    font-size: 0.7em;
}
#breadcrumbs {
    background: #eaeaea;
    border: 1px solid #d4d4d4;
    box-shadow: #EAEAEA 2px 2px 16px;
    padding: 7px 0 7px 6%;
    margin-bottom: 5px;
    font-size: 0.82em;
}
#breadcrumbs a {
    color: #808080
}
.home #breadcrumbs {
    display: none;
}

p,
div {
    font-family: "Source Sans Pro", "Microsoft Yahei", "微软雅黑", sans-serif;
}
.gdlr-page-title-wrapper .gdlr-page-title,
.page h1,
.page h2,
.page h3 {
    font-family: "Montserrat", "Microsoft Yahei", "微软雅黑", sans-serif;
}
.gdlr-item-title-wrapper .gdlr-item-title-caption {
    font-weight: 600;
    font-size: 1.1em;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.0325em;
}
table,
tr,
td {
    color: #191919;
}
table.style-2 {
    border-spacing: 0;
    border-collapse: collapse;
}
table tr td,
table.style-2 tr td {
    padding: 15px 5px;
    border: 1px solid #9d9d9d;
}
/* ----------  TOP BAR ------------- */

.home .top-navigation-wrapper {
    background: #77002c;
    background: rgba(103, 1, 39, 0.8);
}
.top-social-wrapper .social-icon a {
    opacity: 0.7;
}
/* ---------- MAIN NAVIGATION BAR ---------- */

body .gdlr-navigation-wrapper .gdlr-main-menu > li > a {
    font-size: 0.8rem;
    text-transform: none;
/*     letter-spacing: 0.03rem; */
    font-weight:500;
}
@media screen and (max-width: 1000px) {
    body .gdlr-navigation-wrapper .gdlr-main-menu > li > a {
        font-size: clamp(0.4em, 0.3em + 0.5vw, 0.68em);
    }
}
.sf-menu > li > a.sf-with-ul,
.sf-menu > li > a {
    padding-right: 0 !important;
    margin-right: 10px !important;
    white-space: normal;
}
.gdlr-navigation-wrapper .gdlr-main-menu > li > a:before {
    content: none !important;
}
#gdlr-main-navigation .gdlr-main-menu > li > .sub-menu a {
    font-weight: normal;
    font-size: 1.25em;
    letter-spacing: 0.03em;
}
#gdlr-nav-search-form-button.gdlr-nav-search-form-button {
    margin-top: 2px;
    margin-left: 0;
}
.home .gdlr-header-inner {
    background: rgba(125, 0, 47, 1);
}
.gdlr-header-inner {
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
}
.gdlr-main-menu > li > .sub-menu a:hover {
    background: #660022;
}
.gdlr-main-menu > li.current-menu-ancestor > a,
.gdlr-main-menu > li > a:hover {
    border-top: 2px solid #a93c64;
    padding-top: 5px;
    margin-top: -7px;
}


/* COOKIE POLICY */
#cookie-law-info-bar p {
    font-size: 15px;
    width: 90%;
    margin: 0 auto;
}

@media only screen and (max-width: 420px) {
#cookie-law-info-bar p.long {display:none;}
}

@media only screen and (min-width: 420px) {
#cookie-law-info-bar p.short {display:none;}
}
#cookie-law-info-bar .cli-plugin-main-link {border:1px solid #890033;}

#cookie-law-info-bar {background-color:rgba(255,255,255,0.9) !important;}

/* MOBILE STYLES : Sub-menu */

.dl-menuwrapper li a {
    border-bottom: 1px solid #890033;
}
#gdlr-responsive-navigation.dl-menuwrapper button {
    background: #630025 !important;
}

/* ACCORDION */
.page .gdlr-accordion-item.style-1 .accordion-title {background: #890033;padding: 7px 5px 11px 5px;}
.gdlr-accordion-item.style-1 .accordion-tab {padding: 6px 0px;}
.accordion-title span {padding-top: 5px;}

/* TABS */
.gdlr-tab-item.horizontal > .tab-title-wrapper .tab-title.active {
    background: white;
    color: #222;
    border: 1px solid #909090;
    border-bottom: 0;
}
.gdlr-tab-item.horizontal > .tab-title-wrapper .tab-title {
    font-size: 20px;
    background: #890033;
    color: white;
}

.gdlr-tab-item.horizontal > .tab-content-wrapper {
    border-color: #909090
    }

/* --- NEWSLETTER LAYOUT ---*/

.nl-section {
    padding: 0;
}
#respond {
    display: none;
}
h6.nl-anchor {
    margin-bottom: 0;
}
h3.nl-title {
    color: white;
    display: block;
    background: #0d3d70 url('http://qbs.edu.hk/wp-content/uploads/2016/06/triangles.png') repeat-x 100%;
    ;
    padding: 10px 20px;
    margin-bottom: 20px;
    margin-top: 40px;
}
/* ---------- SLIDER OVERRIDE ------------ */

#mainpageslider {
    top: -70px;
    position: relative;
    margin-bottom: -70px !important;
}
.PostSlider-Button-light a {
    color: #fff !important;
}
.PostSlider-Button a {
    color: #890033 !important;
}
.tparrows {
    transform: rotate(-90deg) !important;
}
.tp-leftarrow {
    margin-top: -20px;
    left: 40px !important;
}
.tp-rightarrow {
    margin-top: -120px;
    left: 40px !important;
}
@media screen and (max-width: 720px) {
    .home .PostSlider-Title {
        padding-bottom: 10px !important;
    }
}
.home .tp-caption.PostSlider-button-light,
.home .tp-caption.PostSlider-button-Light {
    border: 1px solid white !important;
}
.hesperiden .tp-tab.selected {
    background: #75002b;
}
.hesperiden .tp-tab-title {
    color: #f9f9f9;
    margin-top: 22px;
    font-size:16px;
    font-family: "Source Sans Pro", sans-serif;
    letter-spacing: 0.025em;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.55);
}
.hesperiden .tp-tab-image {
    border-radius: 50%;
    -webkit-filter: grayscale(80%);
    filter: grayscale(80%);
}
.hesperiden .tp-tab {
    transition: all 1s;
}
.hesperiden .tp-tab:hover {
    background: #890033;
}
.home .tp-tabs.tp-span-wrapper {
    background: rgba(0, 0, 0, 0.5) !important;
}
/* Slider iPad styles */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    .home .tp-tabs.tp-span-wrapper {
        width: 230px !important;
    }
    .home .hesperiden .tp-tab-image {
        border-radius: 0;
        width: 35px;
    }
    .home .hesperiden .tp-tab-content {
        width: 230px;
        padding: 0 0 15px 55px;
        margin-top: -22px;
    }
    .home .hesperiden .tp-tab-title {
        margin-top: 28px;
    }
    .home .hesperiden .tp-tab-mask,
    .home .tp-tabs-inner-wrapper,
    .home .hesperiden .tp-tab {
        width: 230px !important;
    }

    .home .downql {
        left: -100px;
    }
    div#slide-1-layer-2 .PostSlider-Title-Light {
        padding-bottom: 20px !important;
    }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    .home .flexslider .slides > li {
        min-height: 420px;
    }
    #frontpagenews .gdlr-caption-wrapper .gdlr-caption {
        padding: 15px 28px;
    }
    #frontpagenews .gdlr-caption-wrapper .gdlr-caption .gdlr-caption-title {
        margin-bottom: 20px;
        font-size: 21px;
    }
    #frontpagenews .gdlr-caption-text {
        font-size: 0.84em;
    }
}
/* --- GOOGLE 100% WIDTH EMBEDS -- -*/

.google-agenda {
    position: relative;
    padding-bottom: 12%;
    height: 400px;
    overflow: hidden;
}
.google-agenda iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.google-maps {
    position: relative;
    padding-bottom: 42%;
    height: 0;
    overflow: hidden;
}
.google-maps-f {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
}
.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.google-maps-f iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* News section title */

#news-header .gdlr-item-title {
    color: #f9f9f9;
    padding-top: 40px;
}
/* news-list BLOCK */

#news-list .gdlr-blog-widget .gdlr-standard-style {
    padding: 0 20px;
    min-height: 80px;
    background: #fff;
}
#news-list .gdlr-blog-widget .gdlr-blog-title {
    padding-top: 10px;
    font-size: 1em;
    line-height: 1.2em;
}
#news-list .gdlr-blog-widget.gdlr-item {
    margin-bottom: 10px;
}
#news-list .gdlr-blog-title a {
    font-family: "Source Sans Pro" !important;
    font-style: normal;
    letter-spacing: normal;
    text-transform: none;
}
#news-list .gdlr-blog-widget .gdlr-blog-thumbnail {
    /* vertical-align: middle;
    padding-top: 10px;
    background:white;} */
    
    display: none;
}
#news-list .gdlr-blog-info .blog-date {
    font-size: 0.7em;
}
/* News and Press ISOTOPE */

#iso-loop li {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-top: 10px solid #890033;
}
h5.iso-title {
    font-size:1em;
    margin-bottom: 0;
}
.iso-post .entry-date {
    font-size: 12px;
    font-style: italic;
}
.iso-post p {
    font-size: 14px;
    padding-top: 20px;
    margin-bottom: 0;
}
ul#filters li {
    font-size: 0.8em;
    border-color: #ccc;
    padding: 0 11px;
}
/* ----------- FRONT PAGE NEWS CAROUSEL ------------- */

#frontpagenews .flexslider .slides img {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.home #frontpagenews .gdlr-caption-wrapper.post-slider {
    opacity: 1;
}
#frontpagenews .gdlr-caption-text {
    line-height: 1.5em;
}
section#content-section-4 {
    margin-top: -19px;
}
.portfolio-item-holder .gdlr-classic-portfolio .portfolio-excerpt {
    color: transparent !important;
    position: absolute;
    top: 180px;
    left: 21%;
}
.portfolio-item-holder .gdlr-classic-portfolio .portfolio-title a {
    position: absolute;
    top: 40%;
    left: 25%;
    padding: 15px 0;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    z-index: 0;
    width: 200px;
    font-size: 16px;
    text-shadow: 0px 0px 5px #333333;
}
.portfolio-thumbnail .portfolio-overlay-wrapper {
    z-index: 101 !important;
}
.portfolio-thumbnail .portfolio-overlay {
    background-color: #2b2b2b !important;
}
.home .gdlr-classic-portfolio .portfolio-thumbnail,
.home .gdlr-classic-portfolio.gdlr-item,
.home .gdlr-classic-portfolio .portfolio-title {
    margin-bottom: 0;
}
/* Portfolio Page */

.gdlr-portfolio-style2 .gdlr-portfolio-content .head {
    display: none;
}
/* --- Bouncing Chevron --- */

.downql {
    display: none;
}
.home .downql {
    display: block;
}
.downql {
    position: absolute;
    z-index: 6;
    width: 100px;
    margin-left: 87%;
    text-align: center;
    height: 0;
    margin-top: 460px;
    -webkit-animation: bounce 1600ms infinite;
    -moz-animation: bounce 1600ms infinite;
    -o-animation: bounce 1600ms infinite;
    animation: bounce 1600ms infinite;
}
#qlarrow {
    display: block;
    height: 60px;
    background: transparent url(/wp-content/themes/esfcentral/images/chevron-down.png) no-repeat center;
    color: white;
    text-shadow: 0px 1px 4px #484848;
}
@-webkit-keyframes bounce {
    0% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0)
    }
    25% {
        -webkit-transform: translateY(15px);
        -ms-transform: translateY(15px);
        transform: translateY(15px)
    }
    50% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0)
    }
    100% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0)
    }
}
@keyframes bounce {
    0% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0)
    }
    25% {
        -webkit-transform: translateY(15px);
        -ms-transform: translateY(15px);
        transform: translateY(15px)
    }
    50% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0)
    }
    100% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0)
    }
}
/* School Map and Selector */

#school-map {
    background: url('/wp-content/uploads/2016/04/pattern-stripe.png');
}
.map-instr {
    display: block;
    color: white;
}
/* Selector Dropdown Menu */

#menu-school-dropdown li a {
    color: white;
    width: 100%;
    display: block;
    font-size:0.9em;
}
ul#menu-school-dropdown {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    list-style-type: none;
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
}
ul#menu-school-dropdown li.menu-item-has-children {
    width: 20%;
    margin: 10px 5px;
    border: 1px solid white;
}
ul#menu-school-dropdown li a:hover {
    background-color: rgba(0, 0, 0, 0.25);
    transition: all 0.8s;
}
#menu-school-dropdown li ul.sub-menu {
    visibility: hidden;
    float: left;
    list-style-type: none;
    position: absolute;
    margin-left: 0;
    margin-top: 1px;
    z-index: 3000;
    background: #890033;
}
#menu-school-dropdown .sub-menu li {
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #9c0039;
}
#menu-school-dropdown .sub-menu li a {
    padding: 10px 10px 10px 10px;
    font-size: 12px;
    color: #fff;
    text-align: left;
    width: 220px;
}
#menu-school-dropdown .sub-menu li a:hover {
    text-decoration: none;
    border: 0;
}
#menu-school-dropdown li:hover > ul {
    visibility: visible;
}
@media screen and (max-width: 420px) {
    .home ul.menu_shortcode li {
        display: none;
    }
    .home #content-section-2 #toqlinks {
        padding-bottom: 0 !important;
    }
}
/* ---------- MAP ------------ */

#map-container p {
    margin: 0;
}
#map_sidebar {
    display: none;
}
.sl_header {
    display: none;
}
#map .gm-style {
    pointer-events: none;
}
#map-overlay #sl-div input#addressInput {
    margin-bottom: 0.5em;
}
#map-overlay #sl_div #searchForm .search_item {
    display: inline;
}
#map-overlay #sl_div #searchForm label {
    min-width: 1px;
    padding: 0.6em 20px;
    color: white;
}
#map-overlay #sl_div #searchForm #addy_in_radius {
    width: 250px;
}
#map-overlay #sl_div #searchForm #radius_in_submit {
    float: none;
}
#searchForm #addy_in_address input.label_text {
    width: 35%;
}
#searchForm input#addressInput {
    padding-top: 1em;
}
#map-overlay #sl_div #searchForm select {
    margin-top: 1em;
}
/* ---------- TESTIMONIALS ------- */

.testimonial-item p {
    font-size: 30px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(34, 34, 34, 0.74);
}
.testimonial-info,
.testimonial-info span {
    font-family: 'freight-text-pro';
    font-size: 22px;
    color: white !important;
    letter-spacing: 0.05rem;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}
.gdlr-testimonial-item .testimonial-item-inner.gdlr-skin-box,
.gdlr-testimonial-item.box-style .testimonial-info {
    text-align: center;
    background: transparent;
}
.gdlr-testimonial-item.box-style .testimonial-author-image {
    width: 105px;
    height: 105px;
    margin: -30px auto 0;
    border: 5px solid #890033;
    border-radius: 50%;
    position: inherit;
}
.testimonial-author-image img {
    border-radius: 50%;
}
.gdlr-testimonial-item.box-style .testimonial-item-inner:after {
    border: 0;
}
/* --------- SOCIAL SPRITES ------------ */

#social-sprites {
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
}
#social-sprites a {
    display: block;
    width: 50px;
    height: 50px;
}
#social-sprites a:hover {
    background-color: #f3f3f3;
    opacity: 0.4;
}
.sp-facebook {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    background: url(/wp-content/themes/esfcentral/images/social-sprite.png) 0 0px;
}
.sp-linkedin {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    background: url(/wp-content/themes/esfcentral/images/social-sprite.png) 200px 0px;
}
.sp-youtube {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    background: url(/wp-content/themes/esfcentral/images/social-sprite.png) 150px 0px;
}
.sp-twitter {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    background: url(/wp-content/themes/esfcentral/images/social-sprite.png) 100px 0px;
}
.sp-instagram {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    background: url(/wp-content/themes/esfcentral/images/social-sprite.png) 50px 0px;
}
.home #social-sprites div {
    margin-right: 5px;
}
#joinus p {
    padding-top: 5px;
    padding-right: 20px;
    text-align: right;
    font-weight: 700;
}
/* ------------------------- OTHER PAGES ------------------------- */
/* HEADER IMAGE */

.gdlr-page-title-wrapper {
    padding: 60px 0px 50px;
}
.gdlr-page-title-wrapper .gdlr-page-title-overlay {
    opacity: 0.5;
}
/*  SIDEBAR FURTHER NAVIGATION */

.gdlr-sidebar ul li:before {
    display: none;
}
.widget_nav_menu ul li {
    padding-left: 5px;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-bottom: 0;
}
.gdlr-sidebar ul.sub-menu {
    padding-left: 20px;
}
.gdlr-sidebar .current-menu-item {
    background: #eee;
}
.gdlr-left-sidebar h3.gdlr-widget-title {
    border-bottom: 5px solid #890033;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    padding-bottom: 10px;
    font-size: 24px;
    width: 100%;
    margin-bottom: 20px;
}

/* Admissions blocks */
.page-id-13974 #adm-subhead {margin:0;}
.page-id-13974 #adm-subhead {color:#fff;}
.page-id-13974 #adm-subhead h6, .page-id-13974 #adm-subhead h5 {color:#fff;}
.page-id-13974 #adm-subhead h6:nth-child(2) {margin-bottom:0;}
.page-id-13974 .gdlr-color-wrapper {padding-top:42px;padding-bottom:45px;}

/* Counsellors HE */
.page .amoteam-member-info {
    bottom: 0%;}

.page .amoteam-member-subtitle {font-size:13px;}

/* Charitable Campaigns */
.single-campaign .campaign-description {font-size: 1.2em; font-weight:normal;}
.campaign h1.gdlr-blog-title {display:none;}
/*  The Events Calendar main page */

.post-type-archive-tribe_events .gdlr-page-title-wrapper,
.single-tribe_events .gdlr-page-title-wrapper {
    display: none;
}
.post-type-archive-tribe_events .gdlr-item-start-content {
    padding-top: 0;
}
.single-tribe_events .gdlr-item-start-content {
    padding-top: 10px;
}
@media screen and (min-width: 960px) {
    .single-tribe_events #tribe-events-content {
        width: 80% !important;
        margin: auto;
    }
}
@media screen and (max-width: 420px) {
    .tribe-events-list .tribe-events-list-event-title {
        line-height: normal;
        font-size: 1.2em !important;
    }
}
.tribe-events-filter-view .tribe-events-list h2.tribe-events-page-title {
    display: none;
}
.events-list #tribe-bar-form .tribe-bar-submit input[type=submit] {
    background: #890033;
}
.tribe-events-list-separator-month span {
    background-color: #fff;
    padding: 5px 3%;
    font-weight: 400;
    font-size: .6em;
    color: #333;
    border: 1px solid #c2c2c2;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.tribe-events-list-separator-month {
    text-align: left;
    padding-left: 0;
    margin: 1em auto;
}
#tribe-events .tribe-events-button {
    background-color: #4c0019;
}
#tribe-events .tribe-events-content p {
    margin-bottom: 30px;
}
a.tribe-events-read-more {
    border: 1px solid #890033;
    padding: 5px 20px;
    background: rgba(137, 0, 51, .9);
    color: white;
}
a.tribe-events-read-more:hover {
    background: rgba(137, 0, 51, 0.7);
    color: white;
}
.single-tribe_events .tribe-events-event-meta {
    border: 1px solid #ddd;
}
.tribe-events-schedule h2 {
    font-weight: 500;
    font-size: 1em;
}
.cat_alum-events .tribe-related-events.tribe-clearfix,
.cat_alum-events .tribe-events-related-events-title,
.cat_anniversary .tribe-related-events.tribe-clearfix,
.cat_anniversary .tribe-events-related-events-title,
.cat_esf-wide-events-cat .tribe-events-related-events-title,
.cat_esf-wide-events-cat .tribe-related-events.tribe-clearfix {
    display: none;
}
/* Hide Sub-menu on Sidebar if not the current parent */

.sidebar-left-item .menu-item-has-children .sub-menu {
    display: none;
}
.sidebar-left-item #menu-sb-50th-anniversary .menu-item-has-children .sub-menu {
    display: inherit;
}
.sidebar-left-item .current-menu-parent.menu-item-has-children ul.sub-menu {
    display: inherit;
}
.sidebar-left-item .current-menu-ancestor.menu-item-has-children ul.sub-menu {
    display: block;
}
/*  LANGUAGE TRANSLATION BUTTON */

.lang {
    font-size: 13px;
    padding-bottom: 20px;
    position: absolute;
    z-index: 100;
    margin-left: 700px;
    margin-top: 0;
}
.lang img {
    max-width: 14px;
}
/* ALL BLOG GRID DISPLAY */

.gdlr-blog-grid .gdlr-blog-title {
    font-size: 1em;
    line-height: 1.2em;
    margin-bottom: 10px;
}
.gdlr-blog-grid .gdlr-blog-info .blog-info {
    margin-bottom: 10px;
}
.gdlr-item.gdlr-blog-grid {
    padding: 20px;
    border: 1px solid #e0e0e0;
    background: #fff;
}
.gdlr-blog-grid .gdlr-blog-content {
    font-size: 14px;
}
.gdlr-blog-grid header.post-header {
    max-height: 200px;
}
/* CAREERS PAGE */

@media screen and (min-width: 960px) {
    .page-id-519 .six.columns,
    .page-id-2210 .three.columns {
        margin-top: -8px;
    }
}
.page-id-519 .gdlr-item-start-content {
    padding-top: 0;
}
.page-id-2210 .section-container.container {
    padding-top: 30px;
}
.wp-caption-text {
    margin: 15px 0 !important;
    font-size: 1.3em !important;
}
.wp-caption {
    border: 0;
}
.wp-caption img {
    transition: opacity 1s ease;
}
.wp-caption img:hover {
    opacity: 0.7;
}
#tr-intro {
    margin-top: -30px;
}
.portfolio-thumbnail .portfolio-icon {padding:24px 30px !important;}

/* Sports & Languages IMAGE CAPTIONS */

.page-id-549 .wp-caption p.wp-caption-text,
.page-id-3862 .wp-caption p.wp-caption-text {
    z-index: 1000;
    position: relative;
    margin-top: -60px !important;
    line-height: 1.2em;
    background: rgba(255, 255, 255, 0.8);
    min-height: 60px;
    padding-top: 5px;
    color: #890033;
    font-weight: 600;
    padding: 0 30px;
}
.page-id-3862 .wp-caption p.wp-caption-text {
    padding: 10px 0;
    min-height: 0;
}
.salimg {
    display: flex;
    width: 100%;
}
.page-id-549 .section-container,
.page-id-3862 .section-container {
    padding-top: 30px;
}
.page-id-549 p,
.page-id-3862 .section-container {
    margin-bottom: 10px;
}
.salimg img:hover {
    opacity: 0.7 !important;
}
/* DIRECTOR OF EDUCATION BLOG */

.page-id-2155 .gdlr-standard-style {
    background: #fff;
    padding: 20px;
    border: 1px solid #dddddd;
}
.page-id-2155 .gdlr-blog-grid .gdlr-blog-content {
    font-size: 0.85em;
}
.single-post .gdlr-page-title-wrapper {
    display: none;
}
/* Staff Display Tables */

.staff-table .gdlr-column-shortcode {
    font-size: 0.8em;
}
/* SMT - hide 'department' */

.page-id-546 .userlist-single-email {
    display: none;
}
.page-id-546 .ul-normal-float {
    padding-right: 15px;
}
.userlist-single-position,
.userlist-single-email {
    font-size: 0.85em;
}
.userlist-email a {
    font-size: 0.7em;
}
.page-id-1651 .userlist-inner-box img {
    max-height: 230px !important;
}
/* COOL TIMELINE */

.timeline .events p {
    margin-bottom: 0;
    color: #1b1b1b;
    padding: 5px 13px 15px !important;
    letter-spacing: normal;
}
.full-width img {} .page-id-5257 .gdlr-page-title-wrapper .gdlr-page-title-overlay {
    opacity: 0.35;
}
.cool_timeline .timeline-main-title.center-block {
    display: none;
}
.page-id-5257 .gdlr-page-title-wrapper .gdlr-page-title {
    text-shadow: 0px 0px 4px #2a0000;
}
.cool_timeline .timeline dl dt {
    box-shadow: none;
    font-size: 20px;
    font-family: "Montserrat", sans-serif;
    line-height: 80px;
    height: 80px;
    width: 80px;
    text-shadow: none;
}
.cool_timeline .timeline dl dd .time {
    font-family: "Montserrat", sans-serif;
    font-size: 1em;
    top: 32px;
    font-weight: 700;
}
.cool_timeline .timeline dl dd .circ {
    border-color: #fff8ef;
    width: 40px;
    height: 40px;
    left: 49%;
    background: #890033 url(/wp-content/themes/esfcentral/images/transwhite-logo.png) 0 0 / 32px 32px no-repeat !important;
    top: 37px;
}
.cool_timeline .event-description {
    padding: 0;
}
.page-id-5257 .with-sidebar-wrapper.gdlr-type-left-sidebar {
    background: #fff8ef;
}
.cool_timeline .timeline-meta .meta-details {
    display: none;
}
ul#menu-sb-50th-anniversary .gdlr-sidebar .current-menu-item {
    background: #f5e9db;
}
.page-id-6884 .blog-info.blog-date {
    display: none;
}
/* Shopping Cart Page */

#shopping_cart .cart_labels th {
    padding-left: 15px;
}
div#shopping_cart {
    padding: 10px;
    background: #ebebeb;
    position: fixed;
    bottom: 0;
    right: 0;
    max-width: 400px;
}
.footer-wrapper {
    z-index: 100;
}
.page-id-6755 input.vsubmit.submit {
    margin-top: 25px;
}

/* 50th Gala Woocommerce Page */
a h2.woocommerce-loop-product__title {color:#890033;}
a h2.woocommerce-loop-product__title:hover {text-decoration:underline !important;}
html .woocommerce ul.products li.product .price, html .woocommerce-page ul.products li.product .price {font-size:20px;}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {margin-bottom:1em;}

html .archive.woocommerce ul.products li.product a img:hover {
    opacity: 0.8;
}
span.woocommerce-Price-amount.amount {padding-right:25px;}

li.product_cat-tables {
    width: 46% !important;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {margin: 0 2% 2.992em 0;}
html .woocommerce ul.products li.last, .woocommerce-page ul.products li.last {margin-right:2%;}
html .woocommerce ul.products li.first, .woocommerce-page ul.products li.first {
    clear: none;
}

.woocommerce-page .gdlr-page-title-wrapper {display:none;}

/* --- FOOTER ---*/

.esffw {
    margin-left: -3px;
    margin-top: 195px;
}
.esffw-text {
    padding-top: 6px;
    letter-spacing: 1px;
    font-size: 1.3em;
}
.esf-footer-logo {
    width: 56px;
    margin-right: 15px;
    float: left;
    padding-bottom: 20px;
}
.footer-tchi {
    font-weight: 600;
    font-family: 'Microsoft Yahei';
    font-size: 32px;
}
.esf-footer-logo {
    width: 56px;
    margin-right: 15px;
    float: left;
}
.footer-title {
    color: #fff;
    text-transform: uppercase;
    line-height: 40px;
}
.footer-phone {
    font-size: 18px;
}
.footer-address {
    font-family: "Source Sans Pro", "Microsoft Yahei", sans-serif !important;
    font-style: normal;
    font-size: 17px;
    line-height: 25px;
}
p.tchi-address {
    font-size: 22px;
    line-height: 30px;
}
.footer-wrapper .widget.gdlr-widget {
    margin-bottom: 0px;
}
.footer-wrapper a {
    color: #CDCDCD
}
#searchform input[type="submit"] {
    background-color: transparent;
}
.menu-fl-sitemap-container {
    width: 45%;
    float: left;
}
#menu-fl-sitemap li {
    font-weight: 400;
}
#menu-fl-sitemap li,
#menu-fr-icons li {
    border-bottom: 0;
    padding-bottom: 0;
    padding-top: 0;
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 0.035rem;
    padding-left: 0;
    text-transform: uppercase;
}
#menu-fl-sitemap li:before {
    content: none;
}
.menu-fr-icons-container {
    width: 45%;
    float: left;
}
#menu-fr-icons {
    padding-left: 15px;
}
#nav_menu-5 h3 {
    text-transform: none;
    letter-spacing: normal;
}
#menu-fr-icons li:before {
    left: -16px;
    color: #fff;
    font-size: 1.1em;
}
#menu-fr-icons li a:hover {
    text-decoration: underline;
}
#menu-fr-icons .fr-feedback:before {
    content: "\f0e0";
}
#menu-fr-icons .fr-calendar:before {
    content: "\f073";
}
#menu-fr-icons .fr-contact:before {
    content: "\f040";
}
#menu-fr-icons .fr-sitemap:before {
    content: "\f0e8";
}
#menu-fr-icons .fr-facebook:before {
    content: "\f082";
}
#menu-fr-icons .fr-esl:before {
    content: "\f1e3";
}
#menu-fr-icons .fr-gateway:before {
    font-family: "esffont" !important;
    content: "\e800";
}
/* -------------- RESPONSIVE STYLES --------------- */

.page-id-519 .portfolio-item-holder .gdlr-classic-portfolio .portfolio-title a {
    font-weight: 600 !important;
    font-size: 1.6em;
    line-height: 1.3;
    top: 45%;
    left: 34%;
    border: 3px solid white;
}
.page-id-519 .gdlr-classic-portfolio .portfolio-thumbnail {
    padding: 0 1px;
}
/* large desktop and above only */

@media only screen and (min-width: 958px) {
    .gdlr-item-title-wrapper .gdlr-item-title-caption {
        max-width: 80%;
    }
    #iso-loop li {
        width: 31%;
    }
    /* Shorten the menu bar */
    
    header,
    .gdlr-header-inner {
        max-height: 90px;
    }
    .page-id-2210 .portfolio-thumbnail.gdlr-image,
    .page-id-3616 .portfolio-thumbnail.gdlr-image {
        border-right: 2px solid #fff;
    }
}
@media only screen and (min-width: 958px) and (max-width: 1098px) {
    body .gdlr-logo {
        max-width: 270px;
        padding-top: 10px;
    }
    .sf-menu > li > a.sf-with-ul,
    .sf-menu > li > a {
        margin-right: 25px !important;
        font-weight:500 !important;
    }
}
@media only screen and (min-width: 767px) and (max-width: 958px) {
    .sf-menu > li > a.sf-with-ul,
    .sf-menu > li > a {
        margin-right: 30px !important;
    }
    body .gdlr-logo {
        max-width: 280px;
        padding: 10px 0 0 15%;
    }
    .page-id-519 .portfolio-item-holder .gdlr-classic-portfolio .portfolio-title a {
        top: 25%;
        left: 26%;
    }
}
@media only screen and (max-width: 767px) {
    body .gdlr-logo {
        padding: 20px 30px 20px 5px !important;
    }
    .google-maps {
        padding-bottom: 60%;
    }
    .page-id-519 .gdlr-classic-portfolio .portfolio-title,
    .page-id-519 .gdlr-classic-portfolio,
    .page-id-519 .portfolio-thumbnail {
        margin-bottom: 2px;
    }
    .page-id-519 .gdlr-item p:first-child,
    .page-id-2210 .gdlr-item p:first-child,
    .page-id-3616 .gdlr-item p:first-child {
        padding-top: 20px;
    }
}
@media only screen and (max-width: 420px) {
    .gdlr-classic-portfolio.gdlr-item {
        margin-bottom: 0;
    }
    .gdlr-classic-portfolio .portfolio-thumbnail {
        margin-bottom: 0;
    }
    .gdlr-classic-portfolio .portfolio-title {
        margin-bottom: 2px;
    }
    .page-id-519 .portfolio-item-holder .gdlr-classic-portfolio .portfolio-title a {
        top: 24%;
        left: 23%;
    }
    #iso-loop li {
        width: 100%;
    }
    #filters li {
        font-size: 0.6em;
        padding: 0;
    }
    .gdlr-item-start-content {
        padding-top: 20px;
    }
    .gdlr-page-title-wrapper {
        padding: 25px 0 25px 0;
    }
    .esffw-text {
        font-size: 1.2em;
    }
    .esf-footer-logo {
        width: 50px;
    }
    div.copyright-wrapper .copyright-container {
        text-align: center;
        font-size: 0.63em;
    }
    .copyright-left,
    .copyright-right {
        float: none;
    }
    .gdlr-page-title-wrapper .gdlr-page-title {
        font-size: 1.28em;
        margin: 0;
    }
    #joinus p {
        text-align: center;
        padding: 0;
    }
    #joinus .gdlr-image-frame-item.gdlr-item {
        margin: 0 auto;
    }
    .downql {
        margin-top: 320px;
        text-align: left;
        margin-left: 10%;
    }
    body .container {
        max-width: 330px !important;
    }
    /* shopping cart mobile */
    
    table tr td.cartLink {
        max-width: 190px;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .shopping_cart img {
        width: 30px;
    }
    .shopping_cart table td {
        padding: 8px 5px;
    }
    .shopping_cart .gdlr-button,
    input[type="button"],
    .shopping_cart input[type="submit"] {
        margin-bottom: 10px;
        padding: 10px 20px;
    }
    tr.cart_labels {
        display: none;
    }
}
@media only screen and (max-width: 320px) {
    .menu-fr-icons-container {
        padding-left: 26px;
    }
    /* shorten title on iphone */
    
    .gdlr-page-title-wrapper {
        padding: 15px 0 10px 0;
    }
    .gdlr-item-start-content {
        padding-top: 20px;
    }
    body .gdlr-logo {
        padding: 15px 30px 15px 15px !important;
    }
    .downql {
        margin-top: 260px;
    }
    table tr td.cartLink {
        max-width: 150px;
    }
}
/* iPad only & portrait */

@media only screen and (min-device-width: 768px) and (max-device-width: 1023px) and (orientation: portrait) {
    .home .portfolio-item-holder .gdlr-classic-portfolio .portfolio-title a {
        left: 13%;
        width: 140px;
        font-size: 13px;
    }
    .gdlr-header-inner {
        height: 130px;
    }
    .gdlr-header-container.container .gdlr-navigation-wrapper {
        margin-top: 33px !important;
    }
    .sf-menu > li > a.sf-with-ul,
    .sf-menu > li > a,
    .gdlr-navigation-wrapper .gdlr-main-menu > li > a {
        margin-right: 20px !important;
        font-size: 17px;
    }
    .page-id-2210 .three,
    .page-id-3616 .three {
        width: 50%;
        max-height: 300px;
    }
    .page-id-2210 .gdlr-classic-portfolio .portfolio-thumbnail,
    .page-id-3616 .gdlr-classic-portfolio .portfolio-thumbnail {
        max-height: 300px;
    }
    .page-id-2210 #content-section-2 p:first-child {
        padding-top: 20px;
    }
    .page-id-2210 .portfolio-item-holder .gdlr-classic-portfolio .portfolio-title a,
    .page-id-3616 .portfolio-item-holder .portfolio-title a {
        top: 34%;
        left: 24%;
        font-size: 18px;
    }
    #iso-loop li {
        width: 48%;
    }
    div#slide-1-layer-2.tp-caption {
        min-height: 50px !important;
    }
    /* Change iPad menu to responsive burger */
    
    #gdlr-responsive-navigation {
        display: block !important;
        height: 0;
        position: static;
        float: none;
    }
    .dl-menuwrapper > .dl-menu {
        margin: 0 auto !important;
        position: static !important;
    }
    .dl-menuwrapper > .dl-menu,
    .dl-menuwrapper > .dl-submenu {
        text-align: left;
    }
    .dl-menuwrapper li a {
        border-bottom: 1px solid #881e42;
    }
    .dl-trigger {
        margin-top: 17px;
        color: #fff !important;
    }
    .dl-menuwrapper button:after {
        width: 10% !important;
        left: 85% !important;
        top: 7px !important;
    }
    .dl-menuwrapper button {
        width: 100% !important;
        color: #fff;
        text-indent: 20px !important;
        letter-spacing: 2px;
        text-transform: uppercase;
        text-align: left;
        font-size: 16px;
        box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.2);
    }
    .dl-menuwrapper .dl-active {
        color: #ffffff !important;
    }
    .gdlr-logo img {
        max-width: 320px !important;
    }
    .dl-menu.dl-animate-out-1 {
        -webkit-animation: MenuAnimOut1 0.3s !important;
        -moz-animation: MenuAnimOut1 0.3s !important;
        animation: MenuAnimOut1 0.3s !important;
    }
    .dl-menu.dl-animate-in-1 {
        -webkit-animation: MenuAnimIn1 0.3s !important;
        -moz-animation: MenuAnimIn1 0.3s !important;
        animation: MenuAnimIn1 0.3s !important;
    }
    .dl-menuwrapper > .dl-submenu {
        display: none !important;
    }
    .gdlr-header-container.container .gdlr-navigation-wrapper {
        display: none;
    }
    body .gdlr-logo {
        padding: 10px 0 0 0;
    }
}