@media screen and (max-width: 1920px){
    html {
        font-size:100%;
    }
}

@media screen and (max-width: 1600px){
    html {
        font-size:95%;
    }
}

@media screen and (min-width: 1400px){
    .main {
        background-position: 0 -100px;
    }
}

@media screen and (max-width: 1180px){
    html {
        font-size:90%;
    }
    .bg-contact {
        background-size: auto 85%;
    }
    .main-agb{
        background-position: center -20px;
    }
}

@media screen and (min-width: 992px){
    .hidden-on-mobile {
        display: block;
    }
}

@media screen and (max-width: 991px){
    html {
        font-size:95%;
    }
    .main {
        background-size: 1200px auto;
        background-position: 20% top;
    }
    .hidden-on-desktop {
        display: block;
    }
    .bg-contact {
        background-size: auto 65%;
        background-position: calc(100vw - 400px) 50px;
    }
    #mainnavigation {
        position: fixed;
        height: 100vh;
        width: 60vw;
        min-width: 300px;
        left: -100vw;
        margin: 0;
        background: #C2D224;
        background: var(--colorsecondary);
        align-items: start;
        transition: left 0.5s;
    }
    #mainnavigation.show {
        left: 0;
    }
    #mainnavigation .navbar-nav {
        display: flex;
        flex-direction: column;
        padding-left: 0;
        margin-bottom: 0;
        list-style: none;
        width: 100%;
    }
    #mainnavigation .navbar-nav li {
        padding: 0 4rem 0 2rem;
        width: 100%;
        position: relative;
    }
    #mainnavigation .nav-item a{
        /* padding-left:10px; */
        width: 100%;
    }
    .button.button-apo {
        width: auto !important;
        margin-top: 2rem;
    }
    /* #mainnavigation .nav-item a.button-apo{
        display: none;
    } */
    #mainnavigation .nav-item a:after{
        position: absolute;
        content:'';
        left:0;
        top:50%;
        width:3px;
        height:0;
        /* background:var(--colorprimary); */
        transition:all 0.2s;
    }
    #mainnavigation .nav-item a:hover:after,
    #mainnavigation .nav-item.active > a:after,
    #mainnavigation .dropdown-menu li.active > a:after{
        height:100%;
        top:0;
        width:3px;
        opacity:1;
    }
    #mainnavigation .dropdown-menu{
        border:none;
        border-radius:0;
        position:relative;
        width:100%;
        max-width:100%;
        top:0;
        background: transparent;
        padding: 0;
    }
    #mainnavigation .dropdown-menu .dropdown-item{
        padding-left:0px;
    }
    #mainnavigation .dropdown-menu .dropdown-item.active{
        background:transparent;
    }
    #mainnavigation .dropdown-toggle-mobile {
        display:block;
    }
    .navbar-course .navbar-collapse {
        left: -71%;
        width: 70%;
    }
    .footer-phone,
    .footer-mail{
        display:block;
    }
    .footer-mail{
        margin:0;
    }
    .main-agb{
        background-position: center 0px;
    }
    .agb-header {
        padding: 3rem 0 4rem !important;
    }
    .modal-content.bg-contact {
        background-size: auto 100%;
        background-position: 400px 0px;
    }
}

@media screen and (min-width: 768px){

    #carouselExampleCaptions {
        padding-bottom: 0;
    }
    .carousel-item img {
        width: 50%;
    }
    .carousel-indicators {
        margin-bottom: 0;
        width: 30%;
        left: 60%;
    }

    .carousel-caption {
        position: absolute;
        top: 0;
        height: 100%;
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
        text-align: center;
        width: 30%;
        left: 60%;
    }
    .carousel-indicators {
        bottom: 0;
    }
    .carousel-control-prev {
        left: 55%;
    }

    .carousel-control-next {
        right: 5%;
    }
}


@media screen and (max-width: 767px){
    h1 {
        font-size: 1.8rem;
        line-height: 2.2rem;
    }
    h2 {
        font-size: 1.5rem;
        margin: 0 0 0.5rem;
    }
    h3 {
        font-size: 1.2rem;
    }
    .row-padding-fix h3 {
        margin: 0rem 0 2em;
    }
    .row-padding-fix .row {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    .sticky-sidebar {
        display: none;
    }
    .news-img-wrap {
        width: 100%;
    }
    .news-single .article .news-img-wrap {
        width: 100% !important;
    }
    #cookie {
        max-width: 100%;
      }
    .main {
        background-size: 1400px auto;
        background-position: 20% top;
    }
    .bg-contact {
        background-position: 1000% 1000%;
    }
    .navbar-brand-logo-normal{
        width:180px;
    }
    .modal-dialog {
        max-width: 80%;
    }
    .button {
        width: 100%;
    }
    .agb-header {
        padding: 2rem 0 6rem !important;
    }
    .main-agb{
        background-position: center 20px;
    }
    .modal-content.bg-contact {
        background: white;
    }
    .slider-item .slider-item-text {
        height: 100%;
    }
}
@media screen and (max-width: 600px){
    .navbar-brand-logo-normal{
        width:190px;
    }
	.slide-text{
		padding: 10px;
	}
    .main-agb {
        background-size: 130% auto;
    }
}
@media screen and (max-width: 575px){
    .footer-container i {
        left:50%;
        transform: translateX(-50%);
    }
    .footer-list{
        padding:0;
    }
    .footer-phone,
    .footer-mail{
        text-align:center;
    }
    .navbar-course .navbar-collapse {
        left: -101%;
        width: 100%;
        height: 100%;
    }
    .footer-wave {
        background-size: cover;
        background-position: center top;
    }
    .main-agb{
        background-position: center 30px;
    }
}
@media screen and (max-width: 440px){
    .navbar-brand-logo-normal{
        width:190px;
    }
	.header-search{
		width: 170px;
	}
    .main-agb{
        background-position: center 58px;
    }
}
@media screen and (max-width: 375px){
    .navbar-brand-logo-normal{
        width:190px;
    }
    .hi-icon-responsive{
        margin: 0 9px;
        width: 32px;
        height: 32px;
    }
    .hi-icon-responsive:before {
        font-size: 16px;
        line-height: 28px;
    }
    .hi-icon-responsive span {
        top: 34px;
        font-size: 12px;
    }
}
@media screen and (max-width: 320px){
    .navbar-brand-logo-normal{
        width:90px;
    }
    .modal-dialog {
        max-width: 100%;
    }

}