/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
    font-size: 12px;
}

/*
 * Global add-ons
 */
.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.block-heading .block-icon [class*="fa-"] {
    padding: 0em 1em;
    line-height: 1em;
}

.unSelectable {
    cursor: default;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
/*.navbar .navbar-inner {*/
    /*background: #0A2D82;*/
    /*background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #0A2D82), color-stop(1, #0A2D82));*/
    /*background: -ms-linear-gradient(bottom, #0A2D82, #0A2D82);*/
    /*background: -moz-linear-gradient(center bottom, #0A2D82 0%, #0A2D82 100%);*/
    /*background: -o-linear-gradient(bottom, #0A2D82, #0A2D82);*/
    /*filter: progid:dximagetransform.microsoft.gradient(startColorStr='#0A2D82', EndColorStr='#0A2D82');*/
    /*-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#0A2D82',EndColorStr='#0A2D82')";*/
/*}*/

.navbar-fixed-top {
    position: fixed;
    border: 0;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

@media (min-width: 768px) {
    .container-fluid > .navbar-form {
        float: left;
    }
}

@media (min-width: 992px) {
    /*.container-fluid > .navbar-form {
        margin-left: 15%;
    }*/
    .navbar > .container-fluid > .navbar-title-module {
        margin-left: 15%;
    }
}

@media (max-width: 768px) {
    .navbar-form {
        margin-bottom: 0;
    }
}

/* Icon */
.navbar-toggle.menu {
    float: left;
    margin-left: 15px;
    margin-right: 0;
}

.navbar-toggle.search {
    float: left;
    margin-left: 15px;
    margin-right: 0;
}

.navbar-toggle.settings {
    padding: 6px 10px;
}

/* Title */
.navbar-brand, .brand {
    font-family: georgia, serif;
      padding: 20px 20px 5px;

}

.navbar-brand .first, .brand .first {
    color: #294CA1;
    font-style: italic;
    font-size:18px;
    font-weight: bold;
}

.navbar-brand .second, .brand .second {
    color: #fff;
    font-weight: bold;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
#sidebar {
    /*display: none;*/
    width: inherit;
    padding: 0;
    max-height: 340px;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    #sidebar {
        position: fixed;
        top: 140px;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: block;
        overflow-x: hidden;
        overflow-y: auto !important; /* Scrollable contents if viewport is shorter than content. */
        max-height: none;
    }
    .sidebar-nav .nav-header.brand {
        position: fixed;
        top: 0;
    }
}

#sidebar a {
    color: #444;
}

#sidebar .fa-chevron-up {
    float: right;
}

#sidebar .fa-fw {
    margin-right: 2px;
}

#sidebar .list-group-item {
    padding: 0;
    background: #efeff0;
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0, #efeff0), color-stop(1, #ffffff));
    background: -ms-linear-gradient(bottom, #efeff0, #ffffff);
    background: -moz-linear-gradient(center bottom, #efeff0 0%, #ffffff 100%);
    background: -o-linear-gradient(bottom, #efeff0, #ffffff);
    filter: progid:dximagetransform.microsoft.gradient(startColorStr='#86111A', EndColorStr='#880000');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff',EndColorStr='#efeff0')";
}

#sidebar .list-group-item a {
    padding: 10px 15px;
    display: block;
}

#sidebar .list-group-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#sidebar ul {
    list-style: none;
    padding: 0;
}

#sidebar ul a {
    padding: 0.5em 1em;
    display: block;
}

/* Sidebar navigation */
.nav-sidebar {
    margin-right: -21px; /* 20px padding + 1px border */
    margin-bottom: 20px;
    margin-left: -20px;
}

.nav-sidebar > li > a {
    padding-right: 20px;
    padding-left: 20px;
}

.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
    color: #fff;
    background-color: #428bca;
}

/*
 * Main content
 */

.main {
    padding: 0;
    margin-top: 0;
    border-left: 1px solid #999999;
    padding-bottom: 6em;
}

.main .page-header {
    margin-top: 0;
}

.collapsed .fa-chevron-up:before {
    content: "\f078";
}

footer hr {
    margin-left: 0;
    margin-right: 0;
}
/*
 * Blocks
 */
.block-heading .block-icon.pull-right {
    border-left: 0;
}

.block-heading .block-icon.pull-right > * {
    border-left: 1px solid #aaa;
}

/*
 * Couleur du texte
 */
.text-success,
a.text-success,
a.text-success:hover,
p.text-success,
div.text-success,
span.text-success {
    color: #3e8f3e;
}

.text-info,
a.text-info,
a.text-info:hover,
p.text-info,
div.text-info,
span.text-info {
    color: #28a4c9;
}

.text-warning,
a.text-warning,
a.text-warning:hover,
p.text-warning,
div.text-warning,
span.text-warning {
    color: #e38d13;
}

.text-danger,
a.text-danger,
a.text-danger:hover,
p.text-danger,
div.text-danger,
span.text-danger {
    color: #b92c28;
}

/* Clear */
.clearAfter:after {
    display: table;
    clear: both !important;
    content: "";
}

.clearBefore:before {
    display: table;
    clear: both !important;
    content: "";
}

/*
 * SMAM Assurances
 */
.SmamSante, .ApiviaSante {

}

.SmamSante.text, .ApiviaSante.text {
    color: #E73458 !important;
}

.SmamSante.bg, .ApiviaSante.bg {
    background-color: #E73458 !important;
    color: #FFFFFF;
}

.SmamSante.border, .ApiviaSante.border {
    border-color: #E73458 !important;
    border-radius: 5px;
}

.SmamSante.border .block-icon icon, .ApiviaSante.border .block-icon icon {
    color: #E73458 !important;
}

.SmamIard, .ApiviaIard {

}

.SmamIard.text, .ApiviaIard.text {
    color: #009BE1 !important;
}

.SmamIard.bg, .ApiviaIard.bg {
    background-color: #009BE1 !important;
    color: #FFFFFF;
}

.SmamIard.border, .ApiviaIard.border {
    border-color: #009BE1 !important;
    border-radius: 5px;
}

.SmamIard.border .block-icon icon, .ApiviaIard.border .block-icon icon {
    color: #009BE1 !important;
}

.SmamPrevoyance, .ApiviaPrevoyance {

}

.SmamPrevoyance.text, .ApiviaPrevoyance.text {
    color: #EF7D00 !important;
}

.SmamPrevoyance.bg, .ApiviaPrevoyance.bg {
    background-color: #EF7D00 !important;
    color: #FFFFFF;
}

.SmamPrevoyance.border, .ApiviaPrevoyance.border {
    border-color: #EF7D00 !important;
    border-radius: 5px;
}

.SmamPrevoyance.border .block-icon icon, .ApiviaPrevoyance.border .block-icon icon {
    color: #EF7D00 !important;
}

.SmamPatrimoine, .ApiviaPatrimoine {

}

.SmamPatrimoine.text, .ApiviaPatrimoine.text {
    color: #00AAAF !important;
}

.SmamPatrimoine.bg, .ApiviaPatrimoine.bg {
    background-color: #00AAAF !important;
    color: #FFFFFF;
}

.SmamPatrimoine.border, .ApiviaPatrimoine.border {
    border-color: #00AAAF !important;
    border-radius: 5px;
}

.SmamPatrimoine.border .block-icon icon, .ApiviaPatrimoine.border .block-icon icon {
    color: #00AAAF !important;
}

.SmamACS {

}

.SmamACS.text {
    color: #E1007D !important;
}

.SmamACS.bg {
    background-color: #E1007D !important;
    color: #FFFFFF;
}

.SmamACS.border {
    border-color: #E1007D !important;
    border-radius: 5px;
}

.SmamACS.border .block-icon icon {
    color: #E1007D !important;
}

.gommette {
    width: 32px;
    height: 32px;
    background: none no-repeat;
    display: block;
}

.gommette[data-gommette="_BLANC.ICO"],
.gommette[data-gommette="_BLANC.ico"],
.gommette[data-gommette="_blanc.ICO"],
.gommette[data-gommette="_blanc.ico"] {
    background-image: url('/img/gommette/_blanc.ico');
    content: "";
}

.gommette[data-gommette="_BLEU.ICO"],
.gommette[data-gommette="_BLEU.ico"],
.gommette[data-gommette="_bleu.ICO"],
.gommette[data-gommette="_bleu.ico"] {
    background-image: url('/img/gommette/_bleu.ico');
    content: "";
}

.gommette[data-gommette="_CYAN.ICO"],
.gommette[data-gommette="_CYAN.ico"],
.gommette[data-gommette="_cyan.ICO"],
.gommette[data-gommette="_cyan.ico"] {
    background-image: url('/img/gommette/_cyan.ico');
    content: "";
}

.gommette[data-gommette="_JAUNE.ICO"],
.gommette[data-gommette="_JAUNE.ico"],
.gommette[data-gommette="_jaune.ICO"],
.gommette[data-gommette="_jaune.ico"] {
    background-image: url('/img/gommette/_jaune.ico');
    content: "";
}

.gommette[data-gommette="_NOIR.ICO"],
.gommette[data-gommette="_NOIR.ico"],
.gommette[data-gommette="_noir.ICO"],
.gommette[data-gommette="_noir.ico"] {
    background-image: url('/img/gommette/_noir.ico');
    content: "";
}

.gommette[data-gommette="_ORANGE.ICO"],
.gommette[data-gommette="_ORANGE.ico"],
.gommette[data-gommette="_orange.ICO"],
.gommette[data-gommette="_orange.ico"] {
    background-image: url('/img/gommette/_orange.ico');
    content: "";
}

.gommette[data-gommette="_ROUGE.ICO"],
.gommette[data-gommette="_ROUGE.ico"],
.gommette[data-gommette="_rouge.ICO"],
.gommette[data-gommette="_rouge.ico"] {
    background-image: url('/img/gommette/_rouge.ico');
    content: "";
}

.gommette[data-gommette="_VERT.ICO"],
.gommette[data-gommette="_VERT.ico"],
.gommette[data-gommette="_vert.ICO"],
.gommette[data-gommette="_vert.ico"] {
    background-image: url('/img/gommette/_vert.ico');
    content: "";
}

.gommette[data-gommette="_VIOLET.ICO"],
.gommette[data-gommette="_VIOLET.ico"],
.gommette[data-gommette="_violet.ICO"],
.gommette[data-gommette="_violet.ico"] {
    background-image: url('/img/gommette/_violet.ico');
    content: "";
}

.ui-autocomplete .gommette {
    margin-right: 5px;
    margin-top: 5px;
}

.panel > .panel-heading {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom: 3px solid #83D0F5;
}

td i.webservice_icon{
    font-size: 18px;
    color: #337ab7;
    margin-right: 5px;
}