/*
 Theme Name:   FIO Partners
 Description:  Custom theme
 Author:       Carnoustie Creative
 Author URI:   https://www.carnoustiecreative.co.uk
 Template:     baseline
 Version:      1.4.2
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  baseline-child

font-family:'PalatinonovaW01-Regular';
font-family:'PalatinonovaW01-Italic';
font-family:'Palatino nova W01 Bold';
font-family:'ITC Franklin Gothic LT W01 Boo';
font-family:'ITC Franklin Gothic LT W01 Md';


*/

html {
    scroll-behavior: smooth;
}

.baseline .container {
    max-width: 100%;
}

@media ( min-width: 800px ) {
 
    .baseline .container {
        width: calc(100% - 7rem);
    }

}

body.baseline {
    font-family:'ITC Franklin Gothic LT W01 Boo';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1.9rem;    
}

.baseline .main .content {
    padding-bottom: 1rem;
}

@media ( max-width: 720px ) {

    .baseline .main .content {
        padding-bottom: 0;
    }

}

.fio-home .flex-elm.hero {
    background-position: bottom;
}

.baseline h1 {
    font-family:'PalatinonovaW01-Regular';
    font-size: 4.8rem;    
}

.baseline h2 {
    font-family:'PalatinonovaW01-Regular';
}

@media ( max-width: 720px ) {

    .baseline h1 {
        font-family:'PalatinonovaW01-Regular';
        font-size: 3.1rem;
        letter-spacing: -0.1rem;
        line-height: 1.1;
    }

}

.baseline header .custom-logo {
    width: 19.5rem !important;
}

.baseline footer {
    margin-top: 5rem;
    padding-top: 5rem;
    border-top: none;
    position: relative;
}

.baseline footer:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2.3rem;
    background-image: url('triple-stripe.svg');
    background-repeat: repeat-x;
    top: 0;
}

.baseline .fa {
    color: #1C51A1;
}

.baseline .button, 
.baseline a.button, 
.baseline .mobile-nav li.button, 
.baseline button, 
.baseline input[type=reset], 
.baseline input[type=button], 
.baseline input[type=submit], 
.baseline .woocommerce-page.woocommerce #respond input#submit, 
.baseline .woocommerce-page.woocommerce a.button, 
.baseline .woocommerce-page.woocommerce button.button, 
.baseline .woocommerce-page.woocommerce input.button {
    letter-spacing: 0.17rem;
}

footer .address p {
    margin-bottom: 0.2rem;
}

.baseline .hero {
    height: 45vh;
    min-height: 37rem;
    position: relative;
}

.baseline.fio-home .hero {
    height: 40vw;
    min-height: 50rem;
    max-height: 85rem;
}

@media ( max-width: 720px ) {
 
    .baseline.fio-home .hero {     
        min-height: 43rem;
    }

}

.baseline .hero:before {
    content: "";
    background-image: linear-gradient(4deg, rgba(0,0,0,0.75) 12%, rgba(0,0,0,0.25) 38%, rgba(0,0,0,0.10) 67%);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.baseline .hero h1 {
    color: #fff;
}

.animation-text-wipe {
    opacity: 0;
    -webkit-mask-image: linear-gradient(to left, #0000 25%, #000 75%);
    -webkit-mask-size: 500%;
}

.animation-text-wipe.animate-in {
    animation-name: text-wipe;
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;    
}

.anim-delay-1 { animation-delay: 0.25s; }
.anim-delay-2 { animation-delay: 0.50s; }
.anim-delay-3 { animation-delay: 0.75s; }

/**
 * Safari has issues if you try to animate
 * mask-size, so we set that on the element
 * and only translate the position.
 */
@keyframes text-wipe {
    0% {
        opacity: 1;
        -webkit-mask-position: 100%;
    }

    100% {
        opacity: 1;
        -webkit-mask-position: 0%;
    }
}


.baseline .hero.cde-wide-text .inner {
    position: absolute;
    width: calc( 100% - 12rem );
    bottom: 5rem;
    left: 6rem;
    right: 6rem;        
    padding: 0;
}

.baseline.fio-home .hero.cde-wide-text .inner {
    width: calc( 100% - 8rem );
    bottom: 4rem;
    left: 4rem;
    right: 4rem;        
}

.baseline .hero .inner h1 {
    max-width: 60%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

@media ( max-width: 960px ) {

    .baseline .hero .inner h1 {
        max-width: 70%;
    }

}

.baseline .hero .inner h4 {
    font-family:'ITC Franklin Gothic LT W01 Boo';
    font-size: 2.1rem;
    text-transform: none;
    letter-spacing: 0;
    padding-top: 5rem;
    color: #fff;
    display: inline-block;
    position: relative;
}

@media ( max-width: 720px ) {

    .baseline .hero .inner {
        width: calc( 100% - 4rem );
        bottom: 2rem;
        left: 2rem;
        right: 2rem;        
    }

    .baseline .hero.cde-wide-text .inner,
    .baseline.fio-home .hero.cde-wide-text .inner {        
        left: 2rem;
        right: 2rem;         
        bottom: 1rem;    
        width: calc( 100% - 4rem );
    }

    .baseline.fio-home .hero.cde-wide-text .inner {
        padding-top: 2rem;        
        position: relative;
    }

    .baseline.fio-home .hero {
        max-height: unset;
        height: auto;
        display: flex;
        align-items: flex-end;
    }

    .baseline .hero .inner h4 {
        font-size: 1.7rem;
    }

}

.baseline .hero .inner h4:before {
    position: absolute;
    width: 100%;
    display: inline-block;
    height: 1.1rem;
    background-color: #1C51A1;
    content: "";
    top: 2.5rem;
}

@media ( max-width: 720px ) {
 
    .baseline .hero .inner h1 {
        max-width: 100%;
        width: 100%;
    }

}

header .right .widget .menu li.separator a {
    color: #ccc;
    pointer-events: none;
}

header .right .widget .menu li a {
    text-transform: uppercase;
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
    color: #222;
    line-height: unset;
}

header .right .widget .menu li.current-menu-item a {
    font-family:'ITC Franklin Gothic LT W01 Md';
}

.baseline header .right {
    display: flex;
    align-items: center;
}

.baseline header .second {
    position: relative;
    bottom: unset;
}

.baseline header .right .menu {
    display: inline;
    float: right;
}

.footer-logos {
    display: flex;
    justify-content: flex-end;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.footer-logos img {
    margin-left: 4rem;
    height: 5rem;
    width: auto;
}

.footer-logos img.asv-logo {
    height: 4.6rem;
}

@media ( max-width: 720px ) {
 
    .footer-logos {
        display: block;        
    }

    .footer-logos img {
        height: 4rem;
        margin: 3rem 0 0 0;
    }

    .footer-logos img.asv-logo {
        height: 3.6rem;
    }

}

.cde-image-left-text-right.img-contain.img-small .left.img, 
.cde-text-left-image-right.img-contain.img-small .right.img {
    background-size: 80%;
    min-height: 30rem;
}

@media ( max-width: 720px  ) {

    .cde-image-left-text-right.img-contain.img-small .left.img, 
    .cde-text-left-image-right.img-contain.img-small .right.img {     
        min-height: 15rem;
    }

}

h2 em {
    font-family:'PalatinonovaW01-Italic';
    font-size: 3.2rem;
    font-style: normal;
    color: #4A4A4A;
}

.arrow-link {    
    color: #4A4A4A;
    display: inline-block;
    margin-top: 3rem;
    text-transform: uppercase;
    font-size: 1.7rem;
    letter-spacing: 0.17rem;    
    position: relative;
}

.inner-link {    
    position: relative;
    cursor: pointer;
    font-size: 1.7rem;
}

.arrow-link:after {
    position: absolute;
    right: -2rem;
    content: "\f061";
    font-family: "FontAwesome";
    color: #1C51A1;    
    transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    -webkit-transition-duration: 0.2s;    
}

.inner-link:after {
    position: absolute;
    right: -2rem;
    content: "\f054";
    font-family: "FontAwesome";
    color: #eee;       
    transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    -webkit-transition-duration: 0.2s; 
}

.arrow-link:hover:after {    
    right: -2.4rem;
}

.inner-link:hover:after {    
    right: -2.4rem;
}

.pearl .arrow-link {
    left: -2rem;
}

.cde-text-left-image-right.pearl .left .inner {
    padding-left: 8rem; 
    text-align: right;
}

@media ( max-width: 720px ) {

    .cde-text-left-image-right.pearl .left .inner {
        padding-left: 0; 
        text-align: center;
    }

}

.baseline h4 {
    font-family:'Palatino nova W01 Bold';
    font-size: 1.8rem;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
}

.triple-header {
    position: relative;
    padding-top: 4rem;
}

.triple-header:before {
    content: "";
    position: absolute;
    background-image: url('triple-header.svg');
    width: 100%;
    height: 1.1rem;
    background-position: top center;
    background-size: 26.8rem;
    background-repeat: no-repeat;
    top: 0;
}

.cde-services .services {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 3rem;
    grid-row-gap: 3rem;
    grid-auto-rows: 1fr;
}

@media ( max-width: 960px ) {

    .cde-services .services {     
        grid-template-columns: 1fr 1fr;
    }

}

@media ( max-width: 720px ) {

    .cde-services .services {     
        grid-template-columns: 1fr;
    }

}

/* IE11 specific rules */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {

    .cde-services .services {
        width: 100%;
        margin: 0;
    }

    .cde-services .services li {
        float: left;
        width: calc(32% - 2rem) ;
        margin-right: 2rem;
        margin-bottom: 2rem;
        min-height: 320px;
    }

    .cde-services .services li:nth-child(3n) {
        margin-right: 0;
    }

}

.services .service {
    background-color: #1C51A1;
    border: 0.6rem solid #8DA8CF;
    overflow: hidden;
}

.services .img {
    transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    -webkit-transition-duration: 0.5s;
    position: relative;
    height: 16rem;        
    background-size: 100%;
    background-position: center;
}

.services .img.hover-zoomin:hover {
    background-size: 110%;
}
  

.services .img:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
}

.services a,
.services a:hover {
    text-decoration: none;
}

.services h2 {
    font-family:'PalatinonovaW01-Regular';
    color: #fff;    
    font-size: 2.5rem;
    position: absolute;
    bottom: 2rem;
    left: 2rem;
}

.services .service .service-details {
    padding: 2rem;
    color: #fff;
}

.services .service .service-details p {
    margin-bottom: 0.6rem;
    line-height: 1.2;
}

.services .service .service-details a {
    color: #fff;
}

.services .service .service-details a:hover {
    text-decoration: underline;
}

form,
.form-box { 
    background-color: #E2E2E2;
    border: 0.6rem solid #EEEEEE;
    padding: 4rem 5rem;
}

.form-box form {
    background-color: transparent;
    border: 0;    
    padding: 0;
}

.form-box {
    margin-top: 4rem;
    width: 86%;
    margin-left: 7%;
    box-sizing: border-box;
}

.form-box .label {
    text-align: center;
}

.form-box form {
    display: flex;
    align-items: center;
}

.form-box .gform_wrapper .gform_footer input.button {
    font-size: 1.4rem;
    padding-right: 3rem;
    position: relative;
}


@media ( max-width: 720px) {

    .form-box form {
        display: block;
    }

}

body .form-box .gform_wrapper ul li.gfield {
    margin-top: 0;
    margin-bottom: 0.3rem;
}

.form-box .gform_footer.top_label {
    flex-basis: 13rem;
}

h4 + .gform_wrapper {
    margin-top: 4rem;
    padding-left: 6rem;
    padding-right: 6rem;
    width: calc( 100% - 12rem );
    margin-lefT: 0;
}

#shared-email-signup h4 + .gform_wrapper {    
    padding-left: 0;
    padding-right: 0;
    width: 100%;    
}

@media ( max-width: 720px ) {

    h4 + .gform_wrapper {
        padding-left: 2rem;
        padding-right: 2rem;
        width: calc( 100% - 4rem );
    }

    #shared-email-signup h4 + .gform_wrapper {    
        padding-left: 0;
        padding-right: 0;
        width: 100%;    
    }

    .baseline .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
        line-height: 1.2;
    }

}

.subscribe form p.label,
.gform_heading {
    text-align: center;
    font-size: 1.7rem;
    margin-bottom: 3rem;
}

.subscribe form .controls {
    display: flex;
    justify-content: space-between;
}

.baseline form .button, 
.baseline form button {
    background-color: #605F60;
    margin-bottom: 0;
}

.baseline form .button:hover, 
.baseline form button:hover {
    background-color: #000000;
    color: #fff;  
}

.baseline form .button .fa, 
.baseline form button .fa {
    color: rgba(255, 255, 255, 0.7);
}

.baseline form input {
    flex-grow: 1;
    margin-right: 5rem;
    height: 3.7rem;
}

.flex-elm.pad-top {
    padding-top: 3rem;
}

.baseline input[type="email"], 
.baseline input[type="number"], 
.baseline input[type="search"],
.baseline input[type="text"],
.baseline input[type="tel"],
.baseline input[type="url"],
.baseline input[type="password"],
.baseline textarea, 
.baseline select {
    border-radius: 0;
}

@media ( max-width: 720px ) {

    form { 
        padding: 1rem 2rem;
    }

    .subscribe form .controls {
        display: block;
        text-align: center;
    }

    .baseline form input {
        width: 100%;
        margin-bottom: 1.5rem;
    }

}

.mobile-nav #menu-choices li.separator {
    display: none;
}

.baseline .cde-wide-text .inner,
.baseline .cde-two-cols .inner,
.baseline .cde-track-record .inner {
    padding-left: 6rem;
    padding-right: 6rem;
}

.baseline .cde-two-cols.has-bgcolor {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media ( max-width: 720px ) {

    .baseline .cde-wide-text .inner,
    .baseline .cde-two-cols .inner,
    .baseline .cde-track-record .inner {
        padding-left: 2rem;
        padding-right: 2rem;
    }   

    .baseline .cde-two-cols.has-bgcolor {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

}

.flex-elm.quality-promise ul {
    margin-top: 3rem;
    list-style: none;
    margin-left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 3rem;
    grid-row-gap: 3rem;
}

.flex-elm.quality-promise li {
    background-color:#1C51A1;
    color: #fff;
    padding: 2rem 3rem;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

@media ( max-width: 720px ) {

    .flex-elm.quality-promise ul {
        grid-template-columns: 1fr;
    }

}

.service-block h2 {
    margin-bottom: 2rem;    
    display: inline-block;
}

.service-block h2:before {
    content: "";
    display: inline-block;
    width: 100%;
    height: 1.1rem;
    /* background-image: url('triple-stripe.svg'); */
    background-color: #1C51A1;
    background-repeat: repeat-x;
    margin-bottom: 1rem;
}

.team-list .cde-box-menu .box-menu-item {
    background-color: #1C51A1;
    border: 0.6rem solid #8DA8CF;
    box-sizing: border-box;
}

.team-list .cde-box-menu .box-menu-item h2 {
    color: #fff;
    padding: 2rem 2rem 0.5rem 2rem;
    margin-bottom: 0;
    white-space: unset;
}

.team-list .cde-box-menu .box-menu-item .img {
    margin-bottom: 0;
    height: 14vw;
}


.team-list .cde-box-menu .box-menu-item p {
    color: #ddd;
    padding: 0 2rem 2rem 2rem;
    margin-bottom: 0;
    margin-top: 0;
    text-transform: uppercase;
    font-size: 1.4rem;
    background-color: #1C51A1;
    line-height: 1.2;
}

.team-list .cde-box-menu {
    grid-column-gap: 3rem;
    grid-row-gap: 3rem;
    grid-auto-rows: 1;
}


@media ( max-width: 960px ) {

    .team-list .cde-box-menu .box-menu-item .img {
        height: 29vw;
    }

}

@media ( max-width: 720px ) {
    
    .team-list .cde-box-menu .box-menu-item h2 {
        font-size: 1.9rem;
    }

    .team-list .cde-box-menu .box-menu-item p {
        font-size: 1.2rem;        
    }

}

.baseline .cde-wide-text.team-list .inner {
    padding-left: 0;
    padding-right: 0;
}

.baseline .modal-wrapper.styled .modal .close-modal {
    top: 0;
}

@media ( max-width: 720px ) {

    .baseline .items-per-row-4 {
        grid-column-gap: 1rem;
        grid-row-gap: 1rem;
    }

}

.single-team .meta-below {
    display: none;
}

.baseline.single-team .hero .image {
    height: 100%;
} 

.baseline.single-team .hero {
    height: 35vw;
    min-height: 40rem;
    max-width: 62rem;
}

.baseline.single-team .hero:before {
    background-image: none;
}

.baseline.single-team .pre-hero {
    margin-top: 3rem;
}

@media ( min-width: 960px ) {

    .single-team .entry-content {        
        margin-right: 5%;
    }

}

.single-team .position {
    text-transform: uppercase;
    color: #1C51A1;
    margin-bottom: 2rem;
}

.single-team h1 {
    margin-bottom: 0.5rem;
    display: inline-block;
    border-top: 1rem solid #1C51A1;
    padding-top: 0.5rem;
    margin-top: 1.5rem;
}

.grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 5rem;
}

@media ( max-width: 720px ) {

    .grid-two {
        grid-template-columns: 1fr;
    }

}

.flex-elm.full-header {
    margin-bottom: 1rem;
    background-size: 20%;
    background-position: right -10%;
    background-repeat: no-repeat;
}

.flex-elm.full-header h1 {
    margin-bottom: 0;
    color: #1C51A1;
}

.map-link {
    margin-top: 1rem;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.17rem;
}

.map-link .fa {
    font-size: 1.9rem;
}

.baseline .pum-theme-142 .pum-title, .pum-theme-default-theme .pum-title {
    font-family:'PalatinonovaW01-Regular';
}

a.popup-link {
    display: inline-block;
    padding-bottom: 0.2rem;
    border-bottom: 0.2rem solid #1C51A1;
}

a.popup-link:hover {
    text-decoration: none;
    border-bottom-color: #000000;
}

/* Desktop header used on mobile as well */

.mobile-menu-button {
    display: block;
    float: left;
    margin-right: 3rem;
    padding-top: 0.7rem;
    position: relative;
    z-index: 9;
}

.burger .bar {
    height: 0.3rem;
    width: 3rem;
    background-color: #ccc;    
    margin-bottom: 0.6rem;
}

@media ( max-width: 720px ) {

    .burger .bar {
        width: 2.5rem;
        height: 0.2rem;
        margin-bottom: 0.5rem;
    }

}



.mobile-menu-button:hover .burger .bar {
    background-color: #1C51A1;    
}

#menu-close .fa {
    color: #fff;
}

.baseline .mobile-nav {
    display: block;
}

.baseline .header-wrap {
    height: auto;
}

/* Sticky header */
.baseline .header-wrap {
    position: fixed;
    z-index: 9;
    width: 100%;
    height: 8.3rem;
}

.baseline .main .content {
    padding-bottom: 8.8rem;
}

.baseline.single-team .main .content {
    padding-top: 12.8rem;   
    padding-bottom: 0;
}

@media ( max-width: 720px ) {

    .baseline .header-wrap {     
        height: 6rem;
    }

    .baseline .main .content {
        padding-bottom: 6.5rem;
    }

    .baseline.single-team .main .content {
        padding-top: 8.5rem;           
    }

}

/* End of sticky header */

.baseline .header-wrap .mobile-nav {
    display: none;
}

.baseline header {
    display: block;
}

#menu-choices-side.expandable li.separator.menu-item {
    display: none;
}

.baseline #menu-choices ul.menu > li.menu-item-has-children > .menu-toggle-label {
    background-color: #fff;
}

.baseline header .logo img {
    margin-left: 0;
}

.baseline header .logo {
    float: left;
    padding-top: 0.3rem;
}

@media ( max-width: 720px ) {

    .mobile-menu-button {
        padding-top: 0.5rem;
    }

    header .logotitle.row {
        padding: 1rem 0;
    }

}

/* End of desktop menu on mobile */

.widget-area.footer-bottom {
    margin-top: 6rem;
}

footer .footer-50-left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 3rem;
}

/* IE11 specific rules */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {

    footer ul.widget-area.footer-50-left li.widget {
        display: block;
        float: left;
        width: 45%;
        margin-right: 0;
    }

    .baseline .gform_wrapper.gf_browser_ie .gform_footer input.button {
        padding: 11px 22px;
        font-size: 14px;
    }

}

@media ( max-width: 1100px ) {

    footer .footer-50-left {
        grid-template-columns: 1fr;
    }

}

h4.co {
    font-family:'ITC Franklin Gothic LT W01 Boo';
    font-size: 1.5rem;
}

.co-address h5 {
    margin-top: 0.8rem;    
    font-family:'ITC Franklin Gothic LT W01 Md';
    margin-bottom: 0;
}

.co-address h6 {
    margin-top: 0.8rem;
    margin-bottom: 0.3rem;
    font-size: 1.6rem;
}

@media ( max-width: 800px ) { 

    h4.co {
        margin-top: 2rem;
    }

    .co-address {
        margin-bottom: 4rem;
        
    }


}

#contact-phone {
    font-size: 1.9rem;
}

.single-team .contact-card {
    display: grid;
    grid-template-columns: 0.3fr 0.7fr;
    grid-column-gap: 6rem;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {

    .single-team .contact-card .left {
        float: left;
        width: 30%;
        margin-right: 10%;
    }

    .single-team .contact-card .right {
        float: left;
        width: 60%;
    }

}

.single-team .contact-card .left {
    padding-top: 1.5rem;
    text-align: right;
}

@media ( max-width: 720px ) {

    .single-team .contact-card {
        grid-template-columns: 1fr;
    }

    .single-team .contact-card .left {
        text-align: left;
    }

}

.baseline form hr {
    border-top-color: #fff;
}

.footer-50-right li.divider a {
    color: #ccc;
    min-width: 6rem;
    text-align: center;
    display: inline-block;
}

@media ( max-width: 1540px ) {

    .footer-50-right li.divider a {
        min-width: 4rem;
    }

}

@media ( max-width: 1400px ) {

    .footer-50-right li.divider a {
        min-width: 1rem;
    }

}

@media ( max-width: 1400px ) {

    footer .widget-area.footer-50-right li.tel:after {
        margin-right: 0;
    }

}

@media ( max-width: 720px ) {

    footer .widget-area.footer-50-right .menu li {
        display: block;
        margin-bottom: 0.5rem;
    }

    footer .widget-area.footer-50-right .menu li.divider a {
        color: transparent;
    }

}

.widget .text-block h2 {
    margin-top: 2.5rem;
}

.widget .text-block h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

h4.chart-title {
    font-family:'ITC Franklin Gothic LT W01 Md';
    text-transform: none;
    letter-spacing: 0;
}

.charts .small-text {
    margin-top: -2.5rem;
}

.team-image {
    margin-bottom: 2rem;
}

@media ( max-width: 720px ) {

    .team-image {
        margin-bottom: 1rem;
    }

}

.cde-track-record.service-block h2 {
    margin-bottom: 3rem;
}

.cde-track-record .cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 3rem;
    grid-row-gap: 3rem;
}

.cde-track-record h3 {
    font-size: 1.8rem;
    margin-bottom: auto;
    font-family:'ITC Franklin Gothic LT W01 Md';        
}

.cde-track-record h3 em {
    font-style: normal;
    display: block;
    margin-top: 0.5rem;
    font-size: 1.6rem;
    font-family:'ITC Franklin Gothic LT W01 Boo';
}

@media ( max-width: 720px ) {

    .cde-track-record h3 {
        font-size: 1.5rem;        
    }

    .cde-track-record h3 em {
        font-size: 1.3rem;                
    }

}


.cde-track-record .cols div {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.cde-track-record img.alignnone {
    margin-top: 1rem;
    margin-bottom: -1rem;
}

.cde-track-record .cols p {
    margin-bottom: 0.7rem;
}

@media ( max-width: 1000px ) {

    .cde-track-record .cols {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

}

/* IE11 only rules */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {

    .cde-track-record .cols div {
        float: left;
        width: 24%;
        margin-right: 1%;
    }

}


header .second .widget-area {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

header .second .widget-area li {
    margin-left: 2rem;
    width: auto;
    margin-bottom: 0;
}

header .second .widget-area > li:first-child {
    margin-right: 1rem;
}

header .second .widget-area ul.langs {
    display: flex;
    list-style: none;
    margin-left: 0;    
    width: 100%;
    border-right: 0.1rem solid #ccc;
    padding-right: 3rem;
    border-left: 0.1rem solid #ccc;
    padding-left: 1rem;
}

header .second .widget-area ul.langs li {
    margin-bottom: 0;    
}

header .second .widget-area ul.langs li a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1.6rem;
    font-family:'ITC Franklin Gothic LT W01 Boo';
    letter-spacing: 0.1rem;
    font-weight: normal;
}

header .second .widget-area ul.langs li.selected-lang a {
    font-family:'ITC Franklin Gothic LT W01 Md';
}

/* Disclaimer popup */
.button.accept {
    background-color: #157827;
}

.button-bar {
    display: flex;
    justify-content: space-between;
}

#popmake-371 button,
#popmake-513 button {
    display: none;
}

#popmake-371 .pum-title,
#popmake-513 .pum-title,
h1.popup-title {
    text-align: center;
    font-size: 3.2rem;
}

.disclaimer-wrap {
    overflow-y: scroll;
    max-height: 50vh;
    border-style: inset;
    border-width: 0.1rem;
    margin-bottom: 2rem;
    padding: 2rem;
}

.service-block:before {
    display: block; 
    content: " "; 
    margin-top: -13rem; 
    height: 13rem; 
    visibility: hidden; 
    pointer-events: none;
}


@media ( max-width: 736px) and ( orientation: landscape ) {

    .hide-mobile-landscape {
        display: none !important;
    }   

}

.after-mobile-menu {
    margin-top: 2rem;
    float: left;
    width: 100%;
}

.after-mobile-menu .widget li {
    border: 0.1rem solid #777;
}

.after-mobile-menu .widget a {
    padding: 0.7rem 1.2rem;
    display: block;
    color: #fff;
}

@media ( min-width: 720px ) {

    .after-mobile-menu {
        display: none;
    }

}

@media (max-width: 720px) {

    .baseline header .second {
        display: block;
        margin-top: 0.3rem;
    }

    .baseline header .second #nav_menu-4,
    .baseline header .second #nav_menu-3 {
        display: none;
    }

    header .second .widget-area ul.langs {
        padding-right: 2rem;
        border-right: none;
    }

}