/**
 * @copyright (C) 2022, 299Ko, based on code (2010-2021) 99ko https://github.com/99kocms/
 * @license https://www.gnu.org/licenses/gpl-3.0.en.html GPLv3
 * @author Jonathan Coulet <j.coulet@gmail.com>
 * @author Maxence Cauderlier <mx.koder@gmail.com>
 * @author Frédéric Kaplon <frederic.kaplon@me.com>
 * @author Florent Fortat <florent.fortat@maxgun.fr>
 * 
 * @package 299Ko https://github.com/299Ko/299ko
 */

@import url(https://fonts.googleapis.com/css?family=Open+Sans);

/* BASIC */

*{
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    outline:none;
    -webkit-tap-highlight-color:transparent
}
html{
    height:100%
}
body{
    background:#fff;
    margin:0;
    padding:0;
    height:100%;
    font-family:'Open Sans',sans-serif;
    font-size:14px;
    color:#14161a
}
body.login{
    background:#fff;
    margin:120px;
}
a{
    text-decoration:none;
    color: #14161a
}
h1{
    font-weight:normal;
    text-transform:uppercase;
    margin:0;
    font-size:22px
}
h2{
    font-weight:normal;
    text-transform:uppercase;
    font-size:22px;
    margin-bottom:60px;
    margin-top:0px
}
h3{
    font-weight:normal;
    text-transform:uppercase;
    font-size:14px;
    margin-bottom:30px;
    margin-top:30px;
    padding:15px;
    text-align:right;
    background:#eee;
    font-style:italic;
}
ul,ol{
    padding-left:0;
    margin-left:0;
    list-style-position:inside
}
img{
    max-width:100%
}
table{
    width:100%;
    border-spacing:0;
    border-collapse:collapse;
    border:1px solid #eee
}
td{
    border-bottom:1px solid #eee;
    text-align:left;
    padding:15px
}
th{
    background:#eee;
    text-align:left;
    padding:15px;
    text-transform:uppercase;
    font-weight:normal
}

/* FORM */

input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=date]{
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #14161a;
    background: #fff;
    box-shadow: inset rgba(0,0,0, 0.1) 0px 0px 8px;
    border: 1px solid #eee;
    padding: 5px;
    width: 100%;
}

textarea{
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #14161a;
    background: #fff;
    box-shadow: inset rgba(0,0,0, 0.1) 0px 0px 8px;
    border: 1px solid #eee;
    padding: 5px;
    width: 100%;
    min-height: 250px;
}

input[type=submit], input[type=button], button, .button{
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    text-decoration: none;
    margin: 0;
    padding: 5px 15px;
    text-transform: uppercase;
    border: 0;
    cursor: pointer;
    background: #009900;
    color: #fff;
    border-radius: 5px;
}

input[type=submit].alert, input[type=button].alert, button.alert, .button.alert{
    background: #990000;
}

input[type=submit]:hover, input[type=button]:hover, button:hover, .button:hover{
    background: #14161a;
}

input[type=submit].active, input[type=button].active, button.active, .button.active{
    background: #14161a;
}

select{
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #14161a;
    background: #fff;
    box-shadow: inset rgba(0,0,0, 0.1) 0px 0px 8px;
    border: 1px solid #eee;
    padding: 5px;
    width: 100%;
}

/* UTIL */

ul.no_bullet{
    list-style: none inside;
}

/* TABS */

ul.tabs, ul.tabs_style{
    list-style: none inside;
    overflow: hidden;
}

ul.tabs li, ul.tabs_style li{
    float: left;
    margin-right: 5px;
}

ul.tabs a, ul.tabs_style a{
    display: block;
    margin-bottom: 15px;
}

/* ALERT */

#alert-msg{
    margin: 0;
    position: absolute;
    z-index: 996;
    width: 100%;
    top: 0;
    padding: 5px;
    text-align: center;
    left: 0;
}

#alert-msg .msg, #alert-msg .msg.info {
    position: relative;
    margin:18px auto;
    padding:10px;
    padding-left: 32px;
    border-radius: 3px;
    border-left:4px solid #6C6C6C;
    max-width: 800px;
    box-shadow: 0px 0 10px 5px rgba(0, 0, 0, 0.2);
    background-color: #EBEBEB;
    color: #444;
    font-size:14px;
}

#alert-msg .msg:before, #alert-msg .msg.info:before {
    font: var(--fa-font-solid);
    content: "\f05a";
    font-size: 23px;
    display: block;
    position: absolute;
    top:0;
    bottom: 0;
    margin: auto 0;
    height: fit-content;
    left: 10px;
    color : #6C6C6C;
}

#alert-msg .msg.success {
    background-color: #A8F1C6;
    border-left-color: #198345;
}
#alert-msg .msg.success:before {
    content: "\f058";
    color: #198345;
}

#alert-msg .msg.error {
    background-color: #F6A7A3;
    border-left-color: #8D1310;
}
#alert-msg .msg.error:before {
    content: "\f057";
    color: #8D1310;
}

#alert-msg .msg.warning {
    background-color: #FFD38A;
    border-left-color: #8C5600;
}
#alert-msg .msg.warning:before {
    content: "\f06a";
    color: #8C5600;
}

.msg a.msg-button-close {
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    right: 8px;
    top: 8px;
    opacity: 0.4;
    font-size: 15px;
    transition: all 0.5s ease-in-out;
}

.msg a.msg-button-close:hover {
    opacity: 0.7;
}

/* STRUCTURE */

#login{
    background: #fff;
    width: 100%;
    max-width: 400px;
    margin: 0px auto;
    border: 1px solid #eee;
    padding: 60px 30px 30px 30px;
}

.just_using{
    text-align: center;
    margin-top: 60px;
}

.just_using a{
    color: #ccc;
}

#login .just_using a{
    color: #14161a;
}

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

#header{
    width: 100%;
    background: #14161a;
    overflow: hidden;
    position: fixed;
    width: 100%;
    top: 0;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.25);
    z-index: 995;
}

#body{
    height: 100%;
}

#sidebar{
    position: fixed;
    top: 40px;
    background: #2c313b;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.25);
    padding: 15px;
    display: none;
    left: 0px;
    z-index: 997;
}

#content{
    background: #fff;
    padding: 120px 15px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

/* MENU */

#header ul{
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 19px;
}

#header li{
    float: left;
}

#header li.facebook{
    padding: 10px;
    float: right;
}

#header a{
    color: #ccc;
    padding: 9px 20px;
    display: block;
    height: 40px;
}

#header a:hover, #header a.active{
    color: #fff;
    background: #2c313b;
}

#header li:first-child a{
    padding: 0;
}

#open_nav:after {
    font: var(--fa-font-solid);
    content: "\f0c9";
    font-size: 23px;
    padding : 9px 10px;
    display: block;
}

#sidebar h2{
    color: #ccc;
}

#navigation{
    text-transform: uppercase;
    list-style: none;
    margin: 30px 0;
    padding: 0;
}

#navigation li.site{
    display: none;
}

#navigation a{
    padding: 5px;
    border-top: 1px solid #14161a;
    display: block;
    color: #ccc;
}

#navigation a:hover{
    background: #14161a;
    color: #fff;
}

#navigation li:first-child a{
    border-top: 0;
}

/* PARAM */

#param_link, #help_link{
    float: right;
    opacity: 0.45;
    transition: opacity 0.5s ease-in-out;
    font-size: 20px;
    margin-left: 10px;
}

#param_link:hover, #help_link:hover{
    opacity: 1;
}

#param_panel, #help_panel{
    display: none;
}

#param_panel .content, #help_panel .content{
    overflow-y: scroll;
    overflow-x: hidden;

}

/* HELP */

#help_panel h3{
    padding:0px;
    text-align:left;
    background:none;
    margin-bottom: 0;
}

/* MOBILE */

@media only screen and (max-width: 960px){

    body, input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=date], textarea, input[type=submit], input[type=button], button, .button{
        font-size: 12px !important;
    }

    input[type=submit], input[type=button], button, .button{
        clear: both;
        display: block;
        margin: 1px 0;
        width: 100%;
        text-align: center;
    }

    #header li{
        display: none;
    }

    #header li:first-child{
        display: block;
    }

    #navigation li.site{
        display: block;
    }

    #param_panel, #help_panel{
        max-width: 400px;
    }

    body.login {
        margin: 40px 0;
    }

}