
/*
Bootstrap Image Carousel Slider with Animate.css
Code snippet by Hashif (http://hashif.com) for Bootsnipp.com
Image credits: unsplash.com
*/
@import url(https://fonts.googleapis.com/css?family=Quicksand:400,700);





/********************************/
/*          Main CSS     */
/********************************/


#first-slider .main-container {
  padding: 0;
}


#first-slider .slide1 h3, #first-slider .slide2 h3, #first-slider .slide3 h3, #first-slider .slide4 h3{
    color: #fff;
    font-size: 20px;
      text-transform: uppercase;
      font-weight:700;
}

#first-slider .slide1 h4,#first-slider .slide2 h4,#first-slider .slide3 h4,#first-slider .slide4 h4{
    color: #fff;
    font-size: 20px;
      text-transform: uppercase;
      font-weight:700;
}
.text-left {
    text-align: left;
    margin-top: 20%;
}
#first-slider .slide1 .text-left ,#first-slider .slide3 .text-left{
    padding-left: 40px;
}


#first-slider .carousel-indicators {
  bottom: 0;
}
#first-slider .carousel-control.right,
#first-slider .carousel-control.left {
  background-image: none;
}
#first-slider .carousel .item {
  min-height: 460px; 
  height: 100%;
  width:100%;
}

#first-slider .carousel .item2 {
  min-height: 370px !important; 
}

.carousel-inner .item .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}


#first-slider h3{
  animation-delay: 1s;
}
#first-slider h4 {
  animation-delay: 2s;
}
#first-slider h2 {
  animation-delay: 3s;
}


#first-slider .carousel-control {
    width: 6%;
        text-shadow: none;
}


#first-slider h1 {
  text-align: center;  
  margin-bottom: 30px;
  font-size: 30px;
  font-weight: bold;
}

#first-slider .p {
  padding-top: 125px;
  text-align: center;
}

#first-slider .p a {
  text-decoration: underline;
}
#first-slider .carousel-indicators li {
    width: 14px;
    height: 14px;
    background-color: #3c3b38;
  border:none;
}
#first-slider .carousel-indicators .active{
    width: 16px;
    height: 16px;
    background-color: #ACA996;
    border:none;
    padding: 0;
}


.carousel-fade .carousel-inner .item {
  -webkit-transition-property: opacity;
  transition-property: opacity;
}
.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  opacity: 0;
}
.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}
.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}
.carousel-fade .carousel-control {
  z-index: 2;
}

.carousel-control .fa-angle-right, .carousel-control .fa-angle-left {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-block;
}
.carousel-control .fa-angle-left{
    left: 50%;
    width: 38px !important;
    height: 38px !important;
    margin-top: -15px;
    font-size: 30px !important;
    color: #fff;
    border: 3px solid #ACA996 !important;
    -webkit-border-radius: 23px !important;
    -moz-border-radius: 23px !important;
    border-radius: 53px !important;
    line-height: 30px !important;
}
.carousel-control .fa-angle-right{
    right: 50%;
    width: 38px !important;
    height: 38px !important;
    margin-top: -15px;
    font-size: 30px !important;
    color: #fff !important;
    border: 3px solid #ACA996 !important;
    -webkit-border-radius: 23px !important;
    -moz-border-radius: 23px !important;
    border-radius: 53px !important;
    line-height: 30px !important;
}
.carousel-control {
    opacity: 1;
    filter: alpha(opacity=100);
}


/********************************/
/*       Slides backgrounds     */
/********************************/
#first-slider .slide1 {
    background-image: url(../images/slider/slide1.jpg);
      background-size: cover;
    background-repeat: no-repeat;
}
#first-slider .slide2 {
  background-image: url(../images/slider/ОФИС-IQ-QUARTER.JPG);
      background-size: cover;
    background-repeat: no-repeat;
}
#first-slider .slide3 {
  background-image: url(../images/slider/slide3.jpg);
      background-size: cover;
    background-repeat: no-repeat;
}
#first-slider .slide4 {
  background-image: url(../images/slider/slide4.jpg);
      background-size: cover;
    background-repeat: no-repeat;
}

#first-slider .slide5 {
  background-image: url(../images/slider/АйКю-Квартал-1.jpg);
      background-size: cover;
    background-repeat: no-repeat;
}


/********************************/
/*          Media Queries       */
/********************************/
@media screen and (min-width: 980px){
      
}
@media screen and (max-width: 640px){
  .text-left {
    text-align: left;
    margin-top: 50%;
}
    #first-slider .carousel .item {
    background-position-x: 50%;
}
}
@media only screen and (max-width: 767px) {
    #first-slider .carousel .item {
    min-height: 250px !important;
    }
    #first-slider .carousel .itemop {
    min-height: 250px !important;
    }
}

/* modal */
.modal_overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
}
.modal_content {
  background-color: #D1C6BA;
  overflow: visible;
  width: 950px;
  max-width: 90%;
    background-color: white;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -moz-box-orient: horizontal;
    -moz-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;

    z-index: 2000;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.modal_form {
  padding: 57px 25px 69px;
  color: #333333;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .modal_left {
    width: 50%;
    max-width: 50%;
    position: relative;
    z-index: 2;
    background: white;
    -webkit-border-bottom-left-radius: 15px;
    -moz-border-radius-bottomleft: 15px;
    border-bottom-left-radius: 15px;
    -webkit-border-top-left-radius: 15px;
    -moz-border-radius-topleft: 15px;
    border-top-left-radius: 15px;
  }
.modal_title {
  font-size: 34px;
  font-family: sans-serif ;
  text-align: center;
  line-height: 100%;
  margin-top: 0;
  margin-bottom: 0;
  font-weight: bold;
}
.modal_description {
  font-size: 16px;
  text-align: center;
  line-height: 130%;
  margin-top: 14px;
  margin-bottom: 28px;
}
.modal_form input {
height: unset !important;
    padding: 25px 16px 23px 24px !important;
    border: 1px solid  #484743 !important;
    -webkit-border-radius: 8px !important;
    -moz-border-radius: 8px !important;
    border-radius: 8px !important;
    color: rgba(81, 81, 81, 0.5) !important;
    margin-bottom: 15px !important;
    max-width: 320px;
    -webkit-transition: 0.2s;
    -o-transition: 0.2s;
    -moz-transition: 0.2s;
    transition: 0.2s;
    font-size: 20px;
}
.modal_form .btn {
  width: 100%;
  background: #615f55;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  padding: 16.5px;
  color: #ffffff;
  font-family: sans-serif;
  font-size: 20px;
  height: unset;
  max-width: 320px;
  -webkit-transition: .2s;
  -o-transition: .2s;
  -moz-transition: .2s;
  transition: .2s;
}
.modal_form .btn:hover {
  color: #615f55;
  background: #ffffff;
  border-color: #615f55;
}
.modal_subtext {
  font-size: 13px;
  line-height: 130%;
  text-align: center;
  color: #333333;
  opacity: 0.4;
  margin-top: 15px;
}
.modal_close {
  cursor: pointer;
  width: 28px;
  height: 28px;
  -webkit-background-size: 100% 100%;
  -moz-background-size: 100% 100%;
  -o-background-size: 100% 100%;
  background-size: 100% 100%;
  z-index: 2000;
  position: absolute;
  right: -40px;
  top: -10px;
}
.modal_close svg {
    color: white;
    fill: white;
    width: 100%;
    height: 100%;
}
.modal_right {
  width: 50%;
  max-width: 50%;
  background-color:  #484743;
  -webkit-border-bottom-right-radius: 15px;
    -moz-border-radius-bottomright: 15px;
    border-bottom-right-radius: 15px;
    -webkit-border-top-right-radius: 15px;
    -moz-border-radius-topright: 15px;
    border-top-right-radius: 15px;
}
.modal_present_info {
  height: 147px;
  width: 100%;
  text-align: center;
  display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -moz-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}
.modal_present_name {
  font-size: 22px;
  line-height: 110%;
  color: #fff;
  font-weight: 500;
  width: 300px;
}
.modal_profession {
  font-size: 14px;
  line-height: 130%;
  color: #fff;
  margin-bottom: 26px;
  margin-top: 10px;
}
.modal_present_fon img {
position: relative;
    width: 655px;
    height: 368px;
    left: -125px;
    top: 22px;

    -webkit-transform: rotateZ(-15deg);
    -moz-transform: rotateZ(-15deg);
    -ms-transform: rotate(-15deg);
    -o-transform: rotateZ(-15deg);
    transform: rotateZ(-15deg);
}
.msg_form_modal {
  width: 100%;
  margin-top: 15px;
  margin-bottom: -20px;
}
#modal-presentation {
  display: none;
  position: relative;
  z-index: 1000;
}
.modal_close_mob {
	display: none;
	width: 40px;
    height: 40px;
    margin-top: 20px;
    padding: 10px;
    background: #615f55;
    border-radius: 50%;
}
.modal_close_mob svg {
	width: 100%;
	height: 100%;
	fill: white;
}

@media (max-width:1099px) {
  .modal_content {
    flex-direction: column-reverse;
    width: 350px;
    max-width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100%;
    border-radius: 0px;
  }
  .modal_left, .modal_right {
    width: 100%;
    max-width: 100%;
    border-radius: 0px;
  }
  .modal_form input {
    padding: 15px !important;
  }
  .modal_close {
display: none;
  }
  .modal_close_mob {
    display: block;
  }
  .modal_form {
    padding: 15px;
  }
  .modal_title {
    display: none;
  }
  .modal_present_fon img {
    margin-bottom: -180px;
    width: 100%;
    height: auto;
    left: 0px;
}
  .modal_present_info {
    position: relative;
  }
  .modal_profession {
    display: none;
  }
  .modal_present_name {
    font-size: 24px;
    width: 100%;
    background: rgb(97 95 85 / 0.8);
    padding: 15px;
  }
}