/* 
 * Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
 * See LICENSE in the project root for license information.
 */

 html,
 body {
     margin: 0;
     padding: 0;
     background-color: #eeeeee;
 }

 .ms-welcome__main {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex: 1 0 0;
    flex: 1 0 0;
    padding: 10px 20px;
 }
 
/* CUSTOM */

h4{
    font-size: 18px;
    margin: 10px 0px;
    color: #424242;
}

.input_login{
    padding: 5px;
    border-width: 1px;
    border-color: #CCCCCC;
    background-color: #FFFFFF;
    color: #000000;
    border-radius: 0px;
    box-shadow: 0px 0px 5px rgba(66,66,66,.75);
}

#connexion{
    background: #106ebe;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}

#welcome{
    background: #106ebe;
    color: #FFFFFF;
    font-size: 16px;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
}
#module{
    background:url(../../assets/img/meeting-icon.jpg) center no-repeat;
    background-size: cover;
    color: #FFFFFF;
    font-size: 22px;
    font-weight: bold;
    padding: 50px 25px;
    text-align: center;
}

#logged_in,#login_form{
    display: none;
    width: 100%;
}
.dot_green {
    height: 25px;
    width: 25px;
    background-color: #43a047;
    border-radius: 25%;
    display: inline-block;
    color: #000;
    text-align: center;
    line-height: 25px;
    font-weight: bold;
}
.dot_red {
    height: 25px;
    width: 25px;
    background-color: #d32f2f;
    border-radius: 25%;
    display: inline-block;
    color: #fff;
    text-align: center;
    line-height: 25px;
    font-weight: bold;
}
.icon_accessoire{
    height: 25px;
    margin: 0px 2px;
}

#icon_logout{
    display: none;
    float: right;
    margin-top: -2px;
    cursor: pointer;
    height: 20px;
}

.img_salle{
    width: 300px;
}

#msg_alert{
    display: none;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    padding: 50px 20px;
}

/* CARD */
.card{
    position: relative;
    z-index: 1;
    display: block;
    background: #fff;
    width: 300px;
    height: 400px;
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 500ms cubic-bezier(0.705, 0.195, 0.435, 0.885);
}

.card:hover{
    box-shadow: -5px 5px 12px 0px rgba(0,0,0,0.8);
}

.card:hover .img_salle{
    transform: scale(1.1);
    opacity: 0.6;
}

.card:hover .div_img_salle{
    height: 150px;
}

.card:hover .btn_reserver{
    bottom: 0px;
}


.div_img_salle{
    width: 300px;
    height: 200px;
    overflow: hidden;
    background: #000000;
    transition: all 500ms cubic-bezier(0.705, 0.195, 0.435, 0.885);
}

.img_salle{
    display: block;
    width: 120%;
    margin-left: -10%;
    transition: all 500ms cubic-bezier(0.705, 0.195, 0.435, 0.885);
}

.btn_reserver{
    position: absolute;
    width: 100%;
    bottom: -53px;
    border: none;
    background: #106ebe;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: all 500ms cubic-bezier(0.705, 0.195, 0.435, 0.885);
}

.div_description{
    position: absolute;
    width: 270px;
    height: 200px;
    padding: 5px 15px 0px 15px;
}

.div_places{
    position: absolute;
    top: -36px;
    left: 0;
    background: #106ebe;
    padding: 10px 15px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
}
.img_favoris{
    position: absolute;
    top: -30px;
    right: 15px;
    height: 25px;
}

.div_libelle_salle{
    margin: 10px 0 10px 0;
    color: #000000;
    font-size: 24px;
    font-weight: 700;
    max-height: 55px;
    overflow: hidden;
}

#salle_dispo,#salle_non_dispo{
    display: none;
}

#list_salle_dispo,#list_salle_non_dispo{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

#table_disponibilite{
    width: 100%;
    text-align: center;
}

.div_accessoire{
    height: 30px;
}

#show_all_salles{
    display: none;
    background: #106ebe;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    margin: auto;
}

.align_center{
    text-align: center;
}
.align_right{
    text-align: right;
}
.margin_auto{
    margin: auto;
}


#table_site{
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    color: #424242;
}

#table_filtre{
    width: 100%;
    text-align: center;
}
.filtre{
    width: 15px;
    height: 15px;
}
.label_filtre{
    vertical-align: middle;
}


.select {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
    width: 150px;
}
.select select {
    display: inline-block;
    width: 100%;
    cursor: pointer;
    padding: 15px 15px;
    outline: 0;
    border: 0px hidden #000000;
    border-radius: 0px;
    background: #106ebe;
    color: #ffffff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
} 
.select select:focus {
    color: #106ebe;
    background: #ffffff;
}
.select_arrow {
    position: absolute;
    top: 13px;
    right: 15px;
    width: 4px;
    height: 4px;
    border: solid #ffffff;
    border-width: 0 4px 4px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
.select select:focus ~ .select_arrow {
    border-color: #106ebe;
}


/********* ACCORDION *********/

.ui-accordion-header.ui-state-active{
    border: 1px solid #106ebe !important;
    background: #106ebe !important;
}
.ui-accordion .ui-accordion-header{
    font-size: 16px !important;
    font-weight: bold !important;
    border: 0px !important;
}
.ui-accordion-header.ui-corner-all {
    background-color: whitesmoke !important;
}
.ui-accordion-content {
    border: 3px solid #106ebe !important;
    background: white !important;
}

/** LOADER **/

.div_loader{
    position : fixed;
    z-index: 9999;
    background : rgba(0,0,0,0.8);
    top : 0px;
    left : 0px;
    height : 100%;
    width : 100%;
    cursor : wait;
    display: none;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #106ebe; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



@media (max-width: 345px) { 
    #welcome{
        padding: 10px 10px;
    }
    .select {
        width: 140px;
    }
    .ms-welcome__main {
        padding: 10px 10px;
     }
     .card {
        width: 100%;
    }
    .div_img_salle {
        width: 100%;
        height: 170px;
    }
    .div_description {
        position: absolute;
        width: calc(100% - 20px);
        height: 200px;
        padding: 5px 10px 0px 10px;
    }
    .dot_green {
        height: 22px;
        width: 22px;
        line-height: 22px;
    }
    .dot_red {
        height: 22px;
        width: 22px;
        line-height: 22px;
    }
    .div_accessoire {
        height: auto;
    }

 }