body {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 13px;
}

option[selected] {
    font-weight: bold;
}

textarea {
    max-height: 500px;
    min-height: 50px;
    resize: vertical;
}

::-ms-clear,
::-ms-reveal {
    display: none;
}

.help-block {
    margin: 0;
}

.help-note {
    color: #737373;
    display: block;
    margin: 5px auto 10px;
}

.help-note.inline {
    display: inline;
}

.login-page {
    background: #fff;
}

.login-logo {
    margin: 10px auto;
    text-align: center;
}
.login-logo a {
    text-decoration: none;
    -webkit-transform: perspective(2.5em) rotateX(15deg) scaleY(.8);
    -moz-transform: perspective(2.5em) rotateX(15deg) scaleY(.8);
    -ms-transform: perspective(2.5em) rotateX(15deg) scaleY(.8);
    -o-transform: perspective(2.5em) rotateX(15deg) scaleY(.8);
    transform: perspective(2.5em) rotateX(15deg) scaleY(.8);
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    font-size: 65px;
    font-weight: 700;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    line-height: .8;
    color: #fbd62a;
    text-shadow: 0 -1px 15px rgba(0, 0, 0, .9), 0 1px 0 #7f6303, 0 3px 0 #846703, 0 5px 0 #896b03, 0 7px 0 #8e6f03, 0 9px 0 #937203, 0 6px 50px rgba(252, 223, 92, .8);
}
.login-logo a:first-line {
    font-size: .8em;
}
.login-logo a:hover {
    -webkit-transform: perspective(8em) rotateX(11deg) scale(1.2);
    -moz-transform: perspective(8em) rotateX(11deg) scale(1.2);
    -ms-transform: perspective(8em) rotateX(11deg) scale(1.2);
    -o-transform: perspective(8em) rotateX(11deg) scale(1.2);
    transform: perspective(8em) rotateX(11deg) scale(1.2);
    text-shadow: 0 -1px 15px black, 0 1px 0 #7f6303, 0 2px 0 #846703, 0 0px 0 #896b03, 0 1px 0 #8e6f03, 0 2px 0 #937203, 0 2px 30px rgba(252, 223, 92, .6);
}

.login-box {
    margin: 2% auto;
}

.login-box-body {
    background: #eee;
    border: 1px solid silver;
    border-radius: 5px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, .2), 0 5px 5px 0 rgba(0, 0, 0, .24);
    opacity: .95;
}

#navbar-collapse .dropdown:hover .dropdown-menu {
    display: block;
}

.not-allowed {
    cursor: not-allowed !important;
}

#frm-customer-record .radio-inline {
    margin-right: 1.5em;
    padding-left: 0;
}

#numero_dossier p,
.customer-record-number {
    font-family: Tahoma, Geneva, sans-serif;
    font-weight: bold;
}

#numero_dossier p {
    font-size: x-large;
}

.customer-record-number,
.new-customer,
.net-payable {
    font-size: large;
}

.customer-group,
.customer-name {
    font-weight: bold;
}

.net-payable {
    font-weight: bold;
}

label[for=numero_dossier] {
    padding-top: 1.2em !important;
}

.logo-lg {
    text-align: left;
}

.ui-pnotify .glyphicon {
    font-size: 22px;
}

.col-xs-12 .box {
    margin-bottom: 0;
}

.main-header {
    background-color: #f6f6f6;
    background-image: -webkit-linear-gradient(#f6f6f6 0%, #fff 45%);
    background-image: linear-gradient(#f6f6f6 0%, #fff 45%);
    border-top: 3px solid #ededed;
}

.sidebar-menu .label {
    font-size: 1rem;
    font-weight: normal;
}

.sidebar-menu .treeview-menu > li > a {
    font-size: 13px;
}

.main-header .navbar .nav > li > a > .label {
    border-radius: 10px;
    font-size: 11px;
    font-weight: normal;
    padding: 3px 4px;
}

.content-header > .breadcrumb {
    font-size: 15px;
    padding: 0 5px;
}

.content-header h1 small {
    color: inherit;
}

.navbar-custom-menu {
    font-size: 16px;
}

.navbar-custom-menu .dropdown .fa {
    font-size: 18px;
}

/*.navbar-custom-menu .dropdown.user-menu img {
	border-radius: 50%;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.3);
}*/

.main-sidebar .fa {
    font-size: 1.8rem;
    margin-right: 5px;
}

.main-sidebar,
.left-side {
    width: 300px;
}

.main-header > .navbar,
.content-wrapper,
.main-footer {
    margin-left: 300px;
}

h4.box-title {
    font-family: Arial, Verdana, sans-serif;
    font-size: 18px;
    margin-bottom: 5px;
    margin-top: 5px;
}

h5.box-subtitle {
    color: #909090;
    font-family: Arial, Verdana, sans-serif;
    font-size: 12px;
    /*font-weight: bold;*/
    margin-top: 0;
}

.chart-help {
    padding: .5em;
}

.popover-content ul {
    padding-left: 12px;
}

.popover-title {
    background-color: #eee;
    font-weight: bold;
}

/**
 * Skins
 */

.skin-black .main-header .logo, .skin-black .main-header .logo:hover,
.skin-blue .main-header .logo, .skin-blue .main-header .logo:hover,
.skin-green .main-header .logo, .skin-green .main-header .logo:hover,
.skin-purple .main-header .logo, .skin-purple .main-header .logo:hover,
.skin-red .main-header .logo, .skin-red .main-header .logo:hover,
.skin-yellow .main-header .logo, .skin-yellow .main-header .logo:hover,
.skin-black-light .main-header .logo, .skin-black-light .main-header .logo:hover,
.skin-blue-light .main-header .logo, .skin-blue-light .main-header .logo:hover,
.skin-green-light .main-header .logo, .skin-green-light .main-header .logo:hover,
.skin-purple-light .main-header .logo, .skin-purple-light .main-header .logo:hover,
.skin-red-light .main-header .logo, .skin-red-light .main-header .logo:hover,
.skin-yellow-light .main-header .logo, .skin-yellow-light .main-header .logo:hover {
    background-color: #fff;
    color: #5866b7;
}

.skin-black .main-footer,
.skin-blue .main-footer,
.skin-green .main-footer,
.skin-purple .main-footer,
.skin-red .main-footer,
.skin-yellow .main-footer {
    background: #222d32;
    color: #c3c3c3;
}

.skin-store-tropical .content-header > .breadcrumb {
    background: #1d2127;
}

.skin-store-tropical .content-header > .breadcrumb li,
.skin-store-tropical .content-header > .breadcrumb > li > a {
    color: #c3c3c3
}

.skin-store-tropical .navbar-nav > .user-menu > .dropdown-menu > .user-footer {
    background-color: #222;
}

.skin-store-tropical .main-footer {
    background: #1d2127;
    color: #c3c3c3;
}

@media (max-width: 767px) {
    .main-header > .navbar,
    .content-wrapper,
    .main-footer {
        margin-left: 0;
    }

    .sidebar-open .content-wrapper,
    .sidebar-open .right-side,
    .sidebar-open .main-footer {
        -webkit-transform: translate(300px, 0);
        -ms-transform: translate(300px, 0);
        -o-transform: translate(300px, 0);
        transform: translate(300px, 0);
    }

    .main-sidebar,
    .left-side {
        -webkit-transform: translate(-300px, 0);
        -ms-transform: translate(-300px, 0);
        -o-transform: translate(-300px, 0);
        transform: translate(-300px, 0);
    }
}

@media (min-width: 768px) {
    .main-header .logo {
        width: 301px;
    }

    .skin-store-tropical .main-header > .logo,
    .skin-store-tropical .main-header > .navbar {
        background-color: transparent;
    }

    .sidebar-collapse .main-sidebar,
    .sidebar-collapse .left-side {
        -webkit-transform: translate(-300px, 0);
        -ms-transform: translate(-300px, 0);
        -o-transform: translate(-300px, 0);
        transform: translate(-300px, 0);
    }
}

/**
 * Formulaires
 */

.required {
	display: inline-block;
	color: #d2322d;
	font-size: .8em;
	font-weight: bold;
	position: relative;
	top: -.2em;
}

.input-group-addon {
    min-width: 42px;
}

.info-box-text {
    font-size: large;
    font-weight: bold;
}

.info-box-number {
    display: inline;
}

.info-box-icon {
    height: 93px;
}

#frm-customer-record.form-add #postcode-city-input,
#frm-customer-record.form-edit #postcode-city-input {
    width: 100%;
}

#frm-customer-record.form-add #code_postal_lieu_pose,
#frm-customer-record.form-edit #code_postal_lieu_pose {
    border-right: 0;
    width: 30%;
}

#frm-customer-record.form-add #ville_lieu_pose,
#frm-customer-record.form-edit #ville_lieu_pose {
    width: 70%;
}

#add-customer-group {
    color: #00acd6;
}

.remove-customer-email {
    color: #d73925;
}

#show-postcode-city-select {
    color: #00a65a;
}

#customer-emails .input-group {
    margin: .5em auto;
}

#add-customer-group:hover,
.remove-customer-email:hover,
#show-postcode-city-select:hover {
    color: #fff;
}

/**
 * Confirmation
 */

.confirmation .popover-title {
    padding: 2px 8px;
}

/**
 * Select2
 */

.select2-container {
    width: 100% !important;
}

/*.form-group.has-error .select2-selection,*/
.form-group.has-error .select2-container {
    border-color: #dd4b39 !important;
}

.select2-dropdown,
.select2-container--default .select2-selection--single {
    border-radius: inherit;
}

.select2-container--default .select2-selection--single {
    border-color: #d2d6de;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 4px;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border-color: #3c8dbc;
}

.select2-results__option {
    padding: 3px 6px 3px 15px;
}

/**
 * Dossier-client
 */

#produits > tbody > tr > td {
    vertical-align: inherit;
}

#produits input, #produits select {
    min-width: 160px;;
}

#show-postcode-city-select {
    cursor: pointer;
}

/**
 * Datepicker
 */

.datepicker {
    border-radius: inherit;
    /*z-index: 1151 !important;*/    /* affichage des datepickers dans un modal */
}

/**
 * Datatables
 */

ul.dt-button-collection.dropdown-menu li.buttons-columnVisibility > a {
    cursor: pointer;
}

ul.dt-button-collection.dropdown-menu li.buttons-columnVisibility > a:empty {
    display: none;
}

.table.dataTable {
    max-width: 100% !important;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #eee;
}

.table-hover > tbody > tr:hover {
  background-color: #ddd;
}

table.dataTable td.select-checkbox {
    cursor: pointer;
}

table.dataTable td.select-checkbox:hover {
    background-color: #e7e7e7;
}

table.dataTable td.select-checkbox::before {
    border-color: #ccc !important;
    border-radius: 0 !important;
}

table.dataTable li {
    list-style: none;
}

table.dataTable mark.mark {
    background-color: #f7fc97;
    padding: .2em 0;
}

.dataTables_wrapper .dataTables_filter input {
    width: 100% !important;
}

.dataTables_wrapper .datatables-footer {
    margin-top: 10px !important;
}

.dataTables_wrapper .datatables-header {
    margin: 10px auto 2px !important;
}

.dataTables_wrapper .select2-container {
    width: auto !important;
}

.panel-heading .btn-group {
    margin-top: -.5em;
}

.dataTables_filter .ion-funnel {
    cursor: pointer;
    font-size: 25px;
    margin-right: 10px;
    position: absolute;
    right: 210px;
    top: 5px;
}

/* Utilisateurs */

table#users img {
    height: 50px;
    margin-right: .5em;
    width: 50px;
}

/**
 * Statistiques : chiffres-clés
 */

#key-figures span.value {
    display: block;
    font-size: larger;
    width: 100%;
}
#key-figures i {
    font-size: x-large;
    margin-left: .5em;
    vertical-align: middle;
}

.daterangepicker {
    border: 1px solid #ddd;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}

.daterangepicker > .ranges > ul > li {
    margin-bottom: 2px;
}

.daterangepicker .daterangepicker_start_input label, .daterangepicker .daterangepicker_end_input label {
    text-transform: inherit;
}

.daterangepicker select.monthselect {
    width: 60%;
}

.report-range {
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: x-large;
    padding: 5px 10px;
    margin: 0 1em 1em 0;
}

.report-range span {
    margin-left: .5em;
}

/**
 * Modal
 */

@media screen and (min-width: 768px) {
    #modal-view-ajax.modal-large .modal-dialog,
    #modal-view-large-ajax.modal-large .modal-dialog {
        width: 1100px;
    }
}

#frm-modal #numero_dossier .form-control-static {
    padding-bottom: 0;
    padding-top: 0;
}

#frm-modal .control-label {
    font-weight: bold;
}

#frm-modal.form-edit .form-control-static {
    min-height: inherit;
    padding-bottom: 0;
}

#frm-modal.form-edit .form-group {
    margin-bottom: 12px;
}

#frm-customer-record.form-view .form-group,
#frm-modal.form-view .form-group {
    margin-bottom: 0;
    padding-bottom: 0;
}

.modal-dialog .modal-header {
    cursor: move;
}

.modal-header,
.modal-footer {
    background-color: #f6f6f6;
}

/**
 * Upload / Dropzone
 */

#add-attachments {
    margin-right: 2em;
}

.lg-outer {
    z-index: 1070;
}

.lg-backdrop {
    z-index: 1060;
}

ul.gallery,
ul.gallery-preview {
    margin-bottom: 0;
    padding: 0 1em;
}

ul.gallery > li,
ul.gallery-preview > li {
    list-style: none;
    margin-bottom: 15px;
}

ul.gallery-preview > li {
    background: #f5f5f5;
}

ul.gallery > li {
    padding: 1em 0;
}

#frm-customer-record.form-edit ul.gallery > li,
#frm-customer-record.form-edit ul.gallery-preview > li {
    border: 1px solid #ddd;
}

#frm-customer-record.form-edit ul.gallery > li:nth-of-type(odd),
#frm-customer-record.form-edit ul.gallery-preview > li:nth-of-type(odd) {
    background: #eee;
}

ul.gallery > li a,
ul.gallery-preview > li a {
    overflow: hidden;
    position: relative;
}

ul.gallery > li a {
    display: block;
}

ul.gallery-preview > li a {
    display: inline-block;
}

ul.gallery > li a > img,
ul.gallery-preview > li a > img {
    -webkit-transition: -webkit-transform .15s ease 0s;
    -moz-transition: -moz-transform .15s ease 0s;
    -o-transition: -o-transform .15s ease 0s;
    transition: transform .15s ease 0s;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

ul.gallery > li a:hover > img,
ul.gallery-preview > li a:hover > img {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
}

ul.gallery > li a:hover .gallery-poster > i,
ul.gallery-preview > li a:hover .gallery-poster > i {
    opacity: 1;
}

ul.gallery > li a .gallery-poster,
ul.gallery-preview > li a .gallery-poster {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transition: background-color .15s ease 0s;
    -o-transition: background-color .15s ease 0s;
    transition: background-color .15s ease 0s;
}

ul.gallery-preview > li a .gallery-poster {
    background-color: rgba(0, 0, 0, .1);    
}

ul.gallery > li a .gallery-poster > i,
ul.gallery-preview > li a .gallery-poster > i {
    color: #eee;
    font-size: xx-large;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    opacity: 0;
    position: absolute;
    top: 50%;
    -webkit-transition: opacity .3s ease 0s;
    -o-transition: opacity .3s ease 0s;
    transition: opacity .3s ease 0s;
}

ul.gallery-preview > li a:hover .gallery-poster {
    background-color: rgba(0, 0, 0, .5);
}

.dz-preview {
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 2em;
}

.dz-preview .dz-image {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    width: 170px;
    height: 170px;
}

.dz-preview .dz-progress {
    display: block;
    height: 15px;
    border: 1px solid #aaa;
    margin-top: 1em;
}

.dz-preview .dz-progress .dz-upload {
    display: block;
    height: 100%;
    width: 0;
    /*background: green;*/
}

.dz-preview .progress {
    margin-bottom: 0;
}

.dz-preview .dz-error-message {
    color: red;
    display: none;
}

.dz-preview.dz-error .dz-error-message,
.dz-preview.dz-error .dz-error-mark {
    font-size: small;
    color: red;
    display: block;
}

.dz-preview.dz-success .dz-success-mark {
    color: green;
    display: block;
}

.dz-preview.dz-success .dz-success-mark .fa {
    font-size: x-large;
}

.dz-preview .dz-error-mark,
.dz-preview .dz-success-mark {
    display: none;
}

.dz-preview .image-link {
    min-width: 182px;
}

.dz-preview textarea {
    margin-bottom: .7em;
}

/**
 * Droits & permissions des utilisateurs
 */

.panel-heading {
    background: #e2e2e2 !important;
    font-size: large;
}

.panel-heading img {
    border: 3px solid #ccc;
    height: 110px;
    width: 110px;
}

.panel-heading p:first-child {
    margin-bottom: 0;
}

.panel-heading .user-group {
    font-size: small;
}

.panel > .list-group .list-group-item,
.panel > .panel-collapse > .list-group .list-group-item {
    background: #eee;
}

.panel > .list-group .list-group-item:nth-child(even),
.panel > .panel-collapse > .list-group .list-group-item:nth-child(even) {
    background: #e2e2e2;
}

.panel > .list-group .list-group-item:hover,
.panel > .panel-collapse > .list-group .list-group-item:hover {
    background: #d0d0d0;
}

.panel > .list-group .list-group-item i {
    margin-right: .5em;
}

.material-switch > input[type="checkbox"] {
    display: none;
}

.material-switch.switch-help {
    margin-bottom: 1em;
    margin-top: 1em;
}

.material-switch.switch-help > label {
    margin-right: 1em;
}

.material-switch > label {
    cursor: pointer;
    height: 0;
    position: relative;
    width: 40px;
}

.material-switch > label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, .5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position:absolute;
    opacity: .3;
    transition: all .4s ease-in-out;
    width: 40px;
}

.material-switch > label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all .3s ease-in-out;
    width: 24px;
}

.material-switch > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;
}

.material-switch > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 20px;
}

/**
 * jVectorMap
 */

.jvectormap-tip {
    border-radius: 4px;
    background: rgba(0, 0, 0, .7);
    border: 0;
    font-family: inherit;
    font-size: small;
    padding: 5px;
    transition: left .4s ease 0s, top .4s ease 0s;
}

.jvectormap-legend-bg {
    background: #292929;
}

.jvectormap-legend-title {
    background: #fff;
    color: #000;
    margin: 2px;
    /*padding: 3px;*/
}

.jvectormap-legend-tick {
    padding: 2px;
}

.jvectormap-container > svg > g {
    box-shadow: 8px 8px 10px rgba(0, 0, 0, .6);
}

/**
 * blockUI
 */

.blockUI.blockMsg h1 {
    margin-bottom: 20px;
}

/**
 * Awesomplete
 */

/*div.awesomplete {
    display: block;
}*/

.input-group div.awesomplete {
    float: left;
    margin-bottom: 0;
    position: relative;
    width: 100%;
    z-index: 2;
}

.input-group div.awesomplete > input {
    float: none;
}

.input-group div.awesomplete > ul {
    z-index: 3; /* z-index a une valeur de 2 pour .input-group .form-control */
}

div.awesomplete > ul {
    border-color: rgba(0, 0, 0, .2);
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}

div.awesomplete mark {
    background-color: #f7fc97;
    padding: .1em;
}

div.awesomplete > ul > li:hover,
div.awesomplete > ul > li[aria-selected="true"] {
    background: #5897fb;
}

/**
 * Spinner
 */

.fa-spin-custom, .glyphicon-spin {
    -webkit-animation: spin 1000ms infinite linear;
    animation: spin 1000ms infinite linear;
}
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}
@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

/**
 * Impression
 */

/*@media print
{
    .no-print, .no-print * {
        display: none !important;
    }
}*/


.read-more-state {
    display: none;
}

.read-more-target {
    opacity: 0;
    max-height: 0;
    font-size: 0;
    transition: .25s ease;
}

.read-more-state:checked ~ .read-more-wrap .read-more-target {
    opacity: 1;
    font-size: inherit;
    max-height: 999em;
}

.read-more-state ~ .read-more-trigger:before {
    content: "Afficher plus d'information";
}

.read-more-state:checked ~ .read-more-trigger:before {
    content: "Afficher moins d'information";
}

#customer-analysis {
    margin-bottom: 2em;
}
