/* COMMUN */
html {
  height: 100%;
}

body {
  min-height: 100%;
}

*,*:before,*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: 400;
    font: inherit;
    vertical-align: baseline;
    font-family: 'Open Sans', sans-serif;
}



input[type="checkbox"],input[type="radio"]
{
	margin-left:10px;
}

label span
{
	margin-left:5px;
}

h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

table {
    border-collapse: collapse;
    border-spacing: 0
}

input[type="file"] {
  max-width: 100%;
}

#wrapper, #menu, #content {
  min-height: 100vh;
}
#wrapper:before {
  content: '';
  display: block;
}

.error-txt, .error-login, .success-login {
  font-weight: bold;
  font-size: small;
  color: #F00;
  margin: 0.5em 0px;
  padding: 0.1em;
}
.error-login {
  color: #961B2F;
}
.success-login {
  background-color: #5CB85C;
  color: #FFF;
  padding: 0.3em;
}

/* SECTIONS */
/* Login Page */
.login {
  background-image: linear-gradient(to bottom, rgba(110, 147, 163, 0.3), rgba(187, 132, 96, 0.35)), url("../images/horse_login_page_2_w1920.jpg");
  /*background-image: url("../images/horse_login_page_2_w1920.jpg");*/
}

.passforgot {
  background-image: linear-gradient(to bottom, rgba(110, 147, 163, 0.3), rgba(187, 132, 96, 0.35)), url("../images/passforgot_page_2_w1920.jpg");
}

.passReinit {
  background-image: url("../images/reinit_page_w1920.jpg");
}

.login, .passforgot, .passReinit {
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
  background-position: center, center;
  -webkit-background-size: cover;
  background-size: cover;
}

.loginContainer {
  display: flex;
  justify-content: center;
  align-items: center;
}

#loginMain {
  background: rgba(200,200,200,0.7);
  padding: 1.8em 2em;
  /*box-shadow: 0 0 5px #BBB;*/
  max-width: 315px;
  /*border: 1px solid #DDD;*/
}

#loginMain header, #passForgotMain header, #passReinitMain header {
  margin: 1em;
  margin-top: 0px;
  text-align: center;
}

#passReset, #backHome {
  margin-top: 0.6em;
  font-size: small;
}

#passReset a, #backHome a {
  color: #000;
}

#passForgotMain, #passReinitMain {
  background: rgba(200,200,200,0.55);
  padding: 1.8em 2em;
  border: 1px solid #DDD;
}

#passReinitMain {
  max-width: 400px;
}

#passForgotMain button, #passForgotMain input, #passReinitMain button, #passReinitMain input {
  border-radius: 0px;
}

.avatar {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    /*font-size: 100px;*/
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

/* Custom Checkbox */
.customCheckBox[type="checkbox"]:not(:checked), .customCheckBox[type="checkbox"]:checked {
  position: absolute;
  left: -9999px;
}
.customCheckBox[type="checkbox"]:not(:checked) + label, .customCheckBox[type="checkbox"]:checked + label {
  position: relative;
  padding-left: 25px;
  cursor: pointer;
}

.customCheckBox[type="checkbox"]:not(:checked) + label:before, .customCheckBox[type="checkbox"]:checked + label:before {
  content: '';
  position: absolute;
  left:0; top: 2px;
  width: 17px; height: 17px;
  border: 1px solid #aaa;
  background: #f8f8f8;
  border-radius: 3px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.3);
}

.customCheckBox[type="checkbox"]:not(:checked) + label:after, .customCheckBox[type="checkbox"]:checked + label:after {
  /*content: '✔';*/
  content: 'X';
  position: absolute;
  top: 3px; left: 2.5px;
  font-size: 18px;
  font-weight: bold;
  line-height: 0.8;
  color: #09ad7e;
  transition: all .2s;
}

.customCheckBox[type="checkbox"]:not(:checked) + label:after {
  opacity: 0;
  transform: scale(0);
}
.customCheckBox[type="checkbox"]:checked + label:after {
  opacity: 1;
  transform: scale(1);
}

.customCheckBox[type="checkbox"]:disabled:not(:checked) + label:before, .customCheckBox[type="checkbox"]:disabled:checked + label:before {
  box-shadow: none;
  border-color: #bbb;
  background-color: #ddd;
}

.customCheckBox[type="checkbox"]:disabled:checked + label:after {
  color: #999;
}

.customCheckBox[type="checkbox"]:disabled + label {
  color: #aaa;
}


.customCheckBox[type="checkbox"]:checked:focus + label:before,
.customCheckBox[type="checkbox"]:not(:checked):focus + label:before {
  border: 1px dotted blue;
}

/* hover style just for information */
.customCheckBox[type="checkbox"] + label:hover:before {
  border: 1px solid #4778d9!important;
}

/*------- MENU (CONNECTE) --------------------------------------------------------*/
#menu {
  position: fixed;
}

#menu, .navbar-default {
  background-color: #751213;
  padding: 0px;
}

#menu * {
  color: #FFF;
  text-align: center;
}

#menu ul {
  margin-top: 2em;
  list-style-type: none;
}

#menu ul li {
  border-bottom: 1px solid #FFF;
}

#menu ul li:nth-child(1) {
  border-top: 1px solid #FFF;
}

#menu ul li > a {
  text-decoration: none;
  display: block;
  padding: 11px 0px;
  transition: all 0.1s ease-in-out;
}

#menu ul li > a:hover {
  background-color: #AB7172;
}

#menu ul li > a.active {
  background-color: #FFF;
}

#menu ul li > a.active, #menu ul li > a.active i {
  color: #751213;
}

#logo {
  padding-left: 15px;
  padding-right: 15px;
  height: 100px;
}

#logo .bg {
  height: 100%;
  background: url(../images/logo_fences_blanc.png) no-repeat;
  background-size: contain;
  background-position: center;
}

/*------- MENU MOBILE --------------------------------------------------------*/
.navbar-default {
  border-color: #751213;
}

.navbar-default .navbar-brand, .navbar-default .navbar-brand:focus, .navbar-default .navbar-brand:hover {
  color: #FFF;
}

.navbar-default .navbar-nav>li>a, .navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
  color: #FFF;
}

.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
  background-color: #AB7172;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover {
  color: #FFF;
  background-color: #AB7172;
}

.navbar-default .navbar-toggle .icon-bar {
  background-color: #FFF;
}

.navbar-default .navbar-toggle {
  transition: background-color 0.1s ease-in-out;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
  background-color: #FFF;
}

.navbar-default .navbar-toggle:focus .icon-bar, .navbar-default .navbar-toggle:hover .icon-bar {
  background-color: #751213;
}


/*------- CONTENU --------------------------------------------------------*/
#content {
  padding: 1.5em;
  margin-left: 16.6666666%;
}

@media (max-width: 992px) {
    #content {
        padding-top: 60px;
        margin-left: 0%;
    }
}

/*------- LOG -------------------------------------------------------------*/
.headListeNiveaux {
  margin-top: 20px;
}

.headListeNiveaux ul {
  list-style-type: none;
}

.headListeNiveaux ul li {
  float: left;
  margin-right: 1em;
}

.headListeNiveaux ul li a {
  text-decoration: none;
}

.logList {
  margin-top: 20px;
}

.logList .row {
  border-bottom: 1px solid black;
  padding: 2px;
}

/*------- FEUILLE DE ROUTE -------------------------------------------------------------*/
.formTourFiltre {
  margin-bottom: 15px;
}

/*------- GMAPS -------------------------------------------------------------*/
#map_canvas { height: 90vh; }

/*------- LISTE CHEVAUX ETAPE -------------------------------------------------------------*/
.listeDiv .row {
  padding: 0.8em;
  border-bottom: 1px solid black;
}

.listeDiv .row:nth-child(1) {
  font-weight: 700;
  background-color: #751213;
  color: #FFF;
  border-left: 1px solid #751213;
  border-right: 1px solid #751213;
}

.listeDiv .row:nth-child(n+2) {
  transition: all 0.1s ease-in-out;
  border-left: 1px solid black;
  border-right: 1px solid black;
  cursor: pointer;
}

.listeDiv .row:nth-child(n+2):hover {
  background-color: #D0D8FF;
  font-weight: 600;
}

.tourneeLieu {
  margin-bottom: 1em;
}

/*------- FICHE CHEVAL -----------------------------------------------------------------*/
.infosRecord {
  margin-top: 1em;
  margin-bottom: 1.3em;
}

.infosRecord .row {

}

.infosRecord .row div {
  padding: 0.5em;
}

.infosRecord .row div:nth-child(1) {
  background-color: #751213;
  color: #FFF;
  border-bottom: 1px solid #FFF;
}

.infosRecord .row div:nth-child(2) {
  font-weight: 600;
  border-bottom: 1px solid black;
}

.pedigree {
  width: 60%;
}
@media (max-width: 992px) {
  .pedigree {
    width: 100%;
  }
}

.entry::before {
  content: "-";
}

.chevalContact {
  margin-bottom: 1.3em;
}

.listeFichesTournee {
  width: 16.6666667%;
}
@media (max-width: 992px) {
  .listeFichesTournee {
    width: 100%;
  }
}

.btnAccessCheval {
  margin-bottom: 1em;
}

.btnAccessCheval a {
  margin-top: 0.7em;
}

/*------- GED LISTE DOCS -----------------------------------------------------------------*/
.listeDocsGed {
  margin-top: 1.2em;
}

h3.titreUploadForm {
  margin-top: 1.2em;
}

.uploadDocGed {
  padding: 1em;
  background-color: #EEE;
  border-radius: 4px;
}

.uploadDocGed * {
  margin-top: 0.3em;
  margin-bottom: 0.3em;
}

.uploadDocGed h5 {
  font-style: italic;
}

.commentaireGed {
  width: 50%;
}

@media (max-width: 992px) {
  .commentaireGed {
    width: 80%;
  }

  .uploadDocGed select {
    width: 95%;
  }
}

.listeTypeDocGed {
  margin-bottom: 0.3em;
}

.listeTypeDocGed .titre, .bilanRadio .titre, .ficheTournee .titre, .formExamInit .titre {
  font-size: large;
  color: #FFF;
  background-color: #751213;
  padding: 0.5em;
}

.listeElemGed {
  padding-top: 0.4em;
  padding-bottom: 0.4em;
  margin-left: 0px;
  margin-right: 0px;
  margin-bottom: 1em;
  background-color: #E2E5FB;
  border: 1px solid #751213;
}

.elemGed {
  margin-top: 0.4em;
  margin-bottom: 0.4em;
  text-align: center;
}

.elemGed a {
  color: #000;
}

.btnGedSuppr {
  display: inline-block;
  color: #CA0000 !important;
  font-size: small;
}

.btnConfirmSupprGed {
  text-align: center !important;
}

.btnConfirmSupprGed button {
  border-radius: 0px;
}

.imgGed {
  max-height: 250px;
  margin: auto;
}

#clichesList {
  margin-top: 1em;
  margin-bottom: 1em;
  font-size: small;
}

#clichesList p {
  display: none;
}

/*------- BILAN RADIO -----------------------------------------------------------------*/
.bilanRadio {
  margin-top: 0.5em;
}

.bilanRadio .row {
  border: 1px solid #751213;
}

.bilanResult div {
  padding-left: 0px;
  padding-right: 0px;
}

.bilanResult .img-responsive {
  margin: auto;
}

.zoomPhoto {
  transition: opacity 0.2s ease-in-out;
}

.zoomPhoto:hover {
  opacity: 0.5;
  cursor: pointer;
}

.bilanRadio textarea, .formExamInit textarea {
  width: 90%;
}

.btnBilanRadio, .btnExam {
  margin-top: 1em;
}

.btnBilanRadio a, .btnBilanRadio button, .btnExam a, .btnExam button {
  margin-left: 1em;
  margin-top: 1.2em;
  border-radius: 0px;
}

.rating {
  font-size: large;
}

/*------- EXAMEN INITIAL -----------------------------------------------------------------*/
.formExamInit .critereNote {
  margin: 1em 0px;
  page-break-inside: avoid;
}

.formExamInit input[type="radio"], .formExamInit label + input[type="text"] {
  margin-left: 1.8em;
}
.formExamInit input[type="radio"]:checked + span {
  font-weight: bold;
}

.formExamInit label {
  white-space: nowrap;
}

.formExamInit div.intituleCritere {
  white-space: nowrap;
}

/*------- FICHE TOURNEE -----------------------------------------------------------------*/

.ficheTournee  .titre{
  margin-top: 1.2em;
  margin-bottom: 0.3em;
}

.ficheTournee label{
  margin-right: 1em;
  margin-left: 1em;
}

.ficheTourCritere {
	display : table;
	table-layout: fixed;
}

.ficheTourCritere  .libelleMin{
	display : table-cell;
	width: 6em;
	text-align: right;
}
.ficheTourCritere .valeur {
	display:table-cell;
	width: 2em;
	text-align: center;
}
.ficheTourCritere  .libelleMax{
	display : table-cell;
	text-align: left;
}


.print .entete{
  padding: 0 0 1em 0;
}

.print label{
  margin-right: 1em;
  margin-left: 1em;
}

.print{
	font-size:small;
	margin: 5em;
}
.print .titre{
	margin-top: 0.2em;
	font-size:small;
	background-color:#EFEFEF;
	font-weight: bold;
	color: black;
}

.print hr{
	border: solid 0.5px grey;
	margin-top: 0 1em 0 1em;
	margin-bottom: 0.4em;
}

/* Multi-upload */

.progress-bar-container {
  height: 20px;
  border: 1px solid black;
}

ul#file-list {
  list-style-type: none;
}

ul#file-list li {
  padding-bottom: 24px;
}

.fileInfoSelect {
  /*height: 33px;*/
}

.fileInfoSelect div {
  /*float: left;*/
  margin-right: 8px;
}