/*
Theme Name: Maurs Responsive
Theme URI: http://www.aytechnet.fr/
Description: Thème responsive 2016 du site de la ville de Maurs
Author: Aytechnet SARL
Version: 1.1.1
*/

a, h1 { color: #00277f }
.camping a, .camping h1 { color: #b2d01d }
h2, h3 { color: #0064b4 }
h1 { font-size: 30px }
h2 { font-size: 24px; clear: both }
h2.titre { font-size: 20px; }

body.home {
	background-color: white !important;
	background-image: url(images/bg-pattern.png) !important;
	/* background-size: cover */
}

.form-control { border-color: #eaeef5; color: #00277f }
.camping .form-control { color: #6bbb25 }

.site-header {
	background: white;
	z-index: 10000;
	top: 0;
	position: relative;
}
.site-header.modern-header {
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.site-inner.container { margin: 15px auto; padding: 0 }
@media (max-width: 767px) {
  .site-inner.container { margin: 0 auto; }
}
/* .site-inner.container .site-header { padding: 15px 15px 0 } */
.site-header.sticky {
	position: fixed;
	width: 100%;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.admin-bar .site-header.sticky { top: 32px }
@media (min-width: 768px) {
  .site-header.fixed-width.sticky { width: 750px }
}
@media (min-width: 992px) {
  .site-header.fixed-width.sticky { width: 970px }
}
@media (min-width: 1200px) {
  .site-header.fixed-width.sticky { width: 1170px }
}

.site-header, .site-header img, #top-header {
	transition: all .4s ease;
}
.site-header h1 { font-family: cursive; text-align: center }
.site-header img { height: 118px; object-fit: contain; }
.site-header #logo-mask img { margin-top: 29px; margin-left: 15px }
.site-header .site-branding img { height: 59px; object-fit: contain }

.site-header #logo-mask {
	position: absolute;
	background: transparent url(images/mask-responsive.png) no-repeat left top;
	background-size: cover;
	height: 208px;
	width: 325px;
	z-index: 2000;
}
.site-header #carousel { height: 208px }
.site-header #bottom-header {
	position: absolute;
	top: 20px;
	bottom: auto;
	left: -40px;
}
.site-header #bottom-header ul li {
	display: inline-block;
}
.site-header #bottom-header ul li.lang-item {
	display: block;
	margin: 0 0 10px;
}
body.home .site-header #bottom-header ul li.lang-item {
	float: left;
	display: block;
	margin: 0 10px 0 0;
}
.site-header #carousel #bottom-header {
	position: absolute;
	z-index: 3000;
	top: auto;
	bottom: 50px;
	left: auto;
}
@media (max-width: 767px) {
	.site-header #logo-mask {
		height: 104px;
		width: 163px;
	}
	.site-header img { height: 59px; object-fit: contain; }
	.site-header #logo-mask img { margin: 12px 0 0 -20px }
	.site-header #carousel { height: 104px }
	.site-header #carousel .carousel-inner .item { height: 104px !important }
}

.site-header .print {
	float: right;
	margin-top: 30px;
	font-size: 15px;
}
.site-header a.custom-logo-link {
	display: block;
	height: 100%;
	padding: 10px 0;
}

#top-header {
	color: #999999;
	background-color: #eaeef5;
	overflow: hidden;
	/* margin: -15px -15px 0 -15px; */
	padding: 0 15px;
}
.modern-header #top-header { margin: 0 }
#top-header .row { padding: 5px 0; }
#top-header p {
	font-size: 90%;
	padding: 0;
	margin: 0;
}
footer { font-size: 90%; clear: both }
footer h3, footer .widget-title {
	color: #ddd;
	font-size: 18px;
}
.camping footer h3, .camping footer .widget-title { color: white }
footer a { color: inherit; text-decoration: underline; }
footer p { margin: 10px 0 }
footer .btn-default {
	color: white;
	background-color: #0064b4;
	border-color: #0064b4;
	text-decoration: none;
}
footer .btn.focus, footer .btn:focus, footer .btn:hover {
	background-color: #a8c5ec;
}
footer .widget_media_audio { margin-bottom: 3em }

#top-footer { color: #ddd; background: #00277f; }
.camping #top-footer { color: #eee; background: #6bbb25; }
#top-footer a { color: #fff; }
#bottom-footer { color: #eee; background: #335299; }
.camping #bottom-footer { background: #b2d01d; }

.btn-default {
	color: white;
	background-color: #00277f;
	border-color: #00277f;
	text-decoration: none;
}
.btn.focus, .btn:focus, .btn:hover {
	background-color: #0064b4;
}

.site-content { background: white; padding: 15px; }
.site-inner.container>div, .site-content.container { box-shadow: 0 0 10px rgba(0,0,0,0.5) }
.site-content table { max-width: 100% }
.site-content td { padding : 5px }

.site-header-menu { background: #00277f; }
.camping .site-header-menu { background: #6bbb25; }
.site-header-menu .container-fluid { padding-left: 0; padding-right: 0 }
.site-header-menu .container-fluid > .navbar-header { margin-left: 0; margin-right: 0 }
.site-header-menu .navbar { min-height: 36px }
.site-header-menu .navbar-btn, .site-header-menu .navbar-form, .site-header-menu .navbar-toggle { margin-top: 0; margin-bottom: 0 }
.site-header-menu .navbar-collapse {
	border-top: none;
	-webkit-box-shadow : none;
	box-shadow: none;
}
.site-header-menu ul.navbar-btn { margin-top: 4px }
.site-header-menu .nav>li>a { padding: 4px 15px; color: white }
.navbar.navbar-default {
	background: #00277f;
	border-color: #00277f;
	margin-bottom: 5px;
	margin-top: 5px;
}
.camping .navbar.navbar-default {
	background: #6bbb25;
	border-color: #6bbb25;
}
.navbar.navbar-default .navbar-toggle { border-color: #335299 }
.navbar button { color: white; background: #335299 }
.camping .navbar button { background: #6bbb25 }
.navbar .dropdown-menu { background: #335299 }
.navbar .dropdown-menu li>a { color: white }
.navbar .dropdown-menu li>a:hover { background: #00277f; color: white }
.nav>li>a { color: white }
.nav>li.open>a,.nav>li.open>a:hover,.nav>li>a:hover { background-color: #335299 !important; color: white !important }
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover { background-color: #00277f }
.nav-pills>li>a { text-transform: uppercase }

.modern-header .site-header-menu { font-family: cursive; background: white }
.modern-header .site-header-menu .navbar.navbar-default { border-color: white; background: white; margin-top: 1em }
.modern-header .site-header-menu .nav>li>a { color: #00277f }
.camping .modern-header .site-header-menu .nav>li>a { color: #6bbb25 }
.modern-header .nav-pills>li.active>a, .modern-header .nav-pills>li.active>a:focus, .modern-header .nav-pills>li.active>a:hover { color: white; background-color: #69b934 }
.modern-header .nav-pills>li>a { text-transform: none }
/*
@media (min-width: 768px) {
  .modern-header ul.nav-pills { position: absolute; right: 230px }
}
*/

.alignleft, img.alignleft {
	display: inline;
	float: left;
	margin-right: 10px;
}
.alignright, img.alignright {
	display: inline;
	float: right;
	margin-left: 10px;
}
.aligncenter, img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignnone, img.alignnone {
	display: block;
	max-width: 100%;
	height: auto;
}
.row img {
    display: block;
    max-width: 100%;
    height: auto;
}


.no-padding { margin: 0; padding: 0 }
.row-5 { margin: 0 -5px; }
.row-10 { margin: 10px -10px; }
.row-5 .box-block { margin: 0 0 10px 0; padding: 0 5px }
.row-10 .box-block { margin: 0 0 20px 0; padding: 0 10px }
.m-l-5 { margin-left: 5px !important }
.m-l-10 { margin-left: 10px !important }
.m-l-15 { margin-left: 15px !important }
.m-l-20 { margin-left: 20px !important }
.m-l-30 { margin-left: 30px !important }
.m-r-5 { margin-right: 5px !important }
.m-r-10 { margin-right: 10px !important }
.m-r-15 { margin-right: 15px !important }
.m-r-20 { margin-right: 20px !important }
.m-r-30 { margin-right: 30px !important }

.box-block {
	margin: 15px 0;
	height: 200px;
}
.box-block a {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	text-decoration: none;
	background-size: cover;
}
.box-block a .title {
	display: block;
	position: absolute;
	z-index: 10;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0,0.70);
	color: white;
	font-weight: bold;
	text-align: center;
	padding: 5px 10px;
	transition: all .4s ease;
	text-transform: uppercase;
}
.box-block a:hover .title {
	color: white;
	background: transparent;
	top: 10px;
	bottom: initial;
}
.box-block a .box-bg {
	display: block;
	width: 100%;
	height: 100%;
	padding: 50px 10px 20px 10px;
	color: white;
	opacity: 0;
	transition: all .4s ease;
}
.box-block a:hover .box-bg {
	opacity: 1;
}

#articles .article { height: 340px; overflow: hidden }
#articles .box-block { margin: 0 }
#articles h2 {
	font-size: 20px;
	text-align: center;
	margin: 10px 0;
}
.carousel-inner img { width: 100% }

#right_column {
	background-color: #eaeef5;
}

.meta {
	font-size: 90%;
	color: #bfbcb0;
	margin-bottom: 1em;
}
.meta .date {
	margin-right: 1em;
}
.meta a {
	color: #bfbcb0;
}
.single .meta > span, .single .meta > a {
	display: inline-block;
	padding: 5px 0;
	margin-right: 50px;
}

.navigation a {
	color: #bfbcb0;
}
.navigation .nav-previous { float : left; }
.navigation .nav-next { float : right; }
.says, .screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	/* many screen reader and browser combinations announce broken words as they would appear visually */
	word-wrap: normal !important;
}

.wpcf7 label { display: block }

a.more-link { float: right; text-align: right; font-weight: bold; text-decoration: underline }

.dlm-downloads li { display: block }
.dlm-downloads li div.download-post { min-height: 290px }
.dlm-downloads:after { clear: both }

.post .row .col-sm-3 { min-height: 160px }

@media print {
	.site-header .print { display: none }
	#toc_container { display: none }
	.lmm-panel-api, .leaflet-control, .gm-style-cc { display: none }
	footer { display: none }
}

#synbird {
	display: none;
	position: absolute;
	z-index: 10001;
	top: 20px;
	right: 15px;
	width: 400px;
	height: auto;
	padding: 10px;
	border: 10px solid white;
	background: white;
}
.synbird-link-container {
	float: right;
	margin-right: 30px !important;
}
#synbird-close {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 36px;
    height: 36px;
    z-index: 988040;
    cursor: pointer;
    display: block;
    background-image: url(https://www.ville-maurs.fr/wp-content/plugins/envira-gallery-lite/assets/css/images/envirabox_sprite.png)
}

#intramuros { clear: both }

#searchform input.form-control { max-width: 150px }
