/*=====================================
            Medium Screens            
======================================*/

@media only screen and (min-width: 64.01em) {
    .header.header-mobile {
        display: none;
    }
    
    /* TOP BAR STYLING */
    .top-bar { background: transparent; padding: 0; }
    .top-bar .title-area{ display: none; }
    .top-bar-section ul { background: transparent; }
    .top-bar-section ul li { display: inline-flex; padding: 0 44px;}
    .top-bar-section li:not(.has-form) a:not(.button) {
        color: #FFFEFC;
        font-size: 16px;
        font-weight: 500;
        text-transform: uppercase;
    }
    .top-bar-section li:not(.has-form) a:not(.button):hover{
        color: #FFBE8D;
     }
     .top-bar-section li.active > a:not(.button) {
        color: #FFBE8D;
     } 
    
    .top-bar-section li.current-menu-item > a:not(.button) {
        color: #FFBE8D;
    }
    .top-bar-section .has-dropdown > a { padding: 0 15px !important; }
    .top-bar-section .has-dropdown > a:after { display: none; }
    
    /* Dropdown Styling*/
    .top-bar-section ul.sub-menu >  li:hover:not(.has-form) > a {
        color: #FFFEFC;
    }
    .top-bar-section ul li:hover:not(.has-form) > a {
        color: #FFFEFC;
    }
    .top-bar-section .sub-menu li:not(.has-form) a:not(.button) {
        color: #FFFEFC;
    }
    .top-bar-section .sub-menu li:not(.has-form):hover > a:not(.button) {
        color: #FFFEFC;
    }
    .top-bar-section .sub-menu li:not(.has-form) a:not(.button):focus {
        color: #FFFEFC;
    }
}  /* min-width 641px */


/*====================================
            Large Screens            
=====================================*/

@media only screen and (max-width: 78em) { 
    .flex {
        padding: 0 40px;
    }
	.page-template-template-home-en .about-us__flex {
		gap: 0;
	}
	.btn {
		min-width: auto;
	}
    header {
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
    }
    .banner {
       padding-top: 300px;
    }

    .header.header-mobile {
        display: flex;
        padding: 0 10px;
    }

    .top-bar-section {
    display: none;
    }
    .top-bar, .top-bar ul {
        background: transparent;
        padding: 0;
    }
    .contact-info {
        gap: 28px;
    }
	.reveal {
		gap: 0;
	}
	.header-mobile .contact-info {
		position: relative;
	}
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    padding: 8px;
  }
  
  .menu-toggle .bar {
    background-color: #FFFEFC;
    height: 2px;
    width: 24px;
    border-radius: 2px;
    margin-bottom: 10px;
  }
  .menu-toggle .bar:last-child {
    margin-bottom: 0;
  }
  .menu-toggle.active .bar {
    display: none;
  }
  .menu-toggle.active .bar:first-child {
        background: url(../images//close-menu.svg) no-repeat;
        display: block;
        box-sizing: content-box;
        width: 22px;
        height: 22px;
  }
  
	.about-us__flex {
		flex-direction: column;
		gap: 0;
	}
	.list_of_features li {
		flex-basis: auto;
		width: 438px;
	}
.contact-info nav.top-bar {
		margin-right: 0;
	}
	.logo {
		width: 40px;
		height: 40px;
	}
	.header-main-section {
		padding: 9px 0;
	}
  .menu-toggle {
    display: flex;
  }
	.banner h1 {
		margin-bottom: 40px;
	}
  .mobile-menu {
    display: none;
  }

  .menu-toggle.active{
        position: absolute;
        z-index: 101000;
        right: 0;
        top: 0;
    }

  .mobile-menu.open {
    display: flex;
    text-align: center;
    padding: 120px 20px;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    background: #1D4465;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
    height: 100%;
    flex-direction: column;
    left: 60px;
  }
  .mobile-menu .main-menu li {
    margin-bottom: 48px;
  }
	.mobile-menu .main-menu li:last-child {
		margin-bottom: 0;
	}
  .mobile-menu .main-menu ul, .mobile-menu .header-info {
    margin-bottom: 80px;
  }
  .mobile-menu.open:before {
    content:"";
    width: 100%;
    height: 100%;
    background: rgba(29, 68, 101, 0.4);
    position: absolute;
    left: -100%;
    top: 0;
  }
  .mobile-menu .social-section svg path {
    fill: #FFFEFC;
  }
  .mobile-menu .social-section svg {
    width: 28px;
    height: 28px;
    margin: 11px;
  }
	.mobile-menu .social-section a {
		margin-left: 21px;
	}
	.mobile-menu .social-section a:first-child  {
		margin-left: 0;
	}
  .main-menu .top-menu {
    flex-direction: column;
    display: flex;
  }
  .mobile-menu .header-info a {
    margin-bottom: 48px;
  }
	.mobile-menu .header-info a:last-child {
		margin-bottom: 0;
	}
    .header-desktop {
        display: none;
    }
    .banner {
        margin-bottom: 70px;
    }
   h1, .banner h1, .page-template-template-home-en .banner h1 {
    font-size: 50px;
    line-height: 68px;
   }
   h2 {
    font-size: 36px;
    line-height: 36px;
   }
   h3 {
    font-size: 24px;
   }
    h2.banner-content {
        font-size: 26px;
        line-height: 36px;
		margin-bottom: 10px;
    }
    .direction {
        order: 3;
       }
    
.direction li::after {
    display: none;
}

.direction {
    flex: 1 1 calc(50% - 20px);
	gap: 20px;
}
.direction li {
 flex: 1 1 calc(50% - 20px);
    text-align: center;
	}
       .direction li a {
		font-size: 30px;
        line-height: 40px;
		   width: 100%;
       }

       h2 .circle-btn, .circle-btn {
        height: 120px;
        width: 120px;
        font-size: 12px;
        line-height: 16px;
       }

       .about-us .large-4, .about-us .large-8 {
        width: 100%;
       }
       .about-us h2 {
        margin-bottom: 30px;
       }
       .list_of_features li {
        font-size: 24px;
       }
       .list_of_features li img {
        margin-right: 10px;
       }
        .services , .call-us, .questions-section, .contacts {
        padding-top: 80px;
        margin-bottom: 0;
       }
	.services {
		margin-top: 0;
	}
	#about-us {
		padding-top: 0;
	}
  	.map iframe {
		width: 100%!important;
	}
       .call-us {
        margin-top: 80px;
       }
       .about-us {
         margin-bottom: 0;
       }

       .accordion-title::after {
        display: none;
       }
       .accordion-title {
        padding: 40px 0;
       }
       .accordion-title::before {
        background: url(../images/acc-btn-down.svg) no-repeat;
        width: 28px;
       }
       .is-active>.accordion-title::before {
        background: url(../images/acc-btn-up.svg) no-repeat;
       }

       .accordion-content__flex img {
        display: none;
       }
       .accordion-content ul li {
        font-size: 16px;
        line-height: 26px;
       }
       .accordion-content {
        margin-left: 0;
        margin-right: 0;
       }
       .accordion-content p {
        font-size: 16px;
       }
       .accordion-title {
        font-size: 16px;
        line-height: 22px;
        padding-right: 50px;
       }

       .line {
        background-color: #4A6F8D;
       }
       .call-us_text h3 {
        font-size: 18px;
        line-height: 25px;
       }
       .btn {
        font-size: 18px;
        line-height: 26px;
       }
       .call-us_text {
        max-width: 100%;
       }
       .questions-section h2, .services h2, .contacts h2 {
        margin-bottom: 32px;
       }

       .flex-contacts {
            flex-direction: column;
		   gap: 30px;
       }
       .flex-right-contacts {
        margin-top: 30px;
       }
       .flex-right-contacts img {
        max-height: 380px;
       }
       .contacts  .social-section a svg  {
        width: 40px!important;
        height: 40px!important;
       }

       .footer .footer-info {
        flex-direction: column;
       }

       .footer-info {
        flex: 1 1 calc(50% - 20px);
        }
        .work-section {
            min-height: auto;
        }
        .footer-info__column {
            margin-bottom: 35px;
        }
        #scrollUpButton.desktop-btn {
            display: none!important;
        }
      .mobile-btn.button-up {
        display: flex;
		  opacity: 1;
      }
      .footer .footer-info:first-child {
        gap: 0px;
      }

      .modal-box__form {
        max-width: 100%;
      }
      .modal-box {
        width: 90%;
        margin: 0 auto;
        min-height: auto;
        height: auto;
        padding: 40px 20px;
      }
      .close-button {
        top: 10px;
		right: 10px;
      }
     .modal-box__image  img{
        display: none;
      }
      .reveal-overlay {
        background: rgba(29, 68, 101, 0.4);
      }
	.contacts h5 {
		margin-bottom: 16px;
	}
	.copyright-seection {
		margin-top: 0;
	}
	
	footer {
		padding-bottom: 36px;
	}
	
	footer .social-section a {
		margin-right: 20px;
	}
	footer .social-section a:last-child {
		margin-right: 0;
	}
	
	
	.services .accordion-content__description li:nth-child(4) {
	max-width: 100%;
}
.services .accordion li:nth-child(2) .accordion-content__description li:nth-child(3) {
	max-width: 100%;
}
.services .accordion-content ul ~ p {
	max-width: 100%;
}
.questions-section li .accordion-content {
	max-width: 100%;
}
.questions-section li:nth-child(2)  .accordion-content {
	max-width: 100%;
}
.questions-section li:nth-child(4)  .accordion-content {
	max-width: 100%;
}
.questions-section li:nth-child(5)  .accordion-content {
	max-width: 100%;
}
}

@media (min-width: 48em) and (max-width: 78em) {
	h2 .circle-btn, .circle-btn {
		right: 50px;
	}


	.services .accordion-title .title {
		max-width: 370px;
	}
	.contacts .address-section {
		max-width: 100%;
	}
	    .contacts {
        margin-bottom: 40px;
			margin-top: 0;
    } 
	.footer {
		flex-wrap: wrap;
	}
	.footer .footer-info__column:nth-child(1) {
		order: 0;
	}
	.footer .footer-info__column:nth-child(2) {
		order: 3;
	}
	.footer .footer-info__column:nth-child(3) {
		order: 2;
	}
	.footer .footer-info__column:nth-child(4) {
		order: 4;
	}

}

/*====================================
            Small Screens            
=====================================*/
@media only screen and (max-width: 48em) { 
   
   h1 {
    font-size: 55px;
    line-height: 60px;
   }
   h2 {
    font-size: 36px;
    line-height: 36px;
   }
   h3 {
    font-size: 24px;
   }
   h4 {
    font-size: 16px;
   }
   .banner {
    padding-top: 110px;
	   margin-top: 60px;
   }
   .banner h1 {
    order: 1;
    line-height: 60px;
    display: flex;
    flex-direction: column;
	width: 80%;
   }
   .banner h1 strong {
    font-size: 26px;
    line-height: 35px;
   }
   .banner h2 {
    order: 2;
   }
   h1, .banner h1, .page-template-template-home-en .banner h1  {
    font-size: 55px;
	   line-height: 60px;
   }
   .banner-content {
    margin-bottom: 30px;
   }
   .footer-info {
    flex: 1;
    }
    .footer {
        flex-direction: column;
    }
    .footer-info__column {
        margin-bottom: 30px;
    }
    .copyright-seection .alight-right {
        text-align: left;
        margin-top: 10px;
    }
    footer {
        padding-top: 40px;
    }

    .direction {
        flex: 1;
        flex-direction: column;
    }
    .direction li {
        margin-left: 0;
        flex: 1;
    }
    .banner {
       margin-bottom: 30px;
    }
	#about-us {
		padding-top: 0;
	}
    .about-text {
        margin-right: 0;
        margin-bottom: 30px;
    }
    .list_of_features {
        margin-bottom: 20px;
        flex-direction: column;
        margin-top: 10px;
    }
    .call-us {
        padding: 50px 30px;
    }
    .contacts {
        margin-bottom: 30px;
    }
    .flex {
        padding: 0 20px;
    }
    .circle-btn__mobile {
        display: flex;
        top: 20px;
        right: 30px;
    }
	.page-template-template-home-en .circle-btn__mobile {
		  top: 50px;
	}
    .banner-content .circle-btn {
        display: none;
    }
	 .contacts .social-section{
		margin-bottom: 0;
	}
	.contacts  .work-section {
		margin-bottom: 30px;
	}
	.contacts .address-section {
		max-width: 100%;
		margin-bottom:30px;
	}
	.copyright-section__text {
		padding-right: 100px;
	}
	.banner {
       padding-top: 100px;
    }
	  .direction li a {
        width: 100%;
		font-size: 24px;
        line-height: 26px;
       }
	    .banner h1 {
        margin-bottom: 10px;
    }
	h2.banner-content { 
		margin-bottom: 30px;
	}
	.accordion-title {
		padding: 20px 0;
		min-height: 50px;
	}
	.services .accordion-title .title {
		max-width: 300px;
	}
	.about-us__column__flex {
		flex-direction: column;
	}
	.about-us__column__text {
		max-width: 100%;
	}
	.about-us__column__flex .about-us__column__image {
		display: none;
	}
	.about-us-image-mobile {
		display: block;
		margin-top: 40px;
	}
	.short-description {
		display: none;
	}
	.footer-logo img {
		width: 122px;
	}
	.about-us-image-mobile .about-us__column__image {
		border-radius: 0;
	}
	.list_of_features {
		margin-bottom: 0;
	}
	.about-us__flex {
		gap: 0;
	}
	.about-us__column {
		gap: 10px;
	}
	.list_of_features li:last-child {
		margin-bottom: 0;
	}
	.about-us__column__list {
		overflow: hidden;
		flex-direction: column;
		gap: 0;
	}
	.list_of_features__left {
		max-width: 100%;
	}
	.accordion-title {
		padding-right: 42px
	}
	.questions-section .accordion-title .title {
		max-width: 230px;
	}
	.map iframe {
		height: 380px!important;
	}
	
	.page-template-template-home-en  .about-us__title {
	max-width: 100%;
}
.page-template-template-home-en   .about-us__column__text {
	max-width: 100%;
}
.page-template-template-home-en  .list_of_features li {
	 width: 100%;
}
	.questions-section li .accordion-content {
		padding-right: 50px;
	}
	    .contacts {
        margin-bottom: 30px;
			margin-top: 0;
    } 
	.contacts .social-section a {
		margin-right: 16px;
	}
	.accordion-content__description h5 {
		font-size: 16px;
	}

}


