/* 
    public/css/frontend.css
    Styles généraux utilisés sur le site de BVB Software.

    Author : Jean-François Brisse <jeff@bvb-software.fr>
    Version : 1.0.0
*/

/*****************************************************************************/
/******************************** Commun *************************************/
/*****************************************************************************/
@font-face {
    font-family: 'CalibriA';
    src: url('../fonts/calibri.ttf');
}

@font-face {
    font-family: 'CaveatBVB';
    src: url('../fonts/caveatbrush-regular.ttf');
}

@font-face {
    font-family: 'TahomaA';
    src: url('../fonts/tahoma.ttf');
}

.centerH {
    text-align: center;
    margin: 20px auto;
}

.centreAlign {
    text-align: center;
}

.contentDiv {
    height: 100%;
    overflow: auto;
    padding: 5px;
    margin-top: 0;
}

.copyright {
    position: absolute;
    bottom: 0;
    width: 99%;
    font-family: 'TahomaA';
    font-size: 0.8em;
}

.divForm {
    margin-bottom: 10px;
}

.errorForm {
    color: #f00;
    font-weight: bold;
    background-color: #aaa;
    padding: 5px 0;
    margin-bottom: 10px;
}

.homeBanner {
    width: 100%;
    height: 80px;
    line-height: 80px;
    vertical-align: central;
    margin: 0 0 10px 0;
    padding: 0;
    text-align: center;
}

.imgFlash {
    width: 50px;
}

.infoRight {
    float: right;
    margin-right: 0.5em;
    text-align: right;
}

.leftAlign {
    text-align: left;
}

.logoBanner {
    float: left;
    height: 80px;
    margin: 0;
    padding: 0;
}

.mdActive {
    opacity: 1;
    pointer-events: auto;
}

.mdInactive {
    opacity: 0;
    pointer-events: none;
}

.modalFlash, .modalHelp {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
}

.modalFlash span[id="close"], .modalHelp span[id="close"] {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 0.7em;
    line-height: normal;
    color: transparent;
}

.modalInput span[id="close"]:after,
.modalHelp span[id="close"]:after {
    position: absolute;
    right: -10px;
    top: -10px;
    color: #fff;
    content: 'X';
    display: block;
    width: 1.3em;
    padding: 5px 1px 1px 1px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    background: #000;
    border: 3px solid #fff;
    border-radius: 20px;
    -moz-border-radius: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.modalFlash span[id="close"]:focus:after, .modalFlash span[id="close"]:hover:after,
.modalHelp span[id="close"]:focus:after, .modalHelp span[id="close"]:hover:after {
    transform: scale(1.2, 1.2);
    -webkit-transform: scale(1.2, 1.2);
    -moz-transform: scale(1.2, 1.2);
}

.modalFlash span[id="close"]:focus:after,
.modalHelp span[id="close"]:focus:after {
    outline: 1px solid #000;
}

.modalFlash > div {
    width: 500px;
    font-family: 'CalibriA';
    font-size: 1.5em;
    color: #fff;
    background: #888a8f;
    position: relative;
    margin: 25% auto;
    padding: 30px;
    border-radius: 7px;
    -moz-border-radius: 7px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.9);
    -webkit-box-shadow: 0 3px 20px rgba(0, 0, 0, 0.9);
    -moz-box-shadow: 0 3px 20px rgba(0, 0, 0, 0.9);
}

.modalHelp > div {
    width: 50%;
    font-family: 'CalibriA';
    font-size: 1em;
    color: #000;
    background: #fff;
    position: relative;
    margin: 5% auto;
    padding: 15px;
    border-radius: 7px;
    -moz-border-radius: 7px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.9);
    -webkit-box-shadow: 0 3px 20px rgba(0, 0, 0, 0.9);
    -moz-box-shadow: 0 3px 20px rgba(0, 0, 0, 0.9);
    overflow-y: auto;
}

.rightAlign {
    text-align: right;
}

.tableCentre {
    margin: 0 auto;
    padding: 10px 0;
}

.titleBanner {
    float: left;
    padding-left: 0.5em;
    color: #264596;
    font-family: 'CaveatBVB';
    font-size: 2.5em;
}

/*****************************************************************************/
/******************************* Boutons *************************************/
/*****************************************************************************/

.btn, .btnG, .btnR {
    display: inline-block;
    *display: inline;
    padding: 4px 12px;
    margin-bottom: 0;
    *margin-left: .3em;
    font-family: 'TahomaA';
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    background-color: #264596;
    border: 1px solid #264596;
}

.btn:hover, .btn:hover .txtBtn {
    background-color: #fff;
    color: #264596;
}

.btnG:hover, .btnG:hover .txtBtn {
    background-color: #00ac00;
    color: #fff;
}

.btnR:hover, .btnR:hover .txtBtn {
    background-color: #c23333;
    color: #fff;
}

.btn2 {
    display: inline-block;
    *display: inline;
    padding: 2px 12px;
    margin-bottom: 0;
    *margin-left: .3em;
    font-family: 'TahomaA';
    font-size: 12px;
    line-height: 18px;
    color: #333;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    text-decoration: none;
}

.btn2:hover, .btnDeconnect:hover, .btnFormInside:hover, .btnList:hover {
    text-decoration: underline;
    color: #00f;
}

.btnDeconnect {
    display: inline-block;
    *display: inline;
    padding: 0 12px 2px 5px;
    margin-top: -0.1em;
    margin-bottom: 0;
    *margin-left: 0.1em;
    font-family: 'TahomaA';
    font-size: 0.7em;
    font-style: italic;
    line-height: 18px;
    color: #264596;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    text-decoration: none;
}

.btnDeconnect:hover {
    text-decoration: underline;
    color: #00f;
}

.txtBtn {
    padding-left: 0.5em;
    color: #fff;
}

/*****************************************************************************/
/**************************** Identification *********************************/
/*****************************************************************************/
.cadreLogin {
    width: 500px;
    margin: 10px auto;
    padding: 10px;
    box-shadow: 5px 5px 5px 0 #808080;
    background-color: #fff;
}

.lblLogin {
    width: 250px;
    text-align: right;
}

.legendLogin {
    font-family: 'CalibriA';
    font-size: 18px;
    font-weight: bold;
    font-style: italic;
    text-shadow: 3px 3px 2px #808080;
    text-align: left;
}

.selLogin {
    width: 250px;
    text-align: left;
}

.selUser {
    margin: 12% 0 0 0;
    text-align: center;
    font-family: 'TahomaA';
    font-size: 14px;
}
