body {
    font-family: 'Open Sans', sans-serif;
}

section#login {
    display: flex;

    min-height: 100%;  /* Fallback for browsers do NOT support vh unit */
    min-height: 100vh; /* These two lines are counted as one :-)       */

    align-items: center;
}

a.bigBlock {
    font-size: 20px;
    line-height: 200px;

    display: inline-block;

    width: 200px;
    height: 200px;
    margin-right: 10px;
    margin-bottom: 10px;

    text-align: center;

    background-color: #eee;
}

.menuBlock {
    position: relative;

    display: inline-block;
    float: left;

    width: 200px;
    height: auto;
    margin-right: 10px;
    padding: 1px;

    text-decoration: none;

    border: 2px solid rgba(0, 0, 0, 0);
    background-color: #fff;
}

.menuBlock.active {
    border: 2px solid green;
}

.menuBlock.active::after {
    font-family: 'Glyphicons Halflings';

    position: absolute;
    top: 0;
    right: 0;

    width: 30px;
    height: 30px;
    padding: 5px;

    content: '\e013';
    text-align: center;

    color: #fff;
    background-color: #008000;
}

.menuBlock img.menuImage {
    width: 100%;
    height: auto;
    min-height: 112.5px;
}

.menuBlockWrapper.v2 .info-icon {
    font-weight: bold;

    position: absolute;
    z-index: 50;
    top: auto;
    bottom: 5px;
    left: 5px;

    display: block;

    width: 30px;
    height: 30px;

    text-align: center;
}

.info-icon-v2 {
    font-weight: bold;

    z-index: 50;

    display: inline-block;

    width: 30px;
    height: 30px;

    text-align: center;
}

.menuBlockWrapper.v2 .info-icon-v2 {
    position: absolute;
    top: auto;
    bottom: 5px;
    left: 5px;
    display: block;
}

.panel-heading > .info-icon-v2 {
    margin-right: 5px;
    color: white;
    background-color: gray;
}

.menuBlockWrapper .arrowBlock {
    border: none;
}

.menuBlockWrapper.v2 {
    margin-bottom: 15px;

    border: 1px solid lightgray;
}

.menuBlockWrapper.v2.active {
    border: 1px solid green;
}

.menuBlockWrapper.v2 .arrowBlock {
    height: 90px;
}

.menuBlockWrapper.v2 .arrowBlock .arrow,
.menuBlockWrapper.v2 .arrowBlock .price {
    position: absolute;
    right: 5px;
    bottom: 5px;

    float: right;

    width: auto;
    height: auto;
    padding-right: 5px;
    padding-left: 5px;

    text-align: right;
}

.menuBlockWrapper.v2 .arrowBlock .price {
    color: grey;
    border: 1px solid lightgray;
}

.menuBlockWrapper.v2 .arrowBlock .title {
    margin-right: auto;
    margin-left: auto;
    padding-top: 5px;

    text-align: center;

    color: grey;
}

a.backButton {
    display: none;
}

.arrowBlock {
    line-height: 30px;

    position: relative;

    display: block;

    width: 100%;
    height: 75px;

    border: solid;
    border-width: 1px;
    border-color: #000;
}

.arrowBlock span.glyphicon {
    top: 2px;
}

.arrowBlock span.title {
    font-size: 16px;
    line-height: 25px;

    display: block;

    margin-right: 32px;
    margin-left: 5px;

    color: #000;
}

.arrowBlock span.arrow {
    font-size: 20px;
    line-height: 30px;

    position: absolute;
    right: 0;

    float: right;

    width: 30px;
    height: 100%;
    margin: 0;
    padding: 0;

    text-align: center;

    color: #fff;
    background-color: #000;
}

div.container_fluid section {
    padding-right: 30px;
    padding-left: 30px;
}

ol.breadcrumb:empty {
    display: none;
}

.sidebar p.error {
    padding-top: 5px;
    padding-left: 10px;
}


.sidebar {
    margin: 0 !important;
    padding: 0 0 5px!important;
}

.sidebar .toggle-sidebar {
    position: fixed;
    top: 56px;
    right: 1px;

    float: right;

    padding: 15px;

    cursor: pointer;

    background-color: rgba(211, 211, 211, .8);
}

@media (min-width: 992px) {
    .sidebar .toggle-sidebar {
        display: none;
    }
}

@media (max-width: 991px) {
    .sidebar {
        top: 55px;
    }
    .sidebar:not(.toggled) div {
        display: none;
    }
    .sidebar.toggled {
        position: absolute;
        top: 130px;

        overflow: scroll;

        width: 100%;
        min-height: 600px;
        max-height: calc(100% - 60px);
        margin-right: 15px;

        border: 1px solid #000;
        background-color: #fff;
    }
}

div.pagenav {
    margin-right: 10px;
    margin-left: 10px;
    padding: 20px;

    border-width: 1px;
    border-color: #ddd;
    border-radius: 4px 4px 0 0;
}

.pager li > a, .pager li > span {
    border-radius: 0px;
}

.alignRight {
    float: right;
}

.alignLeft {
    float: left;
}

img.articleImage {
    width: 100%;
    height: auto;
}

p.price {
    font-size: 25px;
}

div.selection {
    text-align: center;
}

div.articles ul.list-group {
    width: 90%;
    margin-left: 5%;
}

div.articles li.list-group-item {
    line-height: 30px;
}

p.totalPrice {
    font-size: 25px;
}

p.totalPrice.fixed {
    position: fixed;
    z-index: 1000;
    right: 0;
    top: 52px;

    margin-bottom: 0;
    padding: 15px;
    padding-right: 45px;

    border-bottom: 1px solid lightgray;
    border-left: 1px solid lightgray;
    border-bottom-left-radius: 2px;
    background: white;
}

div.logo {
    text-align: center;
}

.row {
    margin-right: 0;
    margin-left: 0;
}


span.error-message {
    margin-left: -1px;
    padding: 4px;

    color: #f00;
    border: 1px solid #ccc;
    background-color: #fff;
}

.panel textarea {
    width: calc(100% + 2px);
    margin: -1px -1px -7px;
    padding: 8px;

    resize: vertical;

    border: 1px solid #ddd;
}

.table {
    margin-bottom: 0;
}

.table input {
    width: 100%;

    text-align: right;
}

span.preview-color {
    position: absolute;

    width: 26px;
    height: 26px;
    margin-left: -1px;

    background-color: #ccc;
}

div.quantity {
    margin-top: 10px;
    margin-bottom: 15px;
}

div.quantity input {
    width: 27px;
    padding: 0;

    text-align: center;
}

div.quantity .glyphicon {
    line-height: 20px;

    width: 23px;
    height: 24px;

    cursor: pointer;
    text-align: center;

    color: #333;
    border: 1px solid #ccc;
    background-color: #efefef;
}

.price {
    float: right;

    text-align: right;
}

.totalPrice {
    text-align: center;
}

.content .list-group li:first-child {
    background-color: #f5f5f5;
}

.show-if-required {
    font-size: 16px;
    line-height: 40px;

    display: none;
    float: right;

    width: 15px;
    margin-top: -1px;

    text-align: center;

    color: red;
    border-top: 1px solid #ddd;
}

.panel input.panel-input {
    width: calc(100% + 2px);
    height: 42px;
    margin: -1px;
    padding: 5px 15px;

    border: 1px solid #ddd;
    outline: none;
}
.panel input.panel-input:last-child {
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
}

.panel input.panel-input[required] {
    width: calc(100% - 13px);
}

.panel input.panel-input[required] + .show-if-required {
    display: block;
}

.panel input.panel-input[required] + div + .show-if-required {
    display: block;

    margin-top: -90px;

    border: none;
}

a.configuratorBlock {
    position: relative;

    background-size: cover;
}

span.configuratorOverlay {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(0, 0, 0, .4);
}

div.clearLeft {
    clear: left;

    width: 0;
    height: 0;
}

div.clearRight {
    clear: right;

    width: 0;
    height: 0;
}

div.tooltip-inner {
    font-size: 15px;
}

a.info-icon {
    font-size: 20px;

    text-decoration: none;
}

a.info-icon-v2 {
    font-size: 20px;

    text-decoration: none;
}

div.context {
    margin-top: 20px;

    text-align: center;
}

div.context img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 300px;
}

div.context p {
    max-width: 300px;
    height: auto;

    text-align: left;
}

h2.rotate {
    margin: 0 0 0 0;
}

span.rotate {
    font-size: 25px;

    z-index: -1;

    display: block;

    width: 300px;
    height: auto;
    height: 30px;
    margin: 0;

    -webkit-transform: rotate(90deg) translateX(0%);
       -moz-transform: rotate(90deg) translateX(0%);
        -ms-transform: rotate(90deg) translateX(0%);
         -o-transform: rotate(90deg) translateX(0%);
    -webkit-transform-origin: 0 0;
       -moz-transform-origin: 0 0;
        -ms-transform-origin: 0 0;
         -o-transform-origin: 0 0;
    text-align: center;
}

p.error {
    color: red;
}

#order_overview form#client-information > p.error {
    padding-top: 5px;
    padding-left: 15px;
}

/* Configuration details */
#order_details h1.configBar {
    position: relative;
}

#order_details div.bar {
    position: absolute;
    bottom: 0;

    width: 100%;
    height: 3px;
}

#order_details img.mainProductImage {
    max-width: 100%;
    height: auto;
    max-height: 600px;
}

#order_details img.logo {
    float: right;
    clear: both;

    max-width: 100%;
    height: auto;
}

#order_details div.row.subinfo div.col-md-6:first-child {
    padding-left: 0;
}

#order_details div.formation div.panel-heading,
#order_details div.article div.panel-heading {
    min-height: 60px;

    text-align: center;
}

#order_details div.formation div.panel-body {
    position: relative;

    min-height: 375px;

    text-align: center;
}

#order_details div.article div.panel-body {
    position: relative;

    min-height: 300px;

    text-align: center;
}

#order_details div.article p,
#order_details div.formation div.panel-body p {
    position: absolute;
    bottom: 1%;
    left: 1%;

    width: 98%;

    text-align: center;
}

#order_details div.article img {
    width: auto;
    max-width: 100%;
    max-height: 250px;
}

#formation_confirmation div.formation img,
#order_details div.formation img {
    max-width: 100%;
    max-height: 100%;
}

div.disclaimer {
    text-align: center;
}

div.detailsButtonRow {
    float: right;
}

span.details_price {
    font-size: 26px;

    float: right;
}

section#loading {
    padding-top: 100px;
    text-align: center;
    position: absolute;
    z-index: 150;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: white;
}

span.details_price small {
    font-size: 15px;

    display: block;
    clear: both;

    text-align: right;
}

#order_details div.formation .panel-body {
    min-height: 355px;
}

#order_details div.article .panel-body {
    padding-bottom: 10px;
}

.glyphicon {
    font-size: 19px;
}

section#order_history .btn-group {
    float: right;
}

section#order_history .b-top-none {
    border-top-width: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

section#order_history .force-hidden {
    display: none;
}

section#order_history .action[data-action='showOrder'] {
    cursor: pointer;
}

section#order_history tbody tr:hover {
    background-color: whitesmoke;
}


.panel-collapsible .panel-heading {
    cursor: pointer;
}

.sidebar > .order_information .overview > .row > div > .panel {
    width: 90%;
    margin-left: 5%;
}

.panel {
    border-radius: 0px;
}

.panel-heading {
    border-radius: 0px;
    background-color: #f5f5f5;
    background-image: none !important;
}

.placeholder-error {
    color: red;
}

.info-popup {
    position: relative;

    width: auto;
    max-width: 768px;
    margin: 20px auto;

    color: gray;
    background: #fff;
}

.info-popup > .row {
    padding-top: 30px;
    padding-right: 15px;
    padding-bottom: 30px;
}

.info-popup h3 {
    font-weight: bold;

    margin-top: 0;

    text-transform: uppercase;
}

.info-popup p.description {
    line-height: 2.5rem;

    margin-bottom: 15px;
}

.info-popup .price {
    font-size: 150%;
}

.info-popup .select-this-option {
    font-size: 150%;

    clear: left;

    width: calc(100% - 30px);
    margin-top: 15px;

    color: white;
    border-radius: 0;
    background: lightgray;
    position: absolute;
    bottom: 0;
    right: 15px;
}

.info-popup .select-this-option:hover {
    background: #afafaf;
}

.info-popup .text-content:not(.info-popup .hidden + .text-content) {
    position: absolute;
    right: 15px;
    top: 30px;
    bottom: 30px;
}

input[name^='date_'] + div > .datepicker .datepicker_timelist {
    display: none !important;
}

.datepicker {
    margin-top: 8px;
}

.datepicker .icon-home {
    display: none !important;
}

#navbar-collapse-1 {
    float: right;
}

.navbar-header {
    width: 80px;
}

.order-process-step {
    font-weight: bold;
    float: left;
    line-height: 50px;
    color: white;
    font-size: 18px;
    width: calc(100% - 400px);
}

.order-process-step:not(:empty)::before {
    content: " ";
    border-left: 1px solid white;
    margin-right: 10px;
}

.formation-step-panel {
    max-width: 750px;
}

.formation-step-panel > .panel-heading,
.articlePanel > .panel-heading {
    font-size: 16px;
    font-weight: bold;
}

.articlePanel > .panel-heading {
    padding: 10px 30px;
}

.articlePanel > .panel-body {
    padding: 10px 5px;
}

.articlePanel .menuBlock {
    margin-right: 25px;
    margin-left: 25px;
}

@media (max-width: 1277px) {
    .articlePanel .menuBlock {
        margin-right: 15px;
        margin-left: 15px;
    }
}

@media (max-width: 1200px) {
    .articlePanel .menuBlock {
        margin-right: 10px;
        margin-left: 10px;
    }
}

section#login + .container_fluid {
    margin-top: 52px;
}

nav.navbar {
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 100;
}

.sidebar .logo {
    margin-top: 15px;
}

.btn {
    border-radius: 0px !important;
}

.btn-remove-article {
    position: absolute;
    right: 15px;
    color: #f0ad4e;
    margin-top: 3px;
}

.btn-remove-article:hover,
.btn-remove-article:focus {
    color: #eb9316;
}

.alert-danger,
.alert-warning,
.alert-info,
.alert-success,
.btn-default,
.btn-primary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger {
    text-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;

    background-position: initial;
    background-repeat: no-repeat;
    background-image: none;
    filter: none;
}

.btn-default {
    background-color: #fafafa;
}