@media (max-width: 1399.98px) { 

	.cdl-hero {max-height: 660px;}
	.cdl-hero__cover {background-size: contain;}
}






@media (max-width: 1199.98px) { 
	.site-header__top-info {font-size: .75rem;}
	.cdl-hero {
    	max-height: 552px;
  	}
  	.cdl-about {
  		padding-top: 60px;
  		padding-bottom: 100px;
  	}
	.cdl-companies__cover {width: calc(50vw);}
	.cdl-companies__description {
		padding-left: 80px;
		padding-right: 80px;
	}

	.cdl-reviews__item {
		padding: 42px;
	}
}


@media (max-width: 991.98px) { 

	.navbar-toggler {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        border-width: 2px;
        gap: 5px;
        width: 29px;
        height: 29px;
        overflow: hidden;
    }
    .navbar-toggler-icon {
        background-color: #344786;
        width: 100%;
        height: 2px;
        position: relative;
        transition: all .3s ease-in-out;
    }
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:nth-of-type(2) {transform: translateX(100px);}
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:first-of-type {transform: rotate(45deg) translate(5px, 5px);}
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:last-of-type {transform: rotate(-45deg) translate(5px, -5px);}

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-width: 460px;
        height: calc(100vh - 106px);
        background-color: var(--bs-white);
        padding-left: 69px;
    }
    .collapsing {
        -webkit-transition: none;
        transition: none;
        display: none;
    }
    .navbar-collapse.show {
        animation: fadeInLeft .6s ease-in-out 0s forwards;
    }

	.cdl-hero {
		height: auto;
		max-height: inherit;
		padding-top: 65px;
	}
	.cdl-hero__cover {opacity: .2;}

	.cdl-about .row {flex-direction: column-reverse;}

	.cdl-wwwus__images,
	.cdl-steps__images {margin-top: 40px;}
	.cdl-companies__cover {
		width: 100%;
		opacity: .2;
	}
	.cdl-steps__images .cdl-steps__img-item:first-of-type {width: 100%;}

	.gigant-numbers {font-size: 280px;}

}
@media (max-width: 767.98px) { 

	.gigant-numbers {font-size: 180px;}
}


@media (max-width: 575.98px) { 
	:root {
		--bs-body-font-size: 1rem;
	}
	h2 {font-size: 2.25rem;}
	h3 {font-size: 1.875rem;}
	h4 {font-size: 1.25rem;}

	.btn:not(.btn-link) {font-size: .875rem;}
	.btn:not(.btn-link) {
		--bs-btn-padding-x: 1.875rem;
	}

	#page {
		overflow-x: hidden;
		padding-top: 112px;
	}

	.cdl-hero br,
	.cdl-contacts__form-heading br {display: none;}
	
	.cdl-hero__actions {flex-direction: column;}
    
	.site-header__top-info {min-height: 19.2px;}
	.rotating-item {
		display: none;
		text-align: center;
	}
	.navbar-collapse {
		padding: 0 20px;
		text-align: center;
	}

	.cdl-hero {
		padding: 0 0 35px;
		display: flex;
		flex-direction: column-reverse;
        font-size: 1rem;
		line-height: 1.375rem;
		text-align: center;
	}
	.cdl-hero__cover {
		background-size: cover;
		position: static;
		width: 100%;
		height: 306px;
		opacity: 1;
		margin-bottom: 20px;
	}
	.cdl-hero__cover:before {display: none;}
	.cdl-hero h1 {
		font-size: 35px;
		line-height: 38px;
	}
	.cdl-hero__actions {justify-content: space-between;}
    .cdl-hero__form {padding: 30px;}
    .cdl-hero__mockup {
        margin-bottom: 28px;
        margin-left: -12px;
        padding: 0;
        width: 100vw;
    }
    .cdl-hero__mockup::after {
        transform: scale(.7);
		width: 50px;
		height: 50px;
    }
    .cdl-hero__mockup::before {display: none;}
	.wpcf7-acceptance .wpcf7-list-item {text-align: left;}

	.cdl-about {
		font-size: 1.125rem;
		text-align: center;
		padding: 30px 12px 50px;
	}
	.cdl-about .row {margin-bottom: 0;}
	.cdl-about__images .cdl-about__img-item:first-of-type {
		width: 100%;
		height: 386px;
		margin-right: 14px;
	}
	.cdl-about__images .cdl-about__img-item:last-of-type {
		width: 220px;
		height: 205px;
	}

	.cdl-wwwus {padding-bottom: 22px;}
	.cdl-wwwus__top-cover {
		height: 300px;
	}
	.cdl-wwwus .container {
		padding: 55px 30px 30px;
		width: auto;
		margin-left: 20px;
		margin-right: 20px;
	}
	.cdl-wwwus h2 {
		text-align: center;
		padding: 0 40px;
	}
	.cdl-wwwus .btn,
	.cdl-companies .btn {
		display: block;
		max-width: 200px;
		margin: 0 auto;
	}
	.cdl-wwwus__images .cdl-wwwus__img-item:first-of-type {
		width: 100%;
		height: 315px;
		margin-right: -14px;
	}
	.cdl-wwwus__images .cdl-wwwus__img-item:last-of-type {
		width: 225px;
		height: 125px;
	}

	.cdl-counters {padding-bottom: 30px;}
	.cdl-counters .cdl-counters__item:first-of-type {border: none;}
	.cdl-counters__item,
	.cdl-counters .cdl-counters__item:last-of-type {
		justify-content: center;
		padding: 14px 30px !important;
		position: relative;
	}
	.cdl-counters .cdl-counters__item:first-of-type:after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 50%;
		width: 40px;
		height: 1px;
		background-color: #D4D4D4;
		margin-left: -20px;
	}

	.cdl-companies h2,
	.cdl-steps h2,
	.cdl-reviews h2 {text-align: center;}

	.cdl-companies__description {
		padding-left: 40px;
		padding-right: 40px;
	}


	.cdl-steps {
		padding-top: 43px;
		padding-bottom: 43px;
	}
	.cdl-steps h2 {
		margin-top: 0;
		margin-bottom: 40px;
	}

	.cdl-steps__images .cdl-steps__img-item:first-of-type {
		height: 386px;
		margin-left: -14px;
	}
	.cdl-steps__images .cdl-steps__img-item:last-of-type {
		bottom: 0;
		width: 220px;
		height: 220px;
	}

	.cdl-reviews {
		padding-top: 48px;
		position: relative;
	}
	.cdl-reviews__item {padding: 30px; height: 350px;}
	.cdl-reviews__item .icon {margin: 30px 30px 0 0;}
	.reviews-controls {
		position: absolute;
	  	bottom: 30px;
		left: 50%;
		transform: translateX(-50%);
	}

	.cdl-contacts {
		padding: 48px 0;
	}

	.wpcf7-radio .wpcf7-list-item {font-size: .875rem;}


	.cdl-contacts__form--response .icon {
		padding: 57.085px 36.601px 49.116px 53.436px;
		margin-bottom: 40px;
	}

	.site-footer .col-lg-3:first-of-type {text-align: center;}

	.copyright {padding-top: 28px;}
	.copyright .container {
		flex-direction: column;
		font-size: .75rem;
		line-height: 1;
		gap: 0;
	}

	.gigant-numbers {font-size: 120px;}

    .wpcf7-form-control.wpcf7-submit {padding: 12px 30px;}
    .wpcf7-radio .wpcf7-list-item {padding: 14px 16px;}
    .form-group .form-control {
        height: 45px;
        padding: 8px 20px;
    }
}





/* --------- ANIMATIONS --------- */
@-webkit-keyframes fadeInLeft {
    from {
      opacity: 0;
      -webkit-transform: translate3d(-100%, 0, 0);
      transform: translate3d(-100%, 0, 0);
    }
  
    to {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  }
  @keyframes fadeInLeft {
    from {
      opacity: 0;
      -webkit-transform: translate3d(-100%, 0, 0);
      transform: translate3d(-100%, 0, 0);
    }
  
    to {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
}

@-webkit-keyframes fadeInRight {
    from {
      opacity: 0;
      -webkit-transform: translate3d(100%, 0, 0);
      transform: translate3d(100%, 0, 0);
    }
  
    to {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  }
  @keyframes fadeInRight {
    from {
      opacity: 0;
      -webkit-transform: translate3d(100%, 0, 0);
      transform: translate3d(100%, 0, 0);
    }
  
    to {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
}
