
@font-face{
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/Montserrat-Regular.eot');
    src: url('../fonts/Montserrat/Montserrat-Regular?iefix') format('eot'),
    url('../fonts/Montserrat/Montserrat-Regular.woff') format('woff'),
    url('../fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
}
@font-face{
    font-family: 'Montserrat-Bold';
    src: url('../fonts/Montserrat/Montserrat-Bold.eot');
    src: url('../fonts/Montserrat/Montserrat-Bold?iefix') format('eot'),
    url('../fonts/Montserrat/Montserrat-Bold.woff') format('woff'),
    url('../fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
}
body{
    margin: 0;
    position: relative;
    padding: 0;    
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-size: 16px;
    background-image: url(../_i/main_bg.jpg);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
}
.wrapper{
    position: relative;
}

.container{
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
    /* overflow: hidden; */
    padding: 0px 15px;
}
a{
    text-decoration: none;
    transition: all .4s;
}
a:hover{
    transition: all .4s; 
}
p{
    margin-top: 0;
    margin-bottom: 15px;
}

h2{
    font-size: 40px;
    margin: 30px 0px;
    font-weight: 700;
}

.page{
    overflow: hidden;
}
/*Header*/
header{
    z-index: 9999;
    padding: 15px 0px;
}
header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .block{
    width: 26%;
    position: relative;
}
header .block:after{
    content: " ";
    position: absolute;
    top: 50%;
    right: 0;
    background: url(../_i/_icons/arrow.png)no-repeat center;
    height: 100%;
    width: 10px;
    transform: translateY(-50%);
}
header .location_block{
    text-align: center;
    font-size: 18px;
    width: 40%;
}
header .location_block span{
    font-size: 18px;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
}
header .location_block span img{
    vertical-align: middle;
    display: inline-block;
}
header .location_block span span{
    font-family: 'Montserrat-Bold', sans-serif;
}

header .tel_block{
    display: flex;
    align-items: flex-start;
    padding-right: 54px;
    width: 22%;
}
header .tel_block .text a{
    display: block;
    font-size: 22px;
    text-decoration: none;
    color: #fff;
}
header .tel_block .text span{
    font-size: 13.66px;
    color: #63a7d5;
    display: block;
}
header .tel_block .img{
    position: relative;
    top: 6px;
    right: 11px;
}
header .tel_block:after{
    display: none;
}
.popup{
    display: none;
}

.info_block h3{
    font-size: 37px;
    font-family: 'Montserrat-Bold', sans-serif;
    text-align: center;
    margin-top: 31px;
    margin-bottom: 14px;
}

.info_block p{
    font-size: 20px; 
    max-width: 45%;
    margin: 0 auto;
    text-align: center;
}
.item_block{
    margin-top: 40px;
}
.item_block .block{
    display: inline-block;
    vertical-align: top;
    width: 29%;
    margin-right: 6%;
    margin-bottom: 15px;
    text-align: center;
}

.item_block .block:nth-child(3n-3){
    margin-right: 0;
}

.item_block .block .name{
    height: 72px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    bottom: -37px;
    z-index: 9;
}
.item_block .block .name:after{
    content: "";
    position: absolute;
    border-top: 72px solid #008fd9;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    height: 0;
    width: 86%;
    top: 0;
    left: 0;
}
.item_block .block .name span{
    font-size: 22px;
    color: #ffffff;
    display: block;
    z-index: 99;
    position: relative;
}
.item_block .block .name span.small{
    font-size: 18px;
}

.item_block .block .img_block{
    border-radius: 50%;
    width: 330px;
    height: 330px;
    background: #fff;
    position: relative;
    margin: 0 auto;
}
.item_block .block .img_block .img{
    border-radius: 50%;
    width: 320px;
    height: 320px; 
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}
.item_block .block .img_block img{
    max-width: 100%;
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.item_block .block .img_block:after{
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    width: 100%;
    height: 100%;
    border: 4px solid #ffffff5e;
    border-radius: 50%;
}
.item_block .block .btn{
    position: relative;
    top: -45px;
    display: inline-block;
    margin: 0 auto;
    border-radius: 30px;
    background: #fac010;
}
.item_block .block .btn a{
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    display: block;
    padding: 17px 45px;
}

.popup {
	position: relative;
	z-index: 9999999;
	display: none;
}

.popup .overlay {
	position: absolute;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,.5);
}
.popup .content_popup{
    transform: translate(-50%, -50%);
	max-height: 100vh;
    border-radius: 7px 7px;
    position: fixed;
	top: 50%;
	left: 50%;
    width: auto;
    max-width: 950px;
	height: auto;
    min-height: 200px;
    background: #fff;
    padding: 50px;
}
table{
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #000;
}
.popup table tr td{
    color: #000;
    font-size: 16px;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
    padding: 10px 25px;
}
.popup table tr:last-child() td{
    border-bottom: 0px solid #000;
}
.popup .close{
    position: absolute;
    color: #000;
    top: 15px;
    right: 15px;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
}
@media only screen and (max-width: 1200px){
    .item_block .block .img_block{
        width: 300px;
        height: 300px;
    }
    .item_block .block .img_block .img{
        width: 290px;
        height: 290px;
    }
}

@media only screen and (max-width: 1024px){
    .item_block .block .img_block{
        width: 270px;
        height: 270px;
    }
    .item_block .block .img_block .img{
        width: 260px;
        height: 260px;
    }
    .item_block .block .btn a {
        color: #fff;
        text-decoration: none;
        font-size: 19px;
        display: block;
        padding: 13px 33px;
    }
    .info_block h3{
        font-size: 30px;
    }
    .info_block p{
        font-size: 17px;
    }
    header .tel_block .text a{
        font-size: 18px;
    }
    header .location_block span{
        font-size: 16px;
    }
    header .tel_block{
        padding-right: 0px;
        width: auto;
    }
    .item_block .block .name span{
        font-size: 18px;
    }
    header .logo img{
        width: 170px;
    }
}


@media only screen and (max-width: 900px){
    .item_block{
        text-align: center;
    }
    .item_block .block{
        margin-right: 4%;
    }
    .item_block .block .img_block{
        width: 230px;
        height: 230px;
    }
    .item_block .block .img_block .img{
        width: 220px;
        height: 220px;
    }
    .item_block .block .name:after{
        border-top: 55px solid #008fd9;
    }
    .item_block .block .name span {
        font-size: 15px;
    }
    .item_block .block .name span.small {
        font-size: 13px;
    }
    .item_block .block .name{
        height: 55px;
        bottom: -20px;
    }
    .item_block .block .btn{
        top: -30px;  
    }
}

@media only screen and (max-width: 768px){
    .item_block .block {
        display: block;
        vertical-align: top;
        width: 40%;
        margin-right: 0%;
        margin-bottom: 15px;
        text-align: center;
        margin: 0 auto;
    }
    .item_block .block:nth-child(3n-3) {
        margin-right: 0;
        margin: 0 auto;
    }
    header .logo img {
        width: 115px;
    }
    header .location_block span {
        font-size: 15px;
    }
    header .tel_block .text a {
        font-size: 16px;
    }
    header .block{
        width: 30%;
    }
    header .location_block{
        width: 30%;
    }
    header .block:after{
        right: -15px;
    }
    .popup .content_popup{
        width: 80%;

    }
}

@media only screen and (max-width: 600px){
    .info_block p{
        max-width: 100%;
    }
    header .container{
        display: block;
    }
    header .block:after{
        display: none;
    }
    header .block{
        width: 49%;
        display: inline-block;
        vertical-align: top;
    }
    header .location_block span{
        text-align: right;
    }
    header .tel_block{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 15px;
    }
    header .tel_block .text{
        text-align: center;
    }
    .info_block h3 {
        font-size: 23px;
    }
    .info_block p {
        font-size: 16px;
    }
    .item_block {
        margin-top: 13px;
    }
    .item_block .block{
        width: 70%;
    }
    .popup table tr td{
        padding: 6px 10px;
        font-size: 14px;
    }
    .popup .content_popup{
        padding: 25px;
    }
    .popup .close{
        top: 7px;
        right: 8px;
        font-size: 16px;
    }
}


@media only screen and (max-width: 420px){
    header .logo{
        width: 40%;
    }
    header .location_block {
        width: 58%;
    }
    .item_block .block {
        width: 100%;
    }
}