/* =============================================== *
  | ::::::::::::::::::::::::::::::::::::::::::::: |
  |  _____  ___     ___    ___  _  __       ____  |
  | |_   _||  _ \  / _ \  / __|| |/ /      |__  | |
  |   | |  | |_| || |_| || |   |   /         / /  |
  |   | |  |  _ / |  _  || |__ | |\ \   _   / /   |
  |   |_|  |_| \_\|_| |_| \___||_| \_\ (_) /_/    |
  |                                               |
  | ::::::::::::::::::::::::::::::::::::::::::::: |
 * ============= copyright 2018 IFMH ============= */


/* =================== *
 | Popup : Formulaires |
 * =================== */

#in_popup {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    min-height: 100%;
    background-color: rgba(155, 155, 155, 0.5);
    visibility: hidden;
    z-index: 10;
    font-size: 16px;
}
#in_popup > div {
    position: relative;
    width: 310px;
    min-height: 300px;
    margin: 20px auto auto auto;
    background-color: #FFF;
    border: 1px solid #9D9C9C;
    box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.3);
}
#in_popup section.titre {
    position: relative;
    background-color: #6E84C9;
    padding: 20px 40px 20px 20px;
}
#popup_title {
    position: relative;
    min-height: 40px;
    color: #FFF;
    text-align: center;
}
section.titre > div.close {
    position: absolute;
    right: 5px;
    top: 0px;
    font-size: 30px;
    color: #BDBCBC;
}
section.titre > div.close:hover {
    color: #B22222;
    cursor: pointer;
}
#popup_content {

}
#popup_content p.frm300 {
    margin: 0 20px;
}
#popup_content p.margintop20 {margin-top: 20px;}

#popup_content p.titre {
    margin: 10px 20px -10px 20px;display: block;
    font-size: 13px;
    color: #7D7C7C;
    font-weight: bold;
}

#popup_content p.frm300 label {
    margin-top: 10px;
    /*margin-bottom: -2px;*/
    display: block;
    font-size: 13px;
    color: #7D7C7C;
    font-weight: bold;
}
#popup_content p.frm300 label.err {
    color: #B22222;
}
#popup_content p.message_slide {
    text-align: center;
    font-size: 14px;
    margin: 20px 20px 4px 20px;
    max-height: 20px;
    overflow: hidden;
    animation-name: slideup;
    animation-duration: .5s;
}
@keyframes slideup {
    from{max-height: 0px;}
    to {max-height: 20px;}
}

#popup_content p.frm300 input {
    width: 100%;
    height: 40px;
    background-color: #F1F0F0;
    border-width: 0 0 1px 0;
    border-bottom-color: transparent;
    border-bottom-style: dashed;
    font-size: 18px;
    line-height: 38px;
}
#popup_content p.frm300 textarea {
    width: 100%;
    background-color: #F1F0F0;
    border-width: 0 0 1px 0;
    border-bottom-color: transparent;
    border-bottom-style: dashed;
    font-size: 16px;
}
#popup_content p.frm300 input:focus,
#popup_content p.frm300 textarea:focus {
    border-bottom-color: #5D5C5C;
}

#popup_content p.frm300 select {
    width: 100%;
    height: 40px;
    background-color: #F1F0F0;
    border: none;
    font-size: 18px;
}
#wd_checkbox {
    position: relative;
    height: 40px;
    margin: 20px 20px 0 20px;
    background-color: #F1F0F0;
}
#wd_checkbox:hover {
    cursor: pointer;
}
#wd_checkbox > div {
    position: absolute;
    top: 0;
    left: 20px;
    width: 60px;
    height: 40px;
    text-align: center;
    font-size: 12px;
}
#wd_checkbox > div.on {
    visibility: visible;
}
#wd_checkbox > div.off {
    visibility: hidden;
}

#popup_content p.button {
    border-radius: 5px;
    margin: 0 20px 10px 20px;
    height: 40px;
    font-size: 18px;
    line-height: 38px;
    text-align: center;
}
#popup_content p.button:hover {
    cursor: pointer;
}

#popup_content p.submit {
    background-color: #7D7C7C;
    color: #FFF;
}
#popup_content p.option {
    background-color: #FFF;
    color: #7D7C7C;
    font-size: 14px;
    border: 1px solid #7D7C7C;
}
#popup_content p.option2 {
    color: #7D7C7C;
    font-size: 14px;
    text-decoration: underline;
}
#popup_content p.noteform {
    font-size: 10px;
    margin: -1px 20px 0 20px;
}
#popup_content p.checkbox {
    font-size: 12px;
    line-height: 30px;
    margin: 10px 20px;
    background-color: #F1F0F0;
}

div.checker_label {
    position: relative;
    margin: 10px 20px 0px 20px;
    font-size: 13px;
    color: #7D7C7C;
    font-weight: bold;
}
div.checker_input {
    position: relative;
    margin: 0px 20px;
    height: 50px;
    background-color: #F1F0F0;
}
div.checker_input > div {
    float: left;
    margin: 2px 5px;
    width: 55px;
    min-height: 40px;
    text-align: center;
}
div.checker_input > div:hover { cursor: pointer;}
div.checker_input > div.checked { color: #393;}
div.checker_input > div.out { color: #CDCCCC;}
div.checker_input > div.off { color: transparent;}
div.checker_input span {
    display: inline-block;
    background-repeat: no-repeat;
}
div.checker_input span.lang_fr {
    width: 25px;
    height: 18px;
    margin-top: 15px;
    background-image: url('../img/lang_fr.png');
}
div.checker_input span.lang_en {
    width: 25px;
    height: 18px;
    margin-top: 15px;
    background-image: url('../img/lang_en.png');
}
div.checker_input span.prof {
    width: 50px;
    height: 12px;
    font-size: 12px;
    color: inherit;
}
