/**
 * General
 *****/
a {
    color: #333;
    text-decoration: none;
    transition: all 0.5s ease 0s;
}

a:hover, a:focus {
    color: #333;
    opacity: 0.8;
}

.wrapper-inner a {
    text-decoration: underline;
}

/** 
 * Header + menus
 *****/

.goto {
    position: relative;
    z-index: 100;
}

.goto ul {
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    width: 100%;
}

.goto a {
    outline: none;
    display: block;
    color: #FFF;
    background-color: #DC182D;
}

.goto a:hover span,
.goto a:focus span {
    display: block !important;
    padding: 5px 10px;
}

.no-margin {
    margin: 0;
}

.no-padding {
    padding: 0;
}

body#body-login {
    background-color: #EEE;
}

#body-home #body-content .thumbnail img {
    min-width: 190px;
}

.form-signin {
    max-width: 445px;
    padding: 15px;
    margin: 0 auto;
}
.float-right {
    float: right;
}

.grey {
    color: #000;
}

.navbar-default .navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand > img {
    height: 100%;
    width: auto;
}

.panel-group {
    font-size: 0.85em;
}

.panel-body {
    padding-top: 7px;
}

.panel-heading[data-toggle="collapse"] {
    cursor: pointer;
}

.panel-title {
    font-size: 1.25em;
}

.panel-group .title-offre td {
    padding-left: 0;
}

.panel-group .table {
    margin-bottom: 0;
}

.panel-group .table .table {
    background-color: transparent;
}

.panel-group img {
    min-height: 64px;
    min-width: 200px;
    max-width: 200px;
}

.panel-body > .table > tbody > tr > td, 
.panel-body > .table > tbody > tr > th {
    border-top: none;
    border-bottom: 1px solid #DDD;
}

#body-offre .panel-body .table > caption + thead > tr:first-child > td, 
#body-offre .panel-body .table > caption + thead > tr:first-child > th, 
#body-offre .panel-body .table > colgroup + thead > tr:first-child > td, 
#body-offre .panel-body .table > colgroup + thead > tr:first-child > th, 
#body-offre .panel-body .table > thead:first-child > tr:first-child > td, 
#body-offre .panel-body .table > thead:first-child > tr:first-child > th {
    padding-top: 0;
}

.alert-container {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 200px;
    width: 15%;
    padding: 6px 12px;
}

#body-content {
    position: relative;
}

#ui-datepicker-div {
    z-index: 2 !important;
}

.preview {
    max-height: 400px;
}

.panel-default > .panel-heading .badge.badge-danger {
    background-color: #d9534f;
    margin-right: 5px;
}

.after-head {
    position: absolute;
    right: 0;
    top: 0;
    width: 15%;
    min-width: 200px;
}

.code {
    font-size: 0.7em;
    margin-top: 0.3em;
}

.panel-collapse > div > img,
#body-gamme .img-thumbnail img {
    background-color: rgba(183, 183, 183, 0.25);
}

.glyphicon-alert {
    color: #EC7278;
}

#body-offre label.input-group-addon.btn,
#body-gamme label.input-group-addon.btn {
    width: 130px;
    white-space: normal;
}

.text-block {
    display: block;
}

.text-block + .text-block {
    margin-top: 10px;
}

#body-offre textarea {
    width: 100%;
}

#body-user form:not(#users_form) {
    max-width: 500px;
    margin: 0 auto;
}

.checkbox label,
.radio label {
    margin-right: 15px;
}

.table-responsive {
    border: none;
}

footer, #footer {
    float: left;
    width: 100%;
    margin-bottom: 30px;
}

@media (max-width: 320px) {
    #body-user .btn {
        display: block;
        width: 100%;
        margin: 0 auto 15px auto;
    }
}

#list-concess h4 {
    margin-bottom: 0;
    text-align: center;
}

#list-concess h4 > a {
    display: block;
    font-size: 0.8em;
    padding: 10px 15px;
    background-color: #DDD;
    text-decoration: none;
    transition: all 0.5s ease 0s;
}

#list-concess li:nth-child(2n + 1) h4 > a {
    background-color: #EEE;
}

#list-concess .glyphicon-barcode {
    font-size: 0.7em;
}

@media (min-width: 768px) {
    #list-concess [id*="el-"] {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        min-width: 300px;
        z-index: 50;
    }

    #list-concess [id*="el-"] {
        padding: 0 15px;
    }
}

@media (min-width: 1200px) {
    #list-concess li:nth-child(6n + 6) [id*="el-"] {
        left: auto;
        right: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #list-concess li:nth-child(4n + 4) [id*="el-"] {
        left: auto;
        right: 0;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #list-concess li:nth-child(3n + 3) [id*="el-"] {
        left: auto;
        right: 0;
    }
}

#list-concess .wrapper-inner {
    padding: 10px 15px;
    background-color: #FAFAFA;
    border-top: 1px solid #CCC;
}