﻿

/* Footer */
footer {
    margin-top: 5em;
    padding-top: 2em;
    background: #252525;
    height: 345px;
}

    footer ul.navigation,
    footer ul.addresses {
        color: #fff;
        list-style: none;
        margin: 0;
        padding: 0;
    }

        footer ul.navigation > li.navigation-header,
        footer ul.addresses > li.addresses-header {
            font-weight: 900;
            margin-bottom: 2em;
        }

        footer ul.navigation > li > a {
            color: #fff;
        }

            footer ul.navigation > li > a:focus,
            footer ul.navigation > li > a:hover {
                color: #e92634;
                text-decoration: none;
            }


        footer ul.addresses > li > i.fa {
            color: #e92634;
        }

        footer ul.addresses > li {
            margin-bottom: 1em;
        }

    footer .social-links {
        position: absolute;
        bottom: 0;
    }

        footer .social-links .social-links-title {
            color: #fff;
            opacity: .5;
            font-size: .9em;
            margin: 0;
            margin-bottom: .25em;
        }

        footer .social-links ul {
            display: block;
            width: 100%;
            list-style: none;
            padding: 0;
            margin: 0;
        }

            footer .social-links ul > li {
                display: inline-block;
            }

                footer .social-links ul > li > a {
                    color: #fff;
                    opacity: .5;
                }

                    footer .social-links ul > li > a > .fa-stack {
                        border: 2px solid #fff;
                        border-radius: 1em;
                    }

                        footer .social-links ul > li > a > .fa-stack > .fa {
                            top: -1px;
                        }

                    footer .social-links ul > li > a:focus,
                    footer .social-links ul > li > a:hover {
                        opacity: 1;
                        color: #252525;
                    }

                        footer .social-links ul > li > a:focus > .fa-stack,
                        footer .social-links ul > li > a:hover > .fa-stack {
                            background: #fff;
                        }

/* Blocks */
.metro-blocks {
}

    .metro-blocks .metro-block {
        position: relative;
        cursor: pointer;
        display: block;
        box-shadow: 3px 4px 5px 0px rgba(210, 210, 210, 0.75);
        height: 12em;
        text-align: center;
    }

        .metro-blocks .metro-block > i.icon {
            display: inline-block;
            font-size: 5em;
            margin-top: 2rem;
        }

        .metro-blocks .metro-block > img.icon {
            height: 5em;
            margin-top: 2rem;
        }

        .metro-blocks .metro-block > .description {
            min-height: 4em;
            max-height: 4em;
            text-align: center;
            width: 100%;
            bottom: 0;
            position: absolute;
        }

            .metro-blocks .metro-block > .description > .title,
            .metro-blocks .metro-block > .description > .subtitle {
                margin: 0;
            }

            .metro-blocks .metro-block > .description > .title {
                font-weight: 900;
            }

            .metro-blocks .metro-block > .description > .subtitle {
                font-size: .8em;
            }

        .metro-blocks .metro-block:focus,
        .metro-blocks .metro-block:hover {
            box-shadow: 0px 0px 0px 5px rgba(175, 175, 175, .75);
        }

/* Simple form */
.simple-form {
    background: #fff;
    padding: 2em;
    box-shadow: 3px 4px 5px 0px rgba(51, 51, 51, 0.75);
}

    .simple-form > .simple-form-header {
        text-align: center;
    }

        .simple-form > .simple-form-header img {
            max-width: 150px;
            margin-bottom: .75em;
            font-size: 1.25em;
        }

        .simple-form > .simple-form-header .simple-form-title {
            padding-top: .75rem;
            font-size: 1.25em;
            font-weight: 400;
            border-top: 1px solid rgba(210, 210, 210, 0.75);
            color: #3d4144;
            margin-bottom: .25rem;
        }

        .simple-form > .simple-form-header .simple-form-subtitle {
            color: #8c8c8c;
            font-size: .75em;
            font-weight: 400;
        }

/* Nav tabs */
.nav-tabs-custom {
    border-color: #e92634;
}

    .nav-tabs-custom .nav-link {
        color: #3d4144;
        border-radius: 0;
        font-weight: 300;
    }

        .nav-tabs-custom .nav-link:focus,
        .nav-tabs-custom .nav-link:hover {
            border-color: #e92634;
        }

        .nav-tabs-custom .nav-link.active {
            background: #e92634;
            color: #fff;
            border-color: #e92634;
        }

    .nav-tabs-custom.border-width-2 {
        border-width: 2px;
    }

/* Tab content */
.tab-content-custom {
    min-height: 15em;
    border-bottom: 1px solid #e92634;
}

    .tab-content-custom.bordered {
        border-left: 1px solid rgba(140, 140, 140, .5);
        border-right: 1px solid rgba(140, 140, 140, .5);
        border-bottom: 1px solid rgba(140, 140, 140, .5);
    }

    .tab-content-custom > .tab-pane.scrollable {
        max-height: 15em;
        min-height: 15em;
    }

/* Card header link */
.card-header > a {
    display: block;
}

/* Processing template */
.processing-template {
    display: table;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

    .processing-template > * {
        display: table-cell;
        float: none;
        vertical-align: middle;
    }

        .processing-template > * > span {
            display: block;
            margin-top: 10px;
        }

    .processing-template.inline {
        height: 5em;
    }

        .processing-template.inline > * > span {
            display: inline;
        }

        .processing-template.inline > * > .fa {
            font-size: 1em;
        }

    .processing-template.absolute {
        top: 0;
        left: 0;
        position: absolute;
        background: rgba(255, 255, 255, .5);
        height: 100%;
        width: 100%;
    }

/* Article search result */
.article-search-result .title,
.category-units .title {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e92634;
    font-size: .9rem;
    font-weight: 500;
    color: #3d4144;
}

.article-search-result .search-item-row,
.category-units .unit-item-row {
    display: block;
    padding: .3rem 0;
    border-top: 1px solid #ddd;
    font-size: .9rem;
    color: #3d4144;
    text-decoration: none;
}

    .article-search-result .search-item-row:focus,
    .article-search-result .search-item-row:hover,
    .category-units .unit-item-row:focus,
    .category-units .unit-item-row:hover {
        text-decoration: none !important;
        background-color: #8c8c8c;
        color: #fff;
    }

/* Offers table */
.offers-table {
}

    .offers-table > thead > tr > th {
        font-weight: 400;
        font-size: .9em;
        padding: .3rem .5rem;
    }

    .offers-table > tbody > tr > td {
        font-weight: 400;
        font-size: .9em;
        padding: .3rem .5rem;
    }

        .offers-table > tbody > tr > td > .item-description {
            width: 80%;
        }

        .offers-table > tbody > tr > td > .description-icon {
            width: 20%;
        }

/* Shopping cart table */
.shopping-cart-table {
}

    .shopping-cart-table > thead > tr > th {
        font-weight: 500;
        font-size: .9em;
        padding: .3rem .5rem;
    }

    .shopping-cart-table > tbody > tr > td {
        font-weight: 400;
        font-size: .9em;
        padding: .3rem .5rem;
    }

        .shopping-cart-table > tbody > tr > td > .item-description {
            width: 80%;
        }

        .shopping-cart-table > tbody > tr > td > .description-icon {
            width: 20%;
        }

/* Order total table */
.order-total-table {
    font-size: .9em;
    margin-top: 1em;
    margin-bottom: 1em;
}

    .order-total-table > tbody > tr > td,
    .order-total-table > tfoot > tr > th {
        border: none;
    }

    .order-total-table > tfoot > tr > th {
        font-size: 1.25em;
    }

/* Create order form */
.create-order-form {
}

    .create-order-form .form-check,
    .create-order-form .form-check a {
        font-size: .9em;
    }

/* Item description */
.item-description,
.description-icon {
    display: inline-block;
}

.item-description {
    float: left;
    height: 3em;
    overflow: hidden;
    word-break: break-all;
}

.description-icon {
    float: left;
}

/* Pagination */
.pagination {
    margin: 0;
    margin-top: .2em;
    margin-bottom: .2em;
    text-align: center;
    width: auto;
    display: block;
}

    .pagination > li {
        display: inline-block;
    }

        .pagination > li > a {
            display: inline-block;
            padding: .1em .5em;
            color: #262626;
            border: 1px solid transparent;
            font-size: .9em;
        }

        .pagination > li:not(.active):not(.disabled) > a:focus,
        .pagination > li:not(.active):not(.disabled) > a:hover {
            text-decoration: none;
            border: 1px solid #e92634;
        }

        .pagination > li.active {
            background: #e92634;
            color: #fff;
        }

/* Card filter */
.card-filter {
}

    .card-filter .card-header > a {
        position: relative;
    }

        .card-filter .card-header > a > i.fa.sign {
            position: absolute;
            right: 0;
            top: .25em;
        }

/* Services */
.services-map,
.services-list {
    height: 450px;
}

.services-list {
    overflow-y: scroll;
}

    .services-list .list-group-item {
        cursor: pointer;
    }

        .services-list .list-group-item .service-header {
            font-size: 1.25em;
            font-weight: 900;
            margin-bottom: .5em;
            display: block;
            color: #3d4144;
        }

        .services-list .list-group-item .service-description {
            color: #3d4144;
        }

            .services-list .list-group-item .service-description ul {
                padding-left: 1.2em;
                margin-bottom: 1.5em;
            }

/*.services-list .list-group-item .service-description ul > li {
                margin-left: -.2em;
            }*/

/* Service details */
.service-details {
    padding-left: 0;
    padding-right: 0;
}

    .service-details .service-address {
        color: #007bff;
        font-weight: 500;
        margin: 0;
        margin-bottom: .75em;
    }

    .service-details .service-details-title {
        margin: 0;
        font-size: .8em;
        font-weight: 300;
        color: #8c8c8c;
    }

    .service-details ul.service-phones {
        padding: 0;
        margin: 0;
        list-style: none;
    }

        .service-details ul.service-phones > li {
            color: #3d4144;
            font-size: 1.25em;
            font-weight: 300;
        }

    .service-details .service-list {
        margin: 0;
        padding: 0;
        list-style: none;
    }

        .service-details .service-list > li {
            font-size: .9em;
        }

/* Full screen modal */
.modal.fullscreen {
}

    .modal.fullscreen .modal-dialog {
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh;
        padding: 0;
        margin: 0;
    }

    .modal.fullscreen .modal-content {
        height: auto;
        min-height: 100vh;
        max-height: 100vh;
    }

    .modal.fullscreen .modal-header .close {
        padding: .75rem;
    }

/* Modal header custom */
.modal-header-custom {
    background: #e92634;
    border-radius: 0;
    color: #fff;
    font-weight: 500;
}

    .modal-header-custom .close {
        color: #fff;
        opacity: 1;
    }

/* Box shadow */
.box-shadow {
    box-shadow: 3px 4px 5px 0px rgba(210, 210, 210, 0.75);
}

/* Scrollable */
.scrollable {
    max-height: 12.75em;
    overflow-y: scroll;
}

.scrollable-y {
    max-height: 12.75em;
    overflow-y: scroll;
    overflow-x: hidden;
}

/* No results */
.no-results {
    color: #8c8c8c;
    font-size: .9em;
}

/* Backgrounds */
.bg-color-red {
    background: #e92634;
}

.bg-color-white {
    background: #fff;
}

.bg-color-black {
    background: #3d4144;
}

.bg-color-blue {
    background: #35a2ff;
}

.bg-color-purple {
    background: #8e589c;
}

.bg-color-green {
    background: #007855;
}

.available-background {
    background: #bdffa2;
}

.not-available-background {
    background: #fdefa1;
}

.provider-background {
    background: #a8e1fe;
}

.remote-provider-background {
    background: #ffb2b2;
}

/* Text colors */
.color-red {
    color: #e92634;
}

.color-white {
    color: #fff;
}

.color-black {
    color: #3d4144;
}

.color-green {
    color: #007855;
}

/* Global styles */
a {
    -o-transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    transition: all .3s;
}

/* Text utilities */
.font-weight-black {
    font-weight: 900;
}

.page-header {
    font-size: 1.25em;
    font-weight: 300;
    margin: 1em 0 1.5em 0;
}

/* Min heights utilities */
.mh-30 {
    min-height: 30em;
}

/* Button styles */
.btn-custom {
    color: #fff;
    background-color: #e92634;
    border-color: #e92634;
}

    .btn-custom:not(:disabled):not(.disabled):active,
    .btn-custom:not(:disabled):not(.disabled).active, .show > .btn-custom.dropdown-toggle,
    .btn-custom:hover {
        color: #fff;
        background-color: #d42532;
        border-color: #d42532;
    }

    .btn-custom:focus {
        box-shadow: 0 0 0 0.2rem rgba(233, 38, 52, 0.5);
    }

/* Hyperlink styles */
.default {
    color: #007bff;
}

    .default:focus,
    .default:hover {
        color: #0056b3;
        text-decoration: none;
    }

    .default.dotted {
        border-bottom: 1px dotted #007bff;
    }

        .default.dotted:focus,
        .default.dotted:hover {
            border-bottom: 1px dotted #0056b3;
        }

.light,
.light:focus,
.light:hover {
    color: #fff;
    text-decoration: none;
}

.dark {
    color: #3d4144;
}

    .dark:focus,
    .dark:hover {
        color: #8c8c8c;
        text-decoration: none;
    }

.gray {
    color: rgba(210, 210, 210, 0.75);
}

    .gray:focus,
    .gray:hover {
        color: #8c8c8c;
        text-decoration: none;
    }

.red {
    color: #e92634;
    text-decoration: none;
}

    .red:focus,
    .red:hover {
        color: #d42532;
        text-decoration: none;
    }

    .red.dotted {
        border-bottom: 1px dotted #e92634;
    }

        .red.dotted:focus,
        .red.dotted:hover {
            border-bottom: 1px dotted #d42532;
        }

/* Font sizes */
.font-09 {
    font-size: .9em;
}

.font-08 {
    font-size: .8em;
}

.font-07 {
    font-size: .7em;
}

/* Bootstrap overrided */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

/* Liquids */
.collapse-header-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #000;
}

    .collapse-header-link:hover {
        text-decoration: none;
        color: #000;
    }

.checkbox {
    cursor: pointer;
}

.card.product-item {
    height: 26em;
}

    .card.product-item img {
        display: block;
        height: 7rem;
        width: auto;
        max-width: 100%;
        margin: 0 auto;
    }

    .card.product-item .card-title {
        font-size: 0.9rem;
        height: 4rem;
        overflow: hidden;
    }

    .card.product-item dt, .card.product-item dd {
        font-size: 0.8rem;
        padding: 0;
        margin: 0;
        white-space: nowrap;
        overflow-x: hidden;
        text-overflow: ellipsis;
    }

/* Image box */
.image-box {
    width: 100%;
    height: 250px;
}

    .image-box .preview-box {
        display: table;
        width: 100%;
    }

    .image-box .preview {
        height: 180px;
        display: table-cell;
        vertical-align: middle;
        text-align: center;
    }

        .image-box .preview > img {
            margin: 0 auto;
            max-height: 180px;
        }

    .image-box > .image-carousel {
        padding-left: 25px;
        padding-right: 25px;
        height: 4rem;
    }

    .image-box .image-carousel .carousel-inner {
        height: 100%;
    }

    .image-box > .image-carousel .carousel-control-prev {
        height: 100% !important;
        color: #9d9d9d;
        background: none;
        width: 7px;
        height: 20px;
        left: 5px;
    }

    .image-box > .image-carousel .carousel-control-next {
        height: 100% !important;
        color: #9d9d9d;
        background: none;
        width: 7px;
        height: 20px;
        right: 5px;
    }

    .image-box > .image-carousel .carousel-item {
        margin-left: 0;
        margin-right: 0;
        height: 100%;
    }

        .image-box > .image-carousel .carousel-item > * {
            display: inline-block;
            padding: 10px;
            opacity: .3;
            cursor: pointer;
            -o-transition: all .3s;
            -moz-transition: all .3s;
            -webkit-transition: all .3s;
            transition: all .3s;
        }

            .image-box > .image-carousel .carousel-item > *.active {
                height: 100%;
                opacity: 1;
            }

            .image-box > .image-carousel .carousel-item > * > img {
                cursor: pointer;
                height: 100%;
            }

.card > .card-body > .image-box {
    display: -webkit-flex;
    display: flex;
    height: auto;
    width: auto;
    flex-direction: column;
    -webkit-flex-grow: 1;
    -webkit-flex-shrink: 1;
    -webkit-flex-basis: auto;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

    .card > .card-body > .image-box .preview-box {
        display: block;
        width: auto;
        height: auto;
    }

    .card > .card-body > .image-box .preview {
        height: auto;
        display: block;
        vertical-align: inherit;
        padding: 1.25em;
    }

        .card > .card-body > .image-box .preview > img {
            height: 25em;
            max-height: 25em;
        }

    .card > .card-body > .image-box .image-carousel {
        display: block;
        width: auto;
        height: 5em;
        max-height: 5em;
        padding: .5em;
    }

/* Image gallery */
.image-gallery {
    max-height: 100vh;
}

    .image-gallery .image-preview {
        display: block;
        margin-bottom: 1em;
        opacity: .3;
    }

        .image-gallery .image-preview.active {
            opacity: 1;
        }

        .image-gallery .image-preview:hover {
            box-shadow: 3px 4px 5px 0px rgba(210, 210, 210, 0.75);
            opacity: 1;
        }

    .image-gallery .image-full {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
    }

/* Article card */
.article-card {
    height: 31em;
}

    .article-card > .article-title-image {
        min-height: 10em;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        /*background-color: rgba(210, 210, 210, 0.75);*/
    }

    .article-card .card-title {
        font-weight: 500;
    }

    .article-card .card-text {
        font-weight: 300;
        color: #8c8c8c;
    }

    .article-card .card-body {
        max-height: 17em;
        overflow-y: hidden;
    }

/* Image card */
.image-card {
}

    .image-card > .image-title-image {
        height: 12em;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        background-color: rgba(210, 210, 210, 0.75);
    }

/* Certificate */
.certificate {
    display: block;
    width: 100%;
    height: 12em;
    background-color: #fff;
    margin-bottom: 1em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
    border: 1px solid rgba(210, 210, 210, 0.75);
}

    .certificate.vertical {
        width: 100%;
        height: 23em;
    }

/* Car card */
.car-card {
}

    .car-card .card-body {
        padding: 0;
    }

    .car-card .card-title {
        background: #e92634;
        color: #fff;
        margin: 0;
        margin-bottom: .5em;
        padding: 1.5em;
        text-align: center;
        font-weight: 900;
    }

    .car-card ul.specification {
        list-style: none;
        margin: 0;
        padding: 0;
        padding-left: 1.5em;
        padding-right: 1.5em;
    }

        .car-card ul.specification > li {
            color: #007bff;
            font-size: .9em;
            margin-bottom: .5em;
        }

            .car-card ul.specification > li > span {
                color: #8c8c8c;
                display: block;
            }

/* Quick groups */
.quick-group {
    font-size: .9rem;
    list-style: none;
    padding: 0;
}

    .quick-group li {
        padding-top: .25rem;
        padding-bottom: .25rem;
    }

        .quick-group li > label,
        .quick-group li > a {
            margin: 0;
            text-transform: capitalize;
        }

            .quick-group li > label > a::before {
                content: "\f07c";
                font-family: FontAwesome;
                color: #f2e48c;
            }

            .quick-group li > label > a.collapsed::before {
                content: "\f07b";
            }

        .quick-group li > ol {
            list-style: none;
        }

/* Car illustration card */
.car-illustration-card {
}

    .car-illustration-card > .illustration-image {
        height: 10em;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        background-color: rgba(210, 210, 210, 0.75);
    }

    .car-illustration-card .card-title {
        font-weight: 500;
    }

    .car-illustration-card .card-text {
        font-weight: 300;
        color: #8c8c8c;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .car-illustration-card:focus,
    .car-illustration-card:hover {
        text-decoration: none;
    }

/* Category units card */
.category-units-card {
}

    .category-units-card .category-units-image {
        display: block;
        min-height: 15em;
        max-height: 15em;
        height: 100%;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
    }

    .category-units-card .border-bottom:last-child {
        border: none !important;
    }

/* Unit map */
.unit-map ~ a {
    border: 1px solid #39a91f;
}

    .unit-map ~ a:focus,
    .unit-map ~ a:hover,
    .unit-map ~ a.active {
        border-color: #e92634;
    }

.image-box > .image-carousel .carousel-item > * > img {
    cursor: pointer;
    max-height: 100%;
}

/* Battery Selection */
.vehicle-makes .nav-link {
    color: #e92634;
    font-weight: bold;
}

    .vehicle-makes .nav-link:not(.active):hover {
        color: #C10B18;
    }

.tmb-block {
    display: inline-block;
    min-width: 120px;
    width: 12%;
    height: 30px;
    margin-top: 10px;
}

    .tmb-block .tmb-block-inner {
        padding: 5px 5px;
    }

    .tmb-block .tmb-image {
        margin-bottom: 5px;
        text-align: center;
        height: 80px;
        line-height: 80px;
        border: 1px solid #eee;
        border-radius: 5px;
        transition: border linear 0.2s;
    }

        .tmb-block .tmb-image:hover {
            border: 2px solid #ccc;
            border-radius: 5px;
        }

        .tmb-block .tmb-image > img {
            max-height: 50px;
            max-width: 80px;
        }

    .tmb-block .tmb-sign {
        text-align: center;
        vertical-align: top;
        white-space: nowrap;
        overflow-x: hidden;
        text-overflow: ellipsis;
    }

        .tmb-block .tmb-sign > a {
            color: #777;
            text-decoration: none;
        }

            .tmb-block .tmb-sign > a:hover {
                text-decoration: none;
            }

/* Product */
.product {
    margin-top: 2em;
    margin-bottom: 2em;
}

    .product p.title {
        font-weight: 500;
        font-size: 1.25em;
    }

    .product p.subtitle {
        font-weight: 300;
        font-size: .9em;
    }

        .product p.subtitle > span {
            font-weight: 500;
            color: #8c8c8c;
        }

    .product ul.parameters {
        margin: 0;
        padding: 0 0 0 1.25em;
    }

        .product ul.parameters > li {
            font-weight: 300;
            font-size: .9em;
        }

            .product ul.parameters > li > span {
                font-weight: 500;
            }

/* Contact row */
.contact-row {
}

    .contact-row .contact-title {
        margin: 0;
        padding: 0;
        margin-bottom: 1em;
        padding-bottom: 1em;
        font-size: 1.15rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(210, 210, 210, 0.75);
    }

    .contact-row .contact-info {
        margin: 0;
        padding: 0;
        margin-bottom: 1em;
    }

        .contact-row .contact-info > i {
            color: #e92634;
        }

        .contact-row .contact-info > span {
            color: #262626;
            font-weight: 300;
        }

    .contact-row .store {
        margin-bottom: 2em;
    }

/* Media queries */
@media (min-width: 1400px) {
    .col-xxl-1 {
        -ms-flex: 0 0 8.333333%;
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .col-xxl-2 {
        -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .col-xxl-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-xxl-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-xxl-5 {
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-xxl-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-xxl-7 {
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-xxl-8 {
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-xxl-9 {
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-xxl-10 {
        -ms-flex: 0 0 83.333333%;
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .col-xxl-11 {
        -ms-flex: 0 0 91.666667%;
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .col-xxl-12 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Blueimp gallery controls */
.blueimp-gallery .prev,
.blueimp-gallery .next,
.blueimp-gallery .close {
    color: #fff !important;
}

/* Strikethrough */
.strikethrough {
    position: relative;
}

    .strikethrough:before {
        position: absolute;
        content: "";
        left: 0;
        top: 50%;
        right: 0;
        border-top: 1px solid red;
        -webkit-transform: rotate(-5deg);
        -moz-transform: rotate(-5deg);
        -ms-transform: rotate(-5deg);
        -o-transform: rotate(-5deg);
        transform: rotate(-5deg);
    }

/* Textboxes clear button */
.form-control-clear {
    position: absolute;
    right: 0.5rem;
    top: 0.65rem;
    z-index: 1001;
    pointer-events: auto;
    cursor: pointer;
}

/* Scrollable dropdown */
.dropdown-menu.scrollable {
    height: auto;
    max-height: 50vh;
    overflow-y: scroll;
    overflow-x: visible;
    width: auto;
    min-width: 100%;
}

    .dropdown-menu.scrollable.mh-20 {
        max-height: 20vh;
    }

.dropdown-form-group {
    position: relative;
}

    .dropdown-form-group .dropdown-menu {
        min-width: 100%;
    }

        .dropdown-form-group .dropdown-menu > .dropdown-header {
            text-align: center;
        }

.simple-container {
    background: #fff;
    padding: 1rem;
    border: 1px solid #ccc;
}

/* Table header row */
.table-header-row {
    padding: .75rem 1.25rem;
    font-weight: 500;
}

.card-header.with-arrow:before {
    content: "\f105";
    font-family: FontAwesome;
    position: absolute;
    width: 1.28571429em;
    text-align: center;
}

.card-header.open.with-arrow:before {
    content: "\f107";
}

}

/* TechnicalCatalog */
.model-card {
    padding: 0.5rem;
}

    .model-card:hover {
        background: #f8f8f8;
    }

    .model-card .model-image {
        min-height: 5rem;
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }

.selectable:hover {
    background: #f8f8f8;
    cursor: pointer;
}

/* Validation errors */
.input-validation-error {
    border: 1px solid #e92634;
}

    .input-validation-error:focus {
        border: 1px solid #e92634;
        box-shadow: 0 0 0 0.2rem rgba(233, 38, 52, 0.25) !important;
    }

/* Owl carousel */
.owl-carousel .owl-item > .item {
    width: 100%;
    height: 10em;
    background-size: cover;
}

.owl-carousel.thumbnails .owl-item > .item {
    width: 100%;
    height: 5em;
    background-size: cover;
    opacity: .5;
}

.owl-carousel.thumbnails .owl-item.active.center > .item {
    opacity: 1;
}

/* About company */
.block-title {
    text-transform: uppercase;
    border-bottom: 2px solid #fbc604;
    display: inline-block;
    width: auto;
    padding-right: 2em;
}

.about-company-history {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: table;
    min-height: 30em;
    height: 30em;
}

    .about-company-history > li {
        display: table-cell;
        text-align: center;
        font-size: 1.25rem;
        font-weight: bold;
        vertical-align: middle;
        position: relative;
    }

        .about-company-history > li:before {
            content: '';
            width: .9em;
            height: .9em;
            background: #636162;
            display: block;
            margin: 0 auto;
            border-radius: 100%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 1002;
        }

        .about-company-history > li:after {
            content: '';
            width: 1.25em;
            height: 1.25em;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border-radius: 100%;
            z-index: 1001;
            box-shadow: 0 0 0px 7px #fbc604;
            background: #eee;
        }

        .about-company-history > li:nth-child(odd) > .year {
            position: relative;
            display: block;
            top: 2em;
        }

        .about-company-history > li:nth-child(even) > .year {
            position: relative;
            display: block;
            top: -2em;
        }

        .about-company-history > li:not(:last-child) > .line {
            border-bottom: 5px solid #636162;
            position: absolute;
            width: 95%;
            top: 50%;
            left: 50%;
            transform: translate(1.05em, -50%);
        }

        .about-company-history > li:nth-child(odd) > .caption {
            position: absolute;
            top: 0em;
            left: 50%;
            transform: translateX(-50%);
            text-align: left;
            width: 120%;
            font-size: .8em;
            font-weight: normal;
            white-space: nowrap;
            height: 8em;
        }

        .about-company-history > li > .caption span {
            font-size: 1.3em;
            font-weight: 900;
        }

            .about-company-history > li > .caption span.regular-size {
                font-size: 1em;
            }

        .about-company-history > li:nth-child(odd) > .caption > .caption-context {
            height: 100%;
            position: relative;
        }

            .about-company-history > li:nth-child(odd) > .caption > .caption-context > .caption-content {
                bottom: 0;
                position: absolute;
                border-bottom: 2px solid #fbc604;
                left: 50%;
                transform: translateX(-50%);
            }

        .about-company-history > li > .caption > .caption-context > .caption-content > p {
            margin: 0;
            margin-bottom: -.5em;
        }

            .about-company-history > li > .caption > .caption-context > .caption-content > p:last-child {
                margin-bottom: 0;
            }

        .about-company-history > li:nth-child(odd) > .caption:after {
            content: '';
            border-right: 2px solid #fbc604;
            left: 50%;
            transform: translateX(-50%);
            position: absolute;
            height: 100%;
        }

        .about-company-history > li:nth-child(even) > .caption {
            position: absolute;
            bottom: 0em;
            text-align: left;
            width: 120%;
            font-size: .8em;
            font-weight: normal;
            left: 50%;
            transform: translateX(-50%);
            white-space: nowrap;
            height: 8em;
        }

            .about-company-history > li:nth-child(even) > .caption > .caption-context {
                height: 100%;
                position: relative;
            }

                .about-company-history > li:nth-child(even) > .caption > .caption-context > .caption-content {
                    top: 0;
                    position: absolute;
                    border-top: 2px solid #fbc604;
                    left: 50%;
                    transform: translateX(-50%);
                }

            .about-company-history > li:nth-child(even) > .caption:before {
                content: '';
                border-right: 2px solid #fbc604;
                left: 50%;
                transform: translateX(-50%);
                position: absolute;
                height: 100%;
                top: -100%;
            }

/* Company today */
.company-today-container {
    font-size: 1em;
    font-weight: normal;
}

    .company-today-container .highlight {
        font-size: 3.5em;
        font-weight: bold;
    }

    .company-today-container .company-today-title {
        white-space: nowrap;
        display: inline-block;
        width: auto;
        position: relative;
        margin-bottom: -.7em;
        min-width: 70%;
    }

        .company-today-container .company-today-title > div {
            display: inline-block;
            width: auto;
            min-width: 30%;
        }

            .company-today-container .company-today-title > div:last-child {
                text-align: right;
                min-width: 69.99999%;
            }

        .company-today-container .company-today-title:after {
            content: '';
            border-bottom: 2px solid #fbc604;
            width: 100%;
            position: absolute;
            left: 0;
            bottom: .7em;
        }

    .company-today-container .company-today-subtitle {
        min-height: 5em;
        min-width: 70%;
        display: inline-block;
        position: relative;
    }

        .company-today-container .company-today-subtitle .company-today-icon {
            display: block;
            width: 100%;
            height: 100%;
            position: absolute;
            top: 0;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: top right;
            right: 0;
            background-size: 50%;
        }

            .company-today-container .company-today-subtitle .company-today-icon.overlap {
                top: -1.25em;
                right: -2.5em;
            }

            .company-today-container .company-today-subtitle .company-today-icon.smaller-40 {
                background-size: 40%;
            }

            .company-today-container .company-today-subtitle .company-today-icon.smaller-30 {
                background-size: 30%;
            }

        .company-today-container .company-today-subtitle > p {
            margin-bottom: -.5em;
        }

    .company-today-container.min-width-100 {
        min-width: 100%;
    }

        .company-today-container.min-width-100 .company-today-title {
            min-width: 100%;
        }

        .company-today-container.min-width-100 .company-today-subtitle {
            min-width: 100%;
        }


.inline-text-block {
    height: 15em;
    overflow-y: scroll;
    margin: 1em;
    padding: 1em 0;
    border: 1px solid #000;
    white-space: inherit;
}

    .inline-text-block p {
        margin: 0;
    }

/* Vacancy */
.tab-pane > .vacancy:last-child {
    border-bottom: none;
}

.vacancy {
    border-bottom: 1px dotted #252525;
    padding-top: 1em;
    padding-bottom: 1em;
}

    .vacancy .vacancy-title {
        font-weight: bold;
        text-transform: uppercase;
        margin-bottom: 1em;
    }

    .vacancy .vacancy-date {
        font-weight: 300;
        font-size: .9em;
        margin-bottom: 1em;
    }

    .vacancy .vacancy-info > strong {
        display: block;
    }

    .vacancy .vacancy-info > p {
        margin: 0 !important;
    }

    .vacancy .vacancy-info + .vacancy-info {
        margin-top: .5em;
    }

    .vacancy .vacancy-contact {
        margin-top: .9em;
    }

@media (min-width: 1200px) and (max-width: 1919px) {
    .navbar-custom .search-form {
        min-width: 15em;
    }
}

@media (min-width: 1600px) {
    .company-today-container .company-today-subtitle {
        min-height: 8em;
    }
}
