/*
Theme Name: HaifaRu-V2
Author: Magru
Author URI: http://magru.org/
Version: 1.0
License: WTFPL – Do What the Fuck You Want to Public License
License URI: http://www.wtfpl.net/
Text Domain: haifa
*/

.post-thumb-wrapper{
    background-size: cover;
    background-position: center;
}

.thumb-link{
    height: 113px;
}

.focus-group-featured-overlay{
    height: 274px;
}

.featured-post-img{
    overflow: hidden;
    min-height: 190px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-post-title{
    min-height: 180px;
}

.primary-color-bg{
    background-color: #183a98;
}

.newsletter-area form{
    display: flex;
    flex-direction: column;
}

.newsletter-area .newsletter{
    min-width: 100%;
}

.newsletter-area .newsletter input{
    width: 100%;
}

.newsletter-area .input-group-addon{
    min-width: 100%;
    position: relative;
}

.newsletter-area .input-group-addon input{
    width: 100%;
    margin-top: 15px;
    background-color: #000;
    color: #fff;
    font-size: 1.5em;
}

.newsletter-area .input-group-addon .ajax-loader{
    position: absolute;
}

.newsletter-area .stylish-input-group .form-control{
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

ul.breadcrumbs{
    color: #fff
}

.pagination-btn-wrapper ul li,
.page-numbers.dots{
    font-weight: 600;
    font-size: 16px;
    background-color: #f8f8f8;
    color: #111111;
    display: inline-block;
    height: 40px;
    width: 44px;
    text-align: center;
    line-height: 40px;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

.pagination-btn-wrapper ul .current{
    display: block;
    background-color: #183a98;
    color: #FFFFFF;
    height: 40px;
    width: 44px;
}

.pagination-result{
    display: none;
}

.contact-form .form-group input[type=submit]{
    line-height: 1;
}

.page-template-contact div[role=form]{
    position: relative;
}

div.wpcf7 .screen-reader-response{
    position: absolute;
    width: auto;
    height: auto;
    bottom: 0;
    left: 0;
}
.wpcf7-form-control-wrap{
    width: 100%;
    display: block;
}
.use-floating-validation-tip span.wpcf7-not-valid-tip{
    width: 100%;
    left: 0;
    right: 0;
    background-color: transparent;
    text-align: right;
    pointer-events: none;
    display: block;
}

.recaptcha-wrap .wpcf7-not-valid-tip{
    right: -87%!important;
    left: auto!important;
    height: 100%;
    top: 0!important;
    text-align: center!important;
    line-height: 29px;
}

.main-post-block{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-img{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.top-stories-section .media.bg-body{
    height: 88%;
}

.pl-0{
    padding-left: 0!important;
}

.news-info-list{
    display: flex;
}
.post-images{
    border-top: 1px solid #183a98;
    border-bottom: 1px solid #183a98;
    padding: 10px 0;
    margin-bottom: 10px;
}

.post-images .p-image{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px 0;
}

.post-images .p-image img{
    display: block;
    max-width: 100%;
}

.search-btn{
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #183a98;
    width: 38px;
    height: 38px;
    z-index: 9999;
    cursor: pointer;
}
.search-btn i{
    font-size: 16px;
    color: #fff;
}
.search-layer{
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 9999;
    background: rgba(24, 58, 152, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all .5s;
    pointer-events: none;
}
.search-layer.active-search{
    opacity: 1;
    pointer-events: all;
}
.close-search{
    position: absolute;
    right: 10px;
    top: 10px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.search-form-wrap{
    width: 50%;
}

.search-form-wrap ::placeholder{
    font-size: 18px;
    color: #fff;
}

.search-form-wrap input[type=text]{
    background: transparent;
    border: none;
    border-bottom: 1px solid #fff;
    font-size: 18px;
    color: #fff;
}

.search-form-wrap button{
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.search-form-wrap h3{
    font-size: 35px;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 25px;
}
.close-search i{
    font-size: 53px;
    color: #fff;
}
body.no-scroll{
    overflow: hidden;
}
.off-canvas-title{
    padding-left: 32px;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 25px;
}

.offcanvas-body-wrapper, .header-action-item{
    display: none;
}

.mobile-logo{
    display: none;
}

.events-slider{
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.img-gal-s{
    margin-bottom: 10px;
}

.header-style2 .stick{
    max-height: 60px;
    overflow: hidden;
}

.footer-box .media a{
    max-width: 42%;
}

.use-floating-validation-tip span.wpcf7-not-valid-tip{
    right: 0;
    left: auto;
    font-size: 12px;
    top: 8px;
    width: 46%;
    border: none;
}

div.wpcf7-validation-errors, div.wpcf7-mail-sent-ok{
    color: #fff;
    margin-top: 10px;
}

.single .events-slider{
    margin-bottom: 15px;
}

@media (max-width: 640px) {

    .mobile-logo{
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 3px 0;
    }

    .offcanvas-body-wrapper, .header-action-item{
        display: block;
    }
    .offcanvas-body-wrapper{
        background-color: #183a98;
    }
    .mobile-menu ul{
        padding: 0 10px;
        margin-top: 17px;
    }

    .mobile-menu ul li{
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #5167d7;
        padding: 4px 0;
    }

    .mobile-menu ul li a{
        color: #fff;
        font-family: 'Open Sans', sans-serif;
        font-size: 19px;
    }
    .news-info-list{
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    .top-bar-top{
        margin-top: 0;
    }
    .header-style2 .offcanvas-menu-btn a.menu-bar{
        left: -38px;
        top: -20px;
        background-color: #183a98;
        padding: 0px 5px;
        width: 38px;
        height: 38px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .offcanvas-menu-btn a.menu-bar span{
        background-color: #fff!important;
    }
    .offcanvas-menu-btn a.menu-bar span:first-child{
        margin-top: 0!important;
    }
    .search-form-wrap{
        width: 95%;
    }
    .search-layer{
        background: rgba(24, 58, 152, 1);
    }
    .news-info-list{
        width: calc(100% - 80px);
        margin: 0 auto;
    }
    .hide-on-mobile{
        display: none;
    }
    ul.news-info-list li{
        font-size: 11px;
    }
    .main-post-block{
        height: 250px!important;
    }
    .history-mobile{
        height: 200px!important;
    }
    .isotop-btn{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .title-medium-light{
        display: block;!important;
    }
    .post-info-dark{
        display: flex;
        justify-content: space-between;
    }
    ul.post-info-dark li{
        margin: 0;
        padding: 0;
        border: none;
    }
    .news-details-layout1 p{
        line-height: 1.4;
    }
    .posts-nav{
        display: none;
    }
    .offcanvas-body-wrapper .offcanvas-main-body ul.offcanvas-nav > li > a{
        padding: 0;
    }

    .preloader{
        display: none!important;
    }
}

.error .clip .shadow
{
    height: 180px;  /*Contrall*/
}
.error .clip:nth-of-type(2) .shadow
{
    width: 130px;   /*Contrall play with javascript*/
}
.error .clip:nth-of-type(1) .shadow, .error .clip:nth-of-type(3) .shadow
{
    width: 250px; /*Contrall*/
}
.error .digit
{
    width: 150px;   /*Contrall*/
    height: 150px;  /*Contrall*/
    line-height: 150px; /*Contrall*/
    font-size: 120px;
    font-weight: bold;
}
.error h2   /*Contrall*/
{
    font-size: 16px;
}
.error .msg /*Contrall*/
{
    top: -190px;
    left: 30%;
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 32px;
}
.error span.triangle    /*Contrall*/
{
    top: 70%;
    right: 0%;
    border-left: 20px solid #535353;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}


.error .container-error-404
{
    margin-top: 10%;
    position: relative;
    height: 250px;
    padding-top: 40px;
}
.error .container-error-404 .clip
{
    display: inline-block;
    transform: skew(-45deg);
}
.error .clip .shadow
{

    overflow: hidden;
}
.error .clip:nth-of-type(2) .shadow
{
    overflow: hidden;
    position: relative;
    box-shadow: inset 20px 0px 20px -15px rgba(150, 150, 150,0.8), 20px 0px 20px -15px rgba(150, 150, 150,0.8);
}

.error .clip:nth-of-type(3) .shadow:after, .error .clip:nth-of-type(1) .shadow:after
{
    content: "";
    position: absolute;
    right: -8px;
    bottom: 0px;
    z-index: 9999;
    height: 100%;
    width: 10px;
    background: linear-gradient(90deg, transparent, rgba(173,173,173, 0.8), transparent);
    border-radius: 50%;
}
.error .clip:nth-of-type(3) .shadow:after
{
    left: -8px;
}
.error .digit
{
    position: relative;
    top: 8%;
    color: white;
    background: #07B3F9;
    border-radius: 50%;
    display: inline-block;
    transform: skew(45deg);
}
.error .clip:nth-of-type(2) .digit
{
    left: -10%;
}
.error .clip:nth-of-type(1) .digit
{
    right: -20%;
}.error .clip:nth-of-type(3) .digit
 {
     left: -20%;
 }
.error h2
{
    color: #A2A2A2;
    font-weight: bold;
    padding-bottom: 20px;
}
.error .msg
{
    position: relative;
    z-index: 9999;
    display: block;
    background: #535353;
    color: #A2A2A2;
    border-radius: 50%;
    font-style: italic;
}
.error .triangle
{
    position: absolute;
    z-index: 999;
    transform: rotate(45deg);
    content: "";
    width: 0;
    height: 0;
}

/* Error Page */
@media(max-width: 767px)
{
    /* Error Page */
    .error .clip .shadow
    {
        height: 100px;  /*Contrall*/
    }
    .error .clip:nth-of-type(2) .shadow
    {
        width: 80px;   /*Contrall play with javascript*/
    }
    .error .clip:nth-of-type(1) .shadow, .error .clip:nth-of-type(3) .shadow
    {
        width: 100px; /*Contrall*/
    }
    .error .digit
    {
        width: 80px;   /*Contrall*/
        height: 80px;  /*Contrall*/
        line-height: 80px; /*Contrall*/
        font-size: 52px;
    }
    .error h2   /*Contrall*/
    {
        font-size: 24px;
    }
    .error .msg /*Contrall*/
    {
        top: -110px;
        left: 15%;
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 18px;
    }
    .error span.triangle    /*Contrall*/
    {
        top: 70%;
        right: -3%;
        border-left: 10px solid #535353;
        border-top: 8px solid transparent;
        border-bottom: 8px solid transparent;
    }
    .error .container-error-404
    {
        height: 150px;
    }
    /* Error Page */
}

/*--------------------------------------------Framework --------------------------------*/

.overlay { position: relative; z-index: 20; } /*done*/
.ground-color { background: white; }  /*done*/
.item-bg-color { background: #EAEAEA } /*done*/

/* Padding Section*/
.padding-top { padding-top: 10px; } /*done*/
.padding-bottom { padding-bottom: 10px; }   /*done*/
.padding-vertical { padding-top: 10px; padding-bottom: 10px; }
.padding-horizontal { padding-left: 10px; padding-right: 10px; }
.padding-all { padding: 10px; }   /*done*/

.no-padding-left { padding-left: 0px; }    /*done*/
.no-padding-right { padding-right: 0px; }   /*done*/
.no-vertical-padding { padding-top: 0px; padding-bottom: 0px; }
.no-horizontal-padding { padding-left: 0px; padding-right: 0px; }
.no-padding { padding: 0px; }   /*done*/
/* Padding Section*/

/* Margin section */
.margin-top { margin-top: 10px; }   /*done*/
.margin-bottom { margin-bottom: 10px; } /*done*/
.margin-right { margin-right: 10px; } /*done*/
.margin-left { margin-left: 10px; } /*done*/
.margin-horizontal { margin-left: 10px; margin-right: 10px; } /*done*/
.margin-vertical { margin-top: 10px; margin-bottom: 10px; } /*done*/
.margin-all { margin: 10px; }   /*done*/
.no-margin { margin: 0px; }   /*done*/

.no-vertical-margin { margin-top: 0px; margin-bottom: 0px; }
.no-horizontal-margin { margin-left: 0px; margin-right: 0px; }

.inside-col-shrink { margin: 0px 20px; }    /*done - For the inside sections that has also Title section*/
/* Margin section */

hr
{ margin: 0px; padding: 0px; border-top: 1px dashed #999; }
/*--------------------------------------------FrameWork------------------------*/

.img-desc{
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 3px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 14px;
}

#wp-calendar{
    width: 100%;
}

#wp-calendar th{
    text-align: center;
    color: #fff;
}

#wp-calendar td{
    text-align: center;
    color: #fff;
}
#wp-calendar td a{
    color: #007bff;
}
.gsInformer{
    max-width: 100%!important;
}
.putin-huylo, .mobile-putin-huylo{
    height: 39px;
    width: auto;
    margin-left: 20px;
}