@font-face {
    font-family: 'BebasNeue';
    src: url('font/BebasNeue-Regular.eot');
    src: url('font/BebasNeue-Regular.eot?#iefix') format('embedded-opentype'),
         url('font/BebasNeue-Regular.svg#BebasNeue-Regular') format('svg'),
         url('font/BebasNeue-Regular.ttf') format('truetype'),
         url('font/BebasNeue-Regular.woff') format('woff'),
         url('font/BebasNeue-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

.button {
    display: block;
    font-size: 13px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    line-height: 34px;
    font-family: 'Bellota Text', Arial, sans-serif;
    font-style: italic;
    width:150px;
    height:35px;
}

.solid {
    background-color: var(--c);
    border: 1px solid var(--b);
    width: 77px;
    height: 15px;
    line-height: 15px;
    float: right;
    margin-top: 0px;
}

.cornerbox {
    --all:0px;
    display:inline-block;
    border:1px solid var(--b);
    background:
       linear-gradient(  45deg, var(--b) 0 calc(var(--bottom-left,var(--all)) + 1px) ,transparent 0) bottom left /50% 50%,
       linear-gradient( -45deg, var(--b) 0 calc(var(--bottom-right,var(--all)) + 1px),transparent 0) bottom right/50% 50%,
       linear-gradient( 135deg, var(--b) 0 calc(var(--top-left,var(--all)) + 1px)    ,transparent 0) top left    /50% 50%,
       linear-gradient(-135deg, var(--b) 0 calc(var(--top-right,var(--all)) + 1px)   ,transparent 0) top right   /50% 50%,
       var(--img,var(--c));
    background-origin:border-box;
    background-repeat:no-repeat;
    -webkit-mask:
       linear-gradient(  45deg, transparent 0 var(--bottom-left,var(--all)) ,#fff 0) bottom left,
       linear-gradient( -45deg, transparent 0 var(--bottom-right,var(--all)),#fff 0) bottom right,
       linear-gradient( 135deg, transparent 0 var(--top-left,var(--all))    ,#fff 0) top left,
       linear-gradient(-135deg, transparent 0 var(--top-right,var(--all))   ,#fff 0) top right;
     -webkit-mask-size:50.5% 50.5%;
     -webkit-mask-repeat:no-repeat;
}

.green {
    --b: #d8d8d8;
    --c: #0f996b;
}

.red {
    --b: #d8d8d8;
    --c: #c20000;
}

.white {
    --b: #d8d8d8;
    --c: #fff;
}

.transparent {
    --b: #d8d8d8;
    --c: transparent;
}

.darkgrey {
    --b: #d8d8d8;
    --c: #323232;
}

.lightgrey {
    --b: #d8d8d8;
    --c: #4b4b4b;
}

.grey2 {
    --b: #d8d8d8;
    --c: #696868;
}

.grey3 {
    --b: #d8d8d8;
    --c: #858383;
}

.mail {
    color: inherit;
    text-decoration: none;
}

body {
    margin: 0px;
    padding: 0px;
    background: #000;
    font-family: 'Bellota Text', Arial, sans-serif;
    color: #fff;
}

h1 {
    font-size: 88px;
    font-family: 'BebasNeue', Arial, sans-serif;
    text-align: center;
    margin-bottom: 0px;
}

h2 {
    font-size: 88px;
    font-family: 'BebasNeue', Arial, sans-serif;
    text-align: left;
    margin: 0px;
}

h3 {
    font-size: 33px;
    font-family: 'BebasNeue', Arial, sans-serif;
}

h4 {
    font-size: 18px;
    font-family: 'Bellota Text', Arial, sans-serif;
    text-transform: uppercase;
}

p {
    font-size: 18px;
    font-family: 'Bellota Text', Arial, sans-serif;
    line-height: 33px;
}

.left {
    float: left;
}
.right {
    float: right;
}

.line {
    width: 100%;
    background: #c20000;
    height: 14px;
}

#wrapper {
    position: relative;
    width: 100%;
}

#top {
    height: 146px;
    width: 100%;
}

#lang {
    width: 95px;
    display: flex;
    justify-content: space-between;
    padding-left: 18px;
    margin: 14px 0px 20px;
    list-style: none;
}

#lang a {
    text-decoration: none;
    font-size: 15px;
    text-transform: uppercase;
    font-family: 'BebasNeue', Arial, sans-serif;
    letter-spacing: 1px;
    color: #fff;
}

#lang a.current {
    border-bottom: 4px solid #fff;
    margin-bottom: 10px;
}

#hamburger {
    padding-left: 18px;
    cursor: pointer;
}

.close {
    cursor: pointer;
    width: 36px;
    height: 36px;
    margin: 20px auto;
    transition: all 0.3s ease;
    position: relative;
}

.close:hover {
    transform-origin: center;
    transform: rotate(180deg);
}

#menu {
    width: 357px;
    height: 301px;
    position: absolute;
    top: 0px;
    left: -357px;
    background: #414141;
    z-index: 100;
}

#menu-left {
    width: 139px;
    height: 301px;
    padding: 15px;
    background: #c20000;
    box-sizing: border-box;
}

#menu ul{
    list-style: none;
    padding: 0px;
    margin: 0px;
}

#menu .link {
    width: 190px;
    position: absolute;
    left: 165px;
    top: 45px;
}

#menu .link a{
    color: #fff;
    text-decoration: none;
    font-size: 33px;
    line-height: 55px;
    text-transform: uppercase;
    font-family: 'BebasNeue', Arial, sans-serif;
}

.link a {
    position: relative;
  }
  
  .link a:hover::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
    background-color: white;
    animation: border-anim 0.3s forwards;
  }

  #contact-menu.link a::before {
    content: "";
    height: 2px !important;
  }
  
  @keyframes border-anim {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }

#logo {
    width: 444px;
    position: absolute;
    top: 55px;
    left: 50%;
    margin-left: -222px;
}

.social {
    text-align: right;
    padding: 42px 20px 0px 0px;
}

.social .phone {
    margin-top: -5px;
}

.social span {
    vertical-align: top;
    margin: 0px 10px;
}

.social div {
    width: 200px;
    height: 30px;
}

.social a {
    display: block;
    text-align: center;
    width: 20px;
    float: right;
}

#slider {
    width: 100%;
    height: auto;
}

#slider img{
    display: block;
    width: 100%;
}

main {
    margin: 0px auto;
    max-width: 1112px;
    width: 100%;
}

.category, #team h1 {
    border-bottom: 1px solid #979797;
    padding-bottom: 20px;
}

#build .category  {
    border-bottom: 0px solid #979797;
    padding-bottom: 0px;
}

#team h1 {
    margin-bottom: 50px;
}

.category-list .category:nth-child(odd) .left{
    float: right;
}
.category-list .category:nth-child(odd) .right{
    float: left;
}

.cat-head {
    padding-top: 45px;
    margin-bottom: 55px;
}

.cat-desc {
    width: calc(100% - 350px);
}

.cat-img {
    border-bottom: 8px solid var(--c);
}

.cat-img img {
    display: block;
}

.cat-img.big img {
    width: 100%;
}

.row {
    display: flex;
    justify-content: space-between;
}

.car-box {
    width: 333px;
    float: left;
}

.car-list .car-box:nth-child(2) {
    margin: 0px 55px;
}

#cars .car-box {
    height: 420px;
    float: left;
    margin-right: 35px;
}

.car-img {
    border-bottom: 10px solid var(--c);
    overflow: hidden;
    position: relative;
}


.car-img img{
    display: block;
    max-width: 100%;
    transition: transform 0.5s;
    position: relative;
    height: 250px;
    object-fit: cover;
    object-position: center bottom;
    width: 100%;
}
/*
#categories .car-img img{
    height: 187px;
}
*/

#categories .car-img {
    border-top: 2px solid var(--c);
    border-left: 2px solid var(--c);
    border-right: 2px solid var(--c);
}
  
.car-img:hover img {
    transform: scale(1.1);
}

.car-box h3 {
    border-bottom: 1px solid #979797;
    padding-bottom: 20px;
}

.viber {
    margin-right: 47px;
}

.excerpt {
    height: 339px;
    overflow: hidden;
}

.excerpt p{
    margin: 0px;
}

#partners {
    margin-bottom: 95px;
}

#partners .line{
    margin-bottom: 60px;
}

#services img {
    width: 65px;
    margin-right: 10px;
    vertical-align: bottom;
}

.block {
    width: 333px;
}

#services .block {
    max-width: 450px;
    width: 100%;
}

#footer-logo{
    display: block;
    margin: 0px auto;
}

#contact-menu {
    width: 100%;
    height: 37px;
    line-height: 37px;
    text-align: center;
    background: #c20000;
    font-size: 22px;
    text-transform: uppercase;
    margin: 20px 0px 25px;
}

.copyright {
    font-size: 18px;
    display: inline-block;
    text-align: center;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.contact-line {
    background: #545454;
    height: 162px;
    padding: 30px 0px;
    width: 100%;
    position: relative;
    margin-bottom: 30px;
}

#contact {
    max-width: 1220px;
    margin: 0px auto;
}

#map {
    width: 745px;
    height: 345px;
}

form {
    width: 445px;
    margin-bottom: 33px;
}

form input, form textarea{
    display: block;
    border: solid 2px #d1d7db;
    background-color: #f0f0f0;
    width: 100%;
    font-family: 'Bellota Text', Arial, sans-serif;
}

form textarea{
    height: 218px;
    padding: 5px;
    width: 100%;
}

form input[type=text]{
    height: 33px;
    margin-bottom: 20px;
}

form input[type=submit]{
    float: right;
    margin-top: -40px;
    background-color: var(--c);
    width: 150px;
    margin-right: -11px;
}

#team {
    padding-bottom: 140px;
}

#team img{
    margin-bottom: 10px;
}

#team h4, #build h4 {
    text-align: center;
    text-transform: unset;
    font-weight: 100;
    margin: 0px;
}

#filters {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
}

#filters:last-of-type {
    display: block;
    height: 34px;
    margin: 35px 0px;
}

.filter {
    width: 211px;
    cursor: pointer;
}

#filters:last-of-type .filter{
    float: left;
}

.filter .name {
    padding: 7px 14px;
    color: #fff;
    font-size: 18px;
    background-color: #c20000;
    position: relative;
    font-family: 'Bellota Text', Arial, sans-serif;
    text-transform: uppercase;
}

.filter .name::after {
    transition: transform 0.5s ease;
    display: block;
    content: '';
    background: url('img/triangle.svg') no-repeat;
    width: 10px;
    height: 10px;
    position: absolute;
    right: 20px;
    top: 12px;
}

.filter.active .name::after {
    transform-origin: center;
    transform: translate(-1px, -1px) rotate(90deg) translate(1px, 1px);
}

.filter-content {
    background: #d8d8d8;
    display: none;
    padding: 14px;
    color: #000;
    text-transform: uppercase;
    border: 1px solid #c20000;
    position: absolute;
    width: 211px;
    z-index: 3;
    box-sizing: border-box;
}

#search_box {
    position: relative;
    float: left;
}

#search {
    width: 212px;
    height: 34px;
    line-height: 37px;
    text-align: center;
    background: #d8d8d8;
    font-size: 16px;
    margin: 0px 12px;
    border: 0px;
    outline: 0;
}

#search_box::after {
    content: '';
    display: block;
    background: url('img/search.svg') no-repeat;
    width: 21px;
    height: 21px;
    position: absolute;
    right: 20px;
    top: 8px;
}

#cars .car-list {
    margin-bottom: 45px;
}

.car-box h4{
    margin: 10px 0px;
    padding-bottom: 10px;
    border-bottom: 1px solid #979797;
}

.car-box p {
    margin-top: 0px;
}

#car .left {
    max-width: 615px;
    margin-right: 25px;
}

#car .right {
    width: calc(100% - 640px);
    margin-top: 30px;
}

#car .right  .row {
    display: block;
}

#car .right  .row img{
    float: right;
    margin-top: 11px;
}

.button.medium-large {
    height: 67px;
    font-size: 33px;
    width: 277px;
    margin-bottom: 20px;
    line-height: 67px;
}

.button.large {
    height: 77px;
    font-size: 33px;
    width: 277px;
    margin-bottom: 20px;
    line-height: 77px;
}

.car-main {
    margin-bottom: 80px;
}

.car-data {
    padding: 20px;
    background: #d8d8d8;
    padding: 20px 20px;
    font-size: 18px;
    color: #000;
    font-family: 'Bellota Text', Arial, sans-serif;
}

.car-data h5{
    margin: 10px 0px 0px 0px;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: bold;
}

.car-data div span:first-child:before{ 
    content: "•";
    margin-right: 0.5em; 
}

.prices {
    width: 100%;
    background: #7a7a7a;
    font-size: 33px;
    font-family: 'BebasNeue';
    padding: 20px 25px 10px 25px;
    line-height: 33px;
    text-transform: uppercase;
    box-sizing: border-box;
}

.price-wrapper {
    display: inline-flex;
}

.price-wrapper .eur:first-child,
.price-wrapper .huf:first-child {
    margin-right: 10px;
} 

.price-wrapper .eur:last-child,
.price-wrapper .huf:last-child {
    margin-left: 10px;
} 

.car-gallery {
    margin: 0px -25px;
}

#build .cat-img {
    margin-top: 100px;
}

#build .cat-links a:last-child{
    float: right;
}

.contact-people {
    display: flex;
    margin-bottom: 100px;
    justify-content: center;
}

.contact-people div {
    margin: 0px 25px;
}

#contact-menu a {
    color: #fff;
    text-decoration: none;
}

.row.about {
    justify-content: center;
}

.row.about div{
    margin: 0px 20px;
}

.social-img {
    transition: fill 0.3s;
  }
  
  .social svg:hover .social-img {
    fill: #c20000;
  }

.viber, .whatsapp {
    transition: all 0.2s ease-in-out;
} 

.viber:hover {
    margin-right: 43px;
    margin-top: 13px !important;
}

.whatsapp:hover {
    margin-right: -4px;
    margin-top: 13px !important;
}

.con-so {
    vertical-align: middle;
    margin-left: 20px;
}

@media only screen and (max-width: 1250px) {
    #map {
        width: 500px;
        height: 345px;
    }
}

@media only screen and (max-width: 1150px) {
    main {
        padding: 0px 20px;
        width: calc(100% - 40px);
    }
}

@media only screen and (max-width: 1150px) {
    #contact {
        display: none;
    }

    #filters {
        display: block;
    }

    #filters:last-of-type {
        margin: 0px 0px 35px;
    }

    .filter {
        margin-bottom: 10px;
    }

    .car-main .left, .car-main .right {
        float: none;
        margin: 0px auto;
    }

    #car .left {
        max-width: unset;
        width: 100%;
        margin-right: unset;
    }

    #car .right {
        width: 100%;
    }
}

@media only screen and (max-width: 800px) {
    .car-list .car-box:nth-child(2) {
        margin: 0px auto 20px;
    }

    .con-so {
        margin-left: 0px;
        display: block;
        margin-bottom: 15px;
    }

    .yt-btn {
        margin-bottom: -31px;
        margin-left: 20px;
    }

    #search {
        margin-bottom: 20px;
        margin-left: 0px;
    }

    #top {
        height: 246px;
        width: 100%;
    }

    .social div {
        width: 30px;
        height: 30px;
        float: right;
    }

    #logo {
        width: 444px;
        position: absolute;
        top: 165px;
        left: 50%;
        margin-left: -222px;
    }

    .menu-phone {
        display: none;
    }   
    
    .car-list, .row {
        display: block;
    }

    .car-box, .block {
        margin: 0px auto 20px;
    }

    .cat-head .cat-img {
        max-width: 333px;
    }

    .cat-head .cat-img img {
        margin: 0px auto;
    }

    .cat-head .left, .cat-head .right {
        float: none !important;
        margin: 0px auto;
    }

    .cat-desc {
        width: 100%;
    }

    .excerpt {
        height: auto;
    }

    #partners img{
        display: block;
        margin: 30px auto;
    }

    #contact-menu {
        width: 100%;
        height: auto;
    }

    .contact-line {
        height: auto;
    }

    #team .row div {
        text-align: center;
    }

    .person {
        text-align: center;
    }

    .build h2 {
        text-align: center;
    }

}

@media only screen and (max-width: 500px) {
    #footer-logo {
        display: block;
        margin: 0px auto;
        width: 94%;
    }

    h1 {
        font-size: 65px;
    }

    #logo {
        width: 100%;
        position: relative;
        top: 33px;
        left: unset;
        margin-left: unset;
    }

    #logo img {
        margin: 0px auto;
        width: 85%;
        display: block;
    }

    #top {
        height: 200px;
        width: 100%;
    }

    .prices {
        height: 70px;
        font-size: 30px;
        padding: 10px;
        line-height: 52px;
    }

    .viber {
        margin-bottom: 20px;
        float: left !important;
    }

    .whatsapp {
        margin-bottom: 20px;
        float: left !important;
    }
}

@media only screen and (max-width: 400px) {
    .prices {
        height: 70px;
        font-size: 26px;
    }
}