body {
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

html {
    height: 100%;
    width: 100%;
}

.canvas {
    border: 1px solid #e74c3c;
}

.form_close {
    display: block;
    font-size: 50px;
    line-height: 32px;
    position: absolute;
    right: 20px;
    top: 10px;
    width: 50px;
}

.form_close a {
    color: #fff;
    text-decoration: none;
}

.form_close a:hover {
    color: #e74c3c;
}

fieldset {
    font: 80%/1 sans-serif;
    padding: 1em;
}

.mylabel {
    color: #333;
    display: block;
    float: left;
    margin-left: .2em;
    padding-top: .2em;
    white-space: nowrap;
    width: 50%;
}

.tftable {
    border-collapse: collapse;
    color: #333;
    width: 100%;
}

.tftable select {
    font-size: 24px;
    min-width: 60px;
    text-align: center;
}

.tftable th,
.tftable td {
    font-size: 16px;
    padding: 8px;
    text-align: center;
}

.tftable th img,
.tftable td img {
    vertical-align: bottom;
}

.tftable td {
    background-color: #fff;
}

.tftable td.photo {
    padding: 0;
}

.tftable tr {
    border-bottom: none;
}

.tftable th {
    background-color: #a2d3fc;
    color: #23438e;
    font-size: 17px;
}

.tftable th:empty {
    background-color: transparent;
}

.tftable th.title {
    padding: 40px 5px 2px;
    text-align: center;
    vertical-align: top;
    width: 30px;
}

.tftable th.title span {
    display: block;
    font-size: 18px;
    line-height: 20px;
    margin: auto;
    text-align: center;
    width: 18px;
}

.tftable tr.phase0 {
    background-color: #aed0ea;
}

.tftable tr.phase1 {
    background-color: #a9dba9;
}

.tftable tr.phase2 {
    background-color: #f2dede;
}

.tftable tr.phase3 {
    background-color: lightgoldenrodyellow;
}

.tftable td.phase0 {
    background-color: #e2e7ec;
}

.tftable td.phase1 {
    background-color: #c3e5c3;
}

.tftable td.phase2 {
    background-color: #f6e8e8;
}

.tftable td.phase3 {
    background-color: #f6f6de;
}

.box-valid {
    text-align: center;
}

img {
    cursor: pointer;
}

img.button_validate, img.button_delete {
    height: 48px;
    width: 48px;
}

img[class$="submit"] {
    height: 48px;
    margin-top: 20px;
    width: 48px;
}

img[class="ajoute_reservation_cable_proche"] {
    height: 25px;
    width: 25px;
}

img[class="generate_row"] {
    height: 25px;
    width: 25px;
}

img[class="generate_row_mux"] {
    height: 25px;
    width: 25px;
}

img[class="miniphoto"] {
    max-width: 80px;
    max-height: 80px;
}

img.ok {
    color: #2ecc71;
}

img.nok {
    color: #e74c3c;
}

.circle {
    background-color: #ff7800;
    border-color: #000;
    border-radius: 3px;
    border-style: solid;
    border-width: 1px;
    height: 5px;
    width: 5px;
}

#message {
    border-radius: 2px;
    color: #333;
    margin: 1px;
    padding: 0;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10000;
    text-align: center;
    vertical-align: middle;
    display: none;
}

.success {
    background-color: #CEF090;
    vertical-align: middle;
    display: table-cell;
}

.error {
    background-color: #FAD4D4;
    vertical-align: middle;
    display: table-cell;
}

.cables,
.cassettes,
.connector,
.room,
.box {
    overflow: hidden;
    padding: 10px;
}

.element {
    background-color: #fff;
    margin-bottom: -100%;
    padding: 0;
    padding-bottom: 100%;
    width: 48%;
}

.element h2 {
    background-color: #a2d3fc;
    color: #23438e;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    padding: 5px 0;
    text-align: center;
    width: 100%;
}

.element .element-content {
    padding: 5px;
}

.element[class*="details"] {
    float: left;
}

.element[class*="pictures"] {
    float: right;
}

.element[class*="pictures"] .element-content {
    padding: 30px 10px 10px;
    text-align: center;
}

.cable_details,
.cassettes_details {
    margin-left: 25%;
    padding: 5px;
}

.generate_connector {
    background-color: #4686cc;
    border-color: #fff;
    border-style: solid;
    border-width: 5px;
    display: none;
    height: auto;
    left: 25%;
    overflow: auto;
    position: fixed;
    top: 200px;
    width: 50%;
    z-index: 1200;
}

.generate_connector select {
    font-size: 24px;
    min-width: 60px;
    text-align: center;
}

.generate_connector .form_connector {
    margin-top: 10px;
}

.generate_connector .mylabel {
    font-weight: bold;
    margin-left: 10px;
}

textarea {
    border: 1px solid #4686cc;
    height: auto;
    width: 95%;
}

select {
    border: 1px solid #4686cc;
    margin: 2px 0;
}

input {
    border: 1px solid #4686cc;
    margin: 2px 0;
}

input.fileInput {
    filter: alpha(opacity=0);
    height: 80px;
    opacity: 0;
    width: 110px;
}

.loading {
    margin: auto;
}

.loading span {
    font-size: 16px;
    line-height: 32px;
    margin-left: 12px;
    vertical-align: middle;
}

.loading img {
    vertical-align: middle;
}

.loading_wrp {
    background-color: #fff;
    display: block;
    filter: alpha(opacity=50);
    height: 100%;
    left: 0;
    opacity: .5;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1020;
}

.loading_wrp .x16 span {
    font-size: 12px;
    line-height: 16px;
    margin-left: 6px;
}

.loading_wrp .x32 img {
    height: 32px;
    width: 32px;
}

#accordeon li,
#accordeon ul {
    list-style: none;
}

#accordeon li.contenuTitre {
    display: none;
}

#type_cable {
    border: none;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    left: 0;
    margin: auto;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1100;
}

.overlay h2 {
    background-color: #a2d3fc;
    color: #23438e;
    margin: 7px 10px;
    padding: 5px;
    text-align: center;
}

.overlay .overlay-content {
    height: 80%;
}

.overlay-disable-fields {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1150;
}

.overlay-loading {
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100000;
}

.overlay-loading .content {
    background-color: #a2d3fc;
    color: #156bb4;
    font-weight: bold;
    margin: 200px auto;
    padding: 100px 50px;
    text-align: center;
    width: 400px;
}

.btn-add-panel {
    border: 1px solid #4686cc;
    color: #333;
    font-weight: bold;
    margin: 10px;
}

.btn-add-panel img {
    margin: 5px;
    vertical-align: middle;
}

.celeste-panel {
    background-color: #fff;
    border: 3px solid #fff;
    border-radius: 0;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.celeste-panel .celeste-panel-body {
    background-color: #4686cc;
    padding: 10px;
}

.celeste-panel .celeste-panel-heading {
    background-color: #a2d3fc;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    padding: 10px 15px;
}

.celeste-panel .celeste-panel-heading span.glyphicon-remove-circle {
    float: right;
    margin: 10px;
}

.celeste-panel .celeste-panel-heading span.glyphicon-validate-circle {
    float: right;
    margin: 10px;
}

.celeste-panel .celeste-panel-title {
    color: #333;
    font-size: 16px;
    margin-bottom: 0;
    margin-top: 0;
}

.celeste-panel .celeste-panel-title > a {
    color: inherit;
    display: inline-block;
    padding: 10px;
    text-decoration: none;
    width: 80%;
}

.celeste-panel .celeste-panel-collapse {
    display: none;
}

.Existant > td {
    background-color: palegreen;
}

.Projet > td {
    background-color: palevioletred;
}

.clear {
    clear: both;
}


@media (max-width: 800px) {
    img.button_validate, img.button_delete, img[class$="submit"] {
        height: 36px;
        width: 36px;
    }

    .tftable th {
        font-size: 14px;
        padding: 2px 0;
    }

    .tftable th.title span {
        font-size: 14px;
    }

    .connector select {
        min-width: 30px;
    }

    .connector select.cable, .connector select#etat {
        width: 80px;
    }
}

.validate_reservation {
    color: midnightblue;
}

.validate_reservation:hover {
    cursor: pointer;
}

table.room.tr.td {
    width: 50%
}

.validate_cassette {
    color: midnightblue;
}

.validate_cassette:hover {
    cursor: pointer;
}

.supprime_cassette:hover {
    cursor: pointer;
}

.zoom_cassette:hover {
    cursor: pointer;
}

.valideRaccordement {
    color: darkblue;
}

.valideRaccordement:hover {
    cursor: pointer;
}

.supprimeRaccordement:hover {
    cursor: pointer;
}

.supprimeRaccordement:hover {
    cursor: pointer;
}

.ui-button-icon-primary {
    -ms-transform: scale(2); /* IE 9 */
    -webkit-transform: scale(2); /* Chrome, Safari, Opera */
    transform: scale(2);
}

#loginScreen {
    align-content: center;
    margin-top: 32px;
}

#loginScreen .btn-homepage {
    padding: 26px;
    margin-bottom: 14px;
}

.loginButton {
    width: 180px;
    height: 180px;
}

.loginImage {
    width: 80px;
    height: 80px;
}

#pageContainer {
    width: 100%;
    height: 100%;
}

#form_content {
    padding-bottom: 100px;
    padding-top: 20px;
}

#welcome-div {
    width: 100%;
    vertical-align: middle;
    text-align: center;
    margin: 0;
}

#welcome-msg {
    width: 100%;
    vertical-align: middle;
    text-align: center;
    margin: 10px;
}

.module {
    width: 100%;
    height: 100%;
}

#search-div {
    padding: 30px;
    padding-left: 40px;
}

.headers input.blue {
    background-color: #77d5f7;
}

.headers input {
    background-color: #A8A8A8;
    width: 100%;
    height: 35px;
    color: #000;
}

.container_form .form_elements, .container_form .headers {
    float: left;
}

.headings_childs div {
    padding-top: 0;
}

.headers {
    width: 25%;
}

.form_elements {
    width: 70%;
    padding: 10px;
}

/* Pour les boutons à 3 états oui/non/pas défini */

.tristate {
    background-color: rgb(255, 255, 255);
    background-image: none;
    border-bottom-color: rgb(204, 204, 204);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-image-outset: 0 0 0 0;
    border-image-repeat: stretch stretch;
    border-image-slice: 100% 100% 100% 100%;
    border-image-source: none;
    border-image-width: 1 1 1 1;
    border-left-color: rgb(204, 204, 204);
    border-left-style: solid;
    border-left-width: 1px;
    border-right-color: rgb(204, 204, 204);
    border-right-style: solid;
    border-right-width: 1px;
    border-top-color: rgb(204, 204, 204);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-top-style: solid;
    border-top-width: 1px;
    box-sizing: border-box;
    color: rgb(51, 51, 51);
    cursor: pointer;
    display: inline-block;
    font-family: Verdana, sans-serif;
    font-feature-settings: normal;
    font-kerning: auto;
    font-language-override: normal;
    font-size: 14px;
    font-size-adjust: none;
    font-stretch: normal;
    font-style: normal;
    font-synthesis: weight style;
    font-variant: normal;
    font-variant-alternates: normal;
    font-variant-caps: normal;
    font-variant-east-asian: normal;
    font-variant-ligatures: normal;
    font-variant-numeric: normal;
    font-variant-position: normal;
    font-weight: 400;
    line-height: 20px;
    margin: 0;
    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;
    padding: 6px 12px;
    text-align: center;
    text-transform: none;
    vertical-align: middle;
    white-space: nowrap;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    -moz-user-select: none;
    width: 80px;
}

.tristate-oui {
    background-color: rgb(92, 184, 92);
    border-bottom-color: rgb(76, 174, 76);
    border-left-color: rgb(76, 174, 76);
    border-right-color: rgb(76, 174, 76);
    border-top-color: rgb(76, 174, 76);
    color: rgb(255, 255, 255);
}

.tristate-non {
    background-color: rgb(217, 83, 79);
    border-bottom-color: rgb(212, 63, 58);
    border-left-color: rgb(212, 63, 58);
    border-right-color: rgb(212, 63, 58);
    border-top-color: rgb(212, 63, 58);
    color: rgb(255, 255, 255);
}

.tristate-undef {
    background-color: rgb(255, 255, 255);
    border-bottom-color: rgb(204, 204, 204);
    border-left-color: rgb(204, 204, 204);
    border-right-color: rgb(204, 204, 204);
    border-top-color: rgb(204, 204, 204);
    color: rgb(51, 51, 51);
}

.zone-signature {
    width: 300px;
    height: 100px;
}

.tab-content table,
.tab-content th,
.tab-content tr,
.tab-content td {
    padding: 4px 8px;
}

.tab-content td .zone-signature {
    min-width: 400px;
    min-height: 200px;
}

#routeoptiquesyno {
    display: none;
    border-top: solid darkgray 2px;
    border-bottom: solid darkgray 2px;
    overflow-y: auto;
    width: 100%;
    height: 255px;
    padding: 0 20px 0 20px;
    background-color: white;
}

#routeoptiquemapdiv {
    width: 100%;
    text-align: center;
    padding-top: 10px;
    display: none;
}

.below-navbar {
    padding-top: 70px;
    position: absolute;
    top: 55px;
    bottom: 0;
    width: 100%;
}

.routeoptiquemapinfo {
    display: none;
    position: fixed;
    z-index: 500;
}

.panel-title .a-tache .tache-type-rdv {
    height: 85px;
    width: 100%;
    padding: 5px;
    margin: 5px 0 0 0;
}

.panel-title .a-tache .tache-type-normal {
    height: 20px;
}

.panel-title .a-tache {
    text-decoration: none;
}

.tache:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.show-syno-with-carte {
    margin-top: 28px;
    height: 240px !important;
}

.show-syno-carte-top {
    top: 265px;
}

.login-form-1 {
    max-width: 300px;
    border-radius: 5px;
    display: inline-block;
}
.main-login-form {
    position: relative;
}
.login-form-1 .form-control {
    border: 0;
    box-shadow: 0 0 0;
    border-radius: 0;
    background: transparent;
    color: #555555;
    padding: 7px 0;
    font-weight: bold;
    height:auto;
}
.login-form-1 .form-control::-webkit-input-placeholder {
    color: #999999;
}
.login-form-1 .form-control:-moz-placeholder,
.login-form-1 .form-control::-moz-placeholder,
.login-form-1 .form-control:-ms-input-placeholder {
    color: #999999;
}
.login-form-1 .form-group {
    margin-bottom: 0;
    border-bottom: 2px solid #efefef;
    padding-right: 20px;
    position: relative;
}
.login-form-1 .form-group:last-child {
    border-bottom: 0;
}
.login-group {
    background: #ffffff;
    color: #999999;
    border-radius: 8px;
    padding: 10px 20px;
}
.login-group-checkbox {
    padding: 5px 0;
}
/*=== 5. Login Button ===*/
.login-form-1 .login-button {
    position: absolute;
    right: -25px;
    top: 50%;
    background: #ffffff;
    color: #999999;
    padding: 11px 0;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    border: 5px solid #efefef;
    border-radius: 50%;
    transition: all ease-in-out 500ms;
}
.login-form-1 .login-button:hover {
    color: #555555;
    transform: rotate(450deg);
}
.login-form-1 .login-button.clicked {
    color: #555555;
}
.login-form-1 .login-button.clicked:hover {
    transform: none;
}
.login-form-1 .login-button.clicked.success {
    color: #2ecc71;
}
.login-form-1 .login-button.clicked.error {
    color: #e74c3c;
}
