/* 
Themes: Langding page
Author: Developper
*/
.wp-pagenavi[role="navigation"] span {
    display: inline-block;
    min-width: 30px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 7px 14px;
    border: 1px solid #eaeaea;
    color: #999;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    -webkit-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -moz-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -o-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -ms-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000)
}
.wp-pagenavi[role="navigation"] span.current {
    border-color: #bbb;
    color: #444;
    cursor: default;
}
.wp-pagenavi[role="navigation"] .page {
    overflow: initial;
    margin: 0 5px;
}
.grid-bg {
    min-height: 150px;
    background-color: #819f3d;
    position: relative;
    z-index: 8;
    display: flex;
    align-items: center;
}
.grid-bg p {
    position: absolute;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 20px;
    margin-left: 20px;
    z-index: 10;
}
.grid-bg:after {
    content: '';
    width: 0;
    height: 0;
    border-top: 75px solid transparent;
    border-left: 25px solid #819f3d;
    border-right: 0;
    border-bottom: 75px solid transparent;
    position: absolute;
    right: -25px;
}
.row-2 .grid-bg:before, .row-3 .grid-bg:before, .row-4 .grid-bg:before {
    content: '';
    width: 0;
    height: 0;
    border-top: 75px solid transparent;
    border-left: 25px solid #fff;
    border-right: 0;
    border-bottom: 75px solid transparent;
    position: absolute;
    left: 0;
}
.row-1 .grid-bg {
    background-color: rgba(33,127,188, 0.3)
}
.row-1 .grid-bg:after {
    border-left: 25px solid rgba(33,127,188, 0.3);
}
.row-2 .grid-bg {
    background-color: rgba(33,127,188, 0.5)
}
.row-2 .grid-bg:after {
    border-left: 25px solid rgba(33,127,188, 0.5)
}
.row-3 .grid-bg {
    background-color: rgba(33,127,188, 0.7)
}
.row-3 .grid-bg:after {
    border-left: 25px solid rgba(33,127,188, 0.7)
}

.row-4 .grid-bg::after {
    border-left: 0;
}
.row-4 .grid-bg {
    background: #217fbc
}
@media (max-width: 767px) {
    .grid-bg {
        margin-right: 25px;
    }
}
.button-modal {
    width: 65%;
    display: table;
    margin: auto;
    background: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-right: 50px;
}
.button-modal i {
    color: #fff;
}
.button-modal:hover i {
    color: #fff;
}

/* 

====== Zoom effect ======

*/
.mfp-zoom-in .mfp-with-anim {
    opacity: 0;
    transition: all 0.2s ease-in-out; 
    transform: scale(0.8); 
}
.mfp-zoom-in.mfp-bg {
    opacity: 0;
	transition: all 0.3s ease-out;
}
.mfp-zoom-in.mfp-ready .mfp-with-anim{
    opacity: 1;
    transform: scale(1); 
}
.mfp-zoom-in.mfp-ready.mfp-bg {
    opacity: 0.8;
}
.mfp-zoom-in.mfp-removing .mfp-with-anim {
    transform: scale(0.8); 
    opacity: 0;
}
.mfp-zoom-in.mfp-removing.mfp-bg {
    opacity: 0;
}

/* text-based popup styling */
.white-popup {
    position: relative;
    background: #FFF;
    padding: 25px;
    width:auto;
    max-width: 500px;
    width: 90%;
    margin: 20px auto; 
}
.has-error .form-control {
    border-color: #a94442 !important;
}
.successRes {
    position: relative;
}
.successRes:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}
.successRes:after {
    content: "\f00c";
    position: absolute;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 50px;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
    color: rgba(129, 159, 61, 1);
}
.main-nav.dark {
    background-color: #000 !important;
}
.blog-item-body img {
    display: table;
    margin: 10px auto 0
}
.errorGcaptcha > div {
    border: 1px solid #a94442;
}
.blog-item-body, .section-text {
    text-align: justify;
}
.changeColor {
    color: #fff
}