/* This is the end all, be all stylesheet.
 * Whatever`s here will override every-
 * thing else. Use this power sparingly,
 * as this CSS will not be minified or
 * altered in any way.
 */
#pf-body h1, #pf-body h2, #pf-body h3, #pf-body h4 {
    color: #6b83c3;
    }
#pf-body table{
border-collapse:unset !important;
}
 h1, .h1{
    margin-top: 0.5rem;
    text-align: center;
 }
 h5{
    margin:0;
 }
 ul, li{
    list-style: none;
 }
 img{height: auto!important;}
 #footer{clear:both;}
/*FRONT HOME*/
 #header-home {
    background: white url('./_assets/img/fond_2.jpg') no-repeat;
    max-width: 1900px;
    max-height: 528px;
    width: 100%;
    height: 440px;
    border-top: 10px solid #54a7dd;
    border-left: 10px solid #54a7dd;
    border-right: 10px solid #54a7dd;
    background-size: 100%;
}
#scratch-layout-1-id-298 .wrapper{
    margin-top: -140px;
}

#scratch-layout-1-id-298 .column-2 .scratch-image {
    width: 30%;
    margin: auto;
}
.page-id-298 {
    border: 20px solid #130e53;
}
.page-id-298 main {
    border-left: 10px solid #54a7dd;
    border-right: 10px solid #54a7dd;
    border-bottom: 10px solid #54a7dd;
}
.page-id-298 .column-1, .page-id-298 .column-3 {
    width: 37%;
    float: right;
}
.page-id-298 h3 {
    margin-top: 0rem;
}
.page-id-298 .column-1 p, .page-id-298 .column-3 p {
    width: 52%;
    text-align: left;
}
.page-id-298 .custom-col.even.column-2 {
    float: right;
    }
/*HEADER*/
#header{
    background-color: #fff; 
    margin-bottom: 1%;
}
 .header {
    background: white url('./_assets/img/fond_2.jpg') no-repeat;
    background-position: 0 0.5rem;
	background-size: 95%;
}

#header .logo {
    color: #130e53;
}
.header h1{
	margin-top: 5.5rem;
    text-align: left;
}

a.logo {
    line-height: 2.5rem;
}
.wrapper {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    word-wrap: break-word;
    min-height: 410px;
}
a.logo:hover{
	text-decoration: none;
}

.site-description {
    display: block;
    clear: both;
}
h2.site-description {
    color: #54a7dd;
}

/* TOP SIDEBAR */
nav#nav {
    display: inline;
}

nav ul.main-nav li a:link, nav ul.main-nav li a:active, nav ul.main-nav li a:visited {
    background-color: #6b83c3;
    color: #fff;
}

nav ul.main-nav li a:hover, nav ul.main-nav li a:focus {
    background-color: #130e53;
    text-decoration: none;
}

nav ul.main-nav li.current_page_item a:link, nav ul.main-nav li.current_page_item a:active, nav ul.main-nav li.current_page_item a:visited {
    background-color: #130e53;
}
nav ul.main-nav li a {
    background-color: #6b83c3;
    padding: 20px 10px 20px;
}
.sub-menu li{
	z-index:18;
}

a, .a {
    color: #6b83c3;
}

a:link, a:active, a:visited, .a:link, .a:active, .a:visited {
    color: #6b83c3;
}
/*Nous aider*/
li#menu-item-35415 a {color: #6b83c3; background-color: #fff;}

/*contact*/
a.ion-email, .ion-person, .ion-search {
    color: white;
    font-size: 2rem;
}
/*loggin*/
.top-sidebar {
    background: #6b83c3;
    color: #fff;
    position: fixed;
    width: 100%;
    z-index: 20;
}
.toggle-form{
    position:absolute;
    padding: 1rem;
    background-color: #6b83c3;
}

.widget_wp_sidebarlogin form .input{
	height: 20px;
}
.widget_wp_sidebarlogin form #wp-submit{
	background: #6b83c3;
}


/*Tool bar */
.tool-bar {
    display: inline-block;
    width: 40px;
    padding: 1rem;
    height: 40px;
    vertical-align: top;
    cursor: pointer;
}
/*Recherche */
.search-form {
    float: left;
    padding-left: 20px;
    padding-top: 0.7%;
}

.widget_search form #searchsubmit, .search.last {
	background-color: #6b83c3;	
}
/* GLOBAL CONTENT */
.primary-sidebar, .content-sidebar{
        width: auto;
        display: block;
    }
    .primary-sidebar{width: 23%;}
    .content-sidebar {
    width: 23%;
    float: left;
    right: 0;
    }
    .ion-music-note, .ion-calendar {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0;
    color: #130e53;
    }
.programme, #programme-messe{clear:both;}

/*Tableau */
#programme-aimations table {
    width: 100%;
}
#programme-aimations .print-only table, #programme-aimations .print-only td, #programme-aimations .print-only th, .pf-content table, .pf-content td, .pf-content th {
    border: 2px solid black;
    border-collapse: collapse;
}
#programme-aimations tr {
    vertical-align: top;
}
/* PRIMARY SIDEBAR*/ 
.hidden{
	visibility: hidden;
    display: none;
}
.hide{
    display: none;
 }
#primary-sidebar .wp-playlist-caption .wp-playlist-item-meta {
    display: none;
}
.widget-side:nth-child(n+2) {
    border-top: 4px solid #130e53;
    padding-bottom: 2rem;
}

#widget-psaumes .wp-playlist-current-item {
    height: 0px;
    padding: 0;
}
#widget-psaumes .wp-playlist {
    border: none;
    margin: 0;
    padding: 0;
}

aside#widget-psaumes li:nth-child(5), aside#widget-psaumes li:nth-child(8){
    display:none;
}

aside#widget-psaumes li.hide:first-child {
    display: block;
}

 aside#widget-psaumes li {
    list-style: none;
}

aside#widget-psaumes p, aside#widget-psaumes a {
    line-height: 0.5rem;
    margin-bottom: 0.5rem;
}

aside#widget-psaumes li:nth-child(n+3) {
    /*margin-bottom: 1rem;*/
}
aside#widget-psaumes .wp-playlist-item-title {
	line-height: 1rem;
}


/*CONTENT SIDEBAR*/
.button.don {
    border-color: #445fa8 #415ba0 #3d5596 #415ba0;
    padding: 1em 2em;
    box-sizing: border-box;
    border-radius: .25em;
    border: 1px solid;
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0,#4865b3),color-stop(1,#6b83c3));
    background: -ms-linear-gradient(bottom,#4865b3,#6b83c3);
    background: -moz-linear-gradient(center bottom,#4865b3 0,#6b83c3 100%);
    background: -o-linear-gradient(#6b83c3,#4865b3);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6b83c3',endColorstr='#4865b3',GradientType=0);
}
.content-sidebar .em-calendar{
	width: 100%;
}


/*EVENTS*/
.em-search-submit img{
	width: 20px;
	height: 20px;
}
/* BOUTON*/

.flexible-columns [class^="column-"] a:hover .circle, .flexible-columns [class^="column-"] a:focus .circle, .flexible-columns [class*=" column-"] a:hover .circle, .flexible-columns [class*=" column-"] a:focus .circle {
    background-color: #54a7dd;
}

.flexible-columns [class^="column-"] a:hover i, .flexible-columns [class^="column-"] a:focus i, .flexible-columns [class*=" column-"] a:hover i, .flexible-columns [class*=" column-"] a:focus i {
    color: #fff;
}

.hero-unit .circle, .flexible-columns .circle, .staggered .circle, .wysiwygs .circle, .slider .circle {
    background-color: #6b83c3;
}

button:hover, button:focus, .button:hover, .button:focus, a.acf-button:hover, a.acf-button:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="reset"]:hover, input[type="reset"]:focus, input[type="submit"]:hover, input[type="submit"]:focus {
    background-color: #54a7dd;
}

button:link, button:active, button:visited, .button:link, .button:active, .button:visited, a.acf-button:link, a.acf-button:active, a.acf-button:visited, input[type="button"]:link, input[type="button"]:active, input[type="button"]:visited, input[type="reset"]:link, input[type="reset"]:active, input[type="reset"]:visited, input[type="submit"]:link, input[type="submit"]:active, input[type="submit"]:visited {
    background-color: #6b83c3;
}

button, .button, a.acf-button, input[type="button"], input[type="reset"], input[type="submit"] {
    background-color: #130e53;
}

.event-categories li{
    display: inline;
    padding-right: 5px;
}
 .map i {display: none;}
/*Playeur*/
.wp-playlist-item-title {
    font-size: 1.125rem!important;
    line-height: 1rem !important;
}
/*Footer*/
ul#menu-sites-amis {padding-left: 0!important;}
/* Media queries */
 @media (min-width: 767px){
 	nav ul.main-nav{margin-right: 2%;}
    nav ul.main-nav ul.sub-menu li a {
        padding: 0.5rem 1rem;
        background-color: #6b83c3;
        color: #fff;
    }

    nav ul.main-nav ul.sub-menu li a:link, nav ul.main-nav ul.sub-menu li a:active, nav ul.main-nav ul.sub-menu li a:visited {
    background-color: #6b83c3!important;
    }

    nav ul.main-nav ul.sub-menu li a:hover, nav ul.main-nav ul.sub-menu li a:focus {
    background-color: #130e53!important;
    text-decoration: none;
}

aside#widget-psaumes p, aside#widget-psaumes a {
    line-height: 1rem;
    }


}
/*Slider*/
.glide{
    height: 500px;
    border: 2px solid rgba(255,255,255, 0.5);
    border-radius: 4px;
    background-color: rgba(107,131,195, 0.1);
}
.glide__slide {
    height: 410px;
    background-repeat: no-repeat;
}
.glide__slide h4 {
    margin-top: 0;
}
.glide__slide p {
    color: #130e53;
    margin:0 auto;
    width: 54%;
    word-break: break-word;
}
.glide__slide a {
    margin-right: 40px;
}

.glide__arrow {
        background-color: #6b83c3;
}
/*Page Favoris */
.favorites-list p {
    display: inline;
    padding-right: 10px;
}

/* Page Index voix */
.display-voix td:nth-child(n+3) {
    text-align: center;
}
.display-voix td:nth-child(2){
    width: 40% !important;
    padding: 0 !important;
}
/*Page Programme*/
table.programme {
    margin-bottom: 1.5rem;
}

/*CONTENT Main*/
.toggle-heading {
    border: 1px solid #6b83c3;
    color: #6b83c3;
}


@media all and (max-width: 1600px){
    #scratch-layout-1-id-298 .wrapper {
    margin-top: -237px;
    }

    #scratch-layout-1-id-298 .column-2 .scratch-image {
    width: 230%;
    }
    .page-id-298 .column-1, .page-id-298 .column-3 {
    width: 47%;
    }
    .line {
    height: 520px !important;
    margin-left: 55px !important;
    }
    .page-id-298 .column-2{
        width: 5%;
    }
    .wrapper{
        min-height: 310px;
    }

    .top-sidebar{
        font-size: 1rem;
    }
    h1, .h1 {
    font-size: 2rem;
    }
    .header{
        background-position: 0 2rem;
        background-size: 100%;
    }

    .widget_text{
        margin-left: 1%;
    }

    .glide__slide a {
        font-size: 1rem;
    }
    .widget-side ul {
    padding-left: 0;
    }

    .show .ion-calendar{display:none;}
    .main{
        width: 67%;
        margin-left: 1.5%;
    }
    .primary-sidebar{width: 30%;}
    .ion-calendar {color: #fff;}
    .toggle-content-sidebar {
        padding: 3px 10px;
        position: absolute;
	    top: 315px;
	    border: 5px solid #6b83c3;
        border-radius: 5px 0px 0px 5px;
	    background-color: #6b83c3;
	    box-shadow: 0 0 2px 2px rgba(0,0,0,0.1);
    }
    .hide.toggle-content-sidebar{visibility: visible; display:block;}
    .content-sidebar{
        position: absolute;
        z-index: 6;
        width: 40%;
        background-color: #FAFCFC;
        display: none;
        top: 365px;
        box-shadow: 0 0 3px 3px rgba(0,0,0,0.1);
        border-left: 1px solid #f7f7f7;
        padding-left: 0.1rem;
    }
    .active .toggle-content-sidebar{background-color: #fff;}
    .active .ion-calendar {
    color: #54a7dd;
    }
    .content-sidebar, .toggle-content-sidebar{
        right:0px;
    }

}

@media all and (max-width: 1024px){
    #scratch-layout-1-id-298 .wrapper {
    margin-top: -120px;
    }
    .page-id-298 #header-home {
    height: 250px;
    }
    #scratch-layout-1-id-298 .custom-col.odd.three-first.four-first.column-1 {
    margin-right: 4rem;
    margin-left: 7rem;
    }
    .page-id-298 .column-1, .page-id-298 .column-3 {
    width: 33%;
    }
    .page-id-298 .column-1 p, .page-id-298 .column-3 p {
    width: 100%;
    }
    #scratch-layout-1-id-298 .column-2 .scratch-image {
    margin-left: 0.70rem;
    }
    .header{
        background-position: 0 3rem;
    }
    h2.site-description {
    background: rgba(255,255,255,0.06);
    }
    a.logo, .wrapper .site-description {
    width: 100%;
    }

    h2.site-description{
     font-size: 1.3rem;
    }
    .maine {
    width: 74.05%;
    float: right;
    }
    h3 {
        margin-top: 0;
    }
    .main {

    margin-left: 0%;
    }
    .toggle-content-sidebar{
    top: 320px;
    }
    .content-sidebar{
        top: 365px;
    }
}
    
@media all and (max-width: 900px){
    .page-id-298 .custom-col.even.column-2 {
        width: 30%;
        float: left;
    }
	#footer .widget {
    width: 29%;
    margin: 0 10%;
	}

}

@media all and (max-width: 768px){
    h1, .h1{font-size:2rem!important;}
    .wrapper {
    min-height: 265px;
    }
    #scratch-layout-1-id-298 .wrapper {
    margin-top: -147px;
    }
    #scratch-layout-1-id-298 .custom-col.odd.three-first.four-first.column-1 {
    margin-right: 0;
    margin-left: 0;
    }
    .page-id-298 .column-1, .page-id-298 .column-3 {
    width: 100%;
    }
    .page-id-298 .custom-col.even.column-2 {
        display: none;
    }
    .page-id-298 .button {
    margin: 0 25%;
    }
    .header h1 {
    margin-top: 10%;
    }
    .header h2 {
    background: rgba(255,255,255,0.55);
    border: 5px solid rgba(255,255,255,0.1);
    border-radius: 10px 10px;
    }
    .site-description{
        line-height: 1rem;
    }
    /*Magique Sidebar*/
    .hide{visibility: visible; display:block;}

    .main{width:99.99%; z-index: 4;}
    .toggle-primary-sidebar {
        padding: 3px 10px;
        border-radius: 0px 5px 5px 0px;
    }
    .toggle-primary-sidebar,.toggle-content-sidebar {
    position: absolute;
    z-index: 6;
    top: 272px;
    border: 5px solid #6b83c3;
	background-color: #6b83c3;
	box-shadow: 0 0 2px 2px rgba(0,0,0,0.1);
    }
    .primary-sidebar, .content-sidebar{
        position: absolute;
        z-index: 6;
        width: 384px;
        background-color: white;
        display: none;
        top: 322px;
    }
    .primary-sidebar{
    	box-shadow: 0 0 3px 3px rgba(0,0,0,0.1);
        border-right: 1px solid #f7f7f7;
        padding-right: 0.1rem;
    }
    .primary-sidebar #widget-psaumes .wp-playlist .mejs-container {
    display: block;
    width: 100%!important;
    }
    .content-sidebar, .toggle-content-sidebar{
        right:0px;
    }

    .icon {
    font-size: 2rem;
    }
    .ion-music-note {
    color: #fff;
    }
    .active .ion-music-note {
    color: #54a7dd;
    }
    .glide.show {
    display: block;
    }
    .fixed{top: 50px;}
    .show{display:none;}

}
@media all and (max-width: 640px){
	nav ul.main-nav{top:45px; background-color: #130e53;}
	nav ul.main-nav li{display: inline-block; width: 49.5%;}
    .wrapper{
        min-height: 230px;
    }
    #scratch-layout-1-id-298 .wrapper {
    margin-top: -185px;
    }
    #scratch-layout-1-id-298 .custom-col.odd.three-first.four-first.column-1 {
    margin-right: 0;
    margin-left: 0;
    }
    .toggle-primary-sidebar, .toggle-content-sidebar{
        top: 232px;
    }
    .primary-sidebar, .content-sidebar{
        top: 280px;
    }
    .glide.show {
    display: none;
    }
}

@media (max-width: 568px){
    .wrapper {
        min-height: 210px;
    }
    #footer .widget {
    width: 100%;
    margin-bottom: 10%;
    border-bottom: 1px solid #6b83c3;
}

@media all and (max-width: 480px){
    .first{margin-left: 0;}
    .br{line-height: 0.5rem;}
    #scratch-layout-1-id-298 .wrapper {
    margin-top: -180px;
    }
    #scratch-layout-1-id-298 .scratch-image {
    height: 100px;
    }
    .header{
        background-position: 0px 2.5rem;
        background-size: 100%;
    }
    .header h1 {
    margin-top: 3.2rem!important;
    }

    .wrapper{
        min-height: 0
    }
    .tool-bar{
        padding: 0.3rem;
    }
    .top-sidebar {
    height: 45px;
    }
    a.logo, .wrapper .site-description {
    line-height: 1.3rem;
    padding-top: 0;
    }
    a.logo{
        font-size: 1.5rem;
    }
    h2.site-description{
        font-size: 1rem;
    }
    .nav-toggle{
        top: 0.3rem;
    }
    .toggle-primary-sidebar, .toggle-content-sidebar{
        top:180px;
    }
    .primary-sidebar, .content-sidebar {
        top: 226px;
    }
    .no-padding{
        padding: 0!important;
    }

}
@media all and (max-width: 360px){
    #scratch-layout-1-id-298 .wrapper {
    margin-top: -215px;
    }
    a.logo, .wrapper .site-description {
    line-height: 0.7rem;
    }
    a.logo{
        font-size: 1rem;
    }
    h2.site-description{
        font-size: 0.68rem;
    }

    .toggle-primary-sidebar, .toggle-content-sidebar {
        top: 145px;
    }
    .primary-sidebar, .content-sidebar {
        top: 193px;
        width: 300px;
    }
}
@media all and (max-width: 320px){
    #scratch-layout-1-id-298 .wrapper {
    margin-top: -230px;
    }
    .page-id-298 .button {
    margin: 1rem;
    }
    a.logo, .wrapper .site-description {
        margin-bottom: 0rem!important;
    }
    .toggle-primary-sidebar, .toggle-content-sidebar {
    top: 132px;
    }
    .primary-sidebar, .content-sidebar {
    top: 180px;
    }

}
@media (min-width: 40em){
html, body {
    font-size: 1.06rem;
    }
}
    
