@font-face {
    font-family: 'Century Gothic';
    src: url('fonts/CenturyGothic.ttf');
    font-style: normal;
    font-weight: 300;
}
@font-face {
    font-family: 'Century Gothic';
    src: url('fonts/CenturyGothic-Bold.ttf');
}
@font-face {
    font-family: 'Century Gothic';
    src: url('fonts/CenturyGothic-Italic.ttf');
    font-style: italic;
    font-weight: 300;

}
@font-face {
    font-family: 'Century Gothic';
    src: url('fonts/CenturyGothic-BoldItalic.ttf');
    font-style: italic;
    font-weight: 600;
}

.no-margin{
  margin-top: 0!important;
}
.map{
    padding-top: 20px;
}
.map .map-container{
  display: flex;
  flex-direction: column;
  align-items: center;
  /* max-width: 740px; */
}
.map .map-container .note{
  font-size: 16px;
  line-height: 1.43;
  letter-spacing: -0.17px;
  color: #8a8a8a;
  margin-top: 30px;
  margin-bottom: 40px;
}
.map-container{
    width: 75%;
    margin: 0 auto;
    position: relative;
}
.map-container h1{
    font-size: 40px;
    color: #676666;
    text-align: center;
    margin-bottom: 0;
    font-weight: 300;
}
.map-container p{
    font-size: 18px;
    color: #676666;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 300;
}
.cls-4 ,.cls-3, .cls-9 ,.cls-6, .cls-8 {
    cursor: pointer;
    -webkit-transition: all .5s ease-out; /* Safari */
    transition: all .5s ease-out;
}

.map-info{
    margin-top: 80px;
    padding-bottom: 200px;
}
/* .map-info .map-container{
  max-width: 500px;
} */

.ukraine-map>g:hover{
  cursor: pointer;
}
#Lviv-Lutsk:hover{
  filter: url('#filter-Lviv-Lutsk');
}
#Ternopil-Chernivtsi:hover{
  filter: url('#filter-Ternopil-Chernivtsi');
}
#Vinnytsia-Khmelnytskyi:hover{
  filter: url('#filter-Vinnytsia-Khmelnytskyi');
}
#Kiev-Zhytomyr:hover{
  filter: url('#filter-Kiev-Zhytomyr');
}
#Cherkasy-Kirovograd:hover{
  filter: url('#filter-Cherkasy-Kirovograd');
}
#Odessa-Mykolayiv-Kherson:hover{
  filter: url('#filter-Odessa-Mykolayiv-Kherson');
}
#Chernihiv-Sumy:hover{
  filter: url('#filter-Chernihiv-Sumy');
}
#Kharkiv-Luhansk-Poltava:hover{
  filter: url('#filter-Kharkiv-Luhansk-Poltava');
}
#Simferopol:hover{
  /* filter: url('#filter-Simferopol'); */
  cursor: default;
  user-select: none;
}
#Dnipro-Zaporizhzhia-Donetsk:hover{
  filter: url('#filter-Dnipro-Zaporizhzhia-Donetsk');
}



.tab {
    position: relative;
    width: 100%;
    color: #01913e;
    overflow: hidden;
    margin-bottom: 15px;
}
input.tabsInput {
    position: absolute;
    opacity: 0;
    z-index: -1;
}
label {
    position: relative;
    display: block;
    padding: 0 0 0 1em;
    background:  #eeeeee;
    line-height: 2.5;
    cursor: pointer;
    font-size: 16px;
    font-weight: 300;
}
.tab .label-trigger{
    padding-right: 35px;
}
@media (max-width: 479px){
    .tab .label-trigger:after{
        margin-top: -3px;
    }
}

#tab-Kiev-Zhytomyr label {
  background: #752157;
  color: #FFFFFF;
}
#tab-Lviv-Lutsk label {
  background: #019845;
  color: #FFFFFF;
}
#tab-Ternopil-Chernivtsi label {
  background: #f5b317;
  color: #FFFFFF;
}
#tab-Vinnytsia-Khmelnytskyi label {
  background: #9d1d96;
  color: #FFFFFF;
}
#tab-Odessa-Mykolayiv-Kherson label {
  background: #00a0df;
  color: #FFFFFF;
}
#tab-Cherkasy-Kirovograd label {
  background: #93cc24;
  color: #FFFFFF;
}
#tab-Chernihiv-Sumy label {
  background: #00698f;
  color: #FFFFFF;
}
#tab-Simferopol label {
  background: #7db41e;
  color: #FFFFFF;
}
#tab-Dnipro-Zaporizhzhia-Donetsk label {
  background: #f89e17;
  color: #FFFFFF;
}
#tab-Kharkiv-Luhansk-Poltava label {
  background: #02783f;
  color: #FFFFFF;
}

.tab-content {
    max-height: 0;
    overflow: hidden;
    background: #FFFFFF;
    -webkit-transition: max-height .35s;
    -o-transition: max-height .35s;
    transition: max-height .35s;
    padding: 10px 20px 0 20px ;
}

.tab-content p {
    margin: 15px 35px 15px 0;
    color: #676666;
    line-height: 1.5;
    text-align: left;
}
.tab-content p a{
    color: #039340;
}
.tab-content .tab-content__descr {
    width: 70%;
}
/* :checked */
input:checked ~ .tab-content {
    max-height: 100%;
}
/* Icon */
label::after {
    position: absolute;
    right: 10px;
    top: 0;
    display: block;
    line-height: 1.35;
    text-align: center;
    -webkit-transition: all .35s;
    -o-transition: all .35s;
    transition: all .35s;
    color: #d7d7d7;
    font-family: 'Material Icons';
}
input[type=checkbox] + label::after {
    content: "\E313";
    transform: rotate(0deg);
    font-size: 30px;
}
input[type=checkbox]:checked + label::after {
    transform: rotate(180deg);
}

.tab-container{
    width: 80%;
    margin: 0 auto;
}
.tab-content__person{
    font-weight: 300;
    display: grid;
    grid-template-columns: .5fr 2fr;
    grid-gap: 15px;
    margin: 45px 0 30px 0;
}
.tab-content__person-photo{
    display: block;
    max-width: 100%;
    height: auto;
}
.tab-content__person-content h3{
    color: #676666;
    font-weight: 300;
    margin-top: 0;
    font-size: 18px;
}

.tab-content__person-content p{
   margin-left: 0;

}

.tab-content__person-content p a{
    margin-left: 0;
    color: #676666;
    text-decoration: none;
}

.tab-content__person-content a{
    color: #039340;
    font-size: 16px!important;
}
.form{
    background: #eeeeee;
    padding-bottom: 40px;
}
/* .form .map-container{
  max-width: 500px;
} */

.form__validate {
    background-size: 25px;
    background-position: right 5px center;
    background-repeat: no-repeat;
}

.form__validate--focused:focus:invalid {
    background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/5144/ios7-close-empty.svg");
}

.form__validate--focused:focus:valid {
    background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/5144/ios7-checkmark-empty.svg");
}

.form__validate--blurred:not(:focus):invalid {
    background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/5144/ios7-close-empty.svg");
}

.form__validate--blurred:not(:focus):valid {
    background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/5144/ios7-checkmark-empty.svg");
}

.form__email .label{
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 50;
}
.form__email .label img{
    width: 15px;
}




form > div {
    position: relative;
}
form > div > label {
    opacity: 0.3;
    position: relative;
    top: 0;
    left: 0;
    font-weight: 300;
    font-size: 16px;
}
form > div > label >span{
    color: #00913d;
}
form > div > input[type="text"],
form > div > input[type="email"],
form > div > input[type="tel"] {
    width: 100%;
    border: 0;
    height: 42px;
    padding-left: 20px;
    background-color: #fff;
    font-size: 16px;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    font-weight: 300;
    color: #434444;
    outline: none;
}

form > div > textarea {
    outline: none;
    width: 100%;
    border: 0;
    height: 177px;
    padding-left: 20px;
    font-weight: 300;
    background-color: #fff;
    font-size: 16px;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #434444;
}
form > div > input[type="text"]:focus,
form > div > input[type="email"]:focus,
form > div > input[type="tel"]:focus{
    outline: 0;
    background: white;
}
form > div > input[type="text"]:focus + label,
form > div > input[type="email"]:focus + label,
form > div > input[type="tel"]:focus + label,
form > div > input[type="password"]:focus + label {
    opacity: 0;
}
form > div > input[type="text"]:valid,
form > div > input[type="email"]:valid,
form > div > input[type="tel"]:valid{
    background: url('img_contact/button-ok.svg');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: 97%;
    background-color: #fff;
}
form > div > input[type="text"]:valid + label,
form > div > input[type="email"]:valid + label,
form > div > input[type="tel"]:valid + label{
    opacity: 0;
}
form > div > input[type="text"]:invalid:not(:focus):not(:placeholder-shown),
form > div > input[type="email"]:invalid:not(:focus):not(:placeholder-shown),
form > div > input[type="tel"]:invalid:not(:focus):not(:placeholder-shown) {
    background: url('img_contact/button-error.svg');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: 97%;
    background-color: #fff;
}
form > div > input[type="text"]:invalid:not(:focus):not(:placeholder-shown) + label,
form > div > input[type="email"]:invalid:not(:focus):not(:placeholder-shown) + label,
form > div > input[type="tel"]:invalid:not(:focus):not(:placeholder-shown) + label {
    opacity: 0;
}
form > div > input[type="text"]:invalid:focus:not(:placeholder-shown) ~ .requirements,
form > div > input[type="email"]:invalid:focus:not(:placeholder-shown) ~ .requirements,
form > div > input[type="tel"]:invalid:focus:not(:placeholder-shown) ~ .requirements
{
    max-height: 200px;
    padding: 0 30px 20px 50px;
}
form > div .requirements {
    padding: 0 30px 0 50px;
    color: #999;
    max-height: 0;
    -webkit-transition: 0.28s;
    transition: 0.28s;
    overflow: hidden;
    color: red;
    font-style: italic;
}
form input[type="submit"] {
    display: inline-block;
    width: 241px;
    height: 44px;
    margin: 20px 0;
    font-weight: 300;
    background: transparent;
    color: #00913d;
    border: 1px solid #00913d;
    border-radius: 30px;
    font-size: 14px;
    text-transform: uppercase;
    outline: none;
    cursor: pointer;
}

.map-container p.form-text{
    /* text-align: left; */
    font-weight: 300;
    padding-top: 60px;
    margin-bottom: 25px;
    font-size: 20px;
    color: #676666;
}

.contact{
    position: absolute;
    bottom: -50px;
    right: -50px;
}
.contact-button{
    background: #01913e;
    width: 100px;
    height: 100px;
    display: inline-block;
    line-height: 120px;
    text-align: center;
    border-radius: 50%;
    font-weight: 300;
}
.text-right{
    text-align: right;
}
.text-right.policy{
    max-width: 700px;
    margin-left: auto;
    font-size: 12px;
}
.text-right.policy a{
    color: #039340;
}
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
body{
    margin: 0;
}




    @media screen and (-webkit-min-device-pixel-ratio:1), and (min-device-width : 768px) and (max-device-width : 1024px) {
    .tab-content .tab-content__descr {
        width: 80%;
    }

    .tab-content__person{
        display: grid;
        grid-template-columns: 20% 70%;
    }

    .tab-container {
        width: 90%;
    }
    .map-container {
        width: 90%;
    }
    .tab-content__person-content h3{
        margin: 0;
    }
    .tab-content__person-content a{
        font-size: 13px;
    }
    .tab-content__person-content p{
        font-size: 14px;
        margin: 5px 0;
    }
    .contact{
        position: absolute;
        bottom: -40px;
        right: 0;
    }
    .tooltip-toggle::before {
        left: -155px!important;
    }

    .map-info{
        margin-top: 50px;
        padding-bottom: 50px;
    }
}


@media screen and (-webkit-min-device-pixel-ratio:1), and (min-device-width: 320px) and (max-device-width: 479px) {

    .tab-content .tab-content__descr {
        width: 90%;
    }

    .tab-content__person{
        display: grid;
        grid-template-columns: 16% 70%;
        grid-auto-rows: minmax(100px, 150px);

    }

    .tab-container {
        width: 100%;
    }
    .map-container {
        width: 95%;
    }
    .map-container h1{
        font-size: 30px;
    }
    .tab-content__person-content h3{
        margin: 0;
        margin-bottom: 10px;
        line-height: 12px;
    }
    .tab-content__person-content a{
        font-size: 16px;
    }
    .tab-content__person-content p{
        font-size: 16px;
        margin: 5px 0;
    }
    .contact{
        position: absolute;
        bottom: -40px;
        left: auto;
        right: 0;
    }
    .contact-button{
        width: 50px;
        height: 50px;
        line-height: 60px;
    }
    .contact-button img{
        width: 30px;
    }
    .tooltip-toggle::before {
        left: -170px!important;
    }
    .map-info{
        margin-top: 50px;
        padding-bottom: 50px;
    }
}


.label-text {
    margin-left: 0.5em;
}

.tooltip-toggle {
    cursor: pointer;
    position: relative;
    font-weight: 300;
}
.tooltip-toggle svg {
    height: 18px;
    width: 18px;
}
.tooltip-toggle::before {
    position: absolute;
    top: -80px;
    left: -80px;
    background-color: #00a350;
    border-radius: 5px;
    color: #fff;
    content: attr(aria-label);
    padding: 1rem;
    text-transform: none;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    width: 160px;
    font-weight: 300;
}
.tooltip-toggle::after {
    position: absolute;
    top: -12px;
    left: 9px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #00a350;
    content: " ";
    font-size: 0;
    line-height: 0;
    margin-left: -5px;
    width: 0;
}
.tooltip-toggle::before, .tooltip-toggle::after {
    color: #FFFFFF;
    font-size: 15px;
    opacity: 0;
    pointer-events: none;
    text-align: center;
}
.tooltip-toggle:focus::before, .tooltip-toggle:focus::after, .tooltip-toggle:hover::before, .tooltip-toggle:hover::after {
    opacity: 1;
    -webkit-transition: all 0.75s ease;
    transition: all 0.75s ease;
}

@media screen and (min-width: 1200px) {
    .map-container {
        width: 75%;
    }
}

@media screen and (min-width: 1700px) {
    .map-container {
        width: 55%;
    }
}

.body{
    overflow:hidden;
}
section{
    -moz-transition:all 200ms ease-in;
    -webkit-transition:all 200ms ease-in;
    -o-transition:all 200ms ease-in;
    transition:all 200ms ease-in;

}


@media only screen
and (min-device-width: 320px)
and (max-device-width: 812px) {
    .tab-content__person {
        display: grid;
        grid-template-columns: 25% 70%;
        grid-auto-rows: minmax(100px, 150px);
    }
}

@media screen  and (min-device-width: 320px) and (max-device-width: 479px) {
    .tab-content__person{
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: 250px 150px;
    }

    .tab-content__person-photo{
        margin: 0 auto;
        height: 100%;
    }
    .tab-content__person-content h3{
        line-height: 22px;
        font-weight: 600;
    }
    label{
        font-size: 16px;
        line-height: 2;
    }
}


.ult__modal {
    display: block;
    position: fixed;
    z-index: 100;
    padding-top: 20vh;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
    font-family: 'Open Sans', sans-serif;
}

/* Modal Content */
.ult__modal-content {
    margin: auto;
    padding: 75px 0 15px 0;
    height: 370px;
    width: 570px;
    background: #eee;
    background-size: contain;
    position: relative;
    text-align: center;
}

/* The Close Button */
.ult__modal-close {
    color: #ffffff;
    float: right;
    font-size: 40px;
    font-weight: bold;
    position: absolute;
    right: -30px;
    top: -50px;
    cursor: pointer;
    z-index: 3;
}
.ult__modal-title{
    text-transform: uppercase;
    font-size: 36px;
    display: block;
    color: #272526;
    margin: 0 0 55px 0;
    font-weight: 700;
    line-height: 45px;
}
.ult__modal-text{
    color: #272526;
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
    margin-bottom: 10px;
}

.ult__modal-button{
    box-shadow: inset 0 1px 0 rgba(0, 250, 158, 0.9);
    background-image: -webkit-linear-gradient(bottom, rgb(0, 120, 40) 0%, rgb(0, 200, 83) 100%);
    background-image: linear-gradient(0deg, rgb(0, 120, 40) 0%, rgb(0, 200, 83) 100%);
    text-shadow: 0px 1px 0px rgb(0, 0, 0);
    border-radius: 3px;
    border: 0;
    color: #fff;
    display: block;
    margin: 0 auto;
    text-decoration: none;
    width: 270px;
    font-weight: normal;
    font-size: 18px;
    height: 48px;
    line-height: 48px;
}

.ult__modal-button i{
 font-size: 40px;
    vertical-align: middle;
}
@media only screen and (min-device-width : 320px) and (max-device-width : 767px) {
    .ult__modal-content {
        width: 100%;
        padding: 25px 0 15px 0;
        height: 200px;
    }
    .ult__modal-close {
        right: 5px;
        top: -40px;
        font-size: 30px;
    }
    .ult__modal-title{
        font-size: 26px;
        margin-bottom: 50px;
        line-height: 26px;
    }
    .ult__modal-text{
        font-size: 16px;
        margin-bottom: 10px;
    }
    .ult__modal-button{
        width: 220px;
        font-size: 15px;
        height: 33px;
        line-height: 33px;
    }
    .ult__modal-link{
        font-size: 12px;
        margin-top: 5px;
    }
    .ult__modal-button i{
        font-size: 25px;
        vertical-align: middle;
    }
}
