/*** MAIN ***/

html {
    height: 100%;
    overflow-y: scroll;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: #F7F7F7;
    color: #777777;
    font-family: 'Open Sans', sans-serif;
}

h1 {
    margin: 40px 0;
}

header {
    width: 1200px;
    height: 80px;
    margin: 0 auto;
    padding: 30px 0;
}
select,
input[type="date"],
input[type="text"],
input[type="submit"] {
    display: inline-block;
    width: 235px;
    height: 35px;
    padding: 0px 20px;
    border: 1px #DADADA solid;
    border-radius: 3px;
    outline: none;
    margin-bottom: 10px;
}

a,
input[type="date"] {
    outline: none;
}

table.ui-datepicker-calendar tr {
    background: none;
}
table.ui-datepicker-calendar th {
    background: none;
    color: #777777;
}
table.ui-datepicker-calendar tr:nth-child(2n) {
    background: none;
}

.alertBox {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    background: #e74c3c;
    color: #ffffff;
    line-height: 30px;
    padding: 0 10px;
    font-size: 14px;
}

.center {
    text-align: center;
}

i.fa {
    vertical-align: middle;
    margin: 0 3px;
}

img.returnHome {
    display: inline-grid;
    width: 210px;
    position: absolute;
    left: 50%;
    margin-left: -105px;
}

p.options {
    float: right;
    margin-top: -50px;
    cursor: pointer;
}
p.options a {
    text-decoration: none;
    color: inherit;
}


div.content {
    position: relative;
    width: 1200px;
    margin: 0 auto;
    padding-bottom: 50px;
}

/*** MENU ***/

ul.menu {
    display: table;
    width: 1200px;
    padding: 0;
    margin: 0 auto 60px auto;
}
ul.menu li {
    display: table-cell;
    position: relative;
}
ul.menu li select {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}
ul.menu a {
    position: relative;
    display: block;
    padding: 10px 20px;
    margin: 0;
    border: 1px solid #F7F7F7;
    background: #F0F0F0;
    color: #777777;
    text-align: center;
    text-decoration: none;
    z-index: 0;
}
ul.menu a:hover + ul {
    visibility: visible;
}
ul.menu ul {
    visibility: hidden;
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: 99999;
}
ul.menu ul:hover {
    visibility: visible;
}
ul.menu ul li {
    display: block;
}
ul.menu ul li a {
    padding: 10px 50px 10px 20px;
    text-align: left;
    background: url(../img/arrow-menu.png) #F0F0F0 calc(100% - 10px) center no-repeat;
}

/*** LOGIN ***/

div.content.login {
    position: absolute;
    height: 100%;
    width: 100%;
    padding: 0;
    background: url(../img/backgroundLogin.jpg) #F7F7F7 50px 0 no-repeat;
    background-size: auto 100%;
}

div.content.login form {
    position: absolute;
    width: 100%;
    top: 30%;
    text-align: center;
}

div.content.login form input {
    display: block;
    width: 500px;
    height: 50px;
    margin: 10px auto;
    padding: 0 20px;
    border: 1px #DADADA solid;
    border-radius: 3px;
}

div.content.login form input.submit {
    width: 542px;
    cursor: pointer;
    text-transform: uppercase;
    color: #fff;
    background: #009fe3;
}

div.content.login form input[type='checkbox'] {
    width: auto;
    height: auto;
    display: inline-block;
    margin: 10px;
    vertical-align: -2px;
}

div.content.login form img {
    margin-bottom: 20px;
}

/*** HEADER ***/

p.userLogged {
    margin-left: 110px;
    top: 30px;
    position: absolute;
    float: left;
    margin-top: 20px;
    text-transform: uppercase;
}
p.userLogged span {
    display: block;
    font-size: 20px;
    font-weight: 700;
}

a.logout {
    float: right;
    margin-top: 30px;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
}

#logoHeader {
    height: 90px;
    width: 90px;
}

/*** HOME ***/

table  {
    width: 100%;
    margin: -1px;
    font-size: 14px;
}
table th {
    background: #009EE5;
    color: #FFFFFF;
    font-weight: normal;
}
table th, table td {
    padding: 8px 20px;
    position: relative;
}
table tr {
    background: #F0F0F0;
}
table tr:nth-child(2n) {
    background: #E0E0E0;
}
table tr.synthesis:nth-child(2n) {
    background: #FFFFFF;
}
table a {
    color: #777777;
}
table i {
    cursor: pointer;
}
table.planning th:first-child,
table.selection th:first-child,
table.planning td:first-child,
table.selection td:first-child {
    display: none;
}

.fa-circle.red {
    color: #e74c3c;
}
.fa-circle.orange {
    color: #e67e22;
}
.fa-circle.green {
    color: #2ecc71;
}

.fa-trash.black {
    color: #2c3e50;
}
.fa-trash.yellow {
    color: #f1c40f;
}
.fa-trash.green {
    color: #27ae60;
}
.fa-trash.blue {
    color: #3498db;
}

table.containers tr {
    cursor: pointer;
}

/* Pagger */

p.pagger {
    text-align: center;
    margin: 30px 0;
}
p.pagger a {
    text-decoration: none;
    display: inline-block;
    margin: 0 5px;
    color: #777777;
}
p.pagger a.current {
    color: #009EE5;
    font-size: 30px;
    vertical-align: -4px;
}

/* Maps */

#mapContainer {
    position: relative;
    width: 100%;
    height: 500px;
    margin-bottom: 30px;
    margin-top: 105px;
}

 #map{
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
} 
#infoContainers{
    width: 100%;
    height: 500px;
    position: absolute;
    z-index: 1;
    padding: 50px;
    box-sizing: border-box;
    background-color: #ffffff;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.2s linear;
}
#infoContainers.visible{
    visibility: visible;
    opacity: 1;
}
#closeTableMap{
    position: absolute;
    top: 15px;
    right: 16px;
    font-size: 29px;
    cursor: pointer;  
}
#legendMap {
    width: 400px;
    right: 0;
    position: absolute;
    top: -75px;
    background-color: #ffffff;
    padding-bottom: 6px;
    text-align: center;
    border-radius: 1px;
    box-shadow: 3px 3px 6px 0px #dddddd;
    font-size: 25px;
}

#status5:hover {
    opacity: 1;
}
#status4:hover {
    opacity: 1;
}
#status3:hover {
    opacity: 1;
}
#status2:hover {
    opacity: 1;
}
#status1:hover {
    opacity: 1;
}
#status0:hover {
    opacity: 1;
}

#noContainerMessage{
    text-align: center;
    color: #b12c2c;
    display: none;
    font-size: 28px;
    position: absolute;
    top: 200px;
    right: 380px;
    z-index: 2;
    display: block;
    padding: 21px;
    box-sizing: border-box;
    background-color: #FFFFFF;
    box-shadow: 3px 3px 6px 0px #dddddd;
}

.faLegend{
    cursor: pointer;
}

#undoFilter{
    cursor: pointer;
    display: none;
}

/* Filter */

div.containersAdd,
div.usersAdd,
div.problemsAdd,
div.problemsFilter,
div.planningFilter {
    position: relative;
    padding: 30px 30px 30px 30px;
    margin-bottom: 30px;
    background: #F0F0F0;
}
div.containersFilter{
    position: relative;
    padding: 30px 30px 0px 30px;
    margin-bottom: 30px;
    background: #F0F0F0;
}
div.containersFilter {
    display: none;
}
div.planningFilter div,
div.containersFilter div {
    display: inline-block;
    vertical-align: middle;
}
div.containersFilter div {
    margin: 0 20px 30px 0;
}
div.planningFilter div > input,
div.containersFilter div > input {
    vertical-align: middle;
    margin: 0 5px 0 0;
}
div.planningFilter label > input {
    margin: 0 15px;
    width: 120px;
    vertical-align: middle;
}
div.planningFilter div {
    margin-right: 40px;
}
div.containersFilter div > input,
div.planningFilter div > input {
    margin: 0 8px;
    width: 140px;
    vertical-align: middle;
}
div.containersFilter input[type='checkbox'],
div.planningFilter input[type='checkbox'] {
    width: auto;
}
div.containersAdd input.submit,
div.planningFilter input.submit,
div.containersFilter input.submit {
    width: 120px;
    position: absolute;
    right: 30px;
    bottom: 20px;
    background: #009EE5;
    border: none;
    color: #FFFFFF;
    text-transform: uppercase;
    cursor: pointer;
}
div.planningFilter input.submit {
    position: absolute;
    top: 30px;
    right: 30px;
}
div.problemsFilter select {
    margin-left: 12px;
}
div.problemsAdd {
    margin-top: 30px;
}
div.usersAdd{
    margin-top: 30px;
    width: 50%;
}
div.problemsAdd select {
    height: 37px;
}
div.problemsAdd * {
    margin: 0 10px
}
div.usersAdd input.submit,
div.problemsAdd input.submit {
    background: #009EE5;
    border: none;
    color: #FFFFFF;
    text-transform: uppercase;
    cursor: pointer;
    height: 35px;
}
span.br {
    display: block;
    width: 100%;
    border-top: 1px rgb(224, 224, 224) solid;
    position: relative;
    margin-bottom: 30px;
}
span.br:before {
    content: "TEMPOREL";
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: rgb(224, 224, 224);
}
span.br:after {
    content: "MULTI-CRITÈRES";
    position: absolute;
    bottom: -28px;
    right: 10px;
    color: rgb(224, 224, 224);
}
input[type='date']:before {
    content: attr(placeholder);
    color: #aaa;
    margin-right: 10px; 
}
input[type='date']:focus:before, input[type='date']:valid:before {
    content: '';
}
div.containersFilter select {
    width: 184px;
    height: 40px;
    margin: 0 0 0 7px;
}
select[disabled] {
    background-color: #EBEBE4;
    border-color: #DADADA;
}
div.containersFilter div.status {
    margin: 0 20px 0 0;
}
ul.menu a.filter span {
    font-style: italic;
}
div.containersFilter select.autoCompleteContainer {
    position: absolute;
    top: 128px;
    right: 190px;
    width: 460px;
    height: 175px;
    background: #F7F7F7;
    border-radius: 3px;
    padding: 0;
}

/*** Planning ***/

table.planning {
    margin-bottom: 30px;
}

div.loadAjax h2 span {
    outline: none;
}
input.updateInterventions {
    background: #009EE5;
    border: none;
    color: #FFFFFF;
    text-transform: uppercase;
    cursor: pointer;
}

/*** Planning Maker ***/

input.searchContainer {
    padding: 0;
    width: 295px;
    height: 33px;
    text-align: center;
    margin-left: 8px;
}
input.submitToPlan {
    width: 280px;
    height: 35px;
    background: #009EE5;
    border: none;
    color: #FFFFFF;
    text-transform: uppercase;
    cursor: pointer;
    margin-left: 8px;
}
table.prePlanning {
    padding: 0;
    margin: 20px 0 0 0;
    width: 100%;
    font-size: 14px;
}
table.listSearchContainer {
    padding: 0;
    margin: 10px 0;
    width: 100%;
    font-size: 14px;
}
table.prePlanning tr,
table.listSearchContainer tr {
    padding: 10px 20px;
    list-style: none;
    cursor: pointer;
    position: relative;
}
table.listSearchContainer tr:nth-child(2n-1) {
    background: #F0F0F0;
}
table.listSearchContainer tr.planned {
    background: #e74c3c;
    color: #ffffff;
}
table.listSearchContainer tr.washed {
    background: #009EE5;
    color: #ffffff;
}
table.prePlanning tr:nth-child(2n-1) {
    background: #F7F7F7;
}
table.prePlanning td,
table.listSearchContainer td {
    padding: 8px;
}
table.prePlanning tr td:first-child:before {
    content: "X";
    display: none;
    position: absolute;
    width: 21px;
    height: 100%;
    top: 0;
    left: -21px;
    color: white;
    line-height: 33px;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    background: #777777;
}
table.prePlanning tr:hover td:first-child:before {
    display: block;
}
div.prePlanning {
    width: 585px;
    padding: 20px;
    background: rgb(240, 240, 240);
    border-radius: 5px;
    float: left;
    max-height: calc(100% - 80px);
    overflow-y: auto;
}
div.searchPlanning {
    width: 560px;
    vertical-align: top;
    float: right;
}
div.makeFixed {
    position: fixed;
    top: 20px;
}

body.dragging, body.dragging * {
    cursor: move !important;
}

.dragged {
    position: absolute;
    opacity: 0.5;
    z-index: 2000;
}

tr.placeholder {
    position: relative;
}
tr.placeholder:before {
    content: "";
    position: absolute;
    width: 580px;
    border-bottom: 1px #009EE5 solid;
}

/*** Containers Manage ***/

div.containersAdd input,
div.containersAdd select {
    display: inline-block;
    margin: 0 10px 0 0;
    width: 300px;
}
div.containersAdd input:last-child {
    margin-bottom: 0;
}
div.containersAdd select.id_client {
    width: 498px;
}
div.containersAdd span,
div.containersAdd input.submit {
    background: #009EE5;
    border: none;
    color: #FFFFFF;
    text-transform: uppercase;
    cursor: pointer;
}
div.containersAdd span {
    display: inline-block;
    line-height: 34px;
    padding: 0 30px;
    border-radius: 3px;
}

#hideTable {
    padding: 0px 40px;
    height: 35px;
    margin-bottom: 20px;
    background: #009EE5;
    border: none;
    color: #FFFFFF;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 3px;
    outline: none;
}

/*** Users ***/

input.updateUsers {
    background: #009EE5;
    border: none;
    color: #FFFFFF;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 30px;
}

.chooseLogo {
    background: #909090;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    width: 100%;
    height: 35px;
    padding-top: 8px;
    border-radius: 3px;
    outline: none;
    box-sizing: border-box;
    margin-bottom: 10px;
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
}

.inputLogo{
    display: none !important;
}

#btnAddEmail {
    position: absolute;
    right: 230px;
    background: #009EE5;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    border-radius: 5px;
    padding: 7px 7px;
    top: 75px;
    height: 21px;
    width: 20px;
    cursor: pointer;

}

#email{
    display: inline-block;
    width: 100%;
    height: 74px;
    padding: 7px 20px;
    border: 1px #DADADA solid;
    border-radius: 3px;
    outline: none;
    margin-bottom: 10px;
    box-sizing: border-box;
    line-height: 20px;
}

div.usersAdd input,div.usersAdd select{
    display: inline-block;
    width: 100%;
    height: 35px;
    padding: 0px 20px;
    border: 1px #DADADA solid;
    border-radius: 3px;
    outline: none;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.changeLogo{
    font-size: 25px;
    position: absolute;
    right: 13px;
    cursor: pointer;
}

.logoClients{
    height: 32px;
    width: 32px;
}

td.logo{
    width: 80px;
}

/*** Container Details ***/

div.bloc {
    background: #ffffff;
    height: 540px;
    display: inline-block;
    vertical-align: top;
}
div.bloc b {
    display: block;
    width: 380px;
    line-height: 30px;
}
div.bloc b span {
    float: right;
    font-weight: normal;
    width: 200px;
}
div.bloc h2 {
    text-transform: uppercase;
    font-size: 20px;
    padding: 30px 0;
    margin: 0;
}
div.bloc.left {
    padding: 0 30px 30px 30px;
    width: 380px;
}
div.bloc.middle {
    position: relative;
    width: 730px;
    margin-left: 25px;
    background: none;
}
div.bloc.middle div.photos {
    width: 350px;
    float: left;
    border: 1px #FFFFFF solid;
    background: #ffffff;
    text-align: center;
}
div.bloc.middle div.photos:last-child {
    float: right;
}
div.bloc.right {
    position: absolute;
    bottom: 50px;
    left: 470px;
    width: 730px;
    height: 195px;
}
div.bloc.right.red {
    border: 1px #ff0000 solid;
}
div.problem img {
    float: left;
    margin-right: 20px;
}
div.problem span.label {
    margin: 0;
}
div.bloc.middle div.gallery {
    height: 260px;
    background: url('../img/non_dispo.jpg');
    text-align: left;
}
div.bloc.middle div.gallery a img {
    float: left;
    width: 175px;
    height: 130px;
}
div.bloc.right h2 {
    padding-left: 30px;
}
div.bloc.right div.problem {
    height: 50px;
    margin: 0 30px;
    display: inline-block;
    vertical-align: top;
}
div.content.details div.bloc.right p {
    line-height: 10px;
    padding: 0 30px;
}
div.bloc.right div.problem span.label {
    display: inline-block;
    width: 120px;
}
div.bloc.right div.problem span.comment {
    display: none;
}
div.problem.gallery img {
    width: 80px;
    height: 80px;
}
div.footerPrint {
    display: none;
}

/*** Synthese ***/

#logoSigne {
    width: 20px;
}

#imgProblem {
    width: 80px;
}

div.pbm-synthesis img{
    float: none;
}

div.pbm-synthesis{
    float: none;
}

.oneProblem{
    padding: 140px 120px 150px 120px;
    background-color: #FFFFFF;
}

.float{
    float: left;
}

.intercalaire{
    background-image: url(../img/logoPrint.png);
    text-align: center;
    height: 100%;
    background-repeat: no-repeat;
    background-position-y: center;
}

.titleIntercalaire{
    padding: 50px 0px 100px 0px;
    font-size: 60px;
    color: #009EE5;
    text-transform: uppercase;
}

#subTitleIntercalaire{
    font-size: 55px;
}

.bodySynthesis{
    position: relative;
    width: 1500px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.right.red {
    background: #ffffff !important;
}

#selectPatrimoine{
    width: 250px;
}

#validateSynthesis{
    position: absolute;
    width: 155px;
    background: #009EE5;
    border: none;
    color: #FFFFFF;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-block;
    height: 35px;
    padding: 0px 20px;
    border-radius: 3px;
    outline: none;
    margin-bottom: 10px;
    box-sizing: border-box;
}
#restartSynthesis{
    width: 155px;
    background: #009EE5;
    border: none;
    color: #FFFFFF;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-block;
    height: 35px;
    padding: 0px 20px;
    border-radius: 3px;
    outline: none;
    margin-bottom: 10px;
    box-sizing: border-box;
}

#apercuSynthese{
    cursor: pointer;
    display: none;
    position: absolute;
    right: 30px;
    width: 35px;
    background: #009EE5;
    border: none;
    color: #FFFFFF;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    height: 35px;
    padding: 4px 0px;
    border-radius: 3px;
    outline: none;
    box-sizing: border-box;
}

#envoyeSynthese{
    right: 70px!important;
}

div.oneProblem h2{
    font-size: 45px;
}

div.oneProblem h3{
    font-size: 35px;
}

div.oneProblem b{
    font-size: 20px;
}

div.problem span{
    font-size: 20px;
}

.logoSynthese{
    height: 150px;
    text-align: center;
    padding-top: 50px;
}

.paragrapheSynthesis{
    font-size: 20px;
    padding-top: 50px;
    padding-bottom: 100px;
}

.btnPrintSynthesis{
    cursor: pointer;
    position: absolute;
    right: 0;
}

/*** Plannification ***/

div.prePlanning.fixed{
    position: fixed;
    top: 20px;
}

.preSelected{
    background-color: #196084 !important;
}

/*** Map Legend ***/

.markersStatuts {
    float: left;
    opacity: 0.5;
}

#status5.op5 {
    opacity: 1;
}
#status4.op4 {
    opacity: 1;
}
#status3.op3 {
    opacity: 1;
}
#status2.op2 {
    opacity: 1;
}
#status1.op1 {
    opacity: 1;
}
#status0.op0 {
    opacity: 1;
}