

@media screen and (max-width: 1200px){
    html {
        margin: 0 !important;
        width: auto !important;
        overflow: hidden;
        overflow-y: auto;
    }
	
	html.uk-offcanvas-page.no-scroll {
		position: fixed !important;
		height: 100vh;
		top: 0;
	}

    body {
        overflow: hidden;
    }

    #header-wrap #top .widget-logo {
        background: #ffffff;
    }

    #header-wrap #top .menu-toggle:before {
        content: "";
        position: absolute;
        right: 0;
        left: 0;
        top: 0;
        bottom: 0;
        background: #ffffff url(../images/close-blue.svg) no-repeat center center;
        background-size: 16px auto;
        display: block !important;
        -webkit-transform: translateX(50%);
        transform: translateX(50%);
        opacity: 0;
        visibility: hidden;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    #header-wrap #top .menu-toggle.open:before {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    #header-wrap #top .moduletable.search-header {
        top: 0;
        padding: 0;
    }

    #header-wrap #top .moduletable.search-header * {
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    #header-wrap #top .finder.search-header {
        position: relative;
        height: auto;
        padding: 20px 130px 20px 15px;
    }

    #header-wrap #top .finder.search-header button {
        top: 0;
        bottom: 0;
        background-color: transparent;
        margin: auto;
        width: 57px;
        height: 57px;    
    }

    #header-wrap #top .finder.search-header input {
        position: relative;
        float: none;
        left: 0;
        margin: auto;
        width: 100%;
        max-width: 100%;
    }

    #offcanvas {
        top: 0;
        z-index: 9998;
		max-height: 100vh;
		height: 100%;
		overflow: hidden;
		overflow-y: auto;
        background: #faf9ff;
    }
	
    #offcanvas .uk-offcanvas-bar {
        max-width: 100% !important;
        right: 0;
        background: #faf9ff;
		top: 0;
		position: relative;
		padding-top: 80px;
    }
	
	#offcanvas .uk-offcanvas-bar ul.l1 {
		height: auto !important;
		overflow: hidden;
	}
    
    #offcanvas.uk-offcanvas .toolbar.search-area {
        display: none;
    }
    
    #offcanvas.uk-offcanvas ul.l1 > li.first  {
        display: none;
    }

	#offcanvas.uk-offcanvas ul.l1 > li {
		text-align: center;
	}
    #offcanvas.uk-offcanvas ul.l1 > li > a {
        text-align: center !important;
        text-transform: none;
        border-bottom: none !important;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
		font-size: 18px;
		line-height: 25px;
		padding: 25px 20px !important;
		font-weight: 500 !important;
		position: relative;
		display: inline-block;
    }
	
	#offcanvas.uk-offcanvas ul.l1 > li > a:before {
		height:	25px;
		width: 25px;
		background-color: transparent;
		background: url(../images/previous-next-normal.svg) no-repeat center center;
		background-size: 8px auto;
		left: auto;
		right: -5px;
		top: 0;
		bottom: 0;
		margin: auto;
		opacity: 1;
		-webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
		transform: rotate(90deg);
		-webkit-transition: all .4s;
		-o-transition: all .4s;
		transition: all .4s;
	}
	
	#offcanvas.uk-offcanvas ul.l1 > li > a:after {
		content: "";
		position: absolute;
		left: 50%;
		bottom: 0;
		-webkit-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
        transform: translateX(-50%);
		width: 100vw;
		height: 2px;
		border: none;
		top: auto;
		/* border-bottom: 2px solid rgba(5, 139, 187, .10) !important; */
	}

    #offcanvas.uk-offcanvas ul.l1 > li > a.opened:before {
		-webkit-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
		transform: rotate(-90deg);
    }
	
    #offcanvas.uk-offcanvas ul.l1 > li > a.opened:after {
		border-bottom: 2px solid rgba(5, 139, 187, .10) !important;
    }

    #offcanvas.uk-offcanvas ul a {
        cursor: pointer;
    }
	
	#offcanvas.uk-offcanvas ul.l2 {
		background: #f0f0fa;
	}
	
	#offcanvas.uk-offcanvas ul.l2 > li > a:after,
    .uk-offcanvas ul.l3 > li > a:before {
        opacity: 0 !important;
    }

    #offcanvas.uk-offcanvas ul.l3 {
        position: relative;
        top: auto;
        height: auto !important;
        padding: 25px 0 15px;border-bottom: 2px solid rgba(5, 139, 187, .10) !important;
    }

    #offcanvas.uk-offcanvas ul.l2 > li > a { 
        line-height: 26px !important;
		font-size: 14px !important;
		font-weight: 500 !important;
		padding: 17px 20px !important;
		border-bottom: 2px solid rgba(5, 139, 187, .10) !important;
    }
	
	#offcanvas.uk-offcanvas ul.l2 > li > a:before {
		content: "";
		position: absolute;
		height:	26px;
		width: 26px;
		background-color: transparent;
		background: url(../images/previous-next-normal.svg) no-repeat center center;
		background-size: 8px auto;
		left: auto;
		right: 0;
		top: 0;
		bottom: 0;
		margin: auto;
		opacity: 1;
		-webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
		transform: rotate(90deg);
		-webkit-transition: all .4s;
		-o-transition: all .4s;
		transition: all .4s;
	}

    #offcanvas.uk-offcanvas ul.l2 > li > a.opened {
        color: #058bbb !important;
        border-bottom-color: transparent !important;
    }
	
	#offcanvas.uk-offcanvas ul.l2 > li > a.opened:before {
		-webkit-transform: rotate(-90deg);
        -ms-transform: rotate(-90deg);
		transform: rotate(-90deg);
	}

    #offcanvas.uk-offcanvas ul.l2 > li > a:after {
        content: "";
        background: #058bbb;
        opacity: 0 !important;
        right: auto;
        left: 20px;
        width: 35px;
        border: none;
        transition: none;
        transform: none;
        z-index: 41;
        bottom: 0;
        top: auto;
        -webkit-transition: opacity 0.3s ease-in-out;
        transition: opacity 0.3s ease-in-out;
    }

    #offcanvas.uk-offcanvas ul.l2 > li > a.opened:after {
        opacity: 1 !important;
    }

    #offcanvas.uk-offcanvas ul.l3 > li > a {
        border-bottom: none !important;
        padding: 10px 20px !important;
    }

    #offcanvas.uk-offcanvas ul li.spacer {
        display: none;
    }
}


#footer-wrap #footer .content img.logo-mobile {
    display: none;
}

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

    body.homepage section#main .container {
        padding: 0;
    }
	
	div.slide-items div.item .title-slide {
		text-shadow: -3px 4px 145px rgba(0, 0, 0, 1),
	}
	
	#slider div.slide-items div.item .bg-slider {
		background-size: 100% auto;
	}
	
	.banniere-container section#banniere .bg-banniere {
		background-size: 100% auto;
		bottom: auto;
		top: 20px;
		left: -70px;
	}
	
	.banniere-container section#banniere {
		display: block !important;
	}
	
	#banniere #breadcrumbs {
		margin: 0;
		display: block;
		padding: 55px 0 20px;
	}
	
	#banniere #breadcrumbs .breadcrumb {
		text-align: center;
	}
	
	#banniere #breadcrumbs .breadcrumb span.txt-first {
		display: block;
	}

    #content-top .content-news .img-news {
        position: relative;
        background-size: 100% auto !important;
        background-position: center center !important;
        left: 0;
        max-width: none;
        width: auto;
        min-height: 300px;
        right: 0;
    }

    #content-top .content-news .img-news:after {
        right: auto;
        left: 0;
        top: auto;
        bottom: -90px;
        width: 90px;
        height: 90px;
    }

    #content-top .cd-tabs .contenu {
        padding: 0 0 20px;
    }
    
    #content-top .cd-tabs .contenu nav.navigation-mobile {
        padding-left: 90px;
    }

    #content-top .cd-tabs .contenu nav.navigation-mobile .selector .header {
        display: none;
    }

    #content-top .cd-tabs .contenu nav.navigation-mobile .selector .items {
        position: relative;
        opacity: 1;
        visibility: visible;
        top: 0;
        background: #ffffff;
        display: flex;
        min-height: 90px;
        overflow: hidden;
    }

    #content-top .cd-tabs .contenu nav.navigation-mobile .selector .items li {
        border: none;
        display: flex;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #282828;
        font-weight: 600;
        font-size: 16px;
        line-height: 18px;
        padding: 0 !important;

    }

    #content-top .cd-tabs .contenu nav.navigation-mobile .selector .items li:before {
        width: 20px !important;
        height: 20px !important;
        border-left: 2px solid #058bbb;
        border-bottom: 2px solid #058bbb;
        transform: rotate(-45deg);
        left: 0;
        right: 0;
        margin: auto;
        bottom: 10px;
        top: auto;
        background: transparent;
        -webkit-transition: all .4s;
        -moz-transition: all .4s;
        -ms-transition: all .4s;
        transition: all .4s;
        opacity: 0;
        visibility: hidden;
    }

    #content-top .cd-tabs .contenu nav.navigation-mobile .selector .items li:hover,
    #content-top .cd-tabs .contenu nav.navigation-mobile .selector .items li.active {
        color: #058bbb;
    }

    #content-top .cd-tabs .contenu nav.navigation-mobile .selector .items li:hover:before,
    #content-top .cd-tabs .contenu nav.navigation-mobile .selector .items li.active:before {
        bottom: 5px;
        opacity: 1;
        visibility: visible;
    }

    #content-top .cd-tabs .contenu .cd-tabs-content {
        margin: 0;
        padding-top: 20px;
		min-height: 0;
    }

    #content-top .cd-tabs .contenu .cd-tabs-content li.content-item {
        padding: 0 20px;
    }

    #content-top .cd-tabs .contenu .cd-tabs-content li.content-item .item-infos {
        width: 100%;
        padding: 20px 0;
    }

    #content-top .cd-tabs .news_allinfos_link {
        position: relative;
        margin: 0;
        text-align: center;
        padding: 0 20px 20px;
    }

    #content-top .cd-tabs .news_allinfos_link a {
        display: block;
    }

    #sidebar-b .home_agenda .jcalpro_events .icon-agenda {
        width: 90px;
        height: 90px;
    }

    #sidebar-b .home_agenda .jcalpro_events .header-agenda h2 {
        margin: 0;
        padding-left: 20px;
        padding: 32px 20px;
    }

    #sidebar-b .home_agenda .jcalpro_events .header-agenda h2:before {
        bottom: 17px;
        left: 20px;
    }
	
	#sidebar-b .home_agenda .jcalpro_events .home_agenda .jcalpro_events_event  {
		padding: 0 15px;
	}

    #sidebar-b .home_agenda .jcalpro_events .home_agenda .item {
        position: relative;
    }

    #sidebar-b .home_agenda .jcalpro_events .home_agenda .item .jcalpro_events_date {
        float: none;
        display: block;
        position: absolute;
        left: -15px;
        width: 90px;
        text-align: right;
        padding: 0;
    }
	
	#sidebar-b .home_agenda .jcalpro_events .home_agenda .item .jcalpro_events_date .item-date-jour {
		font-size: 20px;
		line-height: 26px;
	}
	
	#sidebar-b .home_agenda .jcalpro_events .home_agenda .item .jcalpro_events_date .item-date-years {
		font-size: 14px;
		line-height: 18px;
	}

    #sidebar-b .home_agenda .jcalpro_events .home_agenda .item .jcalpro_events_link {
        float: none;
        display: block;
        padding-left: 100px;
        width: auto;
    }

    #sidebar-b .home_agenda .content .jcalpro_alldates {
        padding: 0 20px 35px;
        width: auto;
    }

    #sidebar-b .home_agenda .content .jcalpro_alldates .link-all {
        position: relative;
    }

    #sidebar-b .home_agenda .content .jcalpro_alldates .link-all a {
        display: block;
    }

    #footer-wrap {
        margin: 0 !important;
    }

    body:not(.homepage) aside#sidebar-b {
        position: relative;
        margin: 0;
        z-index: 0;
    }

    body:not(.homepage) aside#sidebar-b:before {
        display: block;
        content: "";
        position: absolute;
        left: -20px;
        right: -20px;
        top: 0;
        bottom: 0;
        background: #fafaff;
        z-index: -1;
        margin: 0 !important;
    }

    body:not(.homepage) .banniere-container {
        padding-left: 0;
    }
    
    body:not(.homepage) .banniere-container:after  {
        content: "";
        display: block;
        clear: both;
    }

    body:not(.homepage) #banniere .container {
        padding: 0 20px;
    }

    h1:before, h2:before {
        top: auto !important;
        width: 16px !important;
        height: 4px !important;
        background-color: #058bbb !important;
    }
	
	#center-homepage:before {
		display: none
	}
	
    #component.page-with-menu {
        margin-bottom: 0;    
    }

    #main #content-top .block.actualites {
        margin: 0;
    }

    #wrapper #acces-rapides {
        margin-bottom: 40px;
    }

    #wrapper #acces-rapides .items {
		padding-top: 30px;
        padding-bottom: 0;
    }

    #wrapper #acces-rapides .items .owl-nav {
        margin: 0 -50px;
    }

    #wrapper #acces-rapides .items .owl-prev,
    #wrapper #acces-rapides .items .owl-next {
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
        position: relative;
        top: 0;
        display: inline-block;
    }

    #wrapper #acces-rapides .items .owl-prev {
        float: left;
    }

    #wrapper #acces-rapides .items .owl-next {
        float: right;
    }

    #wrapper #acces-rapides .items .owl-nav:after {
        content: "";
        display: block;
        clear: both;
    }

    #wrapper #acces-rapides .owl-dots {
        position: absolute;
        bottom: 27px;
        left: 50px;
        right: 50px;
        display: flex;
        width: auto;
        margin: auto;
        justify-content: space-around;
        padding: 0 20px;
		display: block;
    }

    #wrapper #acces-rapides .owl-dots .owl-dot {
        background: #f0f0fa;
        border: none;
        margin: 0 30px;
    }

    #wrapper #acces-rapides .owl-dots .owl-dot:hover,
    #wrapper #acces-rapides .owl-dots .owl-dot.active {
        background: #058bbb;
        border: none;
    }
	
    #footer-wrap #footer .footer-1 .header .title,
    #footer-wrap #footer .footer-2 .header .title {
        background-position: left center;
        background-repeat: no-repeat;
        background-size: 18px auto;
        padding: 0 0 0 25px !important;
    }
    
    #footer-wrap #footer .footer-1 .header .title {
        background-image: url(../images/picto_adresse.svg);
    }

    #footer-wrap #footer .footer-2 .header .title {
        background-image: url(../images/picto_horaires.svg);
    }

    #footer-wrap #footer .block {
        width: 100%;
        box-sizing: border-box;
    }

    #footer-wrap #footer .block .header {
        padding-bottom: 0; 
    }

    #footer-wrap #footer .block .header .title:before {
        display: none;
    }

    #footer-wrap #footer .block .header .title span {
        display: inline-block;
    }

    #footer-wrap #footer .footer-2 table tr td {
        display: table-cell !important;
        width: auto !important;
        border: none !important;
    }

    #footer-wrap #footer .footer-2 table ~ p {
        background: #191926;
        position: relative;
        margin: 0;
        text-align: center;
        z-index: 0;
    }

    #footer-wrap #footer .footer-2 table ~ p:before {
        content: "";
        position: absolute;
        left: -20px;
        right: -20px;
        top: 0;
        bottom: -30px;
        background: #191926;
        background: #282836;
        z-index: -1;
    }

    #footer-wrap #copyright ul {
        max-width: 300px;
        margin: auto;
    }

    /* #footer-wrap #footer .content img:not(.logo-mobile) { */
        /* display: none; */
    /* } */

    #footer-wrap #footer .content img.logo-mobile {
        display: inline-block;
    }
	
	#acces-rapides .owl-carousel {
		display: none
	}
	
	#acces-rapides .owl-carousel.acces_rapide_mobile {
		display: block !important;
	}
	
	#acces-rapides .items .acces_rapide_mobile .owl-item > div:after {
		content: "";
		display: block;
		clear: both;
	}
	
	#acces-rapides .items ul.acces_rapide_mobile li {
		width: 50%;
		float: left;
	}
}

@media screen and (max-width: 767px){
	#footer {
		display: block !important;
	}
	#footer-wrap #footer .content img:not(.logo-mobile) {
		display: none;
	}
}

