/* 
* Created on 18/09/2020  16:10
* Author Lingjing Giraud
*/

@charset "utf-8";

form label {
    font-size: 1rem !important;
}

label[for=*], label[for=*] a{
     white-space: nowrap;
}

/* mandatory fields */
label.required::before {
     font-family: "FontAwesome";
     content: '\f069';
     color: red;
     padding-right: 2px;
 }
/* customize label display add detail information */
 /* add information icon */
label[data-toggle]::after {
     font-family: "FontAwesome";
     content: '\f05a';
     color: blue;
     padding-left: 4px;
     font-size: 1.2rem;
}

.desc {
    color: red;
}

/* calendar */
span.glyphicon.glyphicon-clendar {
    font-size: 1rem;
    background-color: red;
}
.glyphicon-calendar:before {
    font-family: "FontAwesome";
    content: "\1f4c5";
    font-size: 1.8rem;
 }

 .glyphicon-arrow-left:before {
    font-family: "FontAwesome";
    content: "\f060";
    font-size: 0.5rem
 }

 .glyphicon-arrow-right:before {
    font-family: "FontAwesome";
    content: "\f061";
    font-size: 0.5rem;
 }

.input-daterange {
    padding-left: 0 !important;
}
.input-daterange .input-group-addon   {
    line-height: 100% !important;
    margin: 0 !important;
    font-size: 0.9rem !important;
}

/* fix calendar displaying (not compatible with bootstrap4) */
.input-group-addon {
    padding: 0.3rem;
    font-size: 0.7rem;
    font-weight: normal;
    line-height: 1;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/*submit*/
input[type="submit"] {
    margin-top: 3rem;
    margin-bottom: 4rem;
}

/* reset alert message color same as the alert-danger class  */
.tooltip-inner {
    background-color: #fad6da;
    border-color: #f5c6cb;
    color: #721c24;
    opacity: 1;
    z-index: 100;
}

/* notification modal background color */
.modal-content {
    background-color: #f4f4f4;
}

label a:hover::after {
    text-shadow: none;
}
/* show spinner after submit form */
#spinner {
    z-index: 1000;
}

#spinner button {
    display: block;
    margin: 0 auto;
}

/* Limit width of select menu */
.bootstrap-select .dropdown-menu{
    max-width: 100%!important;
 }


div.input-group.row{
    margin-top: 10px;
}

input:invalid {
    border: red solid 2px;
  }