/*!
Theme Name: SOS Detsko Selo
Theme URI: http://piksel.mk/
Author: Piksel
Author URI: http://piksel.mk/
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: pstarter
*/
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;300;400;700;800&display=swap');

img {
    max-width: 100%;
    height: auto;
}

/* Typography */
.title-section {
    position: relative;
    display: block;
    margin-bottom: 60px;
    font-family: 'Raleway', sans-serif;
}

.title-section h2 {
    position: relative;
    display: block;
    font-size: 48px;
    font-weight: 300;
    padding-bottom: 20px;
    color: #143650;
}

.title-section h2:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 110px;
    height: 3px;
    background: #00adef;
}

.title-section h2 strong {
    font-weight: bold;
    color: #009ee0;
}

.vertical-slogan {
    position: absolute;
    width: 100%;
    display: block;
    left: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 100px;
    font-weight: 900;
    text-transform: uppercase;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    color: #f1f7fa;
    overflow: hidden;
}

.homepage-v2 {
    position: relative;
}

/* Header */
header.header-v2 {
    position: relative;
    padding: 45px 0;
    background: #fff;
}

header.header-v2 .header-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: center;
}

header.header-v2 a.donate-header-button {
    width: 155px;
    display: block;
}

header.header-v2 a.donate-header-button img {
    max-width: 100%;
}

header.header-v2 .header-right {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-content: stretch;
    align-items: center;
}

/*Language*/
header.header-v2 .language {
    margin-right: 40px;
    display: inline;
}

header.header-v2 .language ul {
    margin:0;
    padding:0;
    list-style: none;
    position: relative;
    display: inline-block;
}

header.header-v2 .language > ul > li> a:after {
    content: '';
    position: relative;
    margin-left: 5px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: #000000 transparent transparent transparent;
}

header.header-v2 .language li {
    cursor: pointer;
    padding-bottom: 10px;
}

header.header-v2 .language li a {
    color: #000;
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: stretch;
    align-items: center;
}

header.header-v2 .language li ul {
    display: none;
}

header.header-v2 .language li:hover ul {
    position: absolute;
    top: 25px;
    right: 0;
    display: block;
    background: #fff;
    width: 210px;
    padding-top: 0px;
    z-index: 150;
    border-radius: 4px;
    box-shadow: 0px 0px 20px rgb(0 0 0 / 20%);
}

header.header-v2 .language li ul li {
    position: relative;
    text-align: left;
    background: transparent;
    padding: 15px 15px;
    padding-bottom:0;
    z-index: 2;
    font-size: 15px;
    color: #3c3c3c;
}

header.header-v2 .language li ul li:last-of-type {
    padding-bottom: 15px;
}

header.header-v2 .language li ul li span {
    padding-left: 5px;
}

header.header-v2 .language li ul li a img {
    display: inline-block;
    box-shadow: 0px 0px 3px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

/* Nav */
.nav-v2 {
    position: relative;
    /* position: absolute; */
    width: 100%;
    /* top: -30px; */
    z-index: 99;
}

.nav-v2 .primary-menu {
    width: 100%;

}

.nav-v2 .primary-menu > ul {
    position: absolute;
    top: -30px;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: flex-start;
    align-items: center;
    border-radius: 4px;
    box-shadow: 0 1px 20px rgb(29 29 29 / 5%);
    background: #fff;
}

.nav-v2 .primary-menu > ul > li {
    padding: 18px 20px;
}


.nav-v2 .primary-menu ul > li > a {
    position: relative;
    margin: 0;
    padding: 0;
    color: #282828;
    border: none;
}

.nav-v2 .primary-menu > ul > li.menu-item-has-children {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: center;

    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.nav-v2 .primary-menu > ul > li.menu-item-has-children:after {
    content: '';
    position: relative;
    width: 0;
    height: 0;
    margin-left: 7px;
    border-style: solid;
    border-width: 10px 10px 0 0;
    border-color: #d3dae0 transparent transparent transparent;

    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

.nav-v2 .primary-menu > ul > li.menu-item-has-children:hover:after {
    content: '';
    position: relative;
    width: 0;
    height: 0;
    margin-left: 7px;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: #d3dae0 transparent transparent transparent; 
}

.nav-v2 .primary-menu ul > li.menu-item-has-children > a:hover,
.nav-v2 .primary-menu ul .subselected > a,
.nav-v2 .primary-menu ul > li > a:hover, 
.nav-v2 .primary-menu ul > li.current-menu-item > a {
    border-radius: 0 !important;
    border: none !important;
    background: none;
}

.nav-v2 .primary-menu ul > li.mega-menu > a:before {
    display: none;
}

.nav-v2 .primary-menu ul > li > a:hover, 
.nav-v2 .primary-menu ul > li.current-menu-item > a {
    color: #009ee0;
}

.nav-v2 .primary-menu > ul > li > a:before {
    content: '';
    position: absolute;
    right: 0;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 3px;
    background: #009ee0;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.nav-v2 .primary-menu > ul > li > a:hover:before {
    content: '';
    width: 100%;
}

/* Submenu */
.nav-v2 .primary-menu > ul > li > ul.sub-menu {
    max-width: 100% !important;
    top: 58px !important;
    border-radius: 4px;
    border: none;
    background: #ffffff;
    box-shadow: 0 1px 10px rgb(0 0 0 / 12%);
}

.nav-v2 .primary-menu > ul > li > ul.sub-menu > li > a {
    margin-bottom: 10px !important;
    min-height: auto;
}

.nav-v2 .primary-menu > ul > li > ul.sub-menu .mega-menu-item > ul > li a:hover {
    color: #009ee0;
}

.homepage-v2 section {
    margin: 80px 0;
}

/* Slider */
section.homepage-slider-section {
    position: relative;
    margin-top: 0;
}

.metaslider .flex-control-nav {
    bottom: 25px !important;
}

.flex-control-paging li a {
    background: #fff !important;
}

.flex-control-paging li a.flex-active {
    background: #76b856 !important;
}

.homepage-slider-section .home-donation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-content: center;
    align-items: center;
}

.donation-form-container {
    position: relative;
    z-index: 98;
}


/* Section Count */
.wwh-grid-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: stretch;
}

.wwh-grid-wrapper .kocka {
    position: relative;
    flex: 0 1 25%;
    max-width: 25%;
    color: #fff;
    text-align: center;
    background-size: cover;
    background-position: center center;
}

.wwh-grid-wrapper .kocka .kocka-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: center;   
}

.wwh-grid-wrapper .kocka .kocka-content p {
    font-size: 17px;
    font-weight: 300;
}

.wwh-grid-wrapper .kocka .kocka-content .counter {
    font-size: 48px;
    font-weight: bold;
}

.wwh-grid-wrapper .kocka .arrow-decoration {
    position: absolute;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    z-index: 1000;
}

.wwh-grid-wrapper .kocka .arrow-decoration.position-left {
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
}

.wwh-grid-wrapper .kocka .arrow-decoration.position-right {
    top: 50%;
    right: -30px;
    transform: translate(-50%, -50%);
}

.wwh-grid-wrapper .kocka .arrow-decoration.position-up {
    margin: 0 auto;
    top: -15px;
    left: 0;
    right: 0;
}

.wwh-grid-wrapper .kocka .arrow-decoration.position-down {
    margin: 0 auto;
    bottom: -15px;
    left: 0;
    right: 0;  
}

/*Sections*/
.hth-grid-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.hth-grid-wrapper .item {
    position: relative;
    margin-bottom: 20px;
    font-family: 'Raleway', sans-serif;

    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}


.hth-grid-wrapper .item .item-description {
    position: relative;

}
.hth-grid-wrapper .item .item-description a.item-link {
    display: block;

    padding: 20px 20px;
    min-height: 230px;
    color: #fff;
    border-radius: 10px;
    background: #e74361;

    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}


.hth-grid-wrapper .item:hover .item-description a.item-link  {
    background: #009ee0;

}


.hth-grid-wrapper .item .item-description a h4 {
    position: absolute;
    bottom: 20px;
    font-family: 'Raleway', sans-serif;
    font-size: 21px;
    font-weight: bold;
    color: #fff;
}

.hth-grid-wrapper .item .item-description a img {
    float: right;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    -moz-transform: translateY(10px);
    -webkit-transform: translateY(10px);
    -o-transform: translateY(10px);
    -ms-transform: translateY(10px);
    transform: translateY(10px);
}

.hth-grid-wrapper .item:hover .item-description a img {
    -moz-transform: translateY(0);
    -webkit-transform: translateY(0);
    -o-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.hth-grid-wrapper .item p {
    margin-top: 15px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

/*Sections*/
.wwd-grid-wrapper {
    position: relative;
}

.wwd-grid-wrapper .item {
    position: relative;
    margin-bottom: 20px;
    min-height: 500px;
    border-bottom: 5px solid;
}

.wwd-grid-wrapper .item .item-link img {
    margin: 0 auto;
    border-radius: 10px;
}



.wwd-grid-wrapper .item .item-link .icon-wrap {
    position: relative;
    margin: 0 auto;
    margin-top: -30px;
    width: 64px;
    height: 64px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: flex-start;
    align-items: center;

    border-radius: 10px;

    -moz-transform: translateY(0);
    -webkit-transform: translateY(0);
    -o-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);

    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.wwd-grid-wrapper .item:hover .icon-wrap {
    -moz-transform: translateY(-10px);
    -webkit-transform: translateY(-10px);
    -o-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    transform: translateY(-10px);
}

.wwd-grid-wrapper .item .title-link:hover {
    text-decoration: none;
}

.wwd-grid-wrapper .item .title-link h4 {
    padding: 8px 5px;
    font-size: 17px;
    font-weight: 300;
    text-align: center;
    line-height: 22px;
}



/* CONTACT */



.section-sos-locations .vc_tta-container > h2 {
    position: relative;
    display: block;
    font-size: 48px;
    font-weight: 300;
    padding-bottom: 20px;
    margin: 40px 0;
    color: #143650;
}

.section-sos-locations .vc_tta-container > h2:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 110px;
    height: 3px;
    background: #00adef;
}

.contact-cards > .vc_row {
    display: flex;
    justify-content: stretch;
}

.contact-cards h2 {
    font-size: 22px;
}

.contact-cards > .wpb_column > .vc_column-inner,
.contact-cards > .vc_row > .wpb_column > .vc_column-inner {
    height: 100%;
}
.contact-cards > .wpb_column > .vc_column-inner > .wpb_wrapper,
.contact-cards > .vc_row > .wpb_column > .vc_column-inner > .wpb_wrapper {
    height: 90%;
}

.contact-cards > .wpb_column > .vc_column-inner > .wpb_wrapper,
.contact-cards > .vc_row > .wpb_column > .vc_column-inner > .wpb_wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 30px 50px;
    margin: 20px 0;
    border: 1px solid #00adef;
}

.contact-cards a i,
.contact-cards button i {
    color: #00adef;
}

.contact-cards > .wpb_column > .vc_column-inner > .wpb_wrapper:after,
.contact-cards > .vc_row > .wpb_column > .vc_column-inner > .wpb_wrapper:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 80px;
    background: #00adef;
}

.contact-cards div.vc_column-inner .vc_btn3-inline {
    margin: 0;
}


/* Footer */
.footer-v2 {
    position: relative;
    padding: 0 0 20px;
    background: #009ee0;
    margin-top: 160px;
}

.footer-v2::before {
    content: '';
    width: 100%;
    height: 140px;
    position: absolute;
    top: -140px;
    left: 0;
    background-image: url('https://sos.org.mk/wp-content/themes/pstarter/assets/images/wave-bg-blue.png)');
}

.footer-v2 .footer_title {
    font-size: 17px;
    font-weight: 700;
    text-transform: none;
}

.footer-v2 .footer-bank {
    position: relative;
}

.footer-v2 .footer-bank:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: #00aef6;
}

.footer-v2 .footer-bank .bank-details {
    position: relative;
    margin-bottom: 25px;
    color: #fff;
}

.footer-v2 .footer-bank .bank-details p {
    margin-bottom: 5px;
    font-size: 17px;
    font-weight: bold;
}

.footer-v2 .footer-nav-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-content: flex-start;
    align-items: flex-start;
}

.footer-v2 .footer-nav-menu .nav {
    margin-right: 30px;
    flex: 1;
}

.footer-v2 .footer-nav-menu .nav:last-child {
    margin-right: 0;
}

.footer-v2 .footer-nav-menu .nav p a {
    color: #fff;
    text-decoration: none;
}

.footer-v2 .newsletter_footer input {
    padding-left: 0;
    color: #fff;
    border: none;
    box-shadow: none;
    border-bottom: 1px solid #fff;
    background: #009ee0;
}

.footer-v2 .newsletter_footer input:-ms-input-placeholder,
.footer-v2 .newsletter_footer input:focus:-ms-input-placeholder { 
    color: #ececec; 
}

.footer-v2 .newsletter_footer input::-moz-placeholder,
.footer-v2 .newsletter_footer input:focus::-moz-placeholder { 
    color: #ececec; 
}

.footer-v2 .newsletter_footer input::-webkit-input-placeholder,
.footer-v2 .newsletter_footer input:focus::-webkit-input-placeholder { 
    color: #ececec; 
}

.footer-v2 .newsletter_footer .btn_footer {
    position: absolute;
    right: 0;
    font-size: 18px;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
}

.footer-v2 .newsletter_footer .btn_footer:focus {
    outline: 0;
}

.footer-v2 .footer-bottom {
    position: relative;
    margin-top: 40px;
}

.footer-social-networks {
    position: relative;
    float: right;
}

.footer-social-networks .footer_title {
    margin-top: 0;
}

.footer-social-networks ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    background: #009ee0;
}

.footer-social-networks ul li {
    margin: 0 5px;
}

.footer-social-networks ul li:first-child {
    margin-left: 0;
}

.footer-social-networks ul li:last-child {
    margin-right: 0;
}

.footer-social-networks ul li a {
    width: 32px;
    height: 32px;
    display: flex;
    margin: 10px;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    font-size: 32px;
    color: #ffffff;
    text-decoration: none;
}

.footer-social-networks ul li a:hover {
    color: #ff6b03;
}

.footer-v2 .copyright {
    margin-top: 30px;
}

.footer-v2 .copyright p {
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 300;
    color: #fff;
}

@media (max-width: 1399px) {
    .vertical-slogan {
        display: none;
    }
}

@media (max-width: 1199px ) {
    /* .home-donation .container {
        width: 100%;
    } */
}

@media screen and (min-device-width: 992px) and (max-device-width: 1399px) {
    .homepage-slider-section .home-donation {
        top: 95px;
    }
}

@media (max-width:991px) {
    header.header-v2,
    .nav-v2,
    .footer-v2 .footer-bank:after,
    .footer-v2 .footer-bottom::before {
        display: none;
    }

    .homepage-v2 section {
        margin: 40px 0;
    }

    .homepage-slider-section .home-donation {
        position: relative;
    }

    section.homepage-slider-section {
        margin-top: 0;
    }

    .homepage-slider-section .home-donation{
        display: none;
    }


    .footer-v2 .footer_title {
        text-align: left !important;
    }

    .footer-v2 .newsletter_footer {
        padding-left: 0 !important;
    }

    .footer-social-networks {
        float: left;
        margin-top: 30px;
    }
}

@media (max-width:765px) {
    .title-section h2 strong {
        font-size: 48px;
    }

    .wwh-grid-wrapper .kocka {
        max-width: 50%;
        flex: 0 1 50%;
    }

    .wwh-grid-wrapper .kocka .arrow-decoration {
        display: none;
    }

    .wwh-grid-wrapper .kocka {
        min-height: 280px;
    }
}

@media (max-width: 480px) {
    .wwh-grid-wrapper .kocka {
        max-width: 100%;
        flex: 0 1 100%;
    }

    .wwh-grid-wrapper .kocka-4 {
        display: none;
    }
}
