
/*global*/

*, *::before, *::after{
  box-sizing: border-box;
}

body {
    min-width: 1200px;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 24px;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    color: #413d4b;
    background-color: white;
}

.container {
    width: 1180px;
    margin: 0 auto;
    padding: 0 10px;
}

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

a{
  text-decoration: none;
}

.visually-hidden:not(:focus):not(:active),
input[type="checkbox"].visually-hidden,
input[type="radio"].visually-hidden{
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;

  white-space: nowrap;

  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    vertical-align: top;
    text-align: center;

    text-transform: uppercase;
    text-decoration: none;
    word-wrap: break-word;

    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    background-color: transparent;
    color: #00e0d0;
    border: 1px solid #00e0d0;
    border-radius: 2px;
    cursor: pointer;
}


.btn:hover {
   color: white;
   background-color: #00e0d0;
}

.btn:active {
    color: white;
    background-color:: rgba(0, 224, 208, 0.3);
}

h1 {
    font-size: 45px;
    line-height: 55px;
    font-family: 'Montserrat', sans-serif;
}

h2{
    font-size: 22px;
    line-height: 26px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

h3{
    font-size: 16px;
    line-height: 18px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.text__link{
    color: black;
    font-weight: 500;
    text-decoration: underline;
}

.text__link:hover,
.text__link:focus,
.text__link:active{
    color: rgba(0, 0, 0, 0.5);
}

.form__field input,
.form__field textarea{
    width: 100%;
    padding: 10px 15px;
    font: inherit;
    color: inherit;
    border: 2px solid #d9d9d9;
    border-radius: 5px;
}

.form__field textarea{
   min-height: 120px;
   overflow: auto;
}

.form__field input:hover,
.form__field textarea:hover,
.form__field input:focus,
.form__field textarea:focus{
    outline: 2px solid #00e0d0; 
}


/*page-header*/


.main-header {
    position: relative;
    min-height: 670px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    color: white;

    padding-bottom: 65px;
}


/*main-navigation*/

.main-navigation{
    
    min-height: 94px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 100px;
}


.index-logo {
    width: 115px;
    height: 94px;
}

.index-logo:hover,
.index-logo:focus{
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    box-shadow: inset 2px 2px 5px rgba(154, 147, 140, 0.5), 1px 1px 5px rgba(255, 255, 255, 1);
}

.index-logo:active{
    opacity: 0.3;
}

.index-logo img {
    width: 115px;
    height: 94px;
}


.main-navigation-wrapper{
    width: 1000px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-right: 10px;

}

.site-navigation,
.lang-navigation {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    flex-direction: row;
   
    align-items: center;
    flex-wrap: wrap;
}

.site-navigation{
    width: 900px;
    justify-content: flex-start;
}

.lang-navigation{
    width: 90px;
    justify-content: flex-end;
}


.site-navigation a,
.lang-navigation a{
    position: relative;
    display: block;
    margin: 0 9px;
   
    color: inherit;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 16px;
    font-weight: 700;
    cursor: pointer;
}

.site-navigation a{
     padding-right: 15px;
}

.site-navigation a:after{
    position: absolute;
    content: "";
    border: 5px solid transparent;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-top-color: white;
}

.site-navigation a:hover,
.lang-navigation a:hover,
.site-navigation a:focus,
.lang-navigation a:focus {
     text-decoration: underline;
}



.site-navigation li:hover .dropdown-content-sec{
    display: block;
}


.site-navigation a:active,
.lang-navigation a:active{
    color: rgba(255, 255, 255, 0.3);
}

.site-navigation a:active::after{
    border-top-color: rgba(255, 255, 255, 0.3);
}

.site-navigation a.active,
.lang-navigation a.active{
    color: #00e0d0;
    text-decoration: none;
}

/*Dropdown*/

.dropdown{
    display: none;
    list-style: none;
    max-width: 250px;
    padding: 5px;
    margin: 0;
    position: absolute;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 5px 5px rgba(0,0,0,0.2);
    z-index: 100;

}

.dropdown a{
    display: block;
    margin-bottom: 10px;
    color: #054971;
    font-weight: 300;
    text-transform: none;
}


/*slider*/

.slider{
    
    position: relative;
    width: 100%;
    height: 411px;
}

.slider__slides {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    height: 411px;
}


.slide{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    padding: 25px 200px;

    text-align: center;


    opacity: 0;
    z-index: 1;

    transition: opacity 0.1s;
}

.slide.showing{
      opacity: 1;
      z-index: 2;
}

.slide__title{
    margin-bottom: 20px;
}

.slide__description{
    margin-bottom: 30px;
}

.slider__controls{
    display: flex;
    align-items: center;

    position: absolute;
    left: 50%;
    bottom: 0;

    font-size: 0;
    line-height: 0;

    transform: translateX(-50%);

    z-index: 3;
}

.control{
    position: relative;
    width: 18px;
    height: 18px;
    margin: 0 8px;
    background-color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.control.active::before{
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #00e0d0;
    border-radius: 50%;
} 

/*description*/

.description{
    padding: 60px 0;
    
}

.description.container{
    padding-left: 400px;
    background-image: url(../img/ifc_logo.png);
    background-size: 239px 221px;
    background-position: 0;
    background-repeat: no-repeat;
}

.description .title{
    margin-bottom: 30px;
}

.description p{
    margin: 20px 0;
}


.description__btn{
    margin-top: 20px;
}



/*video*/

.video{
    text-align: center;
}

.video .title{
     margin: 20px 0;
}

.video video{
    width: 100%;
    height: 405px;
}


/*proposals*/

.proposals {
    padding-top: 55px;
    padding-bottom: 85px;
}

.title_wrapper {
    position: relative;
    padding-bottom: 20px;
    text-align: center;
}

.title_wrapper::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background-color: #d9d9d9;
}


.proposals__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 60px;
}

.proposals__item {
    position: relative;
   
    width: 330px;
    min-height: 234px;
    padding-top: 90px;
    padding-right: 30px;
    padding-left: 30px;
    text-align: center;
    border-left: 1px solid #d9d9d9;
    border-right: 1px solid #d9d9d9;
    margin-bottom: 30px;
}



.proposals__item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background-image: url("../img/icon-1.png");
    background-repeat: no-repeat;
    background-size: 80px 80px;

}

.proposals__item--2::before {
    width: 80px;
    height: 80px;
   background-image: url("../img/icon-2.png");
   background-size: 80px 80px;
}


.proposals__item--3::before {
    width: 80px;
    height: 80px;
   background-image: url("../img/icon-3.png");
   background-size: 80px 80px;
}

.proposals__item--4::before {
    width: 80px;
    height: 80px;
   background-image: url("../img/icon-4.png");
   background-size: 80px 80px;
}

.proposals__item--5::before {
    width: 80px;
    height: 80px;
   background-image: url("../img/icon-5.png");
   background-size: 80px 80px;
}

.proposals__item--6::before {
    width: 80px;
    height: 80px;
   background-image: url("../img/icon-6.png");
   background-size: 80px 80px;
}




/*programms*/


.programms{
    padding: 45px 0;
    min-height: 712px;
    background-image: url("../img/programm-bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    text-align: center;
}


.programms__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin: 60px 0;
}


.programms__item {
    width: 220px;
	height: 320px;
    border: 1px solid white;
    
}

.programms__item h3{
    margin: 20px 0;
	font-size: 12px;
}

.programms__item a{
   color: inherit;
}

.programms__item a:hover,
.programms__item a:focus{
    text-decoration: underline;
}

.programms__item a:active{
    color: rgba(255, 255, 255, 0.3);
}

.programms__item img{
    width: 220px;
    height: 229px;
}


/*news*/

.news{
    padding: 100px 0;
}

.news__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}


.news__item{
    position: relative;
    width: 550px;
    margin-bottom: 20px;
    padding: 60px;
    padding-bottom: 0;

    background-image: url(../img/news-bg.png);
    background-size: 29px 31px;
    background-position: top left;
    background-repeat: no-repeat;
}



.news__item::before,
.news__item::after{
    content: "";
    position: absolute;
    top: 13px;
    left: 4px;
    width: 20px;
    height: 3px;
    background-color: white;
}

.news__item::after{
    transform: rotate(90deg);
}

/*reviews*/

.reviews {
    padding: 45px 0;
    min-height: 712px;
    background-image: url("../img/programm-bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: white;
    text-align: center;
}

.reviews__slider {
    position: relative;
    padding-top: 110px;
    margin-top: 50px;
    
    height: 500px;
    text-align: center;
}

.reviews__slides{
    
    height: 390px;

    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}


.reviews__slider::before{
    content: '"';
    position: absolute;
    top: 175px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 365px;   
}

.slide .review{
    font-size: 22px;
    line-height: 26px;
}

.review .name{
    font-size: 26px;
    line-height: 30px;
}

.review .prof{
    font-style: italic;
}

.review__controls{
    max-width: 340px;
    min-height: 65px;
    
    overflow: hidden;
}

.review__controls-wrapper{
    display: flex;
    align-items: center;
}

.review__control{
    width: 45px;
    height: 45px;
    background-color: white;
    background-image: url("../img/ababii_1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    margin: 0 10px;
}

.review__control_1{
    width: 45px;
    height: 45px;
    background-color: white;
    background-image: url("../img/vicolin_1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    margin: 0 10px;
}

.review__control_2{
    width: 45px;
    height: 45px;
    background-color: white;
    background-image: url("../img/berghi_1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    margin: 0 10px;
}


.review__control.active::before{
    display: none;
}

.review__control_1.active::before{
    display: none;
}

.review__control_2.active::before {
    display: none;
}


.review__control:hover,
.review__control:focus{
    border: 1px solid white;
}

.review__control_1:hover,
.review__control_1:focus{
    border: 1px solid white;
}

.review__control_2:hover,
.review__control_2:focus{
    border: 1px solid white;
}


.review__control.active{
    width: 65px;
    height: 65px;
}

.review__control_1.active{
    width: 65px;
    height: 65px;
}

.review__control_2.active{
    width: 65px;
    height: 65px;
}

.review__control.previous,
.review__control.next{
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 0;
    background-image: none;
    transform: rotate(45deg);
    border-left: none;
    border-bottom: none;
    bottom: 15px;
    left: 740px;
    cursor: pointer;
    z-index: 2;
}

.review__control.previous{
    border-left: 1px solid white;
    border-bottom: 1px solid white;
    border-right: none;
    border-top: none;

    left: 370px;
}

.review__control.previous:hover,
.review__control.next:hover,
.review__control.previous:focus,
.review__control.next:focus,
.review__control.previous:disabled,
.review__control.next:disabled{
    border-color: rgba(255,255,255, 0.3);
    width: 30px;
    height: 30px;
}

.review__control.previous.active,
.review__control.next.active{
    width: 30px;
    height: 30px;
}


/*contacts*/

.contacts{
    padding: 60px 0;
}

.contacts.container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.contacts .col__right,
.contacts .col__left{
    width: 45%;
}

.container .title{
    margin-bottom: 30px;
}


.contacts__btn{
    margin-top: 25px;
}

.contacts__list{
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
}

.contacts__item {
    width: 50%;
    padding-right: 10px;
    padding-left: 10px;
    text-align: center;
    
    margin-bottom: 20px;
}

.contacts__link {
    display: inline-block;
}

.contacts__link:hover,
.contacts__link:focus{
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.contacts__link:active{
    opacity: 0.3;
}


/*page-footer*/

.page-footer {
    height: 400px;
    padding: 65px 0;
    background-image: url(../img/footer-bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    color: white;  
}

.page-footer h3{
    margin: 0;
}

.page-footer > .container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.page-footer .index-logo {
    width: 75px;
    height: 72px;
    display: inline-block;
}
.page-footer .index-logo img {
    width: 75px;
    height: 72px;
}

.page-footer__description,
.page-footer__adress,
.page-footer__social
{
    width: 30%;
}

.adress,
.phone{
    position: relative;
    padding-left: 40px;
    /*box-shadow: 0 0 5px 5px rgba(0,0,0,0.2);*/
}

.adress::before,
.phone::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 20px;
    width: 20px;
    background-image: url(../img/googlemap-icon.png);
    background-repeat: no-repeat;
    background-position: 0;
}

.phone::before{
    background-image: url(../img/phone-icon.png);
}

.page-footer-copyright{
    width: 100%;
    text-align: right;
}

.page-footer__form{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.page-footer__form .form__field{
    width: 70%;
    /*box-shadow: 0 0 5px 5px rgba(0,0,0,0.2);*/
}

.page-footer__btn {
    width: 25%;
    height: 46px;
    margin-top: 21px;
    margin-left: 5px;
    background-color: rgba(255,255,255,0.3);
    border: 2px solid #d9d9d9;
    background-image: url("../img/arrow-button-icon.png");
    background-repeat: no-repeat;
    background-position: center;
}

.page-footer__btn:hover,
.page-footer__btn:focus,
.page-footer__btn:active{
    background-color: rgba(255,255,255,0.8);
    border: 1px solid #00e0d0;
}

.social__list{
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 5px;
}

.social__btn {
    display: inline-block;
    width: 35px;
    height: 35px;
    margin: 5px;
    
    
    background-repeat: no-repeat;
    background-position: center;

    border-radius: 50%    
}

.social__btn--fb{
    background-image: url("../img/facebook-icon.png");
}

.social__btn--tw{
    background-image: url("../img/twitter-icon.png");
}

.social__btn--inst{
    background-image: url("../img/instagram-icon.png");
}

.social__btn--google{
    background-image: url("../img/googleplus-icon.png");
}

.social__btn--youtube{
    background-image: url("../img/youtube-icon.png");
}

.social__btn:hover,
.social__btn:focus{
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    box-shadow: inset 2px 2px 5px rgba(154, 147, 140, 0.5), 1px 1px 5px rgba(255, 255, 255, 1);
}

.social__btn:active {
    opacity: 0.3;
}

/*.dropdown-content-sec {
    color:#413d4b;
    display: none;
    position: absolute;
	left: 1050px;
    top: 150px;
    background-color: white;
    width: 250px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    /*font-size: 14px;
    line-height: 24px;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    border-radius: 5px;
    padding: 5px;

    
}

.dropdown-content-sec a{
    display: block;
    margin-bottom: 10px;
    color: #054971;
    font-weight: 300;
    text-transform: none;
}
.dropdown-content-sec > ul > li {
    font-size: 13px;
    line-height: 16px;
    list-style-type: none;
}*/

.show {display: block;}


.dropdown-content-sec>li:hover  .dropdown-content-third{
    display: block;
}

.dropdown-content-third>li:hover  .dropdown-content-forth{
    display: block;
}

.dropdown-content-sec>li:hover  .dropdown-content-five{
    display: block;
}

.dropdown-content-sec>li:hover  .dropdown-content-six{
    display: block;
}

.dropdown-content-third {
    left: 250px;
    width: 250px;
    top: 0px;
}

.dropdown-content-forth {
    left: 250px;
    width: 150px;
    top: 0px;
}

.dropdown-content-five {
    left: 250px;
    width: 250px;
    top: 70px;
}

.dropdown-content-six {
    left: 250px;
    width: 250px;
    top: 90px;
}



/*Slider css*/
.mySlides {display: none}
.img-slide {
	vertical-align: middle;
	width: 100%;
  height: 670px;
	}

/* Slideshow container */
.slideshow-container {
  width: 100%;
  height: 476px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 200px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #fff;
  
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot-active, .dot:hover {
  border: 2px solid #00e0d0;
}

.dot-wrapper {
    position: absolute;
    top: 500px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    
    z-index: 1000;
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}

.snowflake {
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(white, white); /* Workaround for Chromium's selective color inversion */
    border-radius: 50%;
    filter: drop-shadow(0 0 10px white);
}

.hide-content {
    display: none;
}