/*
Theme Name: Crissier
Version: 1.0
Author: Tris Informatique
Author URI: http://www.trisinformatique.com
Template: enfold
*/

/* CSE ( recherche Google ) */
.gsc-control-cse.gsc-control-cse-fr, td.gsc-input, td.gsc-search-button, td.gsc-clear-button {
	border: 0px !important;
}

.gsc-control-cse.gsc-control-cse-fr {
	margin-left: -20px;
}

input#gsc-i-id1 {
	padding: 10px 20px !important;
}

td.gsc-input {
	padding-left: 0px;
}

table.gsc-search-box td {
    vertical-align: inherit !important;
}

#cse td {
    border: none;
}

.cse input.gsc-search-button, input.gsc-search-button {
    padding: 0 20px !important;
    height: 40px !important;
}

form[name=filtre_calendrier] table tbody tr th {
    min-width: 35px !important;
}

.page-id-14968 .flex_column.av_one_fourth.flex_column_div.av-zero-column-padding.avia-builder-el-11.el_after_av_one_half.el_before_av_one_fourth, 
.page-id-14968 .flex_column.av_one_fourth.flex_column_div.av-zero-column-padding.avia-builder-el-23.el_after_av_one_half.el_before_av_hr.column-top-margin {
    margin-left: 3%;
    width: 29%;
    min-width: 395px;
}

.page-id-14968 .flex_column.av_one_half.flex_column_div.av-zero-column-padding.avia-builder-el-6.el_after_av_one_fourth.el_before_av_one_fourth,
.page-id-14968 .flex_column.av_one_half.flex_column_div.av-zero-column-padding.avia-builder-el-15.el_after_av_one_fourth.el_before_av_one_fourth.column-top-margin {
    width: 40%;
}

.page-id-16676 .main_color .pricing-table > li {
    white-space: pre;
}

#top .fullsize .template-blog .entry-content-wrapper .entry-content p {
    text-align: left;
}

div.post-entry-15348 div.avia_textblock ul {
    list-style-position: inside;
}

div.post-entry-15348 .entry-content-wrapper div li {
    text-indent: 30px;
}

div.post-entry-15348 .entry-content-wrapper strong {
    white-space: nowrap;
}

/*
A few exceptions in div's text-align
*/

/* Archives button has to be visible */
body.page-id-16128 .av-menu-button > a .avia-menu-text, body.page-id-16128 .avia-button.avia-color-dark {
    border: none !important;
    border-radius: 2px;
    background: #E4002B !important;
    color: white;
    margin-left: 8px;
    font-size: 15px;
    padding: 10px 20px;
}

body.page-id-16128 span.avia_iconbox_title {
    font-size: 15px;
    color: white;
    border-bottom: none;
    text-decoration: inherit;
}

/* http://www.crissier.ch/wp/vie-locale/agenda/ */
div.post-entry-15272 div.ser_coordonnees p, div.post-entry-15272 div.ser_coordonnees, div.post-entry-15272 div.ser_horaires, div.post-entry-15272 div.prestations, div.post-entry-15272 div.ser_horaires p {
    margin: 0px !important;
    text-align: right;
}

/* http://www.crissier.ch/wp/vie-locale/abonnements-cff-journaliers/ */
div.post-entry-14968 div.ser_coordonnees p, div.post-entry-14968 div.ser_coordonnees, div.post-entry-14968 div.ser_horaires, div.post-entry-14968 div.prestations, div.post-entry-14968 div.ser_horaires p {
    margin: 0px !important;
    text-align: right;
}

/* http://www.crissier.ch/wp/vie-locale/transports-mobilite/parkings-et-stationnements/ */
div.post-entry-15181 div.ser_coordonnees p, div.post-entry-15181 div.ser_coordonnees, div.post-entry-15181 div.ser_horaires, div.post-entry-15181 div.prestations, div.post-entry-15181 div.ser_horaires p {
    margin: 0px !important;
    text-align: right;
}

/* http://www.crissier.ch/wp/vie-locale/culture/bibliotheques-communales/ */
div.post-entry-15282 div.ser_coordonnees p, div.post-entry-15282 div.ser_coordonnees, div.post-entry-15282 div.prestations {
    margin: 0px !important;
    text-align: right;
}

/*
 *  SOUS-MENU LATERAUX
 */
#top .content .flex_column .widget_nav_menu li {
    border-bottom: none;
}

.main_color ul#menu-sous-menu-services-communaux li {
    border-color: #2E2382;
}

#top .content .flex_column .widget_nav_menu li:first-child {
    border-top: none;
}

#top .content .flex_column .widget_nav_menu li a {
    text-align: right;
    font-size: larger;
}

#top .content .flex_column .widget_nav_menu li {
    border-top: 0px;
    border-right-width: 10px;
    border-right-style: solid;
    padding-right: 10px;
    border-left: 0px;
    padding-left: 0px;
}

/*
Lateral sub-menu colors have to match corresponding one on the top menu
*/
ul[id^="menu-crissier-officiel"] li { 
    border-color: #2E2382;
}

ul[id^="menu-vie-locale"] li { 
    border-color: #0092D6;
}

ul[id^="menu-portrait"] li { 
    border-color: #22A734;
}

/*
 *  BREADCRUMB
 */
.title_container .breadcrumb {
    font-size: 14px;
}

span.trail-end {
    font-weight: bold;
}

/* Disable breadcrumb links */
.breadcrumb-trail a {
    pointer-events: none;
}

/*
 *  RESPONSIVE RULES
 */
@media only screen and (max-width: 1025px) {

    .content div.post-entry-15348 .entry-content-wrapper {
        width: 100%;
        display: -moz-box;
        display: -webkit-box;
        display: box;
        -moz-box-orient: vertical;
        -webkit-box-orient: vertical;
        box-orient: vertical;
    }

    .content .entry-content-wrapper .flex_column:nth-child(1) {
        -moz-box-ordinal-group: 2;
        -webkit-box-ordinal-group: 2;
        box-ordinal-group: 2;
    }

    .content .entry-content-wrapper .flex_column:nth-child(2) {
        -moz-box-ordinal-group: 1;
        -webkit-box-ordinal-group: 1;
        box-ordinal-group: 1;
    }
}

@media only screen and (min-width: 1295px) {
    .flex_column.av_three_fourth.flex_column_div.av-zero-column-padding.avia-builder-el-6.el_after_av_one_fourth.el_before_av_one_fourth.column-top-margin {
        margin-top: -270px !important;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1294px) {
    .flex_column.av_three_fourth.flex_column_div.av-zero-column-padding.avia-builder-el-6.el_after_av_one_fourth.el_before_av_one_fourth.column-top-margin {
        margin-top: -270px !important;
    }
}

@media only screen and (min-width: 990px) and (max-width: 1024px) {
    .flex_column.av_three_fourth.flex_column_div.av-zero-column-padding.avia-builder-el-6.el_after_av_one_fourth.el_before_av_one_fourth.column-top-margin {
        margin-top: 30px !important;
    }
}

@media only screen and (max-width: 989px) {
    .flex_column.av_three_fourth.flex_column_div.av-zero-column-padding.avia-builder-el-6.el_after_av_one_fourth.el_before_av_one_fourth.column-top-margin {
        margin-top: 30px !important;
    }
}

@media only screen and (max-width: 989px) {
    .responsive.html_mobile_menu_tablet #advanced_menu_hide 
    {
        display: block;
        margin-top: -19px;
    }

    .content .entry-content-wrapper {
        width: 100%;
        display: -moz-box;
        display: -webkit-box;
        display: box;
        -moz-box-orient: vertical;
        -webkit-box-orient: vertical;
        box-orient: vertical;
    }

    .content .entry-content-wrapper .flex_column:nth-child(1) {
        -moz-box-ordinal-group: 3;
        -webkit-box-ordinal-group: 3;
        box-ordinal-group: 3;
    }

    .content .entry-content-wrapper .flex_column:nth-child(2) {
        -moz-box-ordinal-group: 1;
        -webkit-box-ordinal-group: 1;
        box-ordinal-group: 1;
    }

    .content .entry-content-wrapper .flex_column:nth-child(3) {
        -moz-box-ordinal-group: 2;
        -webkit-box-ordinal-group: 2;
        box-ordinal-group: 2;
    }
}

@media only screen and (min-width: 989px) and (max-width: 1080px) {
    #top .av_seperator_big_border#header .av-main-nav > li > a {
        padding: 0px 5px;
    }

    #top #header_main > .container .main_menu ul:first-child > li > a {
        font-size: 0.9em !important;
    }
}

@media only screen and (min-width: 768px) {
    #top #main .main-title a {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .responsive #top .container .av-content-small, .responsive #top #wrap_all .flex_column, .responsive #top #wrap_all .av-flex-cells .no_margin {
        padding: 20px;
    }
}
/* Mobile MENU - last enfold version 03.12.2018 */
@media only screen and (max-width: 480px) {
	#top #wrap_all #header #av-burger-menu-ul > li.av-active-burger-items a{
		height: 60px;
	}
}
@media only screen and (max-width: 989px) {
	#top.home strong.logo {
		z-index: 99999999; /* Otherwise it gets behind the menu and un-clickable */
	}
	li.av-burger-menu-main, li.av-burger-menu-main a{
		float:right;
	}
    .av-burger-overlay-inner {
        /*background: rgba(255,255,255,1);*/
    }
    .html_header_transparency #top .avia-builder-el-0 .slideshow_caption {
        padding-top: 0;
    }
	.html_av-overlay-side #top .av-burger-overlay-scroll {
		width: 100% !important;
	}
	#top #av-burger-menu-ul {
		display: block;
	}
	#top #wrap_all #header #av-burger-menu-ul > li.av-active-burger-items {
		display: inline-block;
		float: left;
		width: 50%;
	}
	#top #wrap_all #header #av-burger-menu-ul > li.av-active-burger-items:first-child {
		width: 100%;
	}
	.submenu-bussigny {
		top: 277px;
	}
	.html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul > li > a {
		text-align: center;
		font-weight: bold;
	}
    .html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul > li > a:hover {
        filter: brightness(105%);
    }
    .html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul > li:nth-child(1) > a:hover {
        background: #2E2382;
    }
    .html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul > li:nth-child(2) > a:hover {
        background: #0092D6;
    }
    .html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul > li:nth-child(3) > a:hover {
        background: #22A734;
    }
    .html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul > li:nth-child(4) > a:hover {
        background: #89b738;
    }
    .html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul > li:nth-child(5) > a:hover {
        background: #F69F00;
    }
}

@media only screen and (max-width: 1920px) {
    .title_container .breadcrumb {
        position: relative;
        right: auto;
        top: -6px;
        margin: 0;
        left: -2px;
    }
}

/*
 *  RESPONSIVE MENU TOGGLE
 */
/*#advanced_menu_toggle, #advanced_menu_hide {
    color: #D21416;
}

.avia_desktop #advanced_menu_toggle:hover, .avia_desktop #advanced_menu_hide:hover {
    background-color: #D21416;
    color: #fcfcfc;
    border-color: #fcfcfc;
}

#advanced_menu_hide {
    margin-top: -39px;
}*/

#advanced_menu_hide, #advanced_menu_toggle {
    display: none;
}

#top .fullsize .template-blog .post-title {
    padding: 0px;
}

#top .fullsize .template-blog h2.post-title a {
    font-size: 18px;
}

#top .fullsize .template-blog .entry-content-wrapper .entry-content .read-more-link a.more-link {
    font-size: 14px;
}

#top .fullsize .template-blog .entry-content-wrapper .entry-content p {
    font-size: 15px;
}

#top .fullsize .template-blog .post .entry-content-wrapper {
    line-height: inherit;
    font-size: inherit;
}

.sidebar_tab .tab_titles {
    width: 50%;
    min-width: 250px;
    max-width: 400px;
    float: left;
    display: block;
}

.js_active .tab {
    font-size: 1em;
}

.av-magazine-thumbnail, span.breadcrumb-title {
    display: none;
}

#top .avia-button-fullwidth .av-button-description-below p:last-child {
    margin-bottom: 0;
    text-align: -webkit-center;
}

.responsive .container {
    z-index: 99;
}

#top #header_main {
    box-shadow: 0px -1px 5px #777;
}

/*
 *  PROJETS URBANISTIQUES
 */
.acf-map {
    width: 100%;
    height: 800px;
    border: #ccc solid 1px;
    margin: 20px 0;
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}

.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
    /* width: 700px; */
    width: auto;
    cursor: auto;
    background: white;
    padding: 30px;
}

.marker{
    color: #fff;
    background-repeat: no-repeat;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAYAAACN1PRVAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3AUWDBYAATi9dAAAAWVJREFUSMftlrFuwjAQhj+blCCKuvU1OrQsqKsf22vF1D5JqSLURgQM6fJbskIgLcIbJ51sRcl9vjsr9xsA55wBRvK7ZG/4v7XAXr6Le+99awQqgDEwkY8FsxfADgJsgY18C4RCQcfAFHjQWuoAl1oAGqAG1jHjCJsI9AgsuZ4tkmxDoR5NlNHSe381knNuCTyplI1NyliSx8p4B2xy84pMsNiqkdX1tuQ1C5jckCPiDXaD3WD5Ya3+yjntALQ2maohEyhEhk2mapMJ1ij+vpBO2GiqLjSDjmxozjnnTg3PWvF3xjlXaOb0yQKTiJ63U0CBXhPBs+vIgjoOz1jGGqiAL2AFfGqtgG9g3nd6PZvrnUrfrBSnUtwtsDcDUs4qwzKRDh8xQ4Gek1I1yir0SrmBPpgENlOZZ8C7XnlRRmutDRC8921fvEER2gFOgXtpClSen9iTc6A/wTrAcUdThuRqnwUB/AIqeYeoNuNZpAAAAABJRU5ErkJggg==);
}

.mfp-content ul li {
    margin-left: 20px;
    list-style-type: disc;
}

#calendrier_projet tr th:first-child, #calendrier_projet tr td:first-child {
    width: 20%;
}

/*
 *  PREAVIS
 */
table.preavis td:last-child {
    white-space: nowrap;
    padding: 0px;
}

table.preavis tbody tr td img {
    margin-left: 20px;
}

/*
 *  FOOTER
 */
.footer_color tr:nth-child(even) {
    color: #000000;
}

/* Display few icons on the bottom left */
span.copyright2 img {
    vertical-align: middle;
    float: right;
    padding: 0px 10px;
}

/*
 *  MANIFESTATIONS
 */
#eventsList {
    margin-top: 25px;
}

.event {
    margin-bottom: 25px;
}

.event span {
    margin: 0px;
    line-height: 25px !important;
}

.event p {
    padding-left: 0px;
    white-space: pre;
}

.event span.calendar {
    background-image: url('images/icons/calendar-icon.png');
    background-repeat: no-repeat;
    padding-left: 30px;  /* width of the image plus a little extra padding */
    display: block;  /* may not need this, but I've found I do */
}

.event span.spot {
    background-image: url('images/icons/address-location-marker.png');
    background-repeat: no-repeat;
    padding-left: 30px;  /* width of the image plus a little extra padding */
    display: block;  /* may not need this, but I've found I do */   
}

.event span.organizer {
    background-image: url('images/icons/organizer.png');
    background-repeat: no-repeat;
    padding-left: 30px;  /* width of the image plus a little extra padding */
    display: block;  /* may not need this, but I've found I do */   
}


h3.av-special-heading-tag {
    padding: 15px 0px;
}

img.image_margin {
    margin: 20px;
}

img.right_margin {
    margin-right: 40px;
    margin-bottom: 20px;
}

.av-special-heading {
    margin-top: 0px;
}

/*
 *  TABLE FIX
 */ 
table tr td { vertical-align: middle; }

.main_color tr:nth-child(odd) {
    background-color: white;
}

.flex_column.av_one_fourth.flex_column_div.av-zero-column-padding.avia-builder-el-7.el_after_av_one_half.avia-builder-el-last p a {
    white-space: nowrap;
}

.flex_column.av_one_fourth.flex_column_div.av-zero-column-padding.avia-builder-el-9.el_after_av_one_half.avia-builder-el-last p {
    text-align: left;
}

#top .title_container .container {
    padding-top: 5px !important;
}

p {
    text-align: justify;
}

div .av_one_third {
    margin-left: 4%;
    width: 30.333333333333332%;
}

div .av_one_fifth {
    margin-left: 4%;
}

.container .av-content-small.units {
    width: 87%;
}

div.flex_column.av_one_third.flex_column_div.av-zero-column-padding.avia-builder-el-7.el_after_av_one_third.avia-builder-el-last {
    padding-left: 20px;
}

.sidebar_left .content {
    padding-left: 20px;
}

.sidebar_left .inner_sidebar {
    margin-right: 20px;
}

.iconbox { margin-bottom: 20px }

.iconbox .iconbox_content .iconbox_content_title, .template-page .entry-content-wrapper h1, .template-page .entry-content-wrapper h2 {
    text-transform: none;
}

div.prestations li {
    list-style-type: disc;
}

.flex_column.av_one_fourth.flex_column_div.av-zero-column-padding.first.avia-builder-el-13.el_after_av_one_fourth.el_before_av_one_half.column-top-margin div.prestations li, .flex_column.av_one_fourth.flex_column_div.av-zero-column-padding.first.avia-builder-el-2.el_after_av_submenu.el_before_av_one_half.avia-builder-el-first div.prestations li {
    list-style-type: none;
}

/*
 *  Service info left sidebar
 */

div.ser_coordonnees, div.ser_horaires, div.prestations,div.ser_horaires p {
    text-align: left;
}

div.ser_coordonnees p {
    margin: 0px !important;
    text-align: left;
}

/*
 *  Service info right sidebar
 */

.avia-builder-el-last div.ser_coordonnees, .avia-builder-el-last div.ser_horaires, .avia-builder-el-last div.prestations, .avia-builder-el-last div.ser_horaires p {
    text-align: left;
}

.avia-builder-el-last div.ser_coordonnees p {
    margin: 0px !important;
    text-align: left;
}

.page-id-223 a {
    text-decoration: inherit;
    color: inherit;
}

#submenu-page-221 ul > li {
    line-height: 35px;
}

.submenu-bussigny ul > li {
    list-style-type: disc;
}

/*
 * Liens
 */
/* http://www.crissier.ch/wp/vie-locale/transports-mobilite/service-intercommunal-des-taxis/ */
.archives-preavis a, .flex_column.av_one_fourth.flex_column_div.av-zero-column-padding.el_after_av_three_fourth.avia-builder-el-last li a, .flex_column.av_one_half.flex_column_div.av-zero-column-padding.avia-builder-el-4.el_after_av_one_fourth.el_before_av_one_fourth li a, 
.flex_column.av_one_third.no_margin.flex_column_table_cell.av-equal-height-column.av-align-top.avia-builder-el-11.el_after_av_one_third.avia-builder-el-last.cgreen li a,
.container .togglecontainer a, .container .av_three_fourth a, #after_submenu .container .content .post-entry .entry-content-wrapper a .main_color div.ressources a, .main_color div.ser_coordonnees a, .main_color div.prestations a, div.avia_textblock em a, p a, .footer_color span a, div.post-entry-15258 table tr td a, table.preavis tr td a, .read-more-link a, .flex_column.av_one_fifth.flex_column_div.av-zero-column-padding.first.avia-builder-el-2.el_before_av_three_fifth.avia-builder-el-first li a, .flex_column.av_one_fourth.flex_column_div.av-zero-column-padding.avia-builder-el-9.el_after_av_one_half.avia-builder-el-last li a {
    color: #2E2382 !important;
    text-decoration: underline !important;
}

.av-subheading {
    line-height: inherit;
}

p {
    text-align: justify;
}

div.avia-caption-content p {
    font-size: 18px;
}

.iconbox .iconbox_content p:last-child {
    text-align: -webkit-auto;
}

div.slideshow_caption {
    width: 700px;
}

.main_color .avia-icon-list .iconlist_icon {
    background-color: transparent;
    /*color: #efefef;*/
}

body.home .main_color h4 {
    /*color: #efefef;*/
}

#top strong.logo {
    position: absolute;
    top: 0px;
    height: 70px;
}

#top strong.logo a {
    max-height: 70px !important;
}

#top strong.logo a img {
    max-height: 70px !important;
}
#top.home strong.logo {
    position: absolute;
    top: 0px;
    height: 150px;
}

#top.home strong.logo a {
    max-height: 150px !important;
}

#top.home strong.logo a img {
    max-height: 150px !important;
}

#avia-menu {
	float: right;
}
/* header background color */
#top #header_main {
	background: rgba(255, 255, 255, 1);
}
#top #header_main > .container .main_menu ul:first-child > li > a {
	font-size: 1.0em;
	text-transform: uppercase;
}
#top #header_main > .container .main_menu ul:first-child > li:nth-child(1) > a {
	background: #2E2382;
}
#top #header_main > .container .main_menu ul:first-child > li:nth-child(2) > a {
	background: #0092D6;
}
#top #header_main > .container .main_menu ul:first-child > li:nth-child(3) > a {
	background: #22A734;
}
#top #header_main > .container .main_menu ul:first-child > li:nth-child(4) > a {
	background: #89b738;
}
#top #header_main > .container .main_menu ul:first-child > li:nth-child(5) > a {
	background: #F69F00;
}
#top #header_main > .container .main_menu ul:first-child > li:nth-child(6) > a {
	background: #E84B04;
}
/* Submenu page colors */
.main_color.color-0, .submenu-bussigny.color-0 {
	background: #2E2382;
}
.main_color.color-1, .submenu-bussigny.color-1 {
	background: #0092D6;
}
.main_color.color-2, .submenu-bussigny.color-2 {
	background: #22A734;
}
.main_color.color-3, .submenu-bussigny.color-3 {
	background: #89b738;
}
.main_color.color-4, .submenu-bussigny.color-4 {
	background: #F69F00;
}
.main_color.color-5, .submenu-bussigny.color-5 {
	background: #E84B04;
}
/* Page titles */
#top #main .main-title a {
	color: white;
	font-weight: bold;
	font-size: 1.5em;
	background: #E4002B;
	display: inline-block;
	margin: 2% 0;
	padding: 1px 2%;
}
.submenu-bussigny {
	display: none;
	clear:both;
	min-height: 350px;
	color: white;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 999;
	padding: 2%;
}
.submenu-bussigny * {
	color: white;
}
/* Let white li elements to act as a spacer */
.submenu-bussigny .av-special-heading.av-special-heading-h5 {
	/*margin-top: 5%;*/
}
.submenu-bussigny section.av_textblock_section {
	margin-bottom: 5px;
}

@media only screen and (max-width: 989px) {
    #top #wrap_all .av_header_transparency, .av_header_transparency #advanced_menu_toggle {
        color: #D21416;
    }
    .responsive #top .flex_column_table, .responsive #top .flex_column_table_cell {
        display: block;
    }

    .responsive #top .container .av-content-small, .responsive #top #wrap_all .flex_column, .responsive #top #wrap_all .av-flex-cells .no_margin {
        padding: 20px;
    }
    .responsive #top .container .av-content-small, .responsive #top #wrap_all .flex_column, .responsive #top #wrap_all .av-flex-cells .no_margin {
        margin: 0;
        margin-bottom: 20px;
        width: 100% !important;
    }
}

@media only screen and (max-width: 767px) {
    .responsive .title_container .breadcrumb {
        position: relative;
        right: auto;
        top: -6px;
        margin: 20px 0px;
        left: -2px;
    }
    .responsive #top #wrap_all .container.av-logo-container {
        height: 100px !important;
    }

    .weather_block {
        display: none;
    }
    h1.main-title.entry-title {
        display: none;
    }
}

div .av_one_third.cblue {
	background: -moz-linear-gradient(top,  #2E2382 0%, #2E2382 55px, #f9f9f9 55px, #f9f9f9 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2E2382), color-stop(55px,#2E2382), color-stop(55px,#f9f9f9), color-stop(100%,#f9f9f9)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #2E2382 0%,#2E2382 55px,#f9f9f9 55px,#f9f9f9 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #2E2382 0%,#2E2382 55px,#f9f9f9 55px,#f9f9f9 100%); /* Opera 11.10+ */
    /* background: -ms-linear-gradient(top,  #2E2382 0%,#2E2382 55px,#f9f9f9 55px,#f9f9f9 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #2E2382 0%,#2E2382 55px,#f9f9f9 55px,#f9f9f9 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2E2382', endColorstr='#f9f9f9',GradientType=0 ); /* IE6-8 */
    opacity: 0.95;
    border-top-width: 10px !important;
}
div .av_one_third.clightblue {
	background: -moz-linear-gradient(top,  #0092D6 0%, #0092D6 55px, #f9f9f9 55px, #f9f9f9 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0092D6), color-stop(55px,#0092D6), color-stop(55px,#f9f9f9), color-stop(100%,#f9f9f9)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #0092D6 0%,#0092D6 55px,#f9f9f9 55px,#f9f9f9 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #0092D6 0%,#0092D6 55px,#f9f9f9 55px,#f9f9f9 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #0092D6 0%,#0092D6 55px,#f9f9f9 55px,#f9f9f9 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #0092D6 0%,#0092D6 55px,#f9f9f9 55px,#f9f9f9 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0092D6', endColorstr='#f9f9f9',GradientType=0 ); /* IE6-8 */
    
    /* background: linear-gradient(to bottom,  #2f2f2f 0%,#2f2f2f 55px,#f9f9f9 55px,#f9f9f9 100%); /* W3C */
    /* filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0092D6', endColorstr='#f9f9f9',GradientType=0 ); /* IE6-8 */
    opacity: 0.95;
    border-top-width: 10px !important;
    border-top-width: 10px !important;
    border-left: 0px !important;
    border-right: 0px !important;
}
div .av_one_third.cgreen {
	background: -moz-linear-gradient(top,  #22A734 0%, #22A734 55px, #f9f9f9 55px, #f9f9f9 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#22A734), color-stop(55px,#22A734), color-stop(55px,#f9f9f9), color-stop(100%,#f9f9f9)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #22A734 0%,#22A734 55px,#f9f9f9 55px,#f9f9f9 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #22A734 0%,#22A734 55px,#f9f9f9 55px,#f9f9f9 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #22A734 0%,#22A734 55px,#f9f9f9 55px,#f9f9f9 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #22A734 0%,#22A734 55px,#f9f9f9 55px,#f9f9f9 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#22A734', endColorstr='#f9f9f9',GradientType=0 ); /* IE6-8 */
    /* background: linear-gradient(to bottom,  #2f2f2f 0%,#2f2f2f 55px,#f9f9f9 55px,#f9f9f9 100%); /* W3C */
    /* filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#22A734', endColorstr='#f9f9f9',GradientType=0 ); /* IE6-8 */
    opacity: 0.95;
    border-top-width: 10px !important;
}

#top .content .flex_column .widget_nav_menu ul.menu > li:hover {
    border-left-width: 20px;
}

#top .content .flex_column .widget_nav_menu ul.menu > li.sous-menu-infos-pratiques {
    border-left-color: #2E2382;
}

#top .content .flex_column .widget_nav_menu ul.menu > li.sous-menu-vie-locale {
    border-left-color: #0092D6;
}

#top .content .flex_column .widget_nav_menu ul.menu > li.sous-menu-vie-politique {
    border-left-color: #22A734;
}

#top .content .flex_column .widget_nav_menu ul.menu > li.sous-menu-acces-directs {
    border-left-color: #89b738;
}

#top .content .flex_column .widget_nav_menu ul.menu > li.sous-menu-guichet-virtuel {
    border-left-color: #F69F00;
}
#top .content .flex_column .widget_nav_menu ul.sub-menu > li {
	border-left: 0;
} 
#top .content .flex_column .widget_nav_menu ul.sub-menu li:before {
	display: none;
}
#top .content .flex_column .widget_nav_menu ul.sub-menu li a {
	padding: 0.2em 3px;
}

td {
    font-size: 15px;
}

span.avia_iconbox_title {
    font-size: 15px;
}

#footer {
	padding: 0;
}
#footer ul li a{
	padding: 0;
}
#footer h3 {
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}
#footer table tr td {
	line-height: 18px;
	padding: 2px;
}
#footer #nav_menu-9, #footer #nav_menu-8 {
	display: table-cell;
	padding: 0 6px;
}
#footer .widget {
	margin: 20px 0 20px 0;
}
#footer .widget_nav_menu li {
	border-bottom: 1px solid grey;
}
.copyright a {
	color: white !important;
}
#top #wrap_all .social_bookmarks li {
	margin-right: 4px;
}
#top #wrap_all .social_bookmarks a {
	background: white;
}
.btn-avis-enquetes .avia-button {
	background-color: #22A734 !important;
	border-color: #22A734 !important;	
}
.btn-guichet .avia-button {
	background-color: #F69F00;
	border-color: #F69F00;
}
.accordeon-guichet .toggler{
	border-color: grey;
}
.table-horaires tr:nth-child(odd) {
    background-color: white;
}

.table-horaires tr th:first-child, .table-horaires tr td:first-child, .table-horaires tr th:nth-child(even), .table-horaires tr td:nth-child(even), .table-horaires td {
    border: none;
}

.table-horaires td {
    padding: 2px 5px;
}

/*body.home .iconbox .iconbox_content .iconbox_content_title {
    color: #ef1a3a;
}*/

#scroll-top-link {
    color: #efefef;
    border: 1px solid #e1e1e1;
}

#scroll-top-link {
    background-color: #ef1a3a;
}

#scroll-top-link:hover {
    background-color: #f8f8f8;
    color: #333333;
    border: 1px solid #e1e1e1;
}

#scroll-top-link.avia_pop_class {
    opacity: 1;
}

#top .title_container .container {
    padding-top: 20px;
}

#socket {
	background: #333;
	color: white;
}

#socket .container {
	padding-bottom: 10px;
	padding-top: 10px;
}

/* h2ma: styles - hugo muriel */

#fullscreen_slider_0 .avia-slideshow-inner, #fullscreen_slider_0 .avia-slideshow-inner li, #fullscreen_slider_0 .avia-slide-wrap {
	/* Retaillage image mobile */
	min-height: 355px;
}
@media only screen and (max-width: 480px) {
	.avia-fullscreen-slider .avia-slideshow {
		/* Coller l'agenda */
		height: 510px !important;
	}
}
@media only screen and (max-width: 1180px) {
	/* Aligner le titre de l'agenda verticalement */
	.home-agenda-header .iconbox_content_title {
		margin-top: -10px !important;
	}
	.home-agenda-header .iconbox_icon {
		margin-top: 10px !important;
	}
}

li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-has-children.sous-menu-crissier-officiel > a {
    color: #E4002B;
    text-transform: uppercase;
    font-weight: 600;
    right: 0;
    letter-spacing: -0.5px;
} 

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

    .page-id-14968 .flex_column.av_one_fourth.trs-calendrier-cff {
        margin-left: auto;
        width: 100%;
        min-width: 420px;
        margin-right: auto;
    }
    .page-id-14968 .flex_column.av_one_fourth.trs-calendrier-cff > iframe {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

}

#top .submenu-bussigny {
    display: block!important;
    position: fixed!important;
    margin-top: -1px!important;
    max-height: 90%;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease;
}

#top .submenu-bussigny.visible{
    opacity: 1;
    pointer-events: all;
}

/* RFo 09.11.2020 : Fix menu */ 

@media(min-width : 981px){
    #top .submenu-bussigny  {
        top: 56px!important;
    }

    #top.admin-bar .submenu-bussigny{
        top: 88px!important;
    }
}
@media(max-width : 980px){
    #top .submenu-bussigny  {
        max-height: calc(100% - 300px);
        max-height: --webkit-calc(100% - 300px);
        left : 0 !important;
    }

    #top .submenu-bussigny{
        top: 300px;
    }
    #top.admin-bar .submenu-bussigny{
        top: 300px;
    }

    #top #av-burger-menu-ul{
        height: fit-content;
        float: left;
        padding-bottom: 0!important;
    }

    #top #wrap_all #header #av-burger-menu-ul{
        display: grid;
        grid-template-columns: auto auto;
    }

    #top #wrap_all #header #av-burger-menu-ul > li.av-active-burger-items{
        width: 100%;
    }
    #top #wrap_all #header #av-burger-menu-ul > li.av-active-burger-items:first-child{
        grid-column: 1 / -1;
    }
}

.submenu-bussigny::-webkit-scrollbar {
    width: 10px;
  }
  .submenu-bussigny::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.2);
  }
  
  /* Handle */
  .submenu-bussigny::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
  }
  
  /* Handle on hover */
  .submenu-bussigny::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

  .html_modern-blog #top .post-entry .post-title{
    font-size: 1em;
    margin-bottom: 25px;
  }