/*  containers settings  */

/*   services section contaniner  */

@media screen and (min-width: 1136px) {
    .services-container {
        max-width: 1136px;
    }
}

@media screen and (max-width: 1135px) {
    .services-container {
        max-width: 100%;
    }
}

/*   news section contaniner  */

@media screen and (min-width: 1164px) {
    .news-container {
        max-width: 1164px;
    }
}

@media screen and (max-width: 1163px) {
    .news-container {
        max-width: 100%;
    }
}

/*   contacts section contaniner  */

@media screen and (min-width: 943px) {
    .contacts-container {
        max-width: 943px;
    }
}

@media screen and (max-width: 942px) {
    .contacts-container {
        max-width: 100%;
    }
}


@media screen and (max-width: 1650px) {
    /*  about  */
    .about-text {
        padding: 55px 11% 0 62px;
    }
    .about-main-text {
        padding-bottom: 32px;
    }
    .about-subheading {
        padding-bottom: 16px;
    }
}



@media screen and (max-width: 1400px) {

    /*  navigation  */
    nav .main-navigation-menu li {
        padding-right: 20px;
    }
    /*  video block */

    .video-block-text {
        width: 75%;
    }
    .video-block-text p {
        font-size: 1.75rem;
        margin-bottom: 68px;
    }
    .video-wrap {
        height: 584px;
    }
	
	.content-slide{
		margin-top:40px;
		font-size: 1.5rem;
	}

    /*  about */

    .about-heading {
        padding-bottom: 27px;
    }

    .adv-row .adv-cell:nth-child(2) {
        padding: 12px 0 14px 22px;
    }

    /* services section  */

    .services-section .divider-small,
    .last-news .divider-small,
    .trust-section .divider-small
    {
        margin: 0 auto 36px;
    }

    /* team section */

    .team-item:nth-child(3) .team-wrap__item:after {
        height: 117px;
        width: 117px;
        right: -7px;
        top: 21px;
    }

    /*  news section  */

    .last-news {
        padding-bottom: 18px;
    }

    /*  carousel */
    .owl-carousel {
        width: 75%;
        margin: 0 auto;
    }

    .basic-section,
    .section-feedback-heading,
    .services-section
    {
        padding-top: 40px;
    }

    .services-section {
        padding: 55px 15px 40px;
    }
    .trust-section {
        padding-bottom: 65px;
    }

    /* feedback */
    .feedback-section {
        height: 641px;
    }


    /*  SERVICES PAGE  */

    .text-left-block {
        padding: 33px 10% 20px 70px;
    }
    .text-right-block {
        padding: 63px 41px 20px 10%;
    }

    /* TEAM PAGE */

    .team-main-section {
        padding: 55px 15px 10px;
    }
    .services-main-section {
        padding: 55px 0 0;
    }

    .section-heading {
        margin-bottom: 36px;
    }

    .team-main-section .divider-small,
    .services-main-section .divider-small

    {
        margin: 0 auto 40px;
    }
    .team-member-row {
        padding-bottom: 37px;
        margin-bottom: 40px;
    }

}

@media screen and (max-width: 1300px) {
    /*  video background  */
    .video-wrap {
        height: 690px;
    }
}


@media screen and (max-width: 1200px) {

    /*  navigation  */

    nav .main-navigation-menu li {
        padding-right: 10px;
    }
    nav .main-navigation-menu li a,
    select
    {
        font-size: 0.875rem;
    }
    .logo-section {
        padding: 15px 0 13px 10px;
    }
    .navigation-section {
        padding: 22px 20px 5px 0;
    }
	
	.right-header{
		padding:32px 27px 0 0;
	}

    /*  video background  */

    .video-wrap {
        height: 600px;
    }
    .video-block-text p {
        margin-bottom: 60px;
    }
    /*  about */

    .about-subheading,
    .about-heading {
        font-size: 1.25rem;
    }
    .about-text,
    .about-image
    {
        height: 700px;
    }
    .about-text {
        padding: 32px 11% 0 55px;
    }
    .about-main-text,
    .adv-cell p
    {
        font-size: 0.8rem;
    }

    /*  services */

    .services-section {
        padding: 60px 15px 60px;
    }
    .divider-small, .divider-small-white {
        margin: 0 auto 50px;
    }

    .team-item:nth-child(3) .team-wrap__item:after {
        height: 87px;
        width: 87px;
        right: 9px;
        top: 36px;
    }

    /*  last news */

    .last-news {
        padding-bottom: 10px;
    }

    /*  feedback  

    .contacts-block-main__form form .form-group:first-child, .contacts-block-main__form form .form-group:nth-child(2) {
        margin-bottom: 18px;
    }
    .feedback-section {
        height: 625px;
    }
*/
    /* footer */

    footer {
        padding: 33px 15px 20px;
        text-align: center;
    }
    .logo-wrap,
    .footer-copyright
    {
        margin-bottom: 22px;
    }

    /*  SERVICES PAGE  */

    .text-left-block {
        padding: 33px 4% 20px 40px;
    }
    .text-right-block {
        padding: 40px 41px 20px 4%;
    }


}

@media screen and (max-width: 1100px) {
    /*  video background  */
    .video-wrap {
        height: 550px;
    }
}


/* effects with nav links */

@media screen and (min-width: 992px) {
    .cl-effect-5 a span {
        position: relative;
        display: inline-block;
        -webkit-transition: -webkit-transform 0.3s;
        -moz-transition: -moz-transform 0.3s;
        transition: transform 0.3s;
    }

    .cl-effect-5 a span::before {
        position: absolute;
        top: 100%;
        content: attr(data-hover);
        -webkit-transform: translate3d(0,0,0);
        -moz-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }

    .cl-effect-5 a:hover span,
    .cl-effect-5 a:focus span {
        -webkit-transform: translateY(-100%);
        -moz-transform: translateY(-100%);
        transform: translateY(-100%);
    }
}



@media screen and (max-width: 991px) {

    /*  navigation  */
    .main-menu {
        position: absolute;
        background: #56c2f2;
        width: 100%;
        right: 0;
        z-index: 9999;
        margin-top: 23px;
        float: right;
		overflow:hidden;
    }
	
	.about-image{
		display:none;
	}

    .main-navigation-menu {
        max-height: 0;
    }
    nav .main-navigation-menu li {
        width: 100%;
        padding: 5px 0;
        text-align: center;
        -ms-transition: background-color 0.4s ease-in-out;
        -moz-transition: background-color 0.4s ease-in-out;
        -webkit-transition: background-color 0.4s ease-in-out;
        -o-transition: background-color 0.4s ease-in-out;
        transition: background-color 0.4s ease-in-out;
    }
    nav .main-navigation-menu li:hover,
    nav .main-navigation-menu li:active,
    nav .main-navigation-menu li:focus
    {
        background-color: #fff;
    }
    nav .main-navigation-menu li a,
    nav .main-navigation-menu li select
    {
        -ms-transition: color 0.4s ease-in-out;
        -moz-transition: color 0.4s ease-in-out;
        -webkit-transition: color 0.4s ease-in-out;
        -o-transition: color 0.4s ease-in-out;
        transition: color 0.4s ease-in-out;
    }
    nav .main-navigation-menu li:hover a,
    nav .main-navigation-menu li:active a,
    nav .main-navigation-menu li:focus a,
    nav .main-navigation-menu li:hover select,
    nav .main-navigation-menu li:active select,
    nav .main-navigation-menu li:focus select
    {
        color: #56c2f2;
    }

    .icon-block {
        display: block;
    }
    .showing {
        max-height: 20em;
    }

    /*  search  */

    .search-block form input {
        position: relative;
    }

    .search-block form:hover input,
    .search-block form input:focus,
    .search-block form input:active,
    .search-block form input:hover
    {
        right: 0;
        border: 1px solid #89d2f1 !important;
    }

    .search-block form input {
        width: 200px;
        right: 0;
        opacity: 1;
    }

    /*  video wrap  */

    .video-wrap {
        height: 513px;
    }
    .video-block-text p {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

    /* about  */

    .about-text,
    .about-image
    {
        width: 100%;
    }
    .about-text {
        height: auto;
    }
    .about-image {
        height: 525px;
    }
    .about-text {
        padding: 32px 5% 15px 55px;
    }
    .about-main-text {
        padding-bottom: 18px;
    }

    /* services  */

    .services-section {
        padding: 35px 15px 35px;
    }
    .section-heading {
        margin-bottom: 28px;
    }
    .services-item {
        margin-bottom: 20px;
    }
    .service-heading {
        margin-bottom: 20px;
    }

    /* team */

    .team-item:nth-child(2) .photo-substrate:before {
        height: 67px;
        width: 67px;
        left: -7px;
        bottom: -76px;
    }

    .team-item:nth-child(2) .photo-substrate:after {
        height: 41px;
        width: 41px;
        right: -9px;
        top: -49px;
    }
    .team-item:first-child .photo-substrate:before {
        height: 63px;
        width: 63px;
        left: -37px;
        bottom: -27px;
    }
    .team-member-name,
    .about-subheading
    {
        font-size: 1.25rem;
    }
    .adv-row .adv-cell:nth-child(2) {
        padding: 5px 0 14px 22px;
    }
    .team-item:nth-child(3) .team-wrap__item:before {
        left: 40px;
        top: 69px;
    }

    /*  last news  */

    .news-block {
        margin-bottom: 27px;
    }

    /* carousel */

    #partners-carousel.owl-theme .owl-controls .owl-buttons .owl-next {
        border-top: 30px solid transparent;
        border-left: 30px solid #eaf8fe;
        border-bottom: 30px solid transparent;
    }

    #partners-carousel.owl-theme .owl-controls .owl-buttons .owl-prev {
        border-top: 30px solid transparent;
        border-right: 30px solid #eaf8fe;
        border-bottom: 30px solid transparent;
    }
    .trust-section {
        padding-bottom: 30px;
    }
    .basic-section, .section-feedback-heading {
        padding-top: 30px;
    }
    .section-heading,
    .section-feedback-heading,
    .about-heading,
    .service-text-heading
    {
        font-size: 1.5rem;
    }

    /*  feedback */

    .submit-button {
        padding: 12px 45px 14px;
    }

    .feedback-section {
        height: 560px;
    }


    /*  SERVICES PAGE  */

    .text-left-block,
    .text-right-block
    {
        padding: 25px;
    }
    .service-text-heading {
        text-align: center;
    }
    .services-section__item p {
        text-align: justify;
    }
    .services-main-section {
        padding: 36px 0 0;
    }

    /*  TEAM PAGE   */

    .team-member-photo
    {
        width: 100%;

    }
    .team-member-info {
        width: 100%;
        margin: 0 auto;
    }
    .team-mem-name,
    .team-mem-position,
    .team-member-info__text p
    {
        text-align: center;
    }
    .team-mem-position {
        padding-bottom: 14px;
    }

    .team-member-row {
        padding-bottom: 37px;
        margin-bottom: 40px;
    }
    .team-member-info {
        display: table-footer-group;
    }
   .team-member-photo {
        display: table-header-group;
    }

   /*  SERVICES PAGE  */

    /*  reordering blocks   */
    .services-left,
    .services-right
    {
        display: table;
    }
    .services-left > div:nth-child(2),
    .services-right > div:first-child {
        display: table-footer-group;
        float: none;
    }
    .services-left > div:first-child,
    .services-right > div:nth-child(2)
    {
        display: table-header-group;
        float: none;
    }

    .divider-small, .divider-small-white {
        margin: 0 auto 55px;
    }



}
@media screen and (max-width: 992px){
	.item-service .left-block,
	.item-service. .right-block{
		width:100%;
		display:block;
	}
	
	.item-service.odd .right-block,
	.item-service.even .right-block{
		display:none;
	}
	.item-service .inner-services{
		padding:30px 25px 15px 25px;
		border-bottom:1px dashed #ccc;
	}
	/*
	.item-service.even .right-block{ 
		display:none;    
	}
	
	.item-service.odd .left-block{ 
		display:none;    
	}
	*/
}


@media screen and (max-width: 900px) {

    /*video background*/

    .video-wrap {
        height: 494px;
    }
}

@media screen and (max-width: 767px) {

    /* video */

    .video-wrap video {
        display: none;
    }
	
	.video-background{
		display:none !important;
	}
	
	/*-------------------------------scroll top----------------------*/
	.scroll_top{
		bottom:15px;
		right:15px;
	}
	
	
    .video-background {
        background: url(../images/alternative-main-background_02.jpg) center center no-repeat;
        width: 100%;
        height: 420px;
        padding: 0 15px;
    }
    .video-block-text {
        top: 45%;
    
	}
	
	.wrap-slider-carousel{
		display:none;
	}
	
    .video-block-text {
        width: 100%;
    }
    .know-more {
        width: 90px;
        height: 90px;
    }
    .know-text:after {
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 10px solid #fff;
        margin: 12px auto 0;
    }
    .video-block-text p {
        font-size: 1.25rem;
        margin-bottom: 36px;
    }

    /*  about  */

    .about-heading {
        font-size: 1.25rem;
    }
    .about-image {
        height: 400px;
    }

    /*  team  */

    .team-member-name {
        font-size: 1rem;
    }
    .team-member-position,
    .services-item p
    {
        font-size: 0.75rem;
    }


    .team-item:first-child .photo-substrate:before,
    .team-item:nth-child(2) .photo-substrate:before,
    .team-item:nth-child(2) .photo-substrate:after,
    .team-item:nth-child(3) .team-wrap__item:before,
    .team-item:nth-child(3) .team-wrap__item:after {
        display: none;
    }

    .team-item {
        margin-bottom: 45px;
    }

    .our-team {
        padding-bottom: 12px;
    }
    .team-member-position {
        width: 50%;
        margin: 0 auto;
    }

    /*  news  */

    .news-block {
        padding: 0;
    }

    .news-item__cell {
        display: table-cell;
        vertical-align: middle;
    }
    .news-item .news-item__cell:nth-child(2) {
        padding: 5px 15px 5px;
    }
    .news-heading {
        font-size: 1.25rem;
    }

    .last-news .divider-small,
    .trust-section .divider-small,
    .services-section .divider-small

    {
        margin-bottom: 25px;
    }

    /*  carousel */
    #partners-carousel.owl-theme .owl-controls .owl-buttons .owl-next,
    #partners-carousel.owl-theme .owl-controls .owl-buttons .owl-prev

    {
        top: 12%;
    }


    /*  contacts  */

    .contacts-divider {
        height: 100px;
    }
    .contacts-item {
        width: 55px;
        height: 55px;
        margin-top: -28px;
        margin-bottom: 14px;
    }

    .contacts-text {
        font-size: 0.75rem;
    }
    .contacts-form-first input,
    .form-group:nth-child(2) input
    {
        height: 37px;
    }


    /* feedback 

    .feedback-section {
        height: 538px;
    }*/
    .basic-section, .section-feedback-heading {
        padding-top: 35px;
    }

    .divider-small-white {
        margin: 0 auto 32px;
    }
    /* footer */
    .logo-wrap img {
        max-width: 100%;
        height: auto;
    }

    /*  TEAM PAGE  */

    .team-mem-name {
        font-size: 1.25rem;
    }
    .team-member-info__text p {
        font-size: 0.75rem;
    }

    .team-member-info {
        width: 100%;
    }

}

@media screen and (max-width: 500px) {

    /* video */

    .video-block-text p {
        font-size: 1rem;
    }
    .video-background {
        height: 400px;
    }

    /*about*/

   .about-image {
       display: none;
   }
    .about-text {
        padding: 32px 5% 15px 30px;
    }

    /*  team */

    .team-member-position {
        width: 100%;
    }

    /*news*/

    .news-heading {
        font-size: 1rem;
    }

    /* contacts */

    .contacts-text {
        font-size: 0.65rem;
    }
    .contacts-item {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }
    .contacts-divider {
        height: 80px;
    }
    .contacts-item span i {
        font-size: 1rem;
    }
    .section-heading, .section-feedback-heading, .about-heading {
        font-size: 1.25rem;
    }

    /* feedback 

    .section-feedback-heading {
        margin-bottom: 21px;
    }
    .feedback-section {
        height: 515px;
    }
    .form-control {
        padding: 9px 14px;
    }
    .form-group textarea {
        padding-top: 12px;
    }*/
}

@media screen and (max-width: 450px) {

    /*  navigation  */

 /*   .main-menu {
        width: 75%;
    }*/


    /*  about */
    .adv-row,
    .adv-cell
    {
        display: block;
    }

    .check-block {
        margin: 0 auto 10px;
    }
    .adv-row .adv-cell:nth-child(2) {
        padding-right: 0;
        padding-left: 0;
    }
    .about-subheading,
    .adv-cell p,
    .about-main-text,
    .about-text .about-heading
    {
        text-align: center;
    }

    /*services

    .services-section .row div{
        width: 100%;
    }*/
    /* feedback 
    .form-group:first-child input {
        width: 100%;
    }
    .form-group:first-child input:first-child {
        margin-bottom: 18px;
    }
    .feedback-section {
        height: 565px;
    }*/
}

@media screen and (max-width: 410px) {

    /* contacts  */

    .contacts-item {
        display: none;
    }
    .rhombus-block {
        width: 100%;
    }
    .contacts-divider {
        padding-top: 10px;
    }
    .contacts-text {
        font-size: 0.75rem;
    }

    body {
        overflow-x: hidden;
    }

}



/*  clearfix for columns  */


@media (min-width: 1200px) {
    .services-section .col-lg-2:nth-child(6n+1),
    .services-section .col-lg-2:nth-child(6n+1),
    .services-section .col-lg-3:nth-child(4n+1),
    .services-section .col-lg-4:nth-child(3n+1),
    .services-section .col-lg-6:nth-child(2n+1) {
        clear:left !important;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .services-section .col-md-2:nth-child(6n+1),
    .services-section .col-md-2:nth-child(6n+1),
    .services-section .col-md-3:nth-child(4n+1),
    .services-section .col-md-4:nth-child(3n+1),
    .services-section .col-md-6:nth-child(2n+1) {
        clear:left !important;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .services-section .col-sm-2:nth-child(6n+1),
    .services-section .col-sm-2:nth-child(6n+1),
    .services-section .col-sm-3:nth-child(4n+1),
    .services-section .col-sm-4:nth-child(3n+1),
    .services-section .col-sm-6:nth-child(2n+1) {
        clear:left !important;
    }

	}

@media (max-width: 767px)  {
    .services-section .col-xs-2:nth-child(6n+1),
    .services-section .col-xs-2:nth-child(6n+1),
    .services-section .col-xs-3:nth-child(4n+1),
    .services-section .col-xs-4:nth-child(3n+1),
    .services-section .col-xs-6:nth-child(2n+1) {
        clear:left !important;
    }
}





