/*
 Theme Name: Woostify Blocks
 Theme URI: https://woostify.com/
 Description: Woostify WordPress theme example child theme.
 Author: Woostify
 Author URI: https://woostifyblocks.com/
 Template: woostify
 Version: 1.0.0
*/

.sidebar-menu-open body #view {
    transform: none;
}

.site-header .site-header-inner .woostify-container {
    min-height: 82px;
}

.site-content {
    margin: 0;
}

figure.aligncenter {
    margin: 0;
}

figure.image-banner {
    margin-top: -82px;
}

header .site-header-inner {
    border-bottom: none;
}

.main-navigation .primary-navigation .menu-item a {
    position: relative;
}

@media (min-width: 992px) {
    .main-navigation .primary-navigation .menu-item:not(.download-button) a {
        padding: 32px 0;
    }
}

.main-navigation .primary-navigation .menu-item:not(.download-button) a:after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    height: 2px;
    width: 0;
    transition: width .5s;
    background-color: currentColor;
}

.main-navigation .primary-navigation .menu-item:not(.download-button) a:hover:after {
    width: 100%;
}

.main-navigation .primary-navigation .menu-item.download-button a {
    background-image: linear-gradient(90deg, #1DC374 0%, #13ADCF 100%);
    border-radius: 4px;
    margin-right: 0;
    padding: 12px 20px;
}

.main-navigation .primary-navigation .menu-item.download-button a:hover {
    color: #FFF;
    background-image: linear-gradient(90deg, #6c1dc3 0%, #49cf13 100%);
}

.fluentform {
    width: 100%;
}

.fluentform .download-form .ff-el-group {
    margin-bottom: 15px;
}

.fluentform .download-form .ff-el-form-control {
    font-size: 14px;
    line-height: 17px;
    font-weight: 400;
    color: #95959D;
    border: none;
    background-color: #F2F2F2;
    border-radius: 4px;
    padding: 11px 16px;
}

.fluentform .download-form .ff-btn-submit {
    width: 100%;
    font-size: 14px;
    line-height: 17px;
    font-weight: 700;
    background-image: linear-gradient(90deg, #1DC474 0%, #13ADCF 100%);
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
}

.fluentform .download-form .ff-btn-submit:hover {
    opacity: 1;
    background-image: linear-gradient(90deg,rgb(108,29,195) 0%,rgb(73,207,19) 100%);
}

.fluentform .ff-message-success,
.fluentform .ff-errors-in-stack {
    font-size: 14px;
    line-height: 17px;
    font-weight: 400;
    margin: 10px 0;
}

.section-popup {
    position: fixed;
    height: 100%;
    width: 100%;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.8);
    z-index: 9999;
    /*-webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;*/
}

.section-popup .wcb-container__wrap.is_wcb_container_child {
    max-width:  500px;
    max-height: 430px;
    align-items: flex-start;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    position: relative;
}

.section-popup .wcb-container__wrap.is_wcb_container_child::-webkit-scrollbar {
    display: none;
}

.section-popup .wcb-container__wrap.is_wcb_container_child .icon-close {
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32px' height='32px'%3E%3Cpath d='M 7.21875 5.78125 L 5.78125 7.21875 L 14.5625 16 L 5.78125 24.78125 L 7.21875 26.21875 L 16 17.4375 L 24.78125 26.21875 L 26.21875 24.78125 L 17.4375 16 L 26.21875 7.21875 L 24.78125 5.78125 L 16 14.5625 Z'/%3E%3C/svg%3E");
    background-size:  contain;
    background-repeat: no-repeat;
    top: 15px;
    right: 15px;
    cursor: pointer;
}

.section-popup.hide {
    display: none !important;
}

.link-blue a {
    color: #13AECE;
}

@media (max-width: 1023px) {
    figure.image-banner {
        margin-top: 0;
    }
}

@media (max-width:  991px) {
    .main-navigation .primary-navigation .menu-item.download-button {
        display: inline-block;
        margin: 20px;
    }

    .main-navigation .primary-navigation .menu-item.download-button a {
        color: #FFF;
        padding: 0 20px;
    }

    .site-header .woostify-container .site-tools {
        display: none;
    }

    .site-header .woostify-container .site-branding {
        order: 1;
    }

    .site-header .woostify-container .wrap-toggle-sidebar-menu {
        order: 2;
    }

    .site-header .woostify-container .wrap-toggle-sidebar-menu .toggle-sidebar-menu-btn {
        float: right;
    }
}

@media (max-width: 767px) {
   .section-popup .wcb-container__wrap.is_wcb_container_child .icon-close {
        width: 25px;
        height: 25px;
   }
}
