/*
Theme Name: Porto
Theme URI: http://www.newsmartwave.net/wordpress/porto
Author: SW-THEMES
Author URI: http://www.newsmartwave.net/
Description: Porto Responsive Wordpress + eCommerce Theme.
Version: 3.1
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
Text Domain: porto

*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

.bypostauthor {}

.modal {
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    opacity: 0;
    visibility: hidden;
}
.modal.open {
    opacity: 1;
    visibility: visible;
}
.modal-cont {
    background: #fff;
    padding: 30px;
    border-radius: 30px;
    position: relative;
    z-index: 2;
    max-width: -webkit-calc(100% - 8px);
    max-width: calc(100% - 8px);
    max-height: -webkit-calc(100vh - 60px);
    max-height: calc(100vh - 60px);
    overflow: hidden;
    overflow-y: auto;
}
.modal-back {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
}

.modal-close {
    position: absolute;
    top: 15px !important;
    right: 15px !important;
}

.modal-close {
    background: 0 0;
    border: none;
    padding: 0;
    display: block;
    width: 20px;
    height: 20px;
    margin: 0 0 30px auto;
}
.modal-close:after, .modal-close:before {
    content: '';
}
.modal-close:before {
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
}
.modal-close:after, .modal-close:before {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background: #475958;
}

.modal-close:after {
    -webkit-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    transform: rotate(225deg);
}
.donate_form .right-col .form-item input{
    width: 100%;
}
.donate_form .right-col .form-item select{
    width: 100%;
}
.donate_form .left-col .form-group{
    display: flex;
    flex-wrap: wrap;
}
.donate_form .left-col {
    margin: 0 -10px;
}
.donate_form .left-col .form-item{
    padding: 0 10px;
    width: 50%;
}

.donate_form .left-col .form-item input {
    position: absolute;
    opacity: 0;
}
.donate_form .left-col .form-item label {
    border: 1px solid #ccc;
    display: block;
    width: 100%;
    text-align: center;
    line-height: 33px;
    cursor: pointer;
    margin-bottom: 5px !important;
}
.donate_form .left-col .form-item input:checked + label {
    border-color: #f03e3a;
    background: #f03e3a;
    color: #ffffff;
}
.donate_form .left-col .form-item input[type="text"],
.donate_form .left-col .form-item input[type="number"] {
    position: static;
    opacity: 1;
    box-sizing: border-box;
    width: 100%;
}
.form-check label {
    display: inline;
    font-size: 12px;
}


.donate_form__two .form-group-one {
    display: flex;
    margin-bottom: 10px;
}
.donate_form__two .form-group-one .form-item {
    width: 50%;
    background: #fff;
    border: 1px solid rgba(52, 52, 52, 0.2);
    text-align: center;
}
.donate_form__two .form-group-one .form-item label {
    display: block;
    cursor: pointer;
    font-family: Montserrat;
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
    line-height: 16px;
    padding: 22px 0;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: #999999; 
}

.donate_form__two .form-group-one .form-item input[type="radio"] {
    position: absolute;
    opacity: 0;
}
.donate_form__two .form-group-one .form-item input[type="radio"]:checked + label {
   background: #f03e3a;
   color: #FFFFFF;
}
.form-group-select select {
    width: 100%;
    font-family: Montserrat;
    font-style: normal;
    font-weight: normal;
    text-shadow: 0px 0px 1px #000;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    color: #2F2519;
    padding: 13px 24px;
    background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+) no-repeat right 10px top 50%;
    background-color: #fff;
    -moz-appearance: none; 
    -webkit-appearance: none; 
    appearance: none;
    height: 48px;
}
.form-group-select {
    margin-bottom: 10px;
}
.form-group-two {
    background: #FFFFFF;
    border: 1px solid rgba(52, 52, 52, 0.2);
    padding-bottom: 28px;
}
.form-group-two__title {
    text-align: center;
    font-family: Montserrat;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    color: #2F2519;
    padding: 13px 15px;
    background: #EFEFEF;
    margin-bottom: 37px;
}
.form-group-two__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
}
.form-group-two__items .form-item {
    width: calc((100% / 3) - 7px);
    background: #EFEFEF;
    text-align: center;
    margin-bottom: 10px !important;
}
.form-group-two__items .form-item:last-child {
    width: calc(((100% / 3) * 2) - 3px);
}

.form-group-two__items .form-item label {
    display: block;
    cursor: pointer;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    padding: 17px 0;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: #8F8A84; 
}

.form-group-two__items .form-item input[type="radio"] {
    position: absolute;
    opacity: 0;
}
.form-group-two__items .form-item input[type="radio"]:checked + label {
   background: #f03e3a;
   color: #FFFFFF;
}
.form-group-two__items .form-item:last-child input#another_price {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    color: #8F8A84;
    border: 0;
    width: 100%;
    padding: 18px;
    box-shadow: none;
    background: none;
}
.form-group-two__btn_modal {
    background: #f03e3a;
    padding: 17px 0;
    text-align: center;
    font-family: Montserrat;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0 20px;
    cursor: pointer;
}
.donate_form__two {
    position: relative;
}
.dwins-modal {
    display: none;
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgb(255 255 255 / 95%);
    height: 100%;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.dwins-modal.show {
    display: flex !important;
}
.dwins-modal .form-group {
    width: calc(100% - 42px);
    margin: 10px 20px;
}
.dwins-modal .form-group input {
    font-family: Montserrat;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    color: #2F2519;
    padding: 13px 24px;
    width: 100%;
}
.dwins-modal .inputs {
    width: calc(100% - 43px);
    margin-top: 10px;
}
.dwins-modal .inputs input {
    width: 100%;
    background: #f03e3a;
    padding: 17px 0;
    text-align: center;
    font-family: Montserrat;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FFFFFF;
    cursor: pointer;
}


#header.header-18 .header-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
#header.header-18 a.phone {
    margin: 0 0 0 15px;
}
#header.header-18 .header-top .header-right {
    display: flex !important;
    justify-content: flex-end;
}
#header.header-18 .header-top {
    background: #343434;
    padding: 5px 0;
}
#header.header-18 .logo>a {
    display: flex;
    align-items: center;
}
#header.header-18 .logo>a::after {
    content: 'Товариство Червоного Хреста України';
    display: inline-block;
    font-family: Montserrat;
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
    line-height: 15px;

    color: #FC0000;
    margin-left: 20px;
}
#header.header-18 .logo {
    max-width: 240px;
}
#header.header-18 #main-menu {
    margin: auto;
}
#header.header-18 ul#menu-main-menu {
    display: flex;
}
#header.header-18 li#nav-menu-item-643 {
    display: none;
}

#header.header-18 #main-menu .mega-menu > li.menu-item > a {
    border: 0;
/*     font-family: Montserrat; */
    font-style: normal;
    font-weight: bold;
/*     font-size: 10px; */
/*     line-height: 12px; */
/*     letter-spacing: 0.1em; */
    text-transform: uppercase;
}
#header.header-18 .header-main .container .header-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 245px);
}
#header.header-18 .header-main>.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
#header.header-18 .header-main>.container::after, #header.header-18 .header-main>.container::before {
    display: none;
}
#header.header-18 a.btn {
/*     font-family: Montserrat; */
    font-style: normal;
    font-weight: bold;
/*     font-size: 8px; */
    line-height: 16px;
    text-align: center;
/*     letter-spacing: 0.1em; */
    text-transform: uppercase;
    color: #f03e3a;
    padding: 8px 21px;
    border: 1px solid #f03e3a;
    box-sizing: border-box;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.15));
}
#footer.footer_18 {
    background: #343434;
    color: #fff;
    padding-bottom: 25px;
}
#footer.footer_18 a {
    color: #fff;
}
#footer.footer_18 .share-links a {
    color: #fff;
    background: none;
    margin: 0;
    width: 1em;
    height: auto;
    margin-left: 20px;
    font-size: 20px;
}
#footer.footer_18 .footer_col_3 {
    text-align: right;
}
#footer.footer_18 #menu-main-menu-1 {
    column-count: 2;
}
#footer.footer_18 #menu-main-menu-1>li {
    break-inside: avoid;
    display: block;
    width: 100%;
    background: none !important;
}
#footer.footer_18 #menu-main-menu-1>li a {
    border: 0;
    font-family: Montserrat;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 17px;
    /* identical to box height */

    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: none !important;

}
#footer.footer_18 .footer_col_1 {
    display: flex;
    align-items: center;
}
#footer.footer_18 .footer_col_1 span {
    font-family: Montserrat;
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
    line-height: 15px;
    display: inline-block;
    max-width: 125px;
}
#footer.footer_18 .share-links {
    margin-top: 20px;
}
#footer.footer_18 .phone {
    background: url(img/contact-phone-icon.png) no-repeat left center;
    padding: 0 0 0 28px;
    font-family: Montserrat;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: 0.1em;
}
#footer.footer_18 .info {
    font-family: Montserrat;
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    line-height: 17px;
    color: #FFFFFF;
    margin-bottom: 3px;
}
#footer.footer_18 #menu-main-menu-1>li .popup {
    display: none !important;
}

#footer.footer_18 .mc4wp-form-fields>p:nth-child(1) {
    text-align: right !important;
    padding: 0 !important;
    margin: 10px 0 10px;
    color: #fff !important;
}
#footer.footer_18 .mc4wp-form-fields>p:nth-child(2) {
    margin-bottom: 5px;
}
#footer.footer_18 .mc4wp-form-fields>div:nth-child(3) {
    line-height: 1.7em;
}
#footer.footer_18 .logo_footer img {
    object-fit: cover;
    height: 80px;
    width: 80px;
    margin-right: 30px;
}
.donate_form__two .form-check input[type="checkbox"] {
    display: none;
}
.donate_form__two .form-check input[type="checkbox"]~label::before {
    content: '';
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    float: left;
    background: #f03e3a50;
    border-radius: 2px;
    height: 16px;
    width: 16px;
    margin: 6px 7px 0 0;
}
.donate_form__two .form-check input[type="checkbox"]:checked ~label::before {
    content: url('/wp-content/themes/porto/images/check-ico.svg');
}
.donate_form__two .form-check {
    margin-top: 9px;
}
.footer_18 input[type="submit"] {
    border: none;
    padding: 8px;
    padding-bottom: 9px;
}   
@media (max-width: 991px) {
    #footer.footer_18 .footer_col_1 {
        justify-content: center;
        flex-wrap: wrap;
    }
    #footer.footer_18 .footer_col_1 span {
        margin-left: 20px;
    }
    #footer.footer_18 #menu-main-menu-1 {
        text-align: center;
        margin: 20px 0;
    }
    #footer.footer_18 .footer_col_3 {
        text-align: center;
    }
    #header.header-18 .header-main .container #main-menu {
        display: none !important;
    }
    #header.header-18 ul#menu-main-menu {
        display: none !important;
    }
    #header.header-18 a.mobile-toggle {
        margin-left: auto;
        position: static;
    }
    #header.header-18 a.btn {
        display: none
    }
    #header.header-18 .header-main .container .header-right {
        display: flex !important;
    }
}

@media (max-width: 575px) {
	#footer.footer_18 #menu-main-menu-1 {
		text-align: left;
	}
}