
/* ---------------------------------------------------------------------- */
/* Globals */

@font-face {
    font-family: WorkSans;
    font-weight: 400;
    src: url(/squelettes/worksans/WorkSans-Regular.ttf);
}
@font-face {
    font-family: WorkSans;
    font-weight: 800;
    src: url(/squelettes/worksans/WorkSans-Bold.ttf);
}
@font-face {
    font-family: WorkSans;
    font-weight: 600;
    src: url(/squelettes/worksans/WorkSans-SemiBold.ttf);
}

html, body {
    min-height: 100%;
    font-family: WorkSans;
    margin: 0;
}
img {
    vertical-align: middle;
}

a:hover, a:focus, a:active {
      background-color: inherit;
      text-decoration: none;
}


.ui-datepicker-calendar .ui-state-highlight {
		     border: #999;
		     background: #FFEEE2;
}

/* ---------------------------------------------------------------------- */
/* header */

#head {        
    background: #D55D3B;
    text-align: center;
    margin: 0;
    padding: 2em 1em;
}
#logo {
    padding: 1em;
}


@media (min-width: 1000px) {
#head .btn {
    position: absolute;
    float: right;
    right: 2em;
}
#head #search {	
      top: 2em;
}
#head #propose {
    top: 6em;
}
}

@media (max-width: 1000px) {
#mobile {
    text-align: center;
}
#head .btn {
      display: inline-block;
}
}

#waitsearch {
	    display: none;
}
#search input.search {
    border: 0;
    padding: 0.1em;
    outline: none;
    margin: 0;
    width: 12em;
    font-weight: 600;
}
input.search::placeholder {
			  color: black;
}
input.search:hover::placeholder, input.search:focus::placeholder {
			  color: #ccc;
}
#search form {
	padding: 0.1em 0; 
	margin: 0;
}
#search input.search:focus, #search input.search:hover, #search input.search:active {
   border: 1px solid #ccc
}
#search input.srcbtn {
	vertical-align: bottom;
}

#head .btn {
    background: white;
    padding: 0.4em 0.4em 0.3em 1em;
    border-radius: 6px;
    margin-top: 1em;

}

#head .btn a {
    color: black; text-decoration: none;
    font-weight: 600;
}
#head .btn img {
    vertical-align: middle;
    padding-left: 8px;
    padding-bottom: 3px;
}



/* header : logo always, button on big screens */
.btnm {
    background: white;
    padding: 0.4em 0.4em 0.3em 1em;
    border-radius: 6px;
    margin-top: 1em;
    display: inline-block;
    margin-right: 1em;
}

.btnm a {
    color: black; text-decoration: none;
    font-weight: 600;
}
.btnm a:hover {
	   color: #555;
}
.btnm img {
    vertical-align: middle;
    padding-left: 8px;
    padding-bottom: 3px;
}

/* ---------------------------------------------------------------------- */
/* Top Banner */
#topbanner {
	   background: #FFEEE2;
	   padding: 1.6em 0;
	   width: 100%;
}

@media (min-width: 1000px) {
  #tbin {	
      width: 60%;
      margin: auto;
      font-size: 1.1em;
  }
}
@media (max-width: 1000px) {
  #tbin {	
      width: 100%;
      margin: auto;
  }
}

#topbannerlogo {
	       float: left;
	       padding: 0.5em 2em;
}
#topbanner h3 {
	   color: #D55D3B;
	   font-weight: normal;
	   font-size: 1.3em;
	   margin: 0.5em;
}
#topbanner p {
	   color: black;
	   font-weight: 300;
	   font-size: 1.1em;
    font-family: WorkSans;
    margin: 0.5em;

}
#topbanner a {
	   text-decoration: underline;
	   color: inherit;
}
#topbanner a:hover {
	   text-decoration: none;
	   color: #555;
}
#topbanner .share {
	   float: right;
	   vertical-align: middle;
	   padding: 0 2em 0 0;
}
.share.fr {
	  float: right;
}

/* ---------------------------------------------------------------------- */
/* The content (table) */

@media (max-width: 1000px) {
  #content {
	   background: white;
	   width: 95%;
	   margin: auto;
  } 
} 

@media (min-width: 1000px) {
  #content {
	   background: white;
	   width: 60%;
	   margin: auto;
  } 
} 


/* ---------------------------------------------------------------------- */
/* filter line */
#filterline {
	   min-height: 64px;
           font-size: 1.2em;
	   font-family: WorkSans;	    
	   border-bottom: 1px solid #999;
	   margin: 0 0 1em 3em;
}

.filter {
	position: relative;
	float: left; 
	border-right: 1px solid #999;
	margin: 0.7em 1em 0 0.5em;
	padding: 0.3em 1em 0.3em 0;
}
.last {
      border: 0;
}
.filter a {
	text-decoration: none;
	color: #D55D3B;
	font-weight: 400;
}
.filter a:hover {
	color: #FF9D8B;
}
.txt {	
	font-weight: 600;
}

/* ------------------------------ */
/* Les filtres sous-menu */


div#subf3 {
	width: 380px !important;
}

@media (max-width: 1000px) {
       div.submenu {	 
       width: 400px;
}
}
@media (min-width: 1000px) {
div.submenu {
 width: 500px;
}
}

div.submenu {
 display: none;
 position: absolute;
 left: -1em; top: -1em;
 height: auto;
 padding: 0.8em;
 margin: 0.4em 0;
 border: 1px solid #D55D3B;
 background: white;
 z-index: 4;
}

div.submenu a.elt {
	    display: block;
	    border-bottom: 1px solid #999;
	    font-size: 0.8em;
	    color: black;
	    padding: 0.3em;
	    margin: 0 2em;
}
div.submenu a.elt:hover {
	    color: #555;
}
div.submenu a.subh {
        display: block;
	text-decoration: none;
	color: #D55D3B;
	font-weight: 400;
	border: 0;
	margin-bottom: 1em;
}
a.actif {
	background: #FFEEE2;
}

/* ---------------------------------------------------------------------- */
/* the main table (accueil) */

.list h1 {
      font-size: 2em;
      color: #D55D3B;
      padding: 0.5em 0 0em 128px;
      margin: 0 0 -1.3em 0;
font-weight: 600;
    text-transform: capitalize;

}
.list h2 {
      font-size: 1em;
      padding: 3em 0 1em 128px;
      margin: 0;
font-weight: 600;
    text-transform: capitalize;
}

/* table.big: */ 
table.big tr.odd {
	  background: #FFEEE2;
}
table.big tr.even {
	  background: #FFFFFF;
}

table.big td, table.big {
	  border-collapse: collapse;
	  padding: 0; margin: 0;
	  border: 0;
}

table.big tr.h {
	  background: white;
}

table.big td.c1 {
  padding-right: 2em;
  background: white;
}

table.big td.c2 {
  padding: 0.6em 1.5em;
}

table.big td.c3 {
  width: 60%;
  overflow: hidden;
  padding: 0.3em;
}
td.c3 small {
      color: #999;
}
table.big td.c4 {
  width: 200px; 
  overflow: hidden;
  font-weight: 600;
  text-align: right;
}

table.big td.c5 {
  width; 48px;
  padding: 0.5em;	 
}
table.big a {
	  text-decoration: none;
	  color: inherit;
}
table.big a:hover {
	  color: #777;
}

/* ---------------------------------------------------------------------- */
/* Center text for templated pages & text pages */

div.centertext {
	       padding: 2em 0.2em;
}

/* ---------------------------------------------------------------------- */
/* The footer and its elements : */

footer {
    background: black;
    padding: 2em 1em;
    text-align: center;
    margin: 3em 0 0 0 ;
}

#logo-small {
    padding: 1em 0 2em 0;
}

/* Social Network links */
#rs a {
    display: inline-block;
    margin: 1em;
}

/* horizontal menu links */
#footlink {
    color: white;
    font-weight: bold;
    margin: 2em;
}
#footlink a {
    margin: 0.2em 2em;
    text-decoration: none;
    color: white;
    display: inline-block;
}

/* ---------------------------------------------------------------------- */
/* designer's credits */
#credits  {
    color: #555;
    font-size: 0.7em;
}
 #credits a {
        text-decoration: none;
    color: #555;
}

/* -------------------------------------------------------------------------------- */
/* ENVOI FORM */


#description {
	     height: 450px;
}
label {
      margin-top: 1.6rem;
      margin-bottom: 0.6rem;
      font-weight: bold;
}
label.form-check-label {
      margin-top: 0.6rem;
	  font-weight: normal;
}
label.nopad {
      margin-top: 0.6rem;
}
div.propose {
	    padding-top: 1rem;
}

button#proposerbtn {
		   padding: 0.8em 1em;
}

span.mandatory {
  color: red;
  vertical-align: super;
  font-size: 0.7em;
}
input.confidential {
		   background: #FFF5F5;
}


/* DD lieu */
#lieuselect {
background: white;
 float: left;
 width: 100%;
/*  height: 30px; */
max-height: 200px; overflow: auto;
 cursor: pointer;
 border-radius: 5px;
 margin-top: 10px;
 z-index: 100;
}
#lieuselect.open {
 border-radius: 5px 5px 0 0;
}
#lieuselect .option {	border: 1px solid #E0E0FF; }
#lieuselect .option {
  display: none;
  line-height: 1.1em;
  padding: 4px 8px;
  border-top: none;
  width: 100%;
  z-index: 100;
}
/* #lieuselect .option.shown:hover:first-line { color: #fff; } */
#lieuselect .shown { display: block; }
#lieuselect .option:hover {
   background: #E0E0FF;
   background: linear-gradient(#E0E0FF, #F0F0FF);
}
#lieuselect .option.shown:last-child { border-radius: 0 0 5px 5px }
#selected {
   border: 1px solid #ced4da;
   border-radius: 0.25rem;
   padding: 4px;
}

/* upload form */
#upwait {
	   display: none;
}
img.icon {
	 width: 24px; height: 24px;
}
div.attach {
	   float: left;
	   padding: 8px; 
	   border: 1px solid #ccc;
	   font-size: 0.7em;
	   width: 20em; overflow: hidden;
	   height: 92px;
}
div.attach img {
	  float: left; 
	  padding-right: 6px;
}
input.hidden {
	     display: none;
}
.dup {
     padding-top: 1em;
}

/* ------------------------------------------------------------ */
/* PAGEs */

div.page {
 padding: 2em 0;
}

.lieuart {
	padding: 1em;
	border: 1px solid #999;
	margin: 1em;
	float: right;
	width: 40%; /* TODO: change that on mobile */
	 clear: both;
}
.lieuart p {
	 padding: 0;	
	 margin: 0.8em 0;
}
div.page h3 {
	 font-size: 1.4em;
	 
}

.documents {
	padding: 1em;
	border: 1px solid #999;
	margin: 1em;
	float: right;
	width: 40%; /* TODO: change that on mobile */
	clear: both;
	word-break: break-all;    
}
.documents p {
	 padding: 0;	
	 margin: 0.8em 0;
}
.documents .spip_logo {
	   float: left;
}

div.page a {
	word-break: break-all;
}


/* ------------------------------------------------------------ */
/* Share me links */


div#shared {
	  position: absolute;
	  display: none;
	  background: black;
	  padding: 0.4em;
	  color: white;
}

.mediabox img {
	  border: 2px solid white;
}
.mediabox img:hover {
	  border: 2px solid #D55D3B;
}
	
p.pagination {
	     padding: 2em 0 1em 5em;
}
p.pagination a {
	     padding: 0 2em;
	     font-size: 1.2em;
}

/* ------------------------------------------------------------ */
/* formulaire en 3 couleurs : */

div.color1 {
	   background: #ffe6d0;
}

div.color2 {
	   background: #f8f8f8;
}

div.color3 {
	   background: #ffe6d0;
}

/* ------------------------------------------------------------ */
/* add to calendar button override */

.atcb_button {

	     -webkit-box-shadow: none;
	     box-shadow: none;
	     padding: 6px 10px;
	     border-radius: 0;
}
