/*
Theme Name: Gillion custom
Author: PB
Version: 1.0.5
Text Domain: gillion-custom
*/

:root{
    --color-white: #fff;
    --color1: #2e2e2e;
    /*--color2: #82ad53;*/
    --color2: #40b99d;
    --color3: #1e1e1e;
    --font1: 'Sebino', sans-serif;
    --font2: 'NewsGothic', sans-serif;
    --font3: 'Manjari', sans-serif;
    --grid-row: 0 -15px;
    --grid-col: 0 15px;
    --grid-col-10: 83.33333333%;
    --grid-col-9: 75%;
    --grid-col-8: 66.66666667%;
    --grid-col-7: 58.33333333%;
    --grid-col-6: 50%;
    --grid-col-5: 41.66666667%;
    --grid-col-4: 33.3333%;
    --grid-col-3: 25%;
    --linear: all .3s linear;
}

/* ==|====================
   Base/Fonts
   ======================= */
@font-face {
    font-weight: normal;
    font-family: "Sebino";
    font-style: normal;
    src: url("fonts/Sebino-Regular.ttf");
}
@font-face {
    font-weight: bold;
    font-family: "Sebino";
    font-style: normal;
    src: url("fonts/Sebino-Bold.ttf");
}
@font-face {
    font-weight: normal;
    font-family: "Sebino";
    font-style: italic;
    src: url("fonts/Sebino-RegularItalic.ttf");
}
@font-face {
    font-weight: bold;
    font-family: "NewsGothic";
    font-style: normal;
    src: url("fonts/NewsGothicBT-BoldCondensed.otf");
}
@import url('https://fonts.googleapis.com/css?family=Manjari:100,400,700&display=swap');

*{
    padding: 0;
    margin: 0;
    outline: none !important;
}
li{
    list-style-type: none;
}
html {
    height: 100%;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block;
}
body {
    font-family: var(--font1);
    font-size: 16px;
    line-height: 22px;
    font-weight: normal;
    width: 100%;
    height: 100%;
}
.disable-scroll{
    overflow: hidden;
}
body h1,
body h2,
body h3,
body h4,
body h5,
body h6{
    font-size: inherit;
}
img{
    max-width: 100%;
}
.wrapper {
    margin: 0 auto;
    min-height: 100%;
    height: auto !important;
    height: 100%;
    overflow: hidden;
}
.none{
    display: none;
}

/**
 * Captions
 */

.wp-caption {
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 0;
}

.wp-caption-text {
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

/**
 * Alignments
 */

.alignleft {
    display: inline;
    float: left;
}

.alignright {
    display: inline;
    float: right;
}

.aligncenter {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

blockquote.alignleft,
.wp-caption.alignleft,
img.alignleft {
    margin: 0.4em 1.6em 1.6em 0;
}

blockquote.alignright,
.wp-caption.alignright,
img.alignright {
    margin: 0.4em 0 1.6em 1.6em;
}

blockquote.aligncenter,
.wp-caption.aligncenter,
img.aligncenter {
    clear: both;
    margin-top: 0.4em;
    margin-bottom: 1.6em;
}

.wp-caption.alignleft,
.wp-caption.alignright,
.wp-caption.aligncenter {
    margin-bottom: 1.2em;
}

.bottom-separator {
    padding-bottom: 5px;
    border-bottom: 1px solid #8D8D8D;
}

/* Header
-----------------------------------------------------------------------------*/
.header {
    height: 100px;
    background: var(--color1);
}
.header > .container{
    height: 100%;
}
.empty-header {
    height: 30px;
}
.header-wrapper{
    height: 100%;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    -webkit-box-pack: justify;
    justify-content: space-between;
}
.header-logo{
    width: 270px;
}
.sh-sticky-logo,
.sh-light-logo{
    display: none;
}
.main-menu{
    position: relative;
    z-index: 2;
}
.main-menu ul{
    line-height: 0;
    font-size: 0;
}
.main-menu li{
    display: inline-block;
    position: relative;
}
.main-menu li a{
    color: #fff;
    font-family: var(--font2);
    font-size: 16px;
    text-transform: uppercase;
    line-height: 20px;
    font-weight: bold;
    padding: 10px 7px;
    position: relative;
    display: block;
}
.main-menu li a:hover{
    text-decoration: none;
}
.main-menu li a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: scale(1.05,1.05);
    -ms-transform: scale(1.05,1.05);
    transform: scale(1.05,1.05);
    border: 2px solid transparent;
    -webkit-transition: var(--linear);
    -o-transition: var(--linear);
    transition: var(--linear);
    z-index: -1;
}
.main-menu li a:hover::before,
.main-menu li.current-menu-parent a::before,
.main-menu li.current-menu-item a::before{
    text-decoration: none;

    -webkit-transform: scale(1,1);
    -ms-transform: scale(1,1);
    transform: scale(1,1);
}
.main-menu li.current-menu-parent a::before,
.main-menu li.current-menu-item a::before{

}
/*double level*/
.main-menu > ul > li > ul{
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    width: 300px;
    background-color: var(--color1);
    max-height: 0;
    overflow: hidden;
    border: none;
    opacity: 0;
    -webkit-transition: var(--linear);
    -o-transition: var(--linear);
    transition: var(--linear);
    z-index: -1;
}
.main-menu li > ul li{
    display: block;
}
.main-menu li > ul li ul a{
    font-size: 14px;
    padding: 5px 20px 5px 30px;
    font-weight: normal;
}
.main-menu li > a:hover {
    /* background-color: var(--color2); */
    color: var(--color2);
}
.main-menu li > ul li a::before{
    display: none;
}
.main-menu li > ul li.current-menu-parent a::before,
.main-menu li > ul li.current-menu-item a::before{
    display: block;
}
.main-menu > ul > li:hover > ul{
    max-height: 500px;
    overflow: visible;
    opacity: 1;
}

.main-menu .search-buttons .icon.search {
    top: 10px;
    position: relative;
    float: left;
}
.main-menu .search-buttons .search-container {
    display: none;
    position: absolute;
    width: 413px;
    overflow: hidden;
    opacity: 0;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-transition: opacity .2s ease-in-out .1s,-webkit-transform .3s ease-in-out;
    transition: opacity .2s ease-in-out .1s,-webkit-transform .3s ease-in-out;
    -o-transition: transform .3s ease-in-out,opacity .2s ease-in-out .1s;
    transition: transform .3s ease-in-out,opacity .2s ease-in-out .1s;
    transition: transform .3s ease-in-out,opacity .2s ease-in-out .1s,-webkit-transform .3s ease-in-out;
}
.main-menu .search-buttons,
.main-menu > ul {
    display: inline-block;
}
.main-menu button.search {
    border: none;
    background: transparent;
}
.main-menu span.icon-search  {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.main-menu .search-form {
    display: inline-block;
}
.main-menu button.search-submit,
.main-menu button.close-search {
    border: 1px solid white;
    border-radius: 3px;
    background: transparent;
    color: white;
}
.main-menu button.search-submit {
    padding: 5px;
}
.main-menu button.search-submit > i {
    vertical-align: middle;
}

.main-menu button.close-search {
    padding: 5px;
}
.main-menu button.close-search > span {
    vertical-align: middle;
}
.main-menu .search-form input.search-field {
    background: transparent;
    color: white;
    border: 1px solid;
    padding: 5px 15px;
    border-radius: 4px;
}

.search-opened .main-menu ul,
.search-opened .main-menu .search-buttons button.search {
    display: none;
}
.search-opened .main-menu .search-buttons .search-container {
    -webkit-transform: translate3d(-413px,0,0);
    transform: translate3d(-413px,0,0);
    opacity: 1;
    top: 22px;
}


.btn-menu {
    position: absolute;
    top: 0px;
    right: 10px;
    z-index: 6;
    display: none;
    width: 25px;
    height: 20px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-size: 0;
    text-indent: -9999px;
    border: none;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    cursor: pointer;
    -webkit-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn-menu:focus {
    outline: none;
}

.btn-menu i {
    position: absolute;
    top: 9px;
    right: 0;
    left: 0;
    display: block;
    height: 1px;
    background: #fff;
    -webkit-transition: background 0.3s;
    -o-transition: background 0.3s;
    transition: background 0.3s;
}

.btn-menu i::before,
.btn-menu i::after {
    content: "";
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 1px;
    background-color: #fff;
    -webkit-transition-delay: 0.3s, 0s;
    -o-transition-delay: 0.3s, 0s;
    transition-delay: 0.3s, 0s;
    -webkit-transition-duration: 0.3s, 0.3s;
    -o-transition-duration: 0.3s, 0.3s;
    transition-duration: 0.3s, 0.3s;
}

.btn-menu i::before {
    top: -8px;
    -webkit-transition-property: top, -webkit-transform;
    transition-property: top, -webkit-transform;
    -o-transition-property: top, transform;
    transition-property: top, transform;
    transition-property: top, transform, -webkit-transform;
}

.btn-menu i::after {
    bottom: -8px;
    -webkit-transition-property: bottom, -webkit-transform;
    transition-property: bottom, -webkit-transform;
    -o-transition-property: bottom, transform;
    transition-property: bottom, transform;
    transition-property: bottom, transform, -webkit-transform;
}

/* активное состояние, т.е. меню открыто */

.btn-menu.active i {
    width: 100%;
    background: none;
}

.btn-menu.active i::before {
    top: 0;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.btn-menu.active i::after {
    bottom: 0;
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.btn-menu.active i::before,
.btn-menu.active i::after {
    background-color: var(--color2);
    -webkit-transition-delay: 0s, 0.3s;
    -o-transition-delay: 0s, 0.3s;
    transition-delay: 0s, 0.3s;
}





/* Middle
-----------------------------------------------------------------------------*/
.content {
    padding: 0 0 580px;
}

/*carousel-bg*/
.carousel-bg-posts-container{
    width: 100%;
    height: 580px;
    /*height: 835px;*/
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}
.carousel-bg-posts-wrapper{
    margin: 30px 0 0 0;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -ms-flex-align: end;
    -webkit-box-align: end;
    align-items: flex-end;
}
.carousel-bg-posts-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: inherit;
    -ms-flex-align: inherit;
    align-items: inherit;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.carousel-bg-posts-info{
    padding: 30px 40px;
    width: 445px;
    background-color: var(--color1);
    height: 100%;
    min-height: 500px;
}
.carousel-bg-title{
    color: var(--color2);
    font-size: 40px;
    line-height: 44px;
    height: 90px;
    display: block;
    overflow: hidden;
    font-family: var(--font2);
    -webkit-transition: var(--linear);
    -o-transition: var(--linear);
    transition: var(--linear);
}
.carousel-bg-title:hover,
.carousel-bg-title:focus{
    text-decoration: none;
    color: #fff;
}
.carousel-bg-content{
    color: #fff;
    margin: 30px 0 0 0;
    line-height: 30px;
    font-weight: normal;

}
.carousel-bg-content{
    font-size: 16px;
    display: block;
}
.carousel-bg-content-more{
    margin: 25px 0 0 0;
}
.carousel-bg-content-more a{
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
    position: relative;
    padding: 0 25px 0 0;
    -webkit-transition: var(--linear);
    -o-transition: var(--linear);
    transition: var(--linear);
}
.carousel-bg-content-more a::before{
    content: '';
    position: absolute;
    top: 50%;
    left: auto;
    right: 0;
    width: 20px;
    height: 2px;
    margin: -1px 0 0 0;
    background-color: var(--color2);
}
.carousel-bg-content-more a:hover{
    padding: 0 35px 0 0;
    text-decoration: none;
}
.carousel-bg-btns{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-pack: end;
    -webkit-box-pack: end;
    justify-content: flex-end;
    /*margin: 30px -7px 0;*/
    color: #fff;
}
.carousel-bg-btn{
    padding: 0 7px;
}
.carousel-bg-btn i{
    width: 35px;
    height: 35px;
    border: 1px solid #fff;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    -webkit-transition: var(--linear);
    -o-transition: var(--linear);
    transition: var(--linear);
}
.carousel-bg-btn i:hover{
    border: 1px solid var(--color2);
    color: var(--color2);
}
.carousel-bg-posts-nav{
    margin: 30px 0 0 0;
}
.carousel-bg-posts-nav li{
    display: inline-block;
    position: relative;
    margin: 0 10px;
}
.carousel-bg-posts-nav li a{
    color: #fff;
}
.carousel-bg-posts-nav li ul{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: none;
}
.carousel-bg-posts-nav li ul li{
    display: block;
}

/*carousel-cards*/
.cards-slider{
    padding: 50px 0;
    background-color: #666;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100% 70%;
}
.carousel-cards{
    padding: 0 30px;
    margin: 30px 0 0 0;
}
.carousel-cards-item{
    padding: 15px;
}
.carousel-cards-container{
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
    box-shadow:         0px 5px 10px 0px rgba(0, 0, 0, 0.2);
    -webkit-transition: var(--linear);
    -o-transition: var(--linear);
    transition: var(--linear);
}
.carousel-cards-container:hover{
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
    box-shadow:         0px 5px 10px 0px rgba(0, 0, 0, 0.5);
}
.carousel-cards-container a{
    text-decoration: none;
}
.carousel-cards-img{
    background-color: #ccc;
    height: 85px;
    overflow: hidden;
    position: relative;
}
.carousel-cards-img img{
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: var(--linear);
    -o-transition: var(--linear);
    transition: var(--linear);
}
.carousel-cards-container:hover .carousel-cards-img img{
    -webkit-transform: translate(-50%, -50%) scale(1.1,1.1);
    -ms-transform: translate(-50%, -50%) scale(1.1,1.1);
    transform: translate(-50%, -50%) scale(1.1,1.1);
}
.carousel-cards-info{
    height: 90px;
    padding: 10px 15px;
    background-color: #ffff;
}
.carousel-cards-title{
    color: var(--color3);
    font-size: 14px;
    line-height: 16px;
    -webkit-transition: var(--linear);
    -o-transition: var(--linear);
    transition: var(--linear);
}
.carousel-cards-title:hover,
.carousel-cards-title:focus{
    text-decoration: none;
    color: #666666;
}

.cards-slider .cta--link {
    max-width: 160px;
    margin: 16px auto 0px;
}

/*trend post*/
.trend-post-slider-wrapper {
    position: relative;
    margin-top: 55px;
}
.trend-post-slider-wrapper .trend-post {
    display: flex;
    padding: 10px;
    margin-top: 0;
}
.trend-post-slider-wrapper .slick-arrow i {
    font-size: 130px;
    color: var(--color2);
}
.trend-post-slider-wrapper .slick-arrow {
    position: absolute;
    top: 0;
    height: 100%;
    z-index: 999;
    background: transparent;
    border: 0;
}
.trend-post-slider-wrapper .slick-prev {
    right: auto;
    left: -50px;
}
.trend-post-slider-wrapper .slick-next {
    left: auto;
    right: -50px;
}
.trend-post-slider-wrapper .slick-disabled {
    opacity: 0;
}
.main-latest-posts {
    padding: 55px 0;
    background-size: cover;
    background-repeat: no-repeat;
    position: 0 0;
}
.trend-post{
    margin: var(--grid-row);
    margin-top: 55px;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.trend-post-item{
    padding: var(--grid-col);
}
.trend-img{
    width: var(--grid-col-8);
}
.trend-img img{
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
    box-shadow:         0px 5px 10px 0px rgba(0, 0, 0, 0.2);
}
.trend-info{
    width: var(--grid-col-4);
}
.trend-info-tag{
    font-size: 16px;
    line-height: 20px;
    text-transform: uppercase;
}
.trend-title{
    font-family: var(--font2);
    font-size: 40px;
    line-height: 48px;
    color: var(--color2);
}
.trend-title:hover,
.trend-title:focus{
    color: var(--color2);
}
.trend-desc{
    line-height: 30px;
}
.trend-author{
    font-size: 16px;
    line-height: 32px;
    font-style: italic;
}
.trend-author span{
    color: var(--color2);
}
.custom-post-meta {
    margin-top: 20px;
}
.icon-author {
    float: left;
    margin: 0 25px 0 0;
}
.icon-author img {
    border-radius: 50%;
}

.description-author,
.description-author p {
    font-size: 1.6rem;
    line-height: 22px;
    font-style: italic;
}

/*latest posts*/
.latest-posts-wrapper, .post-wrapper {
    margin: var(--grid-row);
    margin-top: 40px;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.latest-posts-item,
.related-posts-item{
    padding: var(--grid-col);
    width: var(--grid-col-4);
    margin: 0 0 30px 0;
}
.latest-posts-item-img,
.related-posts-item-img{
    background-color: #ccc;
    height: 185px;
    overflow: hidden;
    position: relative;
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
    box-shadow:         0px 5px 10px 0px rgba(0, 0, 0, 0.2);
}
.related-posts-item-img{
    -webkit-box-shadow: none;
    box-shadow: none;
}
.latest-posts-item-img img,
.related-posts-item-img img{
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    min-width: 100%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: var(--linear);
    -o-transition: var(--linear);
    transition: var(--linear);
}
.latest-posts-item a:hover .latest-posts-item-img img,
.related-posts-item a:hover .related-posts-item-img img{
    -webkit-transform: translate(-50%, -50%) scale(1.1,1.1);
    -ms-transform: translate(-50%, -50%) scale(1.1,1.1);
    transform: translate(-50%, -50%) scale(1.1,1.1);
}
.latest-posts-item a,
.related-posts-item a{
    color: var(--color1);
    text-decoration: none;
}
.latest-posts-item-info{
    margin: 15px 0 0 0;
}
.related-posts-item-container{
    background-color: #fff;
    height: 100%;
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
    box-shadow:         0px 5px 10px 0px rgba(0, 0, 0, 0.2);
    -webkit-transition: var(--linear);
    -o-transition: var(--linear);
    transition: var(--linear);
}
ul.destination-list{
    text-align: center;
}
ul.destination-list li{
    display: inline-block;
}
ul.destination-list li a{
    font-family: var(--font2);
    font-size: 16px;
    text-transform: uppercase;
    line-height: 20px;
    font-weight: bold;
    padding: 10px 7px;
    position: relative;
    display: inline-block;
    color:var(--color2);
}
.related-posts-item-category{
    padding: 20px 35px;
    font-size: 16px;
    color: var(--color2);
    font-family: var(--font2);
    text-transform: uppercase;
}
.related-posts-item-info{
    padding: 20px 35px 35px;
}
.related-posts-item-title{
    padding: 15px 35px;
    font-size: 24px;
    line-height: 38px;
    color: var(--color-white);
    background-color: var(--color1);
    font-family: var(--font2);
    position: relative;
    width: 100%;
    left: 0;
    -webkit-transition: var(--linear);
    -o-transition: var(--linear);
    transition: var(--linear);
    height: auto;
    min-height: 108px;
}
.related-posts-item-title::before,
.related-posts-item-title::after{
    content: '';
    position: absolute;
    bottom: -8px;
    width: 0;
    height: 0;
    border-style: solid;
    opacity: 0;
    -webkit-transition: var(--linear);
    -o-transition: var(--linear);
    transition: var(--linear);
}
.related-posts-item-title::before{
    border-width: 0 20px 8px 0;
    border-color: transparent #202020 transparent transparent;
    left: 0;
}
.related-posts-item-title::after{
    border-width: 8px 20px 0 0;
    border-color: #202020 transparent transparent transparent;
    right: 0;
}
.related-posts-item-title h2,
.related-posts-item-title h3,
.related-posts-item-title h4{
    /*height: 76px;*/
    overflow: hidden;
}
.related-posts-item:hover .related-posts-item-title,
.related-posts-item a:hover .related-posts-item-title{
    width: calc(100% + 40px);
    left: -20px;
}
.related-posts-item a:hover .related-posts-item-title::before,
.related-posts-item a:hover .related-posts-item-title::after{
    opacity: 1;
}
.related-posts-item .related-posts-item-container:hover {
    -webkit-box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.5);
    box-shadow:         0px 5px 15px 0px rgba(0, 0, 0, 0.5);
}
.related-author{
    margin: 10px 0 0 0;
}
.posts-pagination{
    width: 100%;
}
.posts-pagination ul{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
}
.posts-pagination li {
    margin: 0 5px;
}
.posts-pagination li,
.posts-pagination li a,
.posts-pagination li span{
    font-family: var(--font2);
    font-size: 16px;
}
.posts-pagination li a{
    color: var(--color2);
}
.posts-pagination li span{
    padding: 0 7px;
    background-color: var(--color2);
    border-radius: 2px;
}
.posts-pagination li i{
    font-size: 20px;
}

/*main-about*/
.main-about{
    padding: 90px 0 40px;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: cover;
}
.main-about-wrapper{
    margin: var(--grid-row);
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
}
.main-about-item{
    padding: var(--grid-col);
    width: var(--grid-col-6);
}
.main-about-right{
    text-align: right;
}
.main-about-title{
    font-size: 20px;
    color: #fff;
    text-transform: uppercase;
}
.main-about-quote{
    margin: 15px 0 0 0;
    color: #fff;
}
.main-about-text{
    margin: 20px 0 0 0;
    color: #fff;
}
.author-img{
    width: 250px;
    display: inline-block;
    position: relative;
}
.author-img img{
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
    box-shadow:         0px 5px 10px 0px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}
.author-img::before{
    content: '';
    position: absolute;
    top: -35px;
    left: -35px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color2);
}
.readmore-btn{
    margin: 20px 0 0 0;
    text-align: right;
}
.readmore-btn a{
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
    position: relative;
    padding: 0 25px 0 0;
    -webkit-transition: var(--linear);
    -o-transition: var(--linear);
    transition: var(--linear);
}
.readmore-btn a::before{
    content: '';
    position: absolute;
    top: 50%;
    left: auto;
    right: 0;
    width: 20px;
    height: 2px;
    margin: -1px 0 0 0;
    background-color: var(--color2);
    -webkit-transition: var(--linear);
    -o-transition: var(--linear);
    transition: var(--linear);
}
.readmore-btn a:hover,
.readmore-btn a:focus{
    text-decoration: none;
}
.readmore-btn a:hover::before{
    right: -15px;
}

/*custom post*/
.single-content{
    margin: 30px 0;
}
.single-content-row{
    margin: var(--grid-row);
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
}
.custom-post{
    padding: 90px 0;
}
.custom-post{
    padding: var(--grid-col);
    width: var(--grid-col-8);
}
.sidebar-item{
    padding: var(--grid-col);
    width: var(--grid-col-4);
}
.custom-post-meta .post-categories a,
.custom-post-meta .post-categories span{
    color: var(--color1);
    text-transform: uppercase;
    font-size: 24px;
    line-height: 28px;
    font-weight: bold;
}
.custom-post-title{
    font-size: 60px;
    line-height: 80px;
    color: var(--color3);
    font-family: var(--font2);
    margin: 10px 0 0 0;
}
.custom-post-title h1,
.custom-post-title h2,
.custom-post-title h3{
    margin: 0;
}
.custom-post-meta .trend-author{
    font-weight: bold;
}
.custom-post-content{
    margin: 40px 0 0 0;
}
.custom-post-content ol,
.custom-post-content ul {
    padding-left: 25px;
    margin-bottom: 15px;
}
.custom-post-content li {
    list-style-type: inherit;
}
.custom-post-content img{
    display: block;
    height: auto;
}
.custom-post-content p{
    margin: 0 0 15px 0;
}

.custom-post-content h1,
.custom-post-content h2,
.custom-post-content h3,
.custom-post-content h4,
.custom-post-content h5,
.custom-post-content h6 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 1.1;
}

.custom-post-content h1 {
    font-size: 36px;
}
.custom-post-content h2 {
    font-size: 30px;
}
.custom-post-content h3 {
    font-size: 24px;
}
.custom-post-content h4 {
    font-size: 18px;
}
.custom-post-content h5 {
    font-size: 14px;
}
.custom-post-content h6 {
    font-size: 12px;
}

.custom-sidebar{
    padding-left: 40px;
}
.sidebar-block{
    margin: 5px 20px;
}
.sidebar-offers p{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    margin: 0 0 25px 0;
}
.sidebar-offers a {
    color: var(--color1);
    transition: all 0.2s ease;
}
.sidebar-offers a:hover {
    text-decoration: none;
    color: var(--color2);
}
.sidebar-offers p > a{
    display: block;
    width: 30%;
    padding: 0 20px 0 0;
}
.sidebar-offers p span{
    width: 60%;
    height: 70px;
    font-size: 16px;
    color: #a7a4a4;
    line-height: 20px;
    font-weight: bold;
    border-bottom: 1px solid #a7a4a4;
}
.sidebar-offers p span a{
    display: block;
    color: var(--color1);
}
.sidebar-slider-item{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    color: var(--color1);
    margin: 0 0 20px 0;
}
.sidebar-slider-item:hover,
.sidebar-slider-item:focus{
    text-decoration: none;
    color: var(--color2);
}
.sidebar-slider-img{
    width: 100px;
    height: 80px;
    margin: 0 20px 0 0;
    position: relative;
    overflow: hidden;
}
.sidebar-slider-img img{
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    height: 80px;
    width: auto !important;
    max-width: none;
}
.sidebar-slider-title{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
    width: calc(100% - 100px);
    line-height: 20px;
    border-bottom: 1px solid #e1e1e1;
}
.sidebar-slider-title span{
    font-size: 16px;
    font-weight: bold;
}

/*custom page*/
.custom-page{
    width: 100%;
}


/* page with sidebar */
.content .sidebar-custom-page {
    padding: var(--grid-col);
    width: var(--grid-col-8);
}

/* Insurance Footer
 ----------------------------------------------------------------------------*/
.single-insurance .content {
    padding: 0;
}
.single-insurance .insurance-footer {
    height: auto;
    margin: 0 auto;
}
.insurance-footer .widget-title {
    font-size: 20px;
    text-transform: uppercase;
    color: var(--color2);
    margin-bottom: 25px;
}
.insurance-footer .widget {
    color: white;
}

.insurance-footer .widget a {
    color: white;
}
.insurance-footer .widget > ul {
    display: flex;
    flex-wrap: wrap;
}
.insurance-footer .widget > ul > li.page_item {
    max-width: 33.3333%;
    padding: 3px 10px;
    width: 100%;
}
    /* Footer
    -----------------------------------------------------------------------------*/
.footer {
    margin: -580px auto 0;
    background: var(--color1);
    position: relative;
}
.footer.footer-typed-card {
    margin: -270px auto 0;
    height: 270px;
}
.footer > .container{
    padding-top: 90px;
    padding-bottom: 50px;
    position: relative;
}
.footer-title{
    font-size: 20px;
    text-transform: uppercase;
    color: var(--color2);
    margin-bottom: 25px;
}
.footer-wrapper{
    margin: var(--grid-row);
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-pack: justify;
    -webkit-box-pack: justify;
    justify-content: space-between;
}
.footer-item{
    padding: var(--grid-col);
}
.footer-item-popular span,
.footer-item-links span{
    display: block;
    margin: 25px 0 0 0;
}
.footer-item-popular span:first-child,
.footer-item-links span:first-child{
    margin: 0;
}
.footer-item a{
    color: #fff;
    font-size: 16px;
    font-weight: normal;
}
.footer-item-socials{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    white-space: nowrap;
}
.footer-item-socials a{
    margin: 0 20px;
    text-decoration: none;
    -webkit-transition: var(--linear);
    -o-transition: var(--linear);
    transition: var(--linear);
    font-size: 20px;
}
.footer-item-socials a:hover,
.footer-item-socials a:focus{
    color: var(--color2);
}
.footer-copyright{
    color: #fff;
    margin: 30px 0 0 0;
    font-size: 14px;
    line-height: 20px;
}

/*cards*/
.table-cards{
    margin: 20px 0;
}
.table-title{
    margin: 40px 0 0;
    font-size: 36px;
    line-height: 40px;
    font-family: var(--font2);
}
.table-card{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    border-bottom: 1px solid #e1e1e1;
}
.table-card-item{
    width: 17.5%;
    text-align: center;
}
.table-card-name{
    width: 30%;
    text-align: left;
}
.table-card-th{
    display: none;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
    background-color: var(--color1);
    color: #fff;
    text-align: center;
    padding: 10px;
    height: 70px;
    /*white-space: nowrap;*/
    font-size: 20px;
    text-transform: uppercase;
}
.table-card:first-child .table-card-th{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
}
.table-card-td{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 10px;
    font-size: 18px;
    line-height: 22px;
    font-weight: bold;
    height: 100%;
}
.table-card-td img{
    width: 90px;
    margin: 0 10px 0 0;
}
.table-card-name .table-card-td a{
    color: var(--color1);
}
.table-card-name .table-card-td{
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -ms-flex-pack: start;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.table-card-name .table-card-td .card-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}
.table-card-up .table-card-td .cta-buttons {
    width: 100%;
}
.table-card-name .table-card-td .card-bullets {
    width: 100%;
    font-size: 1.4rem;
    font-weight: normal;
    line-height: 1.2;
    margin: 5px 0;
}
.table-card-name .table-card-td .card-bullets .card-bullets-toggle {
    cursor:pointer;
    text-decoration: underline;
}
.table-card:first-child .table-card-td{
    height: calc(100% - 70px);
}
.table-card-td .btn-card{
    margin: 5px auto;
    width: 90%;
}
.table-card-item{
    border-right: 1px solid #e1e1e1;
}
.table-card-item:first-child{
    border-left: 1px solid #e1e1e1;
}
.page-title{
    font-size: 60px;
    line-height: 64px;
    font-family: var(--font2);
}

/*card*/
.single-card-title{
    padding: 90px 0;
    -webkit-box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, 0.5);
}
.single-card-title-wrapper{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
    font-size: 60px;
    line-height: 64px;
    width: 80%;
    margin: 0 auto;
}
.single-card-title-wrapper img{
    margin: 0 80px 0 0;
}
.single-card-row{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    margin: var(--grid-row);
    margin-top: 70px;
}
.single-card-desc{
    padding: var(--grid-col);
    width: 65%;
}
.single-card-desc .btn-card{
    display: none;
    margin: 20px 0 0 0;
    text-align: center;
    font-size: 20px;
    line-height: 34px;
}
.single-card-info{
    padding: var(--grid-col);
    width: 35%;
}
.single-card-info .btn-card{
    font-size: 24px;
    height: 60px;
}
.single-card-info-item{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
}
.single-card-info-item:nth-child(even){
    background-color: #f9f9f9;
}
.single-card-info-item p,
.single-card-info-item span{
    width: 50%;
    padding: 10px;
    height: 80px;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
}


.tabs{
    margin: 40px 0 0 0;
}
.tabs-bar{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
}
.tabs-bar-item{
    padding: 15px 40px;
    border: 1px solid #e1e1e1;
    cursor: pointer;
    color: #a7a4a4;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: bold;
}
.tabs-bar-item.active{
    color: var(--color1);
}
.tabs-content{
    display: none;
    margin: -1px 0 0 0;
}
.tabs-content.active{
    display: block;
}
.tabs-item{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    border-top: 1px solid #e1e1e1;
}
.tabs-item:last-child{
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
}
.tabs-item p,
.tabs-item span{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
    width: 50%;
    height: 80px;
    padding: 10px;
    border-left: 1px solid #e1e1e1;
    font-size: 20px;
}
.tabs-item span{
    border-right: 1px solid #e1e1e1;
    font-weight: bold;
}
.single-card-content{
    margin: 35px 0 0 0;
}
.single-card-content .kk-star-ratings{
    display: none;
}
.single-card-desc-before{
    font-size: 16px;
}

/*404*/
.page-404{
    min-height: 750px;
    position: relative;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
.page-404-wrapper{
    position: absolute;
    bottom: 140px;
    left: 50%;
    text-align: center;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    color: #fff;
    width: 100%;
}
.page-404-wrapper h2{
    text-transform: uppercase;
    font-size: 26px;
    font-weight: bold;
    line-height: 30px;
    margin: 0 0 10px 0;
}
.page-404-wrapper p{
    font-size: 25px;
    line-height: 29px;
}
.page-404-wrapper a{
    display: inline-block;
    font-size: 20px;
    line-height: 24px;
    color: #fff;
    text-transform: uppercase;
    width: 205px;
    padding: 10px 0;
    margin: 15px 0 0;
    border: 2px solid #fff;
    text-decoration: none;
    -webkit-transition: var(--linear);
    -o-transition: var(--linear);
    transition: var(--linear);
}
.page-404-wrapper a:hover,
.page-404-wrapper a:focus{
    background-color: #fff;
    color: var(--color2);
}

/*GENERAL*/
body .vc_row{
    margin: 0 !important;
}
body .vc_column-inner{
    padding: 0 !important;
}

.main-title{
    text-align: center;
    font-family: var(--font2);
    font-size: 40px;
    line-height: 44px;
    text-transform: uppercase;
}
.main-title h2,
.main-title h3,
.main-title h4{
    display: inline-block;
    padding: 0 0 20px 0;
    position: relative;
}
.main-title h2::before,
.main-title h3::before,
.main-title h4::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    top: auto;
    bottom: 0;
    left: 0;
    background-color: var(--color2);
}

.widget-title{
    margin: 0 0 30px 0;
    font-size: 24px;
    font-weight: bold;
}

.btn-all{
    padding: 0 15px;
    height: 35px;
    line-height: 35px;
    border: 1px solid var(--color2);
    background-color: var(--color2);
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    border-radius: 5px;
    display: inline-block;
    -webkit-transition: var(--linear);
    -o-transition: var(--linear);
    transition: var(--linear);
}
.btn-all:hover,
.btn-all:focus{
    background-color: transparent;
    color: var(--color2);
    text-decoration: none;
}
.btn-card{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    height: 35px;
    background-color: #acacac;
    font-size: 16px;
    font-weight: normal;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    -webkit-transition: var(--linear);
    -o-transition: var(--linear);
    transition: var(--linear);
    border: 1px solid #acacac;
    -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow:         0px 1px 2px 0px rgba(0, 0, 0, 0.2);
}
.btn-card:hover,
.btn-card:focus{
    text-decoration: none;
    background-color: transparent;
    color: var(--color2);
}
.btn-card-colored{
    border: 1px solid var(--color2);
    background-color: var(--color2);
}
.btn-card-colored:hover,
.btn-card-colored:focus{
    background-color: transparent;
    color: var(--color2);
}

/*owl navigation*/
.nav-big-centered{
    position: relative;
}
.nav-big-centered .owl-nav{
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
}
.nav-big-centered .owl-prev,
.nav-big-centered .owl-next{
    position: absolute;
    top: 0;
    -webkit-transform: translate(0,-50%);
    -ms-transform: translate(0,-50%);
    transform: translate(0,-50%);
    z-index: 2;
    -webkit-transition: var(--linear);
    -o-transition: var(--linear);
    transition: var(--linear);
}
.nav-big-centered .owl-prev{
    right: auto;
    left: -40px;
}
.nav-big-centered .owl-next{
    left: auto;
    right: -40px;
}
.nav-big-centered .owl-nav i{
    font-size: 130px;
    color: var(--color2);
}
.nav-big-centered .owl-nav .disabled{
    opacity: 0;
    cursor: inherit !important;
}

.nav-sidebar{
    position: relative;
}
.nav-sidebar .owl-nav{
    position: absolute;
    top: -55px;
    right: 0;
}
.nav-sidebar .owl-prev,
.nav-sidebar .owl-next{
    margin: 0 5px;
}
.nav-sidebar .owl-prev.disabled i,
.nav-sidebar .owl-next.disabled i{
    border: 1px solid #c4c4c4;
    color: #c4c4c4;
}
.nav-sidebar .owl-prev i,
.nav-sidebar .owl-next i{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
    width: 25px;
    height: 25px;
    border: 1px solid #353535;
    border-radius: 50%;
    -webkit-transition: var(--linear);
    -o-transition: var(--linear);
    transition: var(--linear);
}
.nav-sidebar .owl-next{

}

.scroll-top{
    position: absolute;
    top: 0;
    right: 15px;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
    width: 40px;
    height: 45px;
    background-color: var(--color2);
    color: #fff;
    cursor: pointer;
}

/*kk-star-ratings*/
.kk-star-ratings{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    float: none;
    width: 200px !important;
}
.kk-star-ratings.lft{
    float: none;
}
.kksr-stars{
    -ms-flex-order: 2;
    -webkit-box-ordinal-group: 3;
    order: 2;
}
.kk-star-ratings .kksr-legend{
    font-size: 18px;
    color: var(--color2);
    -ms-flex-order: 1;
    -webkit-box-ordinal-group: 2;
    order: 1;
    height: 24px;
    width: 100%;
    text-align: left;
}


/* Insurance Windget */
section.auto-widget {
    background-color: #f6f7f9;
    width: 103%;
    align: center;
    border-radius: 5px;
    color: rgb(27, 45, 63);
    margin-bottom: 2.5%;
    padding: 30px 60px 43px;
}

h2.title.widget-header {
    font-family: Montserrat,sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    padding: 0;
    margin: 0;
}

.insurance_form h2 {
    font-family: Montserrat,sans-serif;
    font-size: 16px;
    font-weight: 600;
}
.insurance_form .btn-get-quote {
    height: auto;
    text-align: center;
}
.insurance_form input[type="number"] {
    background-color: #fff;
    border: 1px solid #9298a1;
    border-radius: 6px;
    font-size: 16px;
    outline: 0;
    padding: 10px 15px;
    width: 100%;
}
.insurance_form .additional-option {
    margin-top: 32px;
    font-family: Montserrat,sans-serif;
    font-size: 16px;
    font-weight: 300;
}
.insurance_form .additional-option input[type=checkbox] {
    height: 10px;
    left: 0!important;
    margin: 0!important;
    opacity: 0!important;
    position: absolute!important;
    top: 0!important;
    width: 10px;
    z-index: -1!important;
}
.insurance_form .additional-option input[type=checkbox]:checked~label::before {
    border-color: #31475e;
    content: '\f00c';
}
.additional-option label {
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
}
.insurance_form .additional-option label:before {
    border: 1px solid #9298a1;
    color: #40b99d;
    content: '';
    cursor: pointer;
    display: inline-block;
    font-family: FontAwesome;
    height: 16px;
    width: 16px;
    line-height: 14px;
    margin-right: 4px;
    position: relative;
    text-align: center;
    top: -1px;
    vertical-align: middle;
    font-size: 12px;
}

.insurance_form.disabled {
    cursor: wait;
}
.insurance_form select {
    background-color: #fff;
    border: 1px solid #9298a1;
    border-radius: 6px;
    font-size: 16px;
    outline: 0;
    padding: 12px 15px;
    width: 100%;
    line-height: normal;
    appearance: none;
    -webkit-appearance: none;
}

.insurance_form input[type=submit] {
    width: 100%;
    margin-top: 26px;
    font-family: Montserrat,sans-serif;
}
.insurance_form input:disabled,
.insurance_form select:disabled {
    background-color: #f5f5f5!important;
}
.insurance_form input[type=submit]:disabled {
    border: 1px solid #a2a2a2;
    color: #a2a2a2;
    cursor: not-allowed;
}
.insurance_form .content-fluid.content-response {
    padding: 10px 10px;
}

.insurance_form .content-fluid.content-response .row {
    margin: 10px 0;
    border: 1px solid #d2d2d2;
    padding: 10px 0;
    border-radius: 5px;
}

.insurance_form .content-fluid.content-response h3 {
    font-size: 18px;
    color: #40b99d;
}
.insurance_form input[type=submit] {
    font-size: 14px;
    font-weight: 500;
}

@media only screen and (max-width: 768px) {
    section.auto-widget {
        padding: 20px 26px 20px;
    }
    .insurance_form .additional-option {
        margin-top: 10px;
    }
    .insurance_form .content-fluid.content-response {
        padding: 10px 15px;
    }
}
/* ================== */

/*comment*/
.page-comments{
    margin: 30px 0 0 0;
}
.comment,
.pingback{
    padding: 35px 40px;
    /*border: 1px solid #e1e1e1;*/
    margin: -1px 0 0 0;
}
.comment-body{
    margin: var(--grid-row);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.comment-column-left{
    padding: var(--grid-col);
    width: 110px;
}
.comment-column-right{
    padding: var(--grid-col);
    width: calc(90% - 110px);
}
.page-comments-titles{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
}
.page-comments-titles span{
    padding: 15px 40px;
    display: block;
    border: 1px solid #e1e1e1;
    font-size: 18px;
}
.page-comments-titles span:first-child{
    font-weight: bold;
}
.comment-info{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}
.comment-info i{
    font-style: normal;
    margin: 0 5px;
}
.comment-info a{
    color: var(--color2);
}
.comment-content{
    font-size: 20px;
    font-style: italic;
}
.comment-form{
    margin: 20px 0;
}
.logged-in-as a{
    color: var(--color2);
    text-transform: uppercase;
}
.comment-form-comment textarea{
    width: 100%;
    border: 1px solid #e1e1e1;
    padding: 20px;
}
.form-submit{
    margin: 10px 0 0 0;
}
.form-submit .submit{
    padding: 0 15px;
    height: 35px;
    line-height: 35px;
    border: 1px solid var(--color2);
    background-color: var(--color2);
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    border-radius: 5px;
    display: inline-block;
    -webkit-transition: var(--linear);
    -o-transition: var(--linear);
    transition: var(--linear);
}
.form-submit .submit:hover,
.form-submit .submit:focus{
    background-color: transparent;
    color: var(--color2);
    text-decoration: none;
}
/* recommended card */
.recommended-cart-post {
    padding: 15px 25px;
    border: 1px solid #e2e2e2;
    border-radius: 0;
    /*overflow: hidden;*/
    position: relative;
    margin-top: 25px;
}
.recommended-cart-post .ov-hidden {
    overflow: hidden;
}
.recommended-cart-post:before {
    content: '';
    position: absolute;
    top: -10px;
    left: -7px;
    width: 200px;
    height: 45px;
    background-image: url("img/2019-09-17.png");
    background-size: contain;
    background-repeat: no-repeat;
}
.recommended-cart-post--title {
    text-align: center;
    font-size: 24px;
    line-height: 2;
}
.recommended-cart-post--image {
    width: 100%;
    max-width: 240px;
    float: left;
    margin: 15px;
}
.recommended-cart-post--image img {
    width: 100%;
}
.recommended-cart-post--bullets li {
    position: relative;
    padding: 0 0 0 20px;
    font-size: 20px;
    list-style-type: none;
}
.recommended-cart-post--bullets li:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 9px;
    height: 9px;
    background-color: var(--color2);
    border-radius: 50%;
}
.recommended-cart-post--cta {
    margin-top: 10px;
    text-align: center;
}
.recommended-cart-post--content {
    margin: 15px 0 0 0;
    font-size: 18px;
    line-height: 1.5;
    color: #4d5050;
    overflow: hidden;
    display: block;
}
.recommended-cart-post--more {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    text-align: center;
    background: linear-gradient(rgba(255,255,255,.5),#fff);
    padding: 20px;
}
.recommended-cart-post--disclaimer {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 10pt;
    color: #8787876b;
}
.recommended-cart-post--modal {
    position: fixed;
    background: var(--color2);
    z-index: 9999;
    top: 0;
    right: -250px;
    height: 100%;
    width: 100%;
    max-width: 250px;
    padding: 25px;
    color: white
}
.recommended-cart-disclosure-link {
    margin-top: 11px;
    display: block;
}
.recommended-cart-post--modal button {
    background-color: var(--color1);
    position: absolute;
    bottom: 25px;
    right: 30px;
}
.recommended-cart-post--modal button:hover {
    background-color: #fdd355;
}

/* ========================= */

/*post-share*/
.custom-post-share{
    text-align: center;
}
.custom-post-share a{
    color: var(--color2);
}
.custom-post-share .jssocials-shares{
    display: inline-block;
    position: relative;
}
.custom-post-share .jssocials-shares::before,
.custom-post-share .jssocials-shares::after{
    content: '';
    position: absolute;
    top: 50%;
    width: 170px;
    height: 2px;
    background-color: #e1e1e1;
}
.custom-post-share .jssocials-shares::before{
    right: calc(100% + 10px);
}
.custom-post-share .jssocials-shares::after{
    left: calc(100% + 10px);
}
.post-content-share--wrapper {
    background-color: #fff;
}
.post-content-share--wrapper .share-title{
    text-align: center;
    color: var(--color2);
    font-size: 16px;
    font-style: italic;
}
.favourite-cards-wrapper{
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    margin: var(--grid-row);
    flex-direction: column;
}
.favourite-cards-title{
    font-family: var(--font2);
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
    margin: 20px 0;
}
.favourite-cards-title-disclosure{
    text-align: center;
    font-family: var(--font2);

    font-size: 14px;
    line-height: 24px;
    text-transform: initial;
    margin: 20px 0;
}
.favourite-cards-title span{
    display: inline-block;
    position: relative;
}
.favourite-cards-item{
    padding: var(--grid-col);
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    margin: 0 -60px;
    padding: 5px;
}
.favourite-cards-img{
    width: 40%;
    padding: 0 5px;
}
.favourite-cards-img img{
    border-radius: 5px;
}
.favourite-cards-right{
    width: 60%;
    padding: 0 5px;
}
.favourite-cards-link{
    color: var(--color2);
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
}
.favourite-cards-text p{
    font-size: 16px;
    line-height: 20px;
}
.favourite-cards-all{
    margin: 20px 0 0;
    text-align: center;
}

/* ================================= */
/* Intro Shortcode */
/* ================================= */
.intro {
    position: relative;
}
.intro a {
    color: #3f3f3f;
}
.intro a:hover {
    text-decoration: none;
}

/* left */
.intro .intro--left-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    min-height: 220px;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    margin: 15px 0;
    transition: all ease 0.3s;
    float: left;
    max-width: 250px;
    width: 100%;
}
.intro .intro--left-item:hover {
    transform: scale(1.1);
}
.intro .intro--left-item a {
    color: white;
    font-family: var(--font2);
    font-size: 16px;
    text-transform: uppercase;
    text-shadow: 1px 1px 1px #000000;
}

/* center */
.intro .intro--center {
    max-width: 625px;
    width: 100%;
    float: right;
}
.intro .intro--center .intro-center--background {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    min-height: 375px;
    height: 100%;
    margin: 15px 0;
    transition: all ease 0.3s;
}
.intro .intro--center:hover .intro-center--background {
    transform: scale(1.05);
}
.intro .intro--center h2 {
    font-size: 28px;
    text-transform: uppercase;
    font-family: var(--font2);
    line-height: 3rem;
}
.intro .intro--center .intro-center--short-content {
    font-size: 14px;
    margin: 0;
}

@media only screen and (max-width: 1200px) {
    .intro .intro--left-item {

    }
    .intro .intro--center {
        max-width: 445px;
    }
}

@media only screen and (max-width: 992px) {
    .intro .intro--left-item {
        max-width: 100%;
        padding: 0 50px;
    }
    .intro .intro--center {
        max-width: 100%;
        position: relative;
        width: 100%;
        padding: 0 10px;
    }
    .intro .intro--center .intro-center--short-content {
        display: none;
    }
    .intro .intro--center .intro-center--background {
        min-height: 220px;
    }
    .intro .intro--center h2 {
        position: absolute;
        top: 40%;
        width: 100%;
        text-align: center;

        color: white;
        font-family: var(--font2);
        font-size: 16px;
        text-transform: uppercase;
        text-shadow: 1px 1px 1px #000000;
    }

    .intro .slick-prev {
        display: inline-block;
        position: absolute;
        z-index: 9999;
        left: 0;
        top: 0;
        background: transparent;
        border: 0;
        color: white;
        font-size: 35px;
        height: 100%;
        width: 80px;
        text-align: left;
    }
    .intro .slick-next {
        position: absolute;
        z-index: 9999;
        right: 0;
        top: 0;
        background: transparent;
        border: 0;
        color: white;
        font-size: 35px;
        height: 100%;
        width: 80px;
    }
}

/* center */
.intro .intro--right-item {
    font-family: var(--font2);
    border-bottom: 1px solid #777777;
    padding: 15px;
    text-transform: uppercase;
}
.intro .intro--right-item:hover {
    box-shadow: 0 1px 10px rgba(0,0,0,0.1408);
}
/* ================================= */

/*text-editable*/
.text-editable {
    margin: 25px 0 0;
}
.text-editable p{
    margin: 0 0 35px 0;
}
.text-editable ul{
    margin: 30px 0;
}
.text-editable li{
    position: relative;
    padding: 0 0 0 20px;
    margin: 0 0 20px 0;
    font-size: 20px;
}
.text-editable li:before{
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 9px;
    height: 9px;
    background-color: var(--color2);
    border-radius: 50%;
}

#toc_container li:before,
#brcc_container li:before {
    content: '';
    display: none;
}

/*tooltip for cards*/
.table-card .tooltip .tooltip-inner {
    font-size: 14px;
    padding: 8px 15px;
}


/* ============================================== */
/*  Author page                                   */
/* ===============================================*/
.author .footer {
    /*margin: 0;*/
    height: auto;
}

.author .screen-author {
    background-image: url(https://jjstagingmain.wpengine.com/wp-content/uploads/2018/11/cards-slider-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding: 65px 0;
    background-color: #e5e5e5;
    background-position-x: center;
}
.author .author-image img {
    border-radius: 50%;
}

.author .author-title {
    color: var(--color2);
    font-size: 26px;
    margin: 22px 0;
}
.author .author-content {
    padding: 45px 0;
}
.author .author-content-title h3 {
    display: inline-block;
    position: relative;
    margin: 22px 0;
}
.author .author-content-title h3::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    top: auto;
    bottom: 0;
    left: 0;
    background-color: var(--color2);
}

.author .author-content-title {
    text-align: center;
    font-family: var(--font2);
    font-size: 40px;
    line-height: 44px;
    text-transform: uppercase;
    position: relative;
}
.author .social-links a {
    font-size: 28px;
    margin: 5px;
}
.author .social-links a:hover {
    text-decoration: none;
}

.author .social-links a.yahoo {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-image: url("data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCA1MDYuOTY0IDUwNi45NjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDUwNi45NjQgNTA2Ljk2NDsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSI1MTJweCIgaGVpZ2h0PSI1MTJweCI+CjxnPgoJPGc+CgkJPHBhdGggZD0iTTI4Ny44OTUsNjguODI2bDQuMTk3LDUwLjM2MWw1OS41OTMsMTQuMjY5Yy02LjcxNSwyMC4xNDQtMzQuNDEzLDU5LjU5My04Mi4yNTYsMTE4LjM0OCAgICBjLTM4LjYxLTc2LjM4LTY5LjY2Ni0xNDIuNjg4LTkyLjMyOC0xOTMuODg4bDY3Ljk4Ny0xMC45MTFsNC4xOTctNDUuMzI1SDB2NTAuMzYxbDcyLjE4NCwxNS4xMDggICAgYzguMzkzLDExLjc1MSwyNy42OTgsNDEuOTY3LDcyLjE4NCwxMjYuNzQxYzQ3LjAwMyw5MS40ODgsNTUuMzk3LDExNC4xNTEsNTcuMDc1LDEyMC4wMjZsMC44MzksNDcuMDAzdjI0LjM0MSAgICBjMCw1MC4zNjEtMi41MTgsNTkuNTkzLTIuNTE4LDYwLjQzM2MwLDAuODM5LTMuMzU3LDUuMDM2LTI1LjE4LDcuNTU0bC00MS4xMjgsMi41MThsLTYuNzE1LDQ5LjUyMWgyMzQuMTc3bDE0LjI2OS01Mi44NzkgICAgbC03Ni4zOC0xLjY3OWwtNC4xOTctNjIuOTUxbDMuMzU3LTczLjg2MmMyLjUxOC0xMC45MTEsMTUuOTQ4LTM2LjkzMSw2NC42My05OC4yMDNjNDguNjgyLTYzLjc5LDYyLjk1MS03NS41NDEsNjUuNDY5LTc3LjIyICAgIGw1OC43NTQtMTkuMzA1bDIwLjE0NC01MC4zNjFIMjg3Ljg5NXogTTQ3NS4wNjksMTA1Ljc1N2wtNTIuODc5LDE3LjYyNmMtOC4zOTMsMy4zNTctMjMuNTAyLDE4LjQ2Ni03My4wMjMsODIuMjU2ICAgIGMtNDEuOTY3LDUyLjAzOS02My43OSw4Ny4yOTItNjcuOTg3LDEwNS43NTdsLTMuMzU3LDc2LjM4bDUuMDM2LDc4Ljg5OGw3MC41MDUsMS42NzlsLTUuMDM2LDIwLjE0NEgxNDYuMDQ2bDIuNTE4LTE2Ljc4NyAgICBsMjcuNjk4LTAuODM5YzIwLjE0NC0yLjUxOCwzMi43MzQtNi43MTUsMzcuNzctMTUuMTA4YzIuNTE4LTIuNTE4LDUuMDM2LTcuNTU0LDUuMDM2LTY5LjY2NnYtMjQuMzQxbC0wLjgzOS00OC42ODJ2LTEuNjc5ICAgIGMtMy4zNTctMTcuNjI2LTM4LjYxLTg1LjYxMy01OC43NTQtMTI1LjA2MmMtMzYuOTMxLTY5LjY2Ni02Mi45NTEtMTE1LjgzLTc1LjU0MS0xMzEuNzc3bC0yLjUxOC0yLjUxOEwxNi43ODcsMzguNjFWMTguNDY2ICAgIEgyMzAuODJsLTAuODM5LDEzLjQzTDE1My42LDQzLjY0Nmw0LjE5NywxMC4wNzJjMjQuMzQxLDU1LjM5Nyw1OS41OTQsMTMwLjA5OCwxMDMuMjM5LDIxNi41NTFsNS44NzUsMTIuNTlsOC4zOTMtMTAuMDcyICAgIGM4My4wOTUtOTkuODgyLDk0Ljg0Ni0xMjkuMjU5LDk1LjY4NS0xNDQuMzY3di02LjcxNWwtNjIuMTEyLTE1LjEwOEwzMDcuMiw4Ni40NTJoMTc2LjI2Mkw0NzUuMDY5LDEwNS43NTd6IiBmaWxsPSIjMDAwMDAwIi8+Cgk8L2c+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==");
    background-repeat: no-repeat;
    background-size: cover;

}

.author .social-links a.google,
.author .social-links a.google-plus,
.author .social-links a.twitter,
.author .social-links a.instagram,
.author .social-links a.linkedin,
.author .social-links a.pinterest,
.author .social-links a.youtube,
.author .social-links a.facebook {
    font-family: FontAwesome;
    color: var(--color2);
}
.author .social-links a.google:after {
    content: "\f0d5";
}
.author .social-links a.facebook:after {
    content: "\f09a";
}
.author .social-links a.twitter:after {
    content: "\f099";
}
.author .social-links a.google-plus:after {
    content: "\f0d4";
}
.author .social-links a.instagram:after {
    content: "\f16d";
}
.author .social-links a.linkedin:after {
    content: "\f0e1";
}
.author .social-links a.pinterest:after {
    content: "\f0d2";
}
.author .social-links a.youtube:after {
    content: "\f16a";
}
/* har fix extra lightbox */

#colorbox,
#cboxOverlay {
    display: none!important;
}

.screen-author .author-image img {
    max-width: 150px;
    height: auto;
}
.post-content-gallery.grid {
	display: flex;
	flex-wrap: wrap;
}
.adthrive-ad {
	z-index: 1000!important;
}

/* ===============================================*/

@media only screen and (max-width: 1200px) {
    .carousel-cards-title {
        font-size: 14px;
        line-height: 18px;
    }
    .carousel-cards-info{
        padding: 15px 20px;
    }
    .carousel-cards-img,
    .latest-posts-item-img,
    .related-posts-item-img{
        height: 70px;
    }
    .trend-title{
        font-size: 30px;
        line-height: 38px;
    }
    .trend-desc {
        line-height: 26px;
    }
    .footer > .container {
        padding-top: 60px;
        padding-bottom: 30px;
    }
    .related-posts-item-info,
    .related-posts-item-title,
    .related-posts-item-category{
        padding: 20px;
    }
    .custom-post-title{
        font-size: 48px;
        line-height: 54px;
    }
    .sidebar-offers p span{
        height: auto;
    }
    .single-card-title-wrapper{
        width: 100%;
    }
    .main-menu li a{
        font-size: 12px;
    }
}
@media only screen and (max-width: 1024px) {
    .nav-big-centered .owl-prev{
        right: auto;
        left: -25px;
    }
    .nav-big-centered .owl-next{
        left: auto;
        right: -25px;
    }

    .content {
        padding: 0 0 0px;
    }

    .footer {
        margin: 0px auto 0;
    }
}

@media only screen and (max-width: 992px) {
    .search-opened .header-logo {
        visibility: hidden;
    }
    .search-opened .main-menu .search-buttons .search-container {
        -webkit-transform: translate3d(-50%,0,0);
        transform: translate3d(-50%,0,0);
    }
    .header-wrapper{
        -ms-flex-pack: center;
        -webkit-box-pack: center;
        justify-content: center;
    }
    .carousel-bg-content-more {
        margin: 15px 0 0 0;
    }
    .carousel-bg-btns {
        margin: 30px -7px 0;
    }
    .main-title{
        font-size: 34px;
        line-height: 38px;
    }
    .cards-slider{
        background-size: cover;
    }
    .main-latest-posts {
        padding: 50px 0;
    }
    .trend-post{
        margin: 40px 0 0 0;
    }
    .trend-img,
    .trend-info{
        width: 100%;
        padding: 0;
    }
    .trend-info{
        margin: 20px 0 0 0;
    }
    .header {
        height: 180px;
        padding: 20px 0;
    }
    .empty-header {
        height: 10px;
    }
    .latest-posts-item-img{
        height: 110px;
    }
    .latest-posts-item-title{
        line-height: 22px;
        font-size: 16px;
    }
    .trend-author span{
        display: block;
    }
    .author-img{
        width: 300px;
    }
    .main-about-quote,
    .main-about-text{
        font-size: 18px;
        line-height: 22px;
    }
    .footer-item-popular span,
    .footer-item-links span {
        display: block;
        margin: 5px 0 0 0;
    }

    .related-posts-item{
        width: 100%;
        display: -ms-flexbox;
        display: -webkit-box;
        display: flex;
        vertical-align: top;
    }

    .related-posts-item-img{
        height: 100%;
    }
    .related-posts-item-img img{
        height: 100%;
        max-width: none;
    }
    .related-posts-item-title h2,
    .related-posts-item-title h3,
    .related-posts-item-title h4{
        height: auto;
    }
    .related-posts-item-category{
        display: none;
    }
    .related-posts-item-img img{
        position: static;
        -webkit-transform: translate(0%, 0%) scale(1,1);
        -ms-transform: translate(0%, 0%) scale(1,1);
        transform: translate(0%, 0%) scale(1,1);
    }
    .related-posts-item a:hover .related-posts-item-img img {
        -webkit-transform: translate(0%, 0%) scale(1,1);
        -ms-transform: translate(0%, 0%) scale(1,1);
        transform: translate(0%, 0%) scale(1,1);
    }
    .related-posts-item a:hover .related-posts-item-title {
        width: 100%;
        left: 0;
    }
    .related-posts-item-title::before,
    .related-posts-item-title::after{
        display: none;
    }
    .custom-post{
        width: var(--grid-col-7);
    }
    .custom-sidebar{
        width: var(--grid-col-5);
        padding: var(--grid-col);
    }
    .favourite-cards-wrapper{
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .favourite-cards-item{
        width: var(--grid-col-6);
        margin: 10px 0;
    }
    .custom-post-meta .post-categories a,
    .custom-post-meta .post-categories span{
        font-size: 20px;
        line-height: 24px;
    }
    .btn-card{
        font-size: 14px;
    }
    .table-card-td .btn-card{
        width: 100%;
    }
    .table-card-th{
        font-size: 16px;
    }
    .table-card-td{
        font-size: 16px;
        line-height: 20px;
    }
    .single-card-title-wrapper{
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-pack: center;
        -webkit-box-pack: center;
        justify-content: center;
    }
    .single-card-title-wrapper img{
        max-width: 100%;
        margin: 0;
    }
    .single-card-title-wrapper h1{
        width: 100%;
        text-align: center;
        font-size: 36px;
        line-height: 40px;
    }
    .single-card-desc{
        width: 60%;
    }
    .single-card-info{
        width: 40%;
    }
    .tabs-bar-item,
    .tabs-item p,
    .tabs-item span{
        font-size: 16px;
    }
    .carousel-cards-container:hover .carousel-cards-img img,
    .latest-posts-item a:hover .latest-posts-item-img img,
    .related-posts-item a:hover .related-posts-item-img img{
        webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }
    .main-menu li .element{
        display: none;
    }
    .post-content-share--stick{
        background: rgba(255,255,255, 0.7);
    }


}


@media only screen and (min-width: 768px) {
    .has-big-menu .main-menu,
    .has-big-menu .main-menu li {
        position: static;
    }
    .has-big-menu nav.main-menu > ul > li {
        padding: 30px 0;
    }

    .has-big-menu .element {
        display: none;

        background: #4a4a4a;
    }

    .has-big-menu .element > ul > li {
        margin: 10px 0;
    }

    .has-big-menu .element > ul {
        margin: 0 auto;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        max-width: 1140px;
    }
    .has-big-menu .menu-item-has-children:hover .element {
        display: block;
        position: absolute;
        width: 100%;
        left: 0;
        top: 100px;
        padding: 20px 0;
        z-index: 999;
    }
    .has-big-menu ul.sub-menu li {
        -ms-flex-positive: 0;
        flex-grow: 0;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        -ms-flex-preferred-size: 31%;
        flex-basis: 31%;
    }
    .has-big-menu .element > ul.sub-menu > li > a {
        border-bottom: 1px solid var(--color2);
        margin: 0 12px;
    }
    .has-big-menu ul.sub-menu li ul.sub-menu {
        padding: 0 12px;
    }

    .has-big-menu ul.sub-menu li ul.sub-menu li a {
        font-size: 12px;
        padding: 10px 25px;
    }
}
@media only screen and (max-width: 768px) {
    .search-opened .main-menu .search-buttons .search-container {
        -webkit-transform: translate3d(50px,0,0);
        position: relative;
        transform: translate3d(50px,0,0);
    }
    .search-opened .main-menu .btn-menu {
        display: none;
    }
    .header {
        height: auto;
    }
    .header-wrapper{
        -ms-flex-pack: justify;
        -webkit-box-pack: justify;
        justify-content: space-between;
    }
    .custom-post-content p, .custom-post-content * {
        margin: 0 0 15px 0;
        line-height: 1.9;
        font-size: 17px;
        font-family: var(--font3);
    }
    .main-menu .search-buttons .search-container {
        width: 375px;
    }
    .main-menu {
        position: relative;
        top: -10px;
    }
    .search-opened .main-menu .search-buttons .search-container {
        top: 0;
    }
    .main-menu > ul {
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        background-color: var(--color1);
        padding: 90px 0 0 0;
        overflow: hidden;
        overflow-y: auto;
        -webkit-transform: translate(100%,0);
        -ms-transform: translate(100%,0);
        transform: translate(100%,0);
        opacity: 0;
        -webkit-transition: var(--linear);
        -o-transition: var(--linear);
        transition: var(--linear);
    }
    .btn-menu.active + ul {
        -webkit-transform: translate(0,0);
        -ms-transform: translate(0,0);
        transform: translate(0,0);
        opacity: 1;
    }
    .main-menu li{
        display: block;
    }
    .has-big-menu nav.main-menu > ul > li {
        padding: 0;
    }
    .main-menu > ul > li > ul{
        position: static;
        width: auto;
        max-height: none;
        overflow: visible;
        margin: 0 0 20px 0;
        opacity: 1;
        -webkit-transition: var(--linear);
        -o-transition: var(--linear);
        transition: var(--linear);
    }
    .main-menu li > ul li ul a{
        padding: 5px 20px 5px 40px;
        line-height: 16px;
    }
    .main-menu .search-buttons {
        position: absolute;
        right: 50px;
        top: 0px;
    }
    .main-menu .search-buttons .icon.search {
        top: -5px;
    }
    .btn-menu {
        display: block;
    }
    .carousel-bg-posts-wrapper {
        margin: 50px 0 0 0;
    }
    .nav-big-centered .owl-nav i{
        font-size: 100px;
    }
    .main-title {
        font-size: 30px;
        line-height: 34px;
    }
    .latest-posts-item-img,
    .carousel-cards-img{
        height: auto;
    }
    .latest-posts-item-img img,
    .carousel-cards-img img{
        position: static;
        -webkit-transform: translate(0,0);
        -ms-transform: translate(0,0);
        transform: translate(0,0);
    }
    .carousel-cards-title {
        font-size: 15px;
        line-height: 18px;
    }
    .trend-post-slider-wrapper .trend-post {

    }
    .trend-post-slider-wrapper .slick-arrow i {
        font-size: 48px;
    }
    .trend-post-slider-wrapper .slick-arrow {
        height: 55px;
        top: -50px;
        width: 45%;
        background: #40b99d1f;
    }
    .trend-post-slider-wrapper .slick-prev {
        left: 10px;
    }
    .trend-post-slider-wrapper .slick-next {
        right: 10px;
    }
    .trend-author{
        line-height: 20px;
    }
    .main-about-wrapper{
        margin: 0;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .main-about-item{
        padding: 0;
        width: 100%;
    }
    .main-about {
        padding: 40px 0 50px;
    }
    .main-about-right{
        margin: 80px 0 0 0;
        text-align: center;
    }
    .readmore-btn {
        padding: 0 20px 0 0;
    }
    .footer > .container{
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .footer-copyright{
        font-size: 14px;
        line-height: 18px;
    }
    .footer-item-popular span,
    .footer-item-links span {
        margin: 15px 0 0 0;
        line-height: 20px;
    }
    .footer-item a{
        font-size: 14px;
    }
    .footer-item-socials a{
        font-size: 18px;
        margin: 0 5px;
    }
    .scroll-top{
        right: 15px;
    }
    .single-content-row{
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .custom-post,
    .custom-sidebar{
        width: 100%;
    }
    .main-menu > ul > li > ul{
        border: none;
    }
    .table-card-td img {
        width: 50px;
    }
    .comment-info {
        font-size: 14px;
    }
    .comment-content {
        font-size: 18px;
        line-height: 22px;
    }
    .page-title {
        font-size: 48px;
        line-height: 52px;
    }
    .single-card-desc,
    .single-card-info{
        width: 50%;
    }
    .page-404{
        min-height: 450px;
    }
    .page-404-wrapper {
        bottom: 20px;
    }
    .page-404-wrapper h2{
        font-size: 24px;
        line-height: 28px;
    }
    .page-404-wrapper p{
        font-size: 18px;
        line-height: 22px;
    }
    .nav-big-centered .owl-prev{
        right: auto;
        left: -15px;
    }
    .nav-big-centered .owl-next{
        left: auto;
        right: -15px;
    }
    .recommended-cart-post--image {
        float: none;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 640px) {
    .related-posts-item-container a{
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .related-left-mcontainer,
    .related-right-mcontainer{
        width: 100%;
    }
    .related-posts-item-img img {
        height: auto;
        max-width: 100%;
        position: static;
        -webkit-transform: translate(0%, 0%);
        -ms-transform: translate(0%, 0%);
        transform: translate(0%, 0%);
    }
    .related-posts-item-title{
        line-height: 30px;
    }
    .table-card{
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .table-card{
        width: 70%;
        margin: 0 auto 40px;
        border: 1px solid var(--color1);
    }
    .table-card-item{
        width: 100%;
        border: none;
    }
    .table-card-item:first-child{
        border: none;
    }
    .table-card-th{
        display: -ms-flexbox;
        display: -webkit-box;
        display: flex;
        height: 40px;
    }
    .table-card:first-child .table-card-td,
    .table-card .table-card-td {
        height: calc(100% - 40px);
    }
    .table-card-td img {
        width: 80px;
    }
    .comment, .pingback {
        padding: 15px;
    }
    .page-comments-titles{
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .page-comments-titles span{
        padding: 15px;
        width: 100%;
    }
    .comment-column-left {
        text-align: center;
        margin: 0 0 10px 0;
    }
    .single-card-row{
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin: 0;
    }
    .single-card-desc,
    .single-card-info{
        width: 100%;
        padding: 0;
        margin: 20px 0;
    }
    .single-card-de.has-big-menu .main-menu li sc .btn-card{
        display: block;
    }
    .single-card-info .btn-card{
        display: none;
    }
    .nav-big-centered .owl-prev{
        right: auto;
        left: -5px;
    }
    .nav-big-centered .owl-next{
        left: auto;
        right: -5px;
    }
}
@media only screen and (max-width: 992px) and (min-width: 560px){
    .related-posts-item-container {
        overflow: hidden;
        display: flex;
    }

    .related-posts-item-container > a:nth-child(1){
        width: 40%;
        display: inline-flex;
    }
    .related-left-mcontainer{
        width: 100%;
    }
    .related-right-mcontainer{
        width: 60%;
        display: inline-block;
        vertical-align: top;
    }
    .related-posts-item-img{
        height: 100%;
    }
    .related-posts-item-img img{
        height: 100%;
        max-width: none;
    }
}
@media only screen and (max-width: 480px) {
    .header-logo {
        width: 190px;
    }
    .carousel-bg-posts-info{
        width: auto;
        padding: 30px;
    }
    .carousel-bg-title{
        font-size: 28px;
        line-height: 32px;
        height: auto;
    }
    .carousel-bg-content{
        line-height: 24px;
    }
    .carousel-bg-content-more a{
        font-size: 18px;
    }
    .carousel-cards-info{
        height: auto;
    }
    .carousel-cards-title {
        font-size: 18px;
        line-height: 24px;
    }
    .cards-slider {
        padding: 40px 0 20px;
    }
    .latest-posts-wrapper{
        margin: 40px 0 0 0;
    }
    .latest-posts-item{
        padding: 0;
        width: 100%;
    }
    .author-img {
        width: 200px;
    }
    .readmore-btn a{
        font-size: 18px;
    }
    .footer-wrapper{
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .footer-item{
        width: 100%;
        margin: 20px 0 0 0;
    }
    .footer-item:first-child{
        margin: 0;
    }
    .footer-title{
        margin-bottom: 15px;
    }
    .footer-item-popular span,
    .footer-item-links span {
        margin: 10px 0 0 0;
    }
    .footer{
        height: auto;
    }
    .favourite-cards-item{
        width: 100%;
    }
    .custom-post-title {
        font-size: 36px;
        line-height: 40px;
    }
    .custom-post-meta .post-categories a,
    .custom-post-meta .post-categories span {
        font-size: 16px;
        line-height: 20px;
    }
    .custom-post-share .jssocials-shares::before,
    .custom-post-share .jssocials-shares::after{
        width: 100%;
    }
    .favourite-cards-img{
        width: 50%;
    }
    .comment-body{
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .comment-column-left{
        width: 100%;
    }
    .comment-column-right{
        width: 100%;
    }
    .page-title {
        font-size: 36px;
        line-height: 40px;
    }
    .table-card{
        width: 100%;
    }
    .comment-info{
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .logged-in-as a{
        font-size: 14px;
    }
    .tabs-bar-item{
        font-size: 12px;
        line-height: 16px;
        padding: 15px;
    }
    .search-opened .main-menu .search-buttons{
        right: 0px;
    }
}

/* Fixes for IE */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    /*  IE-only styles here. Works for IS 10 & IE 11*/
    .carousel-bg-posts-info {
        display: block;
    }
    .carousel-cards-info {
        background: white;
    }
}
/* Mailchimp form */

form.mc4wp-form {
	position: relative;
	overflow: hidden;
}

form.mc4wp-form .mc-form-fields {
	padding: 40px;
}

form.mc4wp-form h2 {
	line-height: 30px;
	color: var(--color3);
	font-family: var(--font2);
	font-size: 43px;
	margin: 15px 0;
}

form.mc4wp-form .indicates-required {
	text-align: right;
	font-size: 11px;
	margin-right: 4%;
}

form.mc4wp-form .indicates-required .asterisk {
	color: #e85c41;
	font-size: 150%;
	font-weight: normal;
	position: relative;
	top: 5px;
}

form.mc4wp-form form#mc-embedded-subscribe-form {
	padding: 40px;
}

form.mc4wp-form {
	font-family: var(--font2);
	color: #5f5f5f;
	font-size: 18px;
}

form.mc4wp-form .mc-field-group ul {
	padding: 0;
	margin: 10px 0;
}

form.mc4wp-form .mc-field-group ul li {
	list-style-type: none;
}

form.mc4wp-form .mc-field-group label {
	display: block;
	margin-bottom: 32px;
}

form.mc4wp-form input#mc-embedded-subscribe {
	padding: 0 30px;
	margin: 0;
	box-shadow: none;
}

form.mc4wp-form .left-side {
	float: left;
	width: 70%;
}

.sidebar-item form.mc4wp-form .left-side {
    width: 50%;
}
.sidebar-item form.mc4wp-form .right-side {
    width: 50%;
    margin: 76px 0 20px;
}

form.mc4wp-form .right-side {
	float: right;
	width: 30%;
	margin: 55px 0 45px 0;
	height: 42px;
	text-align: center;
}

form.mc4wp-form .right-side input#mc-embedded-subscribe {
	width: 90%;
	height: 40px;
	margin: auto;
}

form.mc4wp-form input[type=email] {
	display: block;
	width: 100%;
	padding: 8px 0;
	text-indent: 2%;
}

form.mc4wp-form .mc4wp-response {
	text-align: center;
}

form.mc4wp-form .mc4wp-error {
	color: #ff1205;
}

form.mc4wp-form .mc4wp-success {
	color: #3DB99E;
}

@media only screen and (max-width: 768px) {
	form.mc4wp-form .left-side {
		float: none;
		width: 100%;
		margin: 0;
	}

	form.mc4wp-form .right-side {
		float: none;
		width: 100%;
		margin: 0;
	}
}

/* Mailchimp form on the Page */
#mc_embed_signup {
	position: relative;
	overflow: hidden;
}

#mc_embed_signup form  h2 {
	line-height: 30px;
	color: var(--color3);
	font-family: var(--font2);
	font-size: 43px;
}
#mc_embed_signup form#mc-embedded-subscribe-form {
	padding: 40px;
}
#mc_embed_signup form {
	font-family: var(--font2);
	color: #5f5f5f;
	font-size: 18px;
}

#mc_embed_signup form .mc-field-group.input-group label {
	margin-left: 10px;
}

#mc_embed_signup form input#mc-embedded-subscribe {
	padding: 0 30px;
	margin: 0;
	box-shadow: none;
}

#mc_embed_signup form .left-side {
	float: left;
	width: 80%;
}
#mc_embed_signup form .right-side {
	float: right;
	width: 20%;
	margin: 55px 0;
	height: 42px;
	text-align: center;
}
#mc_embed_signup form .right-side input#mc-embedded-subscribe {
	width: 90%;
	height: 40px;
	margin: auto;
}
#mc_embed_signup #mce-responses #mce-success-response {
	width: 100%;
	text-align: center;
	color: #40b99d;
	font-size: 20px;
}

@media only screen and (max-width: 768px) {
	#mc_embed_signup form .left-side {
		float: none;
		width: 100%;
		margin: 0;
	}
	#mc_embed_signup form .right-side {
		float: none;
		width: 100%;
		margin: 0;
	}
}


/* subscribe-action-form for header */
.subscribe-action-form, .subscribe-action-form--content {
	display: inline-block;
}
.subscribe-action-form--content {
	display: none;
	top: 10px;
	position: relative;
}

.subscribe-action-form--content input {
	background: transparent;
	color: white;
	border: 1px solid;
	padding: 5px 15px;
	border-radius: 4px;
}

.subscribe-action-form--content button {
	border: 1px solid white;
	border-radius: 3px;
	background: transparent;
	color: white;
	padding: 5px 15px;
}
.subscribe-action-form--content button:hover {
	color: var(--color1);
	background-color: white;
	border: 1px solid #848484;
}

.subscribe-action-form--content label {
	font-size: 14px;
	color: white;
}