/*
 * Base structure
 */

body {
    background-color: rgb(233,233,233);
}

.nav-sidebar > .active > a, .nav-sidebar > .active > a:hover, .nav-sidebar > .active > a:focus {
    background-color: #32b39d !important;
    color: white;
}
.nav>li:not(.active)>a {
    color:black !important;
}
.btn-primary {
    color: #fff;
    background-color: #32b39d;
    border-color: #32b39d;
}
a,
.text-primary {
    color: #32b39d;
}


/*
 * Global add-ons
 */

#main-struct {
    max-width: 1200px;
    margin: auto;
}

.sub-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.navbar {
    margin:0;
    border-radius: 0;
    min-height: 72px;
    background-color: #32323a !important;
}
.navbar-inverse .navbar-nav>li>a {
    color: white !important;
    font-size: 1.2em;
    font-weight: 300;
}
.navbar-brand {
    padding: 5px 18px;
}
.navbar-brand img {
    height: 61px;
}
.navbar-toggle {
    padding: 19px 10px;
}
@media (min-width: 768px) {
    .navbar-nav>li>a {
        padding-top: 25px;
        padding-bottom: 25px;
    }
}

#main-container {
    background-color: #fff;
}
#main-container > .row{
    display: flex;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
    display: none;
}
@media (min-width: 768px) {
    .sidebar {
        z-index: 1000;
        display: block;
        padding: 20px;
        overflow-x: hidden;
        overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
        background-color: #f5f5f5;
        border-right: 1px solid #eee;
    }
}

/* 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: 20px;
}
@media (min-width: 768px) {
    .main {
        padding-right: 40px;
        padding-left: 40px;
    }
}
.main .page-header {
    margin-top: 0;
}


/*
 * Main styles
 */
table.style-1 {
    width: 100%;
    margin:15px 0;
}
table.style-1 td {
    padding: 9px;
    display: block;
    float: left;
}
table.style-1 > tbody > tr:first-child > td:first-child,
table.style-1 > tbody > tr:first-child > td:last-child {
    border-top: 1px solid #e2e2e2;
}
table.style-1 > tbody > tr:last-child > td:first-child,
table.style-1 > tbody > tr:last-child > td:last-child {
    border-bottom: 1px solid #e2e2e2;
}
table.style-1 > tbody > tr:first-child > td:first-child {
    border-top-left-radius:8px;
}
table.style-1 > tbody > tr:first-child > td:last-child {
    border-top-right-radius:8px;
}
table.style-1 > tbody > tr:last-child > td:first-child {
    border-bottom-left-radius:8px;
}
table.style-1 > tbody > tr:last-child > td:last-child {
    border-bottom-right-radius:8px;
}
table.style-1 > tbody > tr > td:first-child {
    border-left: 1px solid #e2e2e2;
}
table.style-1 > tbody > tr > td:last-child {
    border-right: 1px solid #e2e2e2;
}
table.style-1 > tbody > tr + tr > td {
    border-top: 1px solid #e2e2e2;
}
table.style-1 > tbody > tr > td:first-child {
    width: 35%;
}
table.style-1 > tbody > tr > td:last-child {
    text-align: right;
    color:#b7b7b7;
    width: 65%;
}

.rc-version-row{
    margin-top: 55px;
}
.rc-version .rc-version-img {
    text-align: center;
    padding: 10px 0;
}
.rc-version .rc-version-img img {
    max-width: 85%;
}
.rc-version .rc-version-desc {
    padding: 10px 0;
}
.rc-version .rc-version-discover a {
    text-decoration: underline;
}

.card-user  {
    border: 1px solid #cdcdcd;
    border-radius: 6px;
    width: 350px;
    display: inline-block;
    padding: 11px 16px;
}
.card-user-content {
    width:100%;
    display:table;
}
.card-user .card-user-picture {
    display: table-cell;
    width: 20%;
    vertical-align: middle;
}
.card-user .card-user-infos {
    display: table-cell;
    width: 80%;
    vertical-align: middle;
}
.card-user .card-user-img {
    width:50px;
    height:50px;
    border-radius: 50%;
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #b3b3b3;
}
.card-user .card-user-name {
    font-weight: bold;
}

p.alert {
    padding: 15px;
}

/*
* Page society
*/
#page-society .society-star {
    font-size: 20px;
}

/*
* Page licence
*/
.changeLicence .list-payments label {
    margin-right: 15px;
}

.section-title{
    margin-top: 55px;
    margin-bottom: 0;
}

.section-separator{
    margin-top: 10px;
}

.modules-row{
    display: flex;
}
.modules-row .col-md-4{
    display: flex;
    flex-direction: column;
}
.module-title{
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}
.module-c{
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    padding: 15px;
    border: 1px solid #D3D3D3;
    border-radius: 5px;
}
.module__logo-w{
    min-height: 105px;
    line-height: 105px;
    text-align: center;
}
.module__logo{
    width: 135px;
}
.module__description{
    text-align: justify;
}
.module__prix{
    margin-top: auto;
    margin-bottom: 10px;
    font-size: 18px;
    text-align: right;
}

@media (max-width: 991px){
    .modules-row{
        flex-direction: column;
    }
}