/*
Theme Name: Theme
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme.
Version: 1.0
Author: 100and10%
Author URI: http://110percent.co.uk
Template: enfold
*/

/* No effect on image hover */
.avia_transform a:hover .image-overlay {
    background: transparent !important;
}

.avia_transform a .image-overlay {
    transition: none !important;
}

.image-overlay.overlay-type-extern .image-overlay-inside:before {
    display: none !important;
}

.image-overlay {
    display: none !important;
}

/*Add your own styles here:*/

.header_color .main_menu ul:first-child > li > a {
    letter-spacing: 0.5px;
    font-family: FuturaLTPro-Light, 'Open Sans';
}

body {
    font-family: FuturaLTPro-Book, 'Open Sans';
}

h1 {
    font-family: FuturaLTPro-Light, 'Open Sans';
    font-weight: normal;
}

h2 {
    font-family: FuturaLTPro-Light, 'Open Sans';
    font-weight: normal;
}

h3 {
    font-family: FuturaLTPro-Light, 'Open Sans';
    font-weight: normal;
    text-transform: uppercase;
}

h4 {
    font-family: FuturaLTPro-Light, 'Open Sans';
    font-weight: normal;
}

.template-page .entry-content-wrapper h2 {
    font-size: 1.9em !important;
}

/*Main nav dropdown menu*/
.sub-menu a {
    line-height: 22px !important;
    height: 100% !important;
}

#tp_widget_recent_tweets-2 .tp_recent_tweets li {
    padding-left: 30px;
    margin-bottom: -30px !important;
}

.widget_recent_entries ul li a {
    font-style: normal;
    font-family: inherit;
    font-size: 14px;
}

.widget_recent_entries li {
    border-top-width: 2px;
    border-top-style: dotted;
    border-top-color: #a0dbe3;
    padding: 15px 0px 15px 0px;
}

.widget_recent_entries {
    border-bottom: 2px dotted #a0dbe3 !important;
    padding: 5px 0px 5px 0px;
}

.av-magazine-title {
    font-size: 1.3em !important;
}

/*News stories*/
.avia-content-slider .slide-entry-title {
    text-transform: none !important;
}

.entry-content-wrapper .post-title {
    font-size: 3em !important;
}

/*Right side menu*/
.widget_nav_menu ul li {
    border-bottom: 2px dotted #a0dbe3;
    padding: 0px;
}

.widget_nav_menu ul ul li {
    border-bottom: 0px;
    padding: 0px;
}

.sidebar .widget_nav_menu ul:first-child > .current-menu-item, .sidebar .widget_nav_menu ul:first-child > .current_page_item, .sidebar .widget_nav_menu ul:first-child > .current-menu-ancestor {
    background: transparent;
    box-shadow: none;
    padding-bottom: 2px;
}

/* Move tweet list off the bird background */
#tp_widget_recent_tweets-4 .tp_recent_tweets li {
    padding-left: 30px;
}

.widgettitle {
    font-size: 19px !important;
    border-bottom: 2px dotted #a0dbe3 !important;
    padding: 0px 0px 10px 0px;
    color: #89bc29 !important;
}

/* Events page */
.av-upcoming-event-image {
    width: 120px !important;
}

/* No effect on image hover */
.avia_transform a:hover .image-overlay {
    background: transparent !important;
}

span.image-overlay {
    display: none !important;
}

.image-overlay.overlay-type-extern .image-overlay-inside:before {
    display: none !important;
}

.avia_transform a .image-overlay {
    transition: none !important;
}

.avia-form-success {
    color: #89bc29 !important;
    text-transform: none;
}

@media only screen and (max-width: 768px) {
    #top .av-large-testimonial-slider.avia-testimonial-wrapper .avia-testimonial {
        padding: 0 20px;
    }
}

/*Home Page*/

.optima-banner {
    min-height: 500px;
}

.optima-banner h1, .optima-banner h2, .optima-banner h3 {
    text-transform: none !important;
    color: white !important;
    font-weight: 900;
}

.optima-video .flex_column {
    overflow: hidden;
}

.optima-video .avia-video {
    margin-bottom: 0;
}

.optima-video h2 {
    text-transform: none !important;
    color: white !important;
    font-weight: 900;
}

.optima-features {
    padding-bottom: 40%;
    background-size: contain !important;
}

.optima-logos .slide-entry-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.optima-logos .avia-logo-element-container .slide-entry {
    padding: 0 1em !important;
}

.template-page .entry-content-wrapper .optima-contact h2 {
    text-transform: unset !important;
    color: #acddea !important;
    font-size: 40px !important;
    font-weight: 600;
}

.template-page .entry-content-wrapper .optima-contact p {
    font-size: 28px;
    line-height: 1.4em;
}

.optima-testimonials .avia-slideshow-arrows a {
    font-size: 60px !important;
    opacity: 1 !important;
    top: 50% !important;
    transform: translateY(-50%);
}

.optima-testimonials .avia-testimonial-subtitle {
    color: #acddea !important;
    font-size: 16px;
}

/* Pages */

.optima-grid .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0;
}

.optima-grid .container .content {
    padding: 0 !important;
}

.optima-grid .container .content h2 {
    color: white !important;
    text-transform: none;
    font-weight: 900;
}

.optima-grid .container .content h3 {
    color: white !important;
    text-transform: none;
    font-weight: 900;
}

.optima-grid .container .content a {
    text-decoration: underline;
}

.optima-grid .container .content p {
    color: white;
}

.optima-grid .container .av_one_half {
    width: 50%;
    margin: 0 !important;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 8vw;
}

.optima-grid-short .container .av_one_half {
    min-height: 240px;
}

.optima-grid .container .av_one_half img {
    margin-bottom: 1em;
}

.optima-links .container {
    max-width: 100%;
}

.optima-links h3 {
    text-transform: none;
    font-weight: 900;
}

.optima-links .avia-image-container-inner {
    width: 100%;
}

.optima-links .avia-image-container-inner img {
    width: 100%;
}

.optima-links .avia-button {
    width: 100%;
}


@media only screen and (min-width: 768px) {
    .optima-columns p {
        column-count: 2;
        column-gap: 50px;
        column-gap: 6%;
    }

    .optima-testimonials .avia-testimonial-meta {
        position: absolute;
        left: calc(50% - 40px);
        bottom: 0;
    }

    .optima-testimonials .avia-testimonial_inner {
        padding-bottom: 100px;
    }

    .optima-testimonials p {
        font-size: 24px;
        line-height: 1.4em;
        max-width: 780px;
        margin: 0 auto;
    }

    .optima-features {
        background-size: cover !important;
    }

    .optima-feature-white h1, .optima-feature-white h2, .optima-feature-white h3{
        color: #07456A !important;
        text-transform: none !important;;
        font-weight: 900;
    }
}

@media only screen and (min-width: 1200px) {
    #top .social_bookmarks li a {
        font-size: 18px;
    }

    #top #header_main > .container {
        height: 90px !important;
        line-height: 90px !important;
    }

    #top #header_main > .container .main_menu .av-main-nav > li > a {
        height: 90px !important;
        line-height: 90px !important;
    }

    .logo img {
        height: 100%;
    }
    #top #header .av-main-nav > li > a {
        font-size: 18px;
    }
    .html_header_top.html_header_sticky #top #wrap_all #main {
        padding-top: 90px !important;
    }
}

@media only screen and (max-width: 768px) {
    .optima-feature-white {
        position: relative;
    }

    .optima-feature-white::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.8);
    }
}
