/*
Theme Name: BDMU
Theme URI: https://wordpress.org/themes/
Author: Profichi
Author URI: https://profichi.com.ua
Description: BDMU
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@font-face {
    font-family: KobzarKS;
    src: url(assets/fonts/kobzarKS/KobzarKS_v1-020.otf);
}

/* base style */
html {
    font-size: 16px;
}

body {
    background: url('assets/img/major-bg.jpg') left top repeat;
    background-size: contain;
    font-family: 'Georgia', sans-serif;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

h1 {
    font-size: 2.4375rem;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.1875rem;
}

h4 {
    font-size: 1.1rem;
}

h5 {
    font-size: 0.65rem;
}

p {
    font-size: 14px;
    line-height: 18px;
}

a {
    text-decoration: none;
    color: #3b579d;
}

/* base style end */

/* header */
.open-menu {
    display: none;
    align-items: center;
    justify-content: space-between;
    box-shadow: 1.5px 2.6px 8.3px 1.7px rgba(0, 0, 0, 0.75);
    border-radius: 5px;
    background-color: rgba(205, 205, 205, 0.75);
    padding: 5px;
    z-index: 10;
    font-size: 18px;
    color: #464646;
    font-weight: 700;
    cursor: pointer;
}

.close-menu {
    display: none;
    cursor: pointer;
}

.scroll {
    position: fixed;
    right: 15px;
    bottom: 15px;
    display: none;
    align-items: center;
    justify-content: space-between;
    box-shadow: 1.5px 2.6px 8.3px 1.7px rgba(0, 0, 0, 0.75);
    border-radius: 5px;
    background-color: rgba(205, 205, 205, 0.75);
    padding: 5px;
    z-index: 10;
    font-size: 18px;
    color: #464646;
    font-weight: 700;
}

.header {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    widows: 100%;
}

.entry-header {
    margin-top: 16px;
}

.top-header-section {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    background-size: cover;
    padding: 15px 30px;
}

.first-header-column {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    flex: 0 0 81%;
}

.second-header-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 19%;
    padding: 0 0 0 10px;
}

.top-header {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    background-color: rgba(79, 93, 130, 0.85);;
    background-image: linear-gradient(180deg, rgba(176, 221, 228, 0.36) 0%, transparent 100%);
    border-radius: 10px;
    box-shadow: 3px 5.2px 11.2px 1.8px rgba(0, 0, 0, 0.74);
    padding: 20px;
    margin: 0 0 10px 0;
}

.header-name {
    font-weight: 400;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.57);
    color: white;
}

.header-title {
    color: #040a1d;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.57);
    font-weight: 400;
}

.header-tagline {
    font-family: KobzarKS;
    text-shadow: 0.5px 0.9px 1px rgba(0, 0, 0, 0.75);
    color: white;
    font-size: 30px;
    font-weight: 400;
}

.top-header-column:last-of-type {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    flex: 0 0 170px;
}

.social-icon a {
    display: -webkit-inline-flex;
    display: -moz-inline-flex;
    display: -ms-inline-flex;
    display: -o-inline-flex;
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    -ms-align-items: center;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    font-size: 16px;
    color: #fff;
}

.social-icon a.lng-en{
    top: 12px;
    position: relative;
    margin-left: 10px;
}

.categories-list{
    margin: 30px 0 10px 12px;
}
.categories-list a{
    margin: 0 0 6px 0;
    display: block;
}

.vk-icon {
    background-color: #4c75a3;
    margin: 0 0.9375rem 0 0;
}

.fb-icon {
    background-color: #3b579d;
}

.lang li {
    list-style: none;
    display: inline-block;
}

.lang li.active a {
    color: #FFFFFF;
}

.lang ul {
    padding: 0;
    margin-bottom: 0px;
}

.lang li a {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #e5bf76;
    margin: 0 0 0 0.9375rem;
}

.lang-item {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #e5bf76;
    margin: 0 0 0 0.9375rem;
}

.lang-item_active {
    color: #fff;
}

.mini-logo {
    margin-bottom: 15px;
}

.site-logo {
    max-width: 161px;
    max-height: 173px;
}

.button-header-wrap {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    -ms-align-items: center;
    align-items: center;
}

.button-header {
    flex: 0 0 29%;
    display: -webkit-inline-flex;
    display: -moz-inline-flex;
    display: -ms-inline-flex;
    display: -o-inline-flex;
    display: inline-flex;
    -ms-align-items: center;
    align-items: center;
    justify-content: center;
    box-shadow: 3px 5.2px 11.2px 1.8px rgba(0, 0, 0, 0.74);
    border-radius: 9px;
    background-image: linear-gradient(180deg, rgba(176, 221, 228, 0.36) 0%, transparent 100%);
    background-color: #4f5d82;
    height: 2.1875rem;
    font-size: 1.1rem;
    font-weight: 400;
    color: #fff;
    text-shadow: 1px 1.7px 2px rgba(0, 0, 0, 0.75);
}

.button-header img {
    padding: 0 0 0 30px;
    max-width: 21px;
}

.header-search-form {
    position: relative;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    margin: 6px 0 0 0;
}

.search-field {
    width: 100%;
    border-radius: 11px;
    background-color: rgba(255, 255, 255, 0.85);
    height: 2.1875rem;
    box-shadow: none;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 0 15px 0 51px;
}

.form-search-button {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: transparent;
    border: none;
    outline: none;
}

.form-search-button img {
    max-width: 20px;
}

.top-menu {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.footer-menu {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

/* header end */

/* menu */
.menu {
    display: flex;
    justify-content: space-between;
    background-image: linear-gradient(180deg, rgba(176, 221, 228, 0.36) 0%, transparent 100%);
    background-color: #4f5d82;
    box-shadow: 3px 5.2px 11.2px 1.8px rgba(0, 0, 0, 0.74);
    padding: 0;
    border-radius: 10px;
}

.menu-section {
    padding: 0 30px 15px;
}

.menu-item {
    text-shadow: 1px 1.7px 2px rgba(0, 0, 0, 0.75);
    font-weight: 700;
    text-align: center;
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
    padding: 0 10px;
    font-size: 0.85rem;
    color: #464646;
    margin: 0;
    min-height: 50px;
    position: relative;
}

.menu-item:hover a{
    color: #4f5d82;
    text-shadow: 0 0 0;
    padding: 4px 10px;
    background: #cdcdcd;
    border-radius: 10px;
}

.menu-item a {
    color: #FFFFFF;
    padding: 10px;
}

ul ul.sub-menu {
    display: none;
    position: absolute;
    top: 49px;
    background-color: rgba(205, 205, 205, 0.87);
    border-radius: 7px;
    padding: 5px 0;
    z-index: 99;
}
ul ul.sub-menu .menu-item{
    text-align: left;
    min-height: 30px;
}
ul ul.sub-menu a{
    color: #464646 !important;
    text-shadow: 0 0 0;
}
ul ul.sub-menu a:hover{
    color: #3b579d !important;
}
ul ul.sub-menu li {
    float: none;
    width: 180px;
}
ul ul.sub-menu li a {
    padding: 5px 0;
}

ul li:hover > ul.sub-menu {
    display: block;
}
ul ul.sub-menu li ul {
    left: 200px;
    top: 10px;
}

.container {
    padding: 0 30px 15px;
}

/* menu end */

/* content */
.slider-first {
    margin: 0 -30px;
}

.slider-first-item {
    background-color: #fed4ae;
    border-radius: 10px;
    box-shadow: 2.5px 0.3px 16px rgba(0, 0, 0, 0.75);
    padding: 10px;
    min-height: 495px;
}

.slider-item-wrap {
    padding: 15px 39px;
}

.slick-arrow {
    position: absolute;
    top: 50%;
    margin-top: -60px;
    width: 60px;
    z-index: 1;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.4s;
}

.slick-arrow:hover {
    opacity: 1;
}

.prev-arrow {
    left: 15px;
}

.next-arrow {
    right: 15px;
}

.slider-item-title {
    color: #572205;
    text-shadow: 1px 1.7px 2px rgba(0, 0, 0, 0.75);
    font-weight: 700;
}

.alignnone {
margin: 5px 20px 20px 0;
}
.aligncenter, div.aligncenter {
display:block;
margin: 5px auto 5px auto;
}
.alignright {
float:right;
margin: 5px 0 20px 20px;
}
.alignleft {
float:left;
margin: 5px 20px 20px 0;
}
.aligncenter {
display: block;
margin: 5px auto 5px auto;
}
a img.alignright {
float:right;
margin: 5px 0 20px 20px;
}
a img.alignnone {
margin: 5px 20px 20px 0;
}
a img.alignleft {
float:left;
margin: 5px 20px 20px 0;
}
a img.aligncenter {
display: block;
margin-left: auto;
margin-right: auto
}
.wp-caption {
background: #fff;
border: 1px solid #f0f0f0;
max-width: 96%; /* Image does not overflow the content area */
padding: 5px 3px 10px;
text-align: center;
}
.wp-caption.alignnone {
margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
margin: 5px 0 20px 20px;
}
.wp-caption img {
border: 0 none;
height: auto;
margin:0;
max-width: 98.5%;
padding:0;
width: auto;
}
.wp-caption p.wp-caption-text {
font-size:11px;
line-height:17px;
margin:0;
padding:0 4px 5px;
}

.slider-item-subtitle {
    font-weight: 700;
    color: #464646;
    margin: 10px 0;
}

.slider-item-text {
    font-size: 14px;
    color: #464646;
    font-weight: 700;
}

.container-title {
    text-shadow: 1px 1.7px 2px rgba(0, 0, 0, 0.75);
    color: #3c4664;
    text-align: center;
    font-weight: 700;
    margin: 30px 0;
}

.container-img-wrap {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 40px 0;
}

.container-img-wrap img {
    padding: 10px;
}

.slider-second-item {
    text-align: center;
}

.slider-arrow-second {
    width: 30px;
    margin-top: -30px;
}

.slider-second-item-wrap {
    padding: 0 20px;
}

.slider-second {
    margin: 0 -20px;
}

.slider-second-text, .slider-second-text a {
    color: #464646;
    font-size: 14px;
    font-weight: 700;
}

.copy {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 200px;
}

.copy-text:last-of-type {
    display: inline-flex;
    align-items: center;
    -webkit-margin-before: 1.33em;
    -webkit-margin-after: 1.33em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: bold;
    color: #000;
}

.copy-text img {
    padding: 0 0 0 15px;
}

/* content */

/* page style */
.content-wrap {
    display: flex;
    padding: 15px 30px;
}

.pagination .screen-reader-text{
    font-size: 20px;
}

.sidebar {
    border-radius: 10px;
    box-shadow: 1px 1.7px 7px rgba(0, 0, 0, 0.75);
    background-color: #cdcdcd;
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.sidebar-post {
    border-bottom: 1px solid #969696;
    margin: 0 0 13px;
}

.sidebar-post-title {
    text-align: center;
    padding: 15px 0;
}

.breadcrumbs-item {
    position: relative;
    font-weight: 700;
    font-size: 16px;
    color: #464646;
    margin: 0 30px 0 0;
    text-decoration: underline;
}

.content-section {
    padding: 0 0 0 30px;
}

.breadcrumbs-item:after {
    position: absolute;
    content: '>';
    right: -23px;
    top: 0;
}

.breadcrumbs-item:last-of-type:after {
    display: none;
}

.content-item-row {
    display: flex;
    align-items: flex-start;
}

.content-paragraph {
    color: #464646;
    font-size: 16px;
    font-weight: 700;
}

.first-content-img {
    margin: 0 15px 15px 0;
}

.second-content-img {
    margin: 0 0 15px 15px;
}

.third-content-img {
    margin: 30px 0 0 0;
}

svg.icon-arrow-left, svg.icon-arrow-right{
    max-height: 10px;
    max-width: 20px;
}

/* page style end */

/* contact style */

.contact-title {
    color: #464646;
    font-weight: 700;
    text-align: center;
    margin: 30px 0;
}

.content-item-text {
    color: #464646;
    font-size: 16px;
    font-weight: 700;
}

.contact-item-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 30px 0;
}

.content-item-column,
.map {
    flex: 0 0 45%;
}

.contact-item-row-3 .content-item-column {
    flex: 0 0 30%;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

}

.input-wraps {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
}

.input-wraps label {
    display: inline-flex;
    flex-direction: column;
    margin: 0 0 15px 0;
}

.input-wraps label:last-of-type {
    margin: 0;
}

.cat-post-item{
    list-style: none;
}

label > span {
    display: block;
    margin: 0 0 10px 0;
    color: #464646;
    font-size: 16px;
    font-weight: 700;
}

input,
select {
    height: 40px;
    border: 1px solid #000;
    padding: 0 15px 0 15px;
    color: #464646;
    font-size: 16px;
}

textarea {
    border: 1px solid #000;
    padding: 15px 15px;
    color: #464646;
    font-size: 16px;
    height: 100%;
    resize: none;
}

.textarea-label {
    flex: 0 0 45%;
    display: inline-flex;
    flex-direction: column;
}

.req-field {
    color: #464646;
    font-size: 16px;
    font-weight: 700;
}

.bottom-form-row {
    flex: 0 0 100%;
    text-align: right;
    margin: 20px 0 0 0;
}

.bottom-form-row button {
    box-shadow: 3px 5.2px 11.2px 1.8px rgba(0, 0, 0, 0.74);
    border-radius: 10px;
    background-image: linear-gradient(180deg, rgba(176, 221, 228, 0.36) 0%, transparent 100%);
    background-color: #4f6582;
    font-weight: 700;
    text-shadow: 1px 1.7px 2px rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 18px;
    border: none;
    padding: 15px 20px;
    margin-left: 30%;
    cursor: pointer;
    letter-spacing: 1px;
}

#map {
    box-shadow: 1px 1.7px 37.3px 8.7px rgba(0, 0, 0, 0.75);
    border: 2px solid #969696;
    height: 201px;
    width: 100%;
}

/* contact style end */

.marq-item p{
    margin: 0;
}


h1.entry-title{
    font-size: 1.8rem;
    color: #3c4664;
    font-weight: 700;
}

.slick-track .category-posts-internal{
    margin: 10px 0;
    padding: 0;
}
.slick-track ul.category-posts-internal .cat-post-title{
    font-weight: 700;
    color: #3c4664;
    font-size: 1.1rem !important;
}
.slick-track .category-posts-internal p{
    font-size: 14px;
    color: #464646;
    font-weight: 700;
}

@media screen and (max-width: 1220px) {
    html {
        font-size: 12px;
    }
    .site-logo{
        max-height: 143px;
    }

    .social-icon a.lng-en{
        top: 8px;
    }
}
/* Mega Menu */

#mega-menu-wrap-top #mega-menu-top > li.mega-menu-item > a.mega-menu-link {
    line-height: 30px;
    text-shadow: 1px 1.7px 2px rgba(0, 0, 0, 0.75);
    font-size: 13.6px;
    
    line-height: 16px;
    border-radius: 10px;
    padding: 4px 10px;
    height: initial;
    border-radius: 10px;
    text-align: center;
}

#mega-menu-wrap-top #mega-menu-top li.mega-menu-flyout.mega-menu-item-has-children > a.mega-menu-link:after, #mega-menu-wrap-top #mega-menu-top li.mega-menu-flyout li.mega-menu-item-has-children > a.mega-menu-link:after, #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item-has-children > a.mega-menu-link:after{
   display: none;
}
#mega-menu-wrap-top #mega-menu-top {
    align-items: center;
margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}
#mega-menu-wrap-top #mega-menu-top > li.mega-menu-item {
    padding: 5px;
}
#mega-menu-wrap-top #mega-menu-top > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item ul.mega-sub-menu {
    left: 100.5%;
    top: 10px;
}
#mega-menu-wrap-top #mega-menu-top > li.mega-menu-item:hover > a.mega-menu-link {
    text-shadow:none;
    background: #cdcdcd;
    color: rgb(79, 93, 130);
border-radius: 10px;
    width: 100%;
}
#mega-menu-wrap-top {
    width: 100%;
}
#mega-menu-wrap-top #mega-menu-top[data-effect="fade_up"] li.mega-menu-item.mega-menu-megamenu > ul.mega-sub-menu, #mega-menu-wrap-top #mega-menu-top[data-effect="fade_up"] li.mega-menu-item.mega-menu-flyout ul.mega-sub-menu {
    border-radius: 10px;
    width: 200px;
    z-index: 99;
    top: 101%;
    padding: 10px 0;
}
#mega-menu-wrap-top #mega-menu-top > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item:first-child > a.mega-menu-link {
    font-weight: 700;
}
#mega-menu-wrap-top #mega-menu-top > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    font-weight: 700;
    line-height: 18px;
    padding-bottom: 8px;
}
#mega-menu-wrap-top #mega-menu-top > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item:hover a.mega-menu-link {
    font-weight: 700;
}
.menu-footer_menu-container{
    width: 100%;
}
@media (min-width: 1024px) and (max-width: 1196px) {
    #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item > a.mega-menu-link {
        font-size: 11.5px;
    }
    #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item {
        padding: 5px 0;
    }
    #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item:first-of-type {
        padding: 5px 0 5px 10px;
    }
    #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item:last-of-type {
        padding: 5px 10px 5px 0;
    }
    .menu-item {
        padding: 0;
    }
}
@media screen and (min-width: 1025px) {
 #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item {
    min-height: 50px;
    display: flex;
    align-items: center;
 }
}
@media screen and (max-width: 1024px) {
    html {
        font-size: 14px;
    }

    .menu-header {
        /*position: fixed;*/
        z-index: 15;
        flex-direction: column;
        top: -500px;
        right: 0;
        transition: 0.5s;
    }

    .header-title{
        margin: 12px 0;
    }

    .header-tagline{
        line-height: 32px;
        margin-bottom: 10px;
        display: block;
    }

    .top-menu{
        display: block;
    }
    .menu-item{
        display: block;
    }

    ul ul.sub-menu {
        display: block;
        position: relative;
        top: 0;
        background-image: none;
        background-color: transparent;
        border-radius: 0;
        padding: 0;
        z-index: 99;
        text-align: center;
    }
    ul ul.sub-menu li {
        float: none;
        width: auto;
    }
    ul ul.sub-menu li ul {
        left: 0;
        top: 0;
    }

    .open-menu {
        display: inline-flex;
        margin: 15px 0 0 15px;
    }

    .open-menu .fa {
        padding-right: 5px;
    }

    .menu-section {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
    }

    .menu-item {
        padding: 10px;
    }

    .close-menu {
         display: none;
    }

    .button-header {
        justify-content: center;
        text-align: center;
        padding: 5px;
    }

    .second-header-column {
        flex: 0 0 23%;
    }

    .first-header-column {
        flex: 0 0 77%;
    }

    .footer .menu{
        display: block;
    }
    .footer .menu-section {
        display: block;
    }
    .footer .footer-menu{
        display: block;
    }

    .copy {
        padding: 0 30px;
    }

    .top-header-section {
        flex-direction: column-reverse;
    }

    .second-header-column {
        padding: 0 0 20px 0;
    }

    .second-header-column > img {
        width: 150px;
    }

    .content-wrap {
        flex-direction: column-reverse;
    }

    .content-section {
        padding: 0 0 30px;
    }

    .breadcrumbs {
        margin: 15px 0;
    }

    .sidebar {
        flex: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 15px;
    }

    .sidebar-post-title {
        text-align: left;
    }

    .sidebar-post {
        flex: 0 0 45%;
    }
 #mega-menu-wrap-top .mega-menu-toggle .mega-toggle-block-right {
    float: right;
    margin-right: 6px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 1.5px 2.6px 8.3px 1.7px rgba(0, 0, 0, 0.75);
    border-radius: 5px;
    background-color: rgba(205, 205, 205, 0.75);
    padding: 5px;
    z-index: 10;
    font-size: 18px;
    color: #464646;
    font-weight: 700;
    cursor: pointer;
    width: 84px;
    height: 22px;
 }
 #mega-menu-wrap-top .mega-menu-toggle.mega-menu-open + #mega-menu-top {
    display: block;
    position: fixed;
    right: 0;
    height: 100%;
    background: #4f5d82;
    top: 0;
    width: 500px;
    padding: 80px 50px;
    overflow: auto;
 }
 #mega-menu-wrap-top .mega-menu-toggle .mega-toggle-block-1:before {
    margin: 0;
    color: #464646;
    float: left;
    line-height: 22px;
 }
 #mega-menu-wrap-top .mega-menu-toggle .mega-toggle-block-1:after {
    float: left;
    line-height: 24px;
 }
 #mega-menu-wrap-top .mega-menu-open .mega-toggle-block-1:before {
    content: '\f333';
    font-family: 'dashicons';
    font-size: 24px;
    margin: 0;
    color: #fff;
    position: fixed;
    right: 10px;
    top: 10px;
    z-index: 9;
 }
 #mega-menu-wrap-top .mega-menu-toggle {
    display: block;
    box-shadow: none;
    background-color: transparent;
    background-image: none;
    width: 85px;
    height: 35px;
 }
 #mega-menu-wrap-top {
    margin: 0;
 }
 #mega-menu-wrap-top .mega-menu-toggle .mega-toggle-block-right {
    margin-right: 0;
 }
 .open-menu {
    display: none;
 }
 .menu-header {
    background-color: transparent;
    outline: none;
    background-image: none;
    box-shadow: none;
    margin: 18px 0 0 25px;
 }
 #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item:first-of-type {
    padding: 5px 0;
 }
 #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item:first-of-type a.mega-menu-link {
    padding: 0;
 }
 #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item:last-of-type {
    padding: 5px 0;
 }
 #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item:last-of-type a.mega-menu-link {
    padding: 0;
 }
 #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item > a.mega-menu-link {
    font-size: 16px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    line-height: 25px;
    color: #fff;
 }
 #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item:hover > a.mega-menu-link {
    padding: 0;
    background: transparent;
    color: #fff;
 }
 #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item.mega-toggle-on > a.mega-menu-link, #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item > a.mega-menu-
 link:hover, #mega-menu-wrap-top #mega-menu-top > li.mega-menu-item > a.mega-menu-link:focus {
    color: #fff;
 }

 #mega-menu-wrap-top #mega-menu-top > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link,
#mega-menu-wrap-top #mega-menu-top > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:focus,
#mega-menu-wrap-top #mega-menu-top > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:active {
    font-weight: 700;
    line-height: 18px;
    padding-bottom: 8px;
    text-align: center;
    color: #ddd;
 }
 #mega-menu-wrap-top #mega-menu-top[data-effect="fade_up"] li.mega-menu-item.mega-menu-megamenu > ul.mega-sub-menu, #mega-menu-wrap-top #mega-menu-top[data-effect="fade_up"] li.mega-menu-item.mega-menu-flyout ul.mega-sub-menu {
    width: 100%;
    border-radius: 0;
    background: transparent;
 }
#mega-menu-wrap-top #mega-menu-top > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item ul.mega-sub-menu a.mega-menu-link,
#mega-menu-wrap-top #mega-menu-top > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item ul.mega-sub-menu a.mega-menu-link:focus,
#mega-menu-wrap-top #mega-menu-top > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item ul.mega-sub-menu a.mega-menu-link:active {
    padding-left: 10px;
    color: #bdbaba;
    font-size: 11px;
}
#mega-menu-wrap-top #mega-menu-top > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item:hover a.mega-menu-link {
    color: #ddd;
}
 .menu-item {
        min-height: 16px;
    }
}

@media screen and (max-width: 640px) {
    .top-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .top-header-column:last-of-type {
        flex: none;
        align-items: center;
    }

    .social-icon {
        padding: 10px 0;
    }

    .button-header-wrap {
        flex-direction: column;
    }

    .button-header {
        flex: none;
        width: 100%;
        margin: 0 0 10px;
        padding: 5px 0;
    }

    .button-header:last-of-type {
        margin: 0;
    }

    .slick-slide img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .copy {
        flex-direction: column;
    }

    .slick-arrow {
        width: 30px;
        margin-top: -30px;
    }

    .sidebar-post {
        flex: 0 0 100%;
        text-align: center;
    }

    .sidebar-post-title {
        text-align: center;
    }

    .content-item-row {
        flex-direction: column;
    }

    .content-item-row img {
        margin: 0 0 15px 0;
    }

    .content-item-row:last-of-type {
        flex-direction: column-reverse;
    }

    .input-wraps,
    .textarea-label,
    .contact-item-row-3 .content-item-column,
    .content-item-column,
    .map {
        flex: 0 0 100%;
    }

    .textarea-label {
        margin: 15px 0 0 0;
    }

    .req-field {
        display: block;
        margin: 10px 0;
    }
}
@media screen and (max-width: 425px) {
  #mega-menu-wrap-top .mega-menu-toggle.mega-menu-open + #mega-menu-top {
    width: 100%;
    padding: 80px 30px;
  }
#mega-menu-wrap-top #mega-menu-top > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item ul.mega-sub-menu a.mega-menu-link, #mega-menu-wrap-top #mega-menu-top > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item ul.mega-sub-menu a.mega-menu-link:focus, #mega-menu-wrap-top #mega-menu-top > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item ul.mega-sub-menu a.mega-menu-link:active {
    padding: 0 0 10px;
}
}

@media screen and (max-width: 425px) {
    html {
        font-size: 12px;
    }

    .top-header-section {
        padding: 15px 15px;
    }

    .menu-section {
        padding: 0 15px 15px;
    }

    .slider-item-wrap {
        padding: 15px 15px;
    }

    .slider-first {
        margin: 0;
    }

    .container {
        padding: 0 15px 15px;
    }

    .slider-second {
        margin: 0;
    }

    .copy-text:last-of-type {
        flex-direction: column;
        text-align: center;
        margin: 10px 0;
    }

    .copy-text img {
        padding: 10px 0 0 0;
    }

    .menu-section {
        padding: 15px 15px 15px;
        flex-direction: column;
        align-items: flex-end;
    }

    .menu-item {
        font-size: 1rem;
    }

    .lang-item {
        margin: 0 0.9375rem;
    }

    .marq-item {
        font-size: 1rem;
    }

    .content-paragraph {
        font-size: 14px;
    }

    .content-wrap {
        padding: 15px;
    }
}