/* 60th Anniversary Event Page */

.section-event .section-content {
    max-width: 900px;
}

.section-event .section-content h3 {
    font-weight: 700;
}

.section-event p:last-of-type {
    margin-bottom: 0;
}

.section-event p:last-of-type + * {
    margin-top: 25px;
}

.section-event-locations .event-items {
    display: flex;
    flex-flow: row wrap;
    gap: 1.5%;
    justify-content: center;
}

.section-event-locations .event-items .event-item {
    display: flex;
    flex-flow: column wrap;
    flex: 1 0 auto;
    width: 30%;
    max-width: 30%;
    margin-bottom: 1.5%;
}

.section-event-locations .event-items .item-link {
    display: block;
    width: 100%;
}

.section-event-locations .event-items .item-link:hover,
.section-event-locations .event-items .item-link:active,
.section-event-locations .event-items .item-link:focus {
    text-decoration: none;
}

.section-event-locations .event-items .item-link:hover .item-wrap,
.section-event-locations .event-items .item-link:active .item-wrap,
.section-event-locations .event-items .item-link:focus .item-wrap {
    background-color: #1d2534;
    transition: background-color 200ms ease-in-out;
}

.section-event-locations .event-items .item-link:hover .item-cta,
.section-event-locations .event-items .item-link:active .item-cta,
.section-event-locations .event-items .item-link:focus .item-cta {
    color: #00aeef;
    transition: background-color 200ms ease-in-out, color 200ms ease-in-out;
}

.section-event-locations .event-items .item-link:hover .item-title,
.section-event-locations .event-items .item-link:active .item-title,
.section-event-locations .event-items .item-link:focus .item-title {
    color: #fff;
    transition: background-color 200ms ease-in-out, color 200ms ease-in-out;
}

.section-event-locations .event-items .item-wrap {
    background-color: #252e40;
}

.section-event-locations .event-items .item-image {
    position: relative;
    width: 100%;
    height: auto;
}

.section-event-locations .event-items .item-image img {
    position: relative;
    width: 100%;
    height: 100%;
}

.section-event-locations .event-items .item-body {
    width: 100%;
    padding: 1.5rem 2.5rem;
    text-align: left;
}

.section-event-locations .event-items .item-title {
    color: #96D7E0;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0;
    font-size: 24px;
}

.section-event-locations .event-items .item-date {
    color: #fff;
    font-style: normal;
    line-height: 1.1em;
}

.section-event-locations .event-items .item-cta {
    margin-top: 0.5rem;
    display: block;
    color: #96D7E0;
    font-weight: 500;
}

/* 60th Anniversary Event Registration Page */

.section-event-breadcrumb {
    padding-top: 8px;
    padding-bottom: 8px;
}

.section.section-event-form.section-sm {
    padding-top: 0;
}

.section-event-form .gform_wrapper {
    margin-top: 1rem;
    background-color: #fff;
    padding: 45px;
}

/* GForm */

.section-event-form .gform-theme--framework {
    --gf-padding-x: 2px;
    --gf-padding-y: 6px;

    --gf-ctrl-shadow: none;
    --gf-ctrl-radius: 0;

    --gf-ctrl-bg-color: transparent;
    --gf-ctrl-bg-color-hover: transparent;

    --gf-ctrl-border-color: #8a8a8a;
    --gf-ctrl-border-color-focus: #1b3e93;
    --gf-ctrl-border-style: solid;
    --gf-ctrl-border-width: 2px;

    --gf-ctrl-outline-color-focus: transparent;
    --gf-ctrl-outline-offset: 0;
    --gf-ctrl-outline-style: none;
    --gf-ctrl-outline-width: 0;

    --gf-ctrl-btn-bg-color-primary: #252e40;
    --gf-ctrl-btn-bg-color-hover-primary: #00aeef;
    --gf-ctrl-btn-bg-color-focus-primary: #00aeef;

    --gf-ctrl-label-color-primary: #666;
    --gf-ctrl-label-color-secondary: #666;
    --gf-label-space-primary: 0;
}

.section-event-form .gform-theme--foundation {
    --gf-form-gap-x: 15px;
    --gf-form-gap-y: 30px;
    --gf-form-footer-margin-y-start: 30px;
}

.section-event-form .gform_wrapper .gform_heading {
    display: none!important;
}

.section-event-form .gform_wrapper .gfield--type-html h4 {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 500;
    font-size: 1.4rem;
}

.section-event-form .ginput_container input[type="text"],
.section-event-form .ginput_container input[type="email"],
.section-event-form .ginput_container select,
.section-event-form .ginput_container textarea {
    border-top: 0;
    border-left: 0;
    border-right: 0;
}

.section-event-form .gform-theme--framework .gfield--type-choice .gfield_radio {
    flex-direction: row;
}

.section-event-form .gform-theme--framework.gform-theme.gform_wrapper input[type="submit"] {
    width: 100%!important;
    font-size: 1rem!important;
    height: 65px!important;
    line-height: 65px!important;
    white-space: nowrap!important;
    padding: 0 50px!important;
    text-decoration: none !important;
    display: inline-block!important;
    font-weight: 700!important;
    text-align: center!important;
    text-shadow: none!important;
    border: 0!important;
    position: relative!important;
    text-transform: none!important;
    border-radius: 0!important;
    transition: all .25s ease-in-out 0s!important;
}

.section-event-form .gfield .gfield_label {
    color: #666;
}

.section-event-form .gfield .gfield_description {
    color: #888;
}

@media (min-width: 768px) {

    .page-template-page-60thyear-registration .page-header h1 {
        font-size: 2.4rem;
    }

}

@media (min-width: 992px) {

    .page-template-page-60thyear .page-header .bg-heading,
    .page-template-page-60thyear-registration .page-header .bg-heading {
        padding: 30px 100px 30px 0;
    }

}

@media (min-width: 1200px) {

    .section-event-form .form-element + .form-heading {
        margin-top: 35px;
    }

}

@media (min-width: 1400px) {

    .page-template-page-60thyear .page-header {
        min-height: 600px;
    }

}

@media (max-width: 1199px) {

    .section-event-locations .event-items .item-body {
        padding: 1.5rem 2.25rem;
    }

    .section-event-locations .event-items .item-title {
        font-size: 21px;
    }

    .section-event-locations .event-items .item-date {
        font-size: 14px;
    }

}

@media (max-width: 991px) {

    .section-event-locations .event-items {
        gap: 2%;
        justify-content: flex-start;
    }

    .section-event-locations .event-items .event-item {
        width: 48%;
        max-width: 48%;
        margin-bottom: 2%;
    }

    .section-event-locations .event-items .item-body {
        padding: 1.5rem 2rem;
    }

    .page-template-page-60thyear-registration .page-header h1 {
        font-size: 1.8rem;
    }

    .section-event-form .form-input {
        margin-bottom: 20px;
    }

}

@media (max-width: 767px) {

    .section-event-locations .event-items {
        justify-content: center;
    }

    .section-event-locations .event-items .event-item {
        width: 100%;
        max-width: 100%;
        max-width: 340px;
    }

    .section-event-locations .event-items .item-body {
        padding: 1.5rem 2.5rem;
    }

    .section-event-locations .event-items .item-title {
        font-size: 24px;
    }

    .section-event-locations .event-items .item-date {
        font-size: 16px;
    }

    .page-template-page-60thyear .page-header.bg-center {
        background-position: right center!important;
    }

    .page-template-page-60thyear-registration .page-header h1 {
        font-size: 1.2rem;
    }

    .section-event-form .gform_wrapper {
        padding: 30px;
    }

}



.single-cpt-project .section-hero-slider h1 { line-height:1.1em; }

.page-template-page-team .team-member .w-100 { height:auto !important; }
.page-template-page-team .team-member .position { min-height:54px; line-height:24px; }

@media (min-width: 992px) {
  .single-cpt-project .inner-content .bg-heading { padding:35px 100px 35px 0; }
  #content .section.section-lead { padding:70px 0; }
}

.header .navbar-brand {
    max-width: 200px; /* was 200 with normal non 55th anniversay logo */
    max-height: 100px;
    padding-bottom: 0;
}
.logo-no-tagline {
    max-width: 150px !important; /* was 150 with normal non 55th anniversay logo */
}

.logo-tagline {
    max-width: 200px !important; /* was 200 with normal non 55th anniversay logo */
}
@media (min-width: 1200px) {
  /*.logo-tagline { max-width: 280px !important; }*/
  /*.header .navbar-brand { max-width: 280px; }*/
}

/* ORange on side tab */
.sticky-contact a {
    background-color: #ea5329;
}

/* Teal colour on tabs and underlines, loading animations */
.ud-heading:before,
#nprogress .bar,
.section-lead:after, .section-lead:before {
	background-color: #257f8e;
}

#nprogress .spinner-icon {
	border-left-color: #257f8e;
	border-top-color: #257f8e;
}
.header .navbar-nav>.menu-item.current-menu-item>a, .header .navbar-nav>.menu-item>a:hover {
	border-bottom-color: #257f8e;
}

.header {
	font-size: 20px;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .header {
	font-size: 16px;
  }  
}

.alignleft { float:left; margin:0 1em 1em 0; }
.alignright { float:right; margin:0 0 1em 1em; }

/* TEMPORARY */
/* colour on intro paras */
/* Not used as of 17/3/2020 - still deciding what colour to use. Ideally we shoudl remove the "blue-sea" class that is written on each element */
/*.section-lead .blue-sea {
	color: #111;
}*/

.section-timeline .content .number {
      font-size: 64px;
     
    }
.section-timeline .content {
    height: 220px;
    padding: 10px 0 0 0;
}

@media (min-width: 1200px) {
    .section-timeline .content {
         padding: 00px 40px 40px 100px;
         height: 420px;
    }

    .section-timeline .content .number {
      font-size: 160px;
      /*position: absolute; */
    }
}
  
.section-timeline .content .text-below-number {
    position: absolute;
    bottom: 0px;
    padding: 12px;
    color: #257f8e;
    left: 0;
    right: 0;
}


@media (min-width: 1200px) {
    .section-timeline .content .text-below-number {
        left: 80px;
        padding-left: 0;
    }
}
    
  
@media (max-width: 480px) {
 .hidden-sm {
     display: none !important;
 }   
}

/* feature-img-wrapper used to wrap the main image on posts in content_post.php*/
.feature-img-wrapper {
    position: relative;
    max-height: 50vh;
    overflow: hidden;
}

.ag_show_excerpt { background:#fff; padding:1em;}
.ag_show_excerpt > div { line-height:1.5em; }
.ag_show_excerpt > p { margin-top:25px; line-height:1.5em; }
.ag_show_excerpt > p > a { font-weight:500; }

.ag_vimeo_insert { max-width:785px; margin:0 auto; }

#ag_content { padding-left:33px; padding-right:33px; }
#ag_content .col-lg-4 { text-decoration:none; }
#ag_content p { font-size:18px; }
#ag_content > h1, #ag_content > h2 { font-family:Poppins, sans-serif; font-size:2.8125rem; font-weight:400; line-height:1.3; color:#1b3e93; margin-bottom:1.5rem !important; }

.ag_col_4_1 { flex-basis:25% !important; flex-grow:0; }

@media (max-width: 767px) {
  .ag_col_4_1 { flex-basis:100% !important; }
  .section-services #ag_content + .row > .col-lg-4 { text-align:center; }
}

.ag_perspectives > div > h3 { color:#1b3e93; }
.ag_perspectives_14 { font-size:14pt; margin-bottom:1.5em; }

#ag_news_slider .img-wrapper img.img-fluid { width:100%; }
#ag_news_slider div.content.p-3 { background:#fff; min-height:400px; }

.ag-ta-center { text-align:center; }

#tbh_iso { display:none; }
