/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body
{
	width: 100%;
	margin: 0;
	padding: 0;
	font-family: "Trebuchet MS", sans-serif;
	background: #fff5d5 url('../../img/background.jpg') top center no-repeat;
}

#page
{
	max-width: 1105px;
	margin: auto;
	margin-bottom: 1%;
	box-shadow: 0px 0px 5px #333;
}
#page header
{
	width: 100%;
	height: 274px;
	background: #fef3d0 url('../../img/header.png') no-repeat left center;
	background-size: 60.65% 100%;
}
	#page header .diaporama
	{
		width: 39.35%;
		height: 274px;
		float: right;
	}
#page nav.topbar
{
	width: auto;
	height: auto;
	background: #416217;
	text-align: center;
	line-height: 38px;
	font-size: 20px;
}
#page nav.topbar a
{
	display: inline-block;
	color: #fff;
	margin: 0 20px;
	text-decoration: none;
	text-shadow: 2px 2px 5px #555;
}
#page nav.topbar a:hover
{
	color: #fff;
	text-decoration: none;
	text-shadow: none;
}

.main
{
	background: rgba(255, 239, 188, 0.8);
	overflow: hidden;
	min-height: 500px;
}

.main nav.sidebar
{
	width: 240px;
	padding: 10px;
	float: left;
}
.main nav.sidebar ul
{
	margin: 0;
	padding: 0;
}
.main nav.sidebar ul:not(.sub) > li
{
	margin-top: 3px;
}
.main nav.sidebar ul:not(.sub) > li > a
{
	position: relative;
	display: inline-block;
	width: 220px;
	height: 70px;
	background: url('../../img/button.png') no-repeat;
	text-align: center;
	line-height: 81px;
	font-family: 'Trebuchet MS', sans-serif;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	text-decoration: none;
	padding-left: 11px;
	text-align: center;
	z-index: 999;
	overflow: hidden;
}
.main nav.sidebar ul > li > a:hover
{
	text-decoration: underline;
}
	.main nav.sidebar ul.sub
	{
		display: none;
		width: 164px;
		height: auto;
		margin-left: 21px;
		margin-top: -23px;
		padding-top: 25px;
		padding-left: 30px;
		padding-bottom: 10px;
		background: #5f8e23;
		border-radius: 10px;
		border: 2px outset #3c5916;
		list-style-type: disc;
		color: #fff;
	}
	.main nav.sidebar ul.sub li
	{
		margin: 5px 0px;
	}
	.main nav.sidebar ul.sub li a
	{
		font-weight: normal;
		font-size: 14px;
		color: #fff;
		text-decoration: none;
	}
	.main nav.sidebar ul.sub li a:hover
	{
		text-decoration: underline;
	}

.main section.content
{
	width: auto !important;
	margin-top: 35px;
	margin-left: 260px;
	margin-bottom: 20px;
}
.main section p
{
	
}

footer
{
	clear: both;
}


a
{
	color: #416217;
	text-decoration: none;
}
a:hover
{
	color: #5f8e23;
	text-decoration: underline;
}

.Titremenu {
	font-weight: bold;
	color:#FFF
}
.textecentre {
	color: #000;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	text-align: center;
	font-weight: normal;
}
.textecentremoyen {
	color: #000;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	text-align: center;
	font-weight: normal;
}
.textecentregros {
	color: #000;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 14px;
	text-align: center;
	font-weight: normal;
}

.nocat	{
	text-align:center;
}

.textegros {
	color: #000;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 14px;
	text-align: left;
	font-weight: normal;
}
.textegrosdroite {
	color: #000;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 14px;
	text-align: right;
	font-weight: normal;
}
.texte {
	color: #000;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	text-align: left;
	font-weight: normal;
}
.texteminimenu {
	color: #000;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 10px;
	text-align: center;
	font-weight: normal;
}

.textegrosmenu	{
	font: "Trebuchet MS", Arial, Helvetica, sans-serif;
	color:#000000;
	background-position:center;
	font-weight: bold;
	text-decoration: none;
	text-align:center
}

.textedroite {
	color: #000;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	text-align: right;
	font-weight: normal;
}
.textecentrevert {
	color: #416217;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	text-align: center;
	font-weight: normal;
}
.textecentremoyenvert {
	color: #416217;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 13px;
	text-align: center;
	font-weight: normal;
}
.textecentregrosvert {
	color: #416217;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 14px;
	text-align: center;
	font-weight: normal;
}
.textegrosvert {
	color: #416217;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 14px;
	text-align: left;
	font-weight: normal;
}
.textevert {
	color: #416217;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	text-align: justify;
	font-weight: normal;
}
.texteminimenuvert {
	color: #416217;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 10px;
	text-align: justify;
	font-weight: normal;
}
.texteminimenuvertcentre {
	color: #416217;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 10px;
	text-align: center;
	font-weight: normal;
}
.textedroitevert {
	color: #416217;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	text-align: right;
	font-weight: normal;
}
.TITREPAGEVERT {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 18px;
	font-weight:bold;
	text-align:center;
	text-decoration:underline;
	color: #416217;
}
.TITREPAGEGROSVERT {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 24px;
	font-weight:bold;
	text-align:center;
	text-decoration:underline;
	color: #416217;
}
.bouton2 {
	font-size:10px;
	color:#ffffff;
	font-weight:bold;
	text-decoration:none;
	text-align:center;
	}	
.TITREPAGE {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 18px;
	font-weight:bold;
	text-align:center;
	text-decoration:underline;
	color:#000;
}
.TITREPAGEGROS {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 24px;
	font-weight:bold;
	text-align:center;
	text-decoration:underline;
	color:#000;
}
.TITREPAGEGROSCADRE {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 20px;
	font-weight:bold;
	text-align:center;
	color:#000;
}
.IMPORTANT {
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #F00;
}
.texte .texte {
	text-align: justify;
}

.cat.status
{
	background:none;
	color: #fff;
	text-shadow:
		1px 1px 0 #000,
		-1px -1px 0 #000,  
		1px -1px 0 #000,
		-1px 1px 0 #000,
		1px 1px 0 #000;
	font-size:10px;
	text-align:center;
}

.main nav.sidebar .stat h4
{
	position: relative;
	display: inline-block;
	width: 220px;
	height: 70px;
	margin: 0;
	background: url('../../img/button.png') no-repeat;
	text-align: center;
	line-height: 81px;
	font-family: 'Trebuchet MS', sans-serif;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	text-decoration: none;
	padding-left: 11px;
	text-align: center;
	z-index: 999;
	overflow: hidden;
}
	.main nav.sidebar .stat>div
	{
		display: block;
		width: 195px;
		height: auto;
		margin-left: 21px;
		margin-top: -23px;
		padding-top: 25px;
		padding-bottom: 10px;
		background: #5f8e23;
		border-radius: 10px;
		border: 2px outset #3c5916;
		text-decoration: none;
		color: #fff;
		font-size: 13px;
		text-align: center;
	}
	.main nav.sidebar .stat>div h5
	{
		margin: 0 7px;
		font-size: 15px;
	}
	
p.cat.details 
{
	color: #416217;
}
p.cat.details b
{
	color: #000;
}

/* Display in column for cats' tribute */
.ui.grid > .three.wide.column {
	width: 128px;
	display : inline-block;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */
@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

}

/* ==========================================================================
   Responsive styles
   ========================================================================== */

@media screen and (max-width: 1105px){
	#page, .main{
		width: 100%;
	}

	.diaporama{
		display: none;
	}

	#page header{
		background-position: center;
		background-size: 100% 100%;
	}

	#page > .main > section.content{
		padding: 5px;
	}

	section.content > .ui.grid{
		text-align: center;
	}
}

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

	iframe > * {
		max-width: 100%;
	}

	table{
		width : 100% !important;
		padding: 0;
		margin: 0;
		table-layout: fixed;
		text-align: left;
		font-size: 14px;
	}

	table img{
		display: none;
	}

	table ul{
		list-style-type: none;
		padding: 10%;
		margin: 0;
		width: auto;
	}

	table ul li{
		width: auto;
	}

	table td{
		width: auto;
		padding: 0;
		word-wrap: break-word;
	}

	iframe{
		max-width: 100%;
	}

	#page > .main > #moreMenu{
		font-size: 16px;
	}

	#page > nav.topbar > a.verticalMenu {
		display: block;
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.main .topbar>ul{
		padding: 0;
		margin: 0;
		border-top: 1px solid #204005;
	}

	.main .topbar > ul > li > ul.sub{
		display : none;
		padding: 0;
		margin: 0;
		font-size: 16px;
	}

	.main .topbar > ul > li > ul.sub > li > a {
		border-bottom: 1px solid gray;
	}

	.main .topbar .stat{
		display: none;
	}

	.main section.content{
		margin: auto;
	}

	.main img {
		max-width : 100%;
	}
}

@media screen and (max-width: 480px){
	#page header{
		height: 137px;
	}
}

@media screen and (max-width: 400px) {
	.nouvelles-vies-form-container {
		width: auto !important;
	}
}

.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
     }
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */

.news-wrapper .news_site {

}
.news-wrapper .news_fb {
  
}
.news-wrapper {
    height: 595px;
    margin: 0 !important;
}
.news-wrapper .news {
    width: 50%;
    float: left;
    padding: 0 15px 15px 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;  
    margin: 0 !important;
}
@media screen and (max-width: 770px){ 
    .news-wrapper .news { width: 100%; }
}
.news-wrapper .news h4 {
    /*color: white;
    background: #416217;
    text-align: center;
    margin: 0 !important;
    padding: 10px;*/
    color: white;
    background: url('../../img/buttonnews_inner.png');
    text-align: center;
    margin: 0 !important;
    height: 58px;
    line-height: 60px;
    position: relative;
    border-radius: 15px;
    top: 10px;
}
.news-wrapper .news h4:before {
    content: " ";
    background: url('../../img/buttonnews_before.png') no-repeat;
    display: block;
    height: 70px;
    width: 55px;
    float: left;
    position: absolute;
    top: -12px;
    left: -21px;
}
.news-wrapper .news h4:after {
    content: " ";
    background: url('../../img/buttonnews_after.png') no-repeat;
    display: block;
    height: 70px;
    width: 25px;
    float: left;
    position: absolute;
    top: 0;
    right: 0;
}
.news-wrapper .news .news-content {
    padding: 10px;
    border: 1px solid #416217;
    height: 100%;
    margin: 0 !important;
}
.news-wrapper .news .oneNotif,.oneNotif {
    display: block;
    height: 120px;
    overflow: hidden;
    border-bottom: 1px solid #416217;
    padding: 10px 0;
 
}
.news-wrapper .news .oneNotif {
    clear: both;
}
.news-wrapper .news .oneNotif .ui.segment,.oneNotif .ui.segment {
    margin: 0;
    padding: 0;
    margin-right: 15px;
    float: left;
    width:120px;
    height:120px;
}
.news-wrapper .news .oneNotif p,.oneNotif p {
    margin: 0;
}
.news-wrapper .more-news {
    text-align: center;
    display: block;
    margin-top: 10px;
}
.news-wrapper .fbpicture {
    float: left;
    margin-right: 15px;
}
.selectnews select {
    margin: 0 10px;
}