/*
 Theme Name:   Enfold
 Template:     enfold
 Version:      1.1.0
 Text Domain:  enfold-child
*/

/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS */

@font-face{font-family:"Avenir";src:url("/wp-content/themes/enfold-child/fonts/AvenirLTStd-Light.otf") format("opentype");font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:"Avenir";src:url("/wp-content/themes/enfold-child/fonts/AvenirLTStd-Roman.otf") format("opentype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Avenir";src:url("/wp-content/themes/enfold-child/fonts/AvenirLTStd-Book.otf") format("opentype");font-weight:500;font-style:normal;font-display:swap}
body{font-family:"Avenir",Helvetica,Arial,sans-serif}

h1,h2,h3,h4,h5,h6{
    font-family:"Avenir",Helvetica,Arial,sans-serif;
    font-weight:400;
}

.html_header_sticky #header,
.html_header_sticky #header_main,
.html_header_sticky .header_bg{
    opacity:1!important;
}

/* Home layout */
.home .content,
.home .sidebar {
    padding: 0;
}

.home .av_one_third {
    -webkit-background-size: cover;
    background-size: cover;
}

.home #header {
    position: absolute;
}

.html_header_top.html_header_sticky #top.home #wrap_all #main {
    padding-top: 0;
}

.home .container_wrap {
    border-top: none;
}

.home #av_section_1 {
    padding: 20px 0;
}

/* Header + navigation */
#top.home #header_main > .container .av-main-nav li > a {
    color: #662d89;
}

#top.home #header_main > .container .av-main-nav ul:first-child > li > a {
    color: #662d89;
}

.av-main-nav > li > ul {
    border: none;
}

.av-main-nav > li > ul li:hover a {
    background: #662d89 !important;
    color: #d2b5e8 !important;
    display: none;
}

.avia-menu-fx {
    display: none;
}

/* Logo */
div .logo {
    padding: 25px;
}

/* Mega menu */
#top #header .avia_mega_div > .sub-menu > li {
    padding: 0;
    top: 2px;
    float: left;
}

#top #header .avia_mega_div > .sub-menu {
    border: none;
    padding: 0;
}

#top #header .avia_mega_div > .sub-menu a {
    font-size: 14px;
    font-weight: 300;
    padding: 15px 20px;
    font-size: 13px;
}

/* Typography */
body {
    font-weight: 300;
    font-size: 14px;
}

.av-main-nav > li > a {
    font-weight: 400;
}

.template-page .entry-content-wrapper h1,
.template-page .entry-content-wrapper h2 {
    text-transform: none;
    font-weight: 100;
    line-height: 1.1em;
    margin-top: 12px;
    margin-bottom: 12px;
    font-size: 58px;
}

#top #wrap_all .header_color h3,
#top #wrap_all .main_color h3,
#top #wrap_all .alternate_color h3,
#top #wrap_all .footer_color h3,
#top #wrap_all .socket_color h3 {
    font-weight: 100;
}

#top #wrap_all .header_color h3,
#top #wrap_all .main_color h3,
#top #wrap_all .alternate_color h3,
#top #wrap_all .footer_color h3,
#top #wrap_all .socket_color h3,
h1 {
    font-weight: 300 !important;
}

.avia_textblock h3 span {
    font-weight: 300 !important;
    font-size: 28px;
}

.avia_textblock h2 {
    font-weight: 300 !important;
}

.avia_textblock h2.big_title {
    font-weight: 100 !important;
}

p + h1,
p + h2,
p + h3,
p + h4,
p + h5,
p + h6 {
    margin-top: 1.5em !important;
}

.big_title {
    font-size: 58px !important;
    line-height: 1.1em !important;
    margin-top: 12px !important;
    margin-bottom: 12px !important;
    font-weight: 100 !important;
}

.ls-slide h3 {
    font-weight: 100;
}

.slide-entry-title.entry-title {
    color: #662d89;
}

/* Buttons */
a.avia-button {
    text-decoration: none !important;
    border-radius: 50px !important;
}

/* Text blocks */
.avia_textblock h4 {
    font-weight: 300;
    color: #662d89;
    font-size: 20px;
    margin-bottom: 5px;
}

.avia-builder-el-10 h5 {
    font-weight: 300;
    color: #000;
    line-height: 2;
}

.avia-builder-el-10 .avia-size-big {
    font-size: 14px;
}

.avia-builder-el-10 .avia-button.avia-size-small {
    font-size: 11px;
    margin: 0;
    padding: 5px;
}

sup {
    font-size: 18px;
}

/* Effects */
.avia-shadow {
    box-shadow: inset 0 1px 30px rgba(0, 0, 0, 0.2);
}

::-moz-selection {
    background-color: #662d89;
    color: #fff;
}

::selection {
    background-color: #662d89;
    color: #fff;
}

/* Forms (alternate color) */
.alternate_color .input-text,
#top .alternate_color input[type="text"],
#top .alternate_color input[type="input"],
#top .alternate_color input[type="password"],
#top .alternate_color input[type="email"],
#top .alternate_color input[type="number"],
#top .alternate_color input[type="url"],
#top .alternate_color input[type="tel"],
#top .alternate_color input[type="search"],
#top .alternate_color textarea,
#top .alternate_color select {
    border-color: #e1e1e1;
    background-color: #fcfcfc;
    color: #919191;
}

.alternate_color input[type="submit"],
.alternate_color .button,
.alternate_color .button:hover {
    background-color: #662d89;
    color: #ffffff;
    border-color: #440b67;
}

/* Header layout tweaks */
#header .six.units {
    width: 200px !important;
    LEFT: 0;
}

#header_main {
    border-bottom-width: 0px;
}

/* Home menu buttons */
#menu-item-210 .avia-menu-text {
    background-color: #662d89;
    color: #fff !important;
    border-color: #662d89;
    border-radius: 4px;
    padding: 8px 12px;
}

#menu-item-1619 .avia-menu-text {
    background-color: #803361;
    color: #fff !important;
    border-color: #803361;
    border-radius: 4px;
    padding: 8px 12px;
}

/* Mobile menu */
.avia_transform3d .show_mobile_menu #mobile-advanced {
    background-color: rgba(102, 45, 137, 0.94);
}

#mobile-advanced li > a:hover,
.html_header_mobile_behavior #mobile-advanced span:hover,
.html_header_mobile_behavior #mobile-advanced span:hover a {
    background-color: #4F216B;
    color: #fff;
}

/* Slider */
#top .avia-content-slider .avia-slideshow-arrows a {
    top: 50%;
}

.avia-content-slider .slide-image img {
    width: 100%;
}

.avia-content-slider .slide-image,
.avia-content-slider .slide-image,
.avia-content-slider .slide-image img {
    border-radius: 0px !important;
}

.slide-content h3 {
    font-size: 1.3em !important;
}

#top .av-control-minimal .avia-slideshow-arrows a:before {
    display: none;
}

/* Slider caption (specific selectors) */
#fullscreen_slider_0 > div > ul > li.slide-1.active-slide > div > div > div > div > div > div > div > p,
#fullscreen_slider_0 > div > ul > li.slide-1.active-slide > div > div > div > div > div > div > h2 {
    background-color: transparent !important;
    color: #6e0072 !important;
}

#fullscreen_slider_0 > div > ul > li.slide-1.active-slide > div > div > div > div > div > div > div > p {
    font-size: 20px;
    line-height: 20px;
}

.avia-caption-content p {
    font-size: 20px;
    line-height: 20px;
}

#fullscreen_slider_0 > div > ul > li.slide-1.active-slide > div > div > div > div > div > div > div > p:nth-child(2) > strong {
    color: #6e0072 !important;
}

.avia_transform .av_slideshow_full .active-slide .avia-caption-title,
.avia_transform .av_fullscreen .active-slide .avia-caption-title,
.avia_transform .av_slideshow_full .active-slide .avia-caption-content,
.avia_transform .av_fullscreen .active-slide .avia-caption-content {
    visibility: visible;
    -webkit-animation: none !important;
    -moz-animation: none !important;
    animation: none !important;
}

/* WMLE */
.wmle_post_title a {
    color: #662d89 !important;
}

.wmle_container .wmle_item .wmle_post_title .commentLink {
    display: none;
}

/* Contact Form 7 */
.wpcf7 .wpcf7-form-control {
    margin-bottom: 0px !important;
    margin-top: 5px !important;
    background: rgba(255, 255, 255, 0.4) !important;
    color: #662d89 !important;
    font-weight: 400;
}

.wpcf7-form label {
    color: #662d89;
    font-weight: 400 !important;
}

/* Lists */
.slider-list {
    margin-top: 15px;
    list-style: circle;
}

.slider-list li {
    font-size: 20px;
    margin-left: 10px;
}

/* Columns */
div .av_one_fifth {
    margin-left: 3%;
    width: 17.6%;
}

body .column-top-margin {
    margin-top: 0px;
}

/* Overlays */
.image-overlay-inside,
.image-overlay.overlay-type-extern {
    display: none;
}

/* Scroll top */
#scroll-top-link {
    color: #fff;
    border: none !important;
    background-color: #662d89;
    border-radius: 0px;
}

#scroll-top-link:hover {
    background-color: #d2b5e8;
    border: none !important;
}

/* Blog */
.blog-categories {
    display: none !important;
}

/* Menu button */
#top .av-menu-button > a .avia-menu-text {
    border: none;
    border-radius: 4px;
    background: #f2f0f0;
    font-weight: bold;
}

/* Responsive */
@media only screen and (max-width: 1024px) {
    nav.main_menu {
        display: none;
    }
}

@media only screen and (max-width: 989px) {
    /* Add your Mobile Styles here */
    .avia-fullscreen-slider .avia-slideshow > ul > li {
        background-position: center !important;
    }
}

@media only screen and (max-width: 767px) {
    .avia_desktop .avia-content-slider .avia-slideshow-arrows a {
        display: none !important;
    }
}

@media only screen and (max-width: 989px) {
    .avia-fullscreen-slider .avia-slideshow > ul > li {
        background-position: center !important;
        max-width: 100% !important;
    }

    .avia-fullscreen-slider .avia-slideshow[data-image_attachment="fixed"] > ul > li {
        background-attachment: scroll;
    }

    .avia-slideshow-arrows {
        display: none;
    }
}