@import url("https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");
@import url(https://fonts.googleapis.com/css?family=Roboto:400,400i,500,700);
@font-face {
    font-family: Louis;
    src: url(fonts/LouisRegular.woff2) format("woff2");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: Louis;
    src: url(fonts/LouisBold.woff2) format("woff2");
    font-weight: 700;
    font-style: normal
}

body {
    font-family: Roboto, Helvetica, sans-serif;
    min-height: 700px;
}

html, body {
    overflow: hidden;
}

.header-title {
    font-family: Louis, Tahoma, sans-serif;
    width: 100%;
    background-color: grey;
    color: white;
    font-weight: 700;
    text-decoration: none;
    text-align: left;
    padding: 5px 10px;
}

.menu {
    width: 100%;
    margin: 10px 0;
    border-width: 1px 0;
    border-style: solid;
    border-color: #e6e6e6;
}

.menu-item {
    font-family: Louis, Tahoma, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    padding: 8px 0;
    margin: 0 10px;
    border-bottom: 3px solid transparent;
}

.menu-img {
    margin: 10px auto;
    max-height: 87px;
    max-width: 100%;
}

.cta {
    display: block;
    background: grey;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    color: #fff;
    padding: 7px;
}

.cta:hover {
    color: #fff;
    text-decoration: none;
}

.cta:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    background: url(img/circleArrow.svg) no-repeat center center;
    background-size: cover;
    width: 25px;
    height: 25px;
    margin-left: 10px;
}

.nav-title {
    border-bottom: 3px solid #ffcf40;
    font-family: Louis, Tahoma, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    padding: 8px 0;
    margin: 0 10px;
    display: block;
}

.nav-item,
.nav-item:hover,
.nav-item:focus,
.nav-item:active {
    flex: 1;
    background-color: grey;
    color: white;
    font-family: Louis, Tahoma, sans-serif;
    font-weight: 400;
    line-height: 16px;
    text-decoration: none;
    border: 1px solid white !important;
    border-radius: 0 !important;
    padding: 10px;
    font-size: 14px;
}

div.hide-mobile {
    background: #fff;
    display: none;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    background-color: #1a1a1a;
    color: white;
}

.nav-item.hide-mobile:hover {
    background: none;
}

.nav-item .flex-fill .float-left {
    max-width: calc(100% - 25px);
}

/*
*   Header columns
*/

.nav-link.filled-car-model{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-content: flex-end;
}

.nav-link.filled-car-model > svg {
    align-self: center;
}

.nav-item-dummy,
.nav-item-dummy:hover,
.nav-item-dummy:focus,
.nav-item-dummy:active {
    width: 50%;
    background-color: transparent;
}

.card {
    border-radius: 0;
}

.card-header {
    background-color: grey;
    padding: 0;
    border-radius: 0 !important;
}

.card-header:hover {
    background-color: #1a1a1a;
}

.card-header .btn-link,
.card-header .btn-link:hover,
.card-header .btn-link:focus,
.card-header .btn-link:active {
    width: 100%;
    font-weight: 700;
    color: white;
    text-decoration: none;
    text-align: left;
}

.card-body {
    color: #4d4d4d;
    padding: 0;
}

.accordion .card-header .btn:after {
    font-family: 'FontAwesome';
    content: "\f068";
    float: right;
    color: #ffcf40;
}

.accordion .card-header .btn.collapsed:after {
    content: "\f067";
}

.hide-below-lg {
    display: none !important;
}

.table td,
.table th {
    padding: 5px 0 0;
}

tbody:nth-child(odd) {
    background-color: white;
}

tbody:nth-child(even) {
    background-color: #f2f2f2;
}

.calculator tr {
    display: table;
    width: 100%;
    height:60px;
}

.calculator td {
    display: table-caption;
    width: 100%;
    font-size: 14px;
    text-align: center;
}

.calculator td.info {
    display: table-cell;		
    border-top-width: 1px;
    border-left-width: 1px;
    border-bottom-width: 1px;
    border-style: solid;
    border-color: #e6e6e6;
}

@media screen and ( max-width: 601px ){
    .calculator td.title {
        width: 100% !important;
    }
    .calculator td.info {
        display: none;
        width: 50% !important;
        vertical-align: middle;
    }
    .calculator td.info:nth-child(2),
    .calculator td.info:nth-child(3) {
        display: table-cell;
     }
    .calculator td:last-child {
        display: none;
    }
    .btn-container {
        display: flex !important;
        flex-flow: column;
    }
    .btn-container .btn-yellow {
        order: 1;
    }
    .btn-container .btn-grey {
        order: 2;
    }
}

.calculator td.list {
    text-align: left;
}

.calculator td.title {
    padding-left: 12px;
    font-weight: 700;
    padding: 10px;
    font-size: 16px;
}


.return {
    padding: 5px 20px;
}



.return a,
.return:hover a,
.return:focus a,
.return:active a {
    display: inline-block;
    font-family: Roboto, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #4d4d4d;
    text-decoration: none;
    cursor: pointer;
}

.form-container {
    max-width: 720px;
    margin: 30px auto;
    padding: 10px;
}

.grey-border-bottom {
    border-bottom: 1px solid #b3b3b3;
}

.grey-border-bottom:last-child{
    border-bottom: none;
}

input[type=checkbox] {
    height: 18px;
    width: 18px;
    margin: 10px;
    vertical-align: sub;
}

label {
    margin: 20px;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 40px;
    cursor: pointer;
    font-size: 18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #e6e6e6;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    border: 1px solid #b3b3b3;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container input:checked~.checkmark {
    border: 2px solid grey;
}

.checkbox-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid grey;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.btn-container {
    max-width: 720px;
    margin: 30px auto;
    border-top: 1px solid #b3b3b3;
    padding: 20px 10px;
    display: block;
    align-items: center;
    justify-content: flex-end;
}

.btn-yellow {
    width: 100%;
    border-radius: 0;
    margin: 10px auto;
    font-weight: 700;
    color: #4d4d4d;
    padding: 8px 20px;
    border: 2px solid #f2bf24;
}

.btn-yellow:hover,
.btn-yellow:focus,
.btn-yellow:active {
    background: #f2bf24;
}

.btn-grey {
    width: 100%;
    border-radius: 0;
    margin: 10px auto;
    font-weight: 700;
    color: #4d4d4d;
    padding: 8px 20px;
    border: 2px solid #b3b3b3;
}

.btn-grey:hover,
.btn-grey:focus,
.btn-greyy:active {
    background: #b3b3b3;
}

#specsGroups {
    display: none;
}

@media (min-width: 650px) {
    body {
        min-height: 600px;
    }
}

@media (min-width: 601px) {
    .menu-img {
        pointer-events: none;
    }
    div.hide-mobile {
        display: flex;
    }
    .hide-below-lg {
        display: flex !important;
    }
    .calculator td {
        display: table-cell;
        width: 25%;
        height: 30px;
        vertical-align: middle;
    }
    .calculator td.title {
        text-align: left;
        font-weight: 400;
        font-size: 14px;
        padding: 5px 0 0 12px;
    }
    .calculator td.info {
        border: 0;
    }
    .calculator td.list {
        width: 100%
    }
    .btn-container {
        display: flex;
    }
    .btn-grey {
        width: auto;
        margin: 0 10px;
    }
    .btn-yellow {
        width: auto;
        margin: 0 10px;
    }
}

.modal{
    padding:0 !important;
    height: 100vh;
    height: 100%;
    background:white;
    overflow: hidden;
}
.modal,
.modal .modal-dialog,
.modal .modal-dialog .modal-content{
    padding: 0;
    margin:0;
}

.modal .modal-dialog{
    max-width: none;
    width:100%;
    height: 100%;
}

.modal .modal-dialog .modal-content{
    border: unset;
    border-radius: unset;
    height: 100vh;
    height: 100%;
}

.modal .modal-dialog .modal-content .modal-body{
    padding: 0;
}

#modal-jelly .content img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}

#cars-header-images .col {
    flex: 1;
    text-align: center;
}

#cars-header-data > div {
    flex-wrap: nowrap;
}

#cars-header-data button > div {
    display: flex;
    align-items: center;
}

#cars-header-data button > div > span,
#cars-header-data button span {
    flex: 1;
}

#cars-header-data button > div > svg,
#cars-header-data button > svg {
    max-width: 18px;
    flex: 1;
    margin-left: 5px;
}

mark.highlight {
    padding: 0.2em 0;
    background: #ffcf40;
    border-radius: 3px;
}

#search {
    height: 100%;
}

#search .input-group {
    height: 100%;
    margin: 0
}

#search .input-group input {
    border: none;
    height: 100%;
    border-radius: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
}

#search .input-group input:focus {
    box-shadow: none;
    border: none;
}

#search .btn {
    height: 100%;
    border-radius: 0px;
    color: #ffcf40;
    background: none;
    box-shadow: none;
    border: none;
    outline: none;
}

#search .btn:hover {
    color: #333;
}

.results {
    margin: 0 0 0 10px;
    font-size: 14px;
    color: grey;
    height: 100%;
    display: flex;
    align-items: center;
}