/*
Theme Name: Zsiguli
Author: WRX Online
Author URI: https://wrx.hu/
Description: Template for veteranzsiguli.hu
Version: 1.0.92
Template: equestrian

*/
@import url("../equestrian/style.css");

body {
    background-color: rgba(250,246,240,1);
    background-image: url(images/bg/bg-11.jpg) !important;
    background-size: 190%;
    background-position: top center;
}

#content {
    background: rgba(255,255,255, 0.8) !important;
}

.footer-default #footer::before {
    background-image: url(images/footer/bg-footer-top.png);
    background-size: cover;
}

.footer-default #footer {
    background-image: url(images/footer/bg-footer.jpg);
    background-size: cover;
}

.infobox-element thead tr th {
    border-right: 1px solid #b9b9b9;
}

.infobox-element thead tr th:last-child {
    border-right: none;
}

.infobox-element table thead th {
    border-color: #b9b9b9;
}

.infobox-element h3 {
	margin-top: 0.2em;
	margin-bottom: 1.2em !important;
}

.infobox-element tbody tr td {
    padding: 0px 0px 0px 1px;
    box-sizing: border-box;
    font-size: 11px;
    border-right: 1px solid #b9b9b9;
    max-width: 14px;
    min-width: 14px;
    text-align: center;
    font-weight: 300;
    line-height: 1.8em;
    font-family: Arial, sans-serif;
}

.infobox-element tbody tr td:last-child {
    border-right: none;
}

.infobox-element tbody tr td:empty {
    border-right: none;
}

.bigtable tbody td {
    font-size: 11px;
    border: 1px solid #999;
    padding: 0 3px;
    font-family: Helvetica, sans-serif;
}

.bigtable thead th, .bigtable thead td {
    font-size: 11px;
    padding: 0 3px;
}

.table-fixed {
    table-layout: fixed;
    text-align: center;
}

.table-small {
    font-size: 11px;
}

.carousel-responsive {
    text-align: center;
}

.carousel-responsive img {
    width: 100%;
    max-width: 100%;
}

.content-padding {
    padding-top: 4rem;
}

.single .type-cars .content-padding.content-header {
    padding-bottom: 0px;
}
.single .type-members .content-padding.content-header {
    padding-bottom: 4rem;
}

.memberlist-item .sidebar h4 {
    margin-bottom: 15px !important;
}

.memberlist-item .sidebar h4 a {
    color: #000000;
}

.memberlist-car {
    text-align: center;
    margin-bottom: 0px !important;
    padding-top: 10px;
}

.memberlist-car h4 {
    margin-bottom: 3px;
    font-size: 1.5rem;
}

.content-membercar {
    padding-bottom: 1rem;
}

.single-members .container#content {
    padding-bottom: 4rem;
}

.memberlist-car .memberlist-car-picture {
    min-height: 110px;
}
.memberlist-car .memberlist-car-picture img {
    vertical-align: middle;
}

.memberlist-car .memberlist-car-picture a {
    display: block;
    vertical-align: middle;
}

#navigation li {
    padding: 0 1.4rem;
}

.modelcar-item {
    background-color: #ffffff;
    margin: 0 50px;
    width: calc(50% - 100px);
    padding: 20px 0;
    border-radius: 10px;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

.modelcar-item .memberlist-car-picture {
    min-height: 200px;
}

.photo-frame {
    position: relative;
    box-shadow: 1px 1px 5px 0 rgba(0,0,0,.25);
    border: 4px solid #fff;
    display: block;
}

.photo-frame::before {
    content: "";
    height: 100%;
    width: 100%;
    background: #fff;
    border: 4px solid #fff;
    position: absolute;
    z-index: -1;
    top: -5px;
    left: -10px;
    box-shadow: 1px 1px 5px 0 rgba(0,0,0,.25);
    border-radius: 3px;
    -webkit-transform: rotate(-2deg);
    -ms-transform: rotate(-2deg);
    transform: rotate(-2deg);
    box-sizing: border-box;
}

.photo-frame::after {
    content: "";
    height: 100%;
    width: 100%;
    background: #fff;
    border: 4px solid #fff;
    position: absolute;
    z-index: -1;
    bottom: -3px;
    right: -5px;
    box-shadow: 1px 1px 5px 0 rgba(0,0,0,.25);
    border-radius: 3px;
    -webkit-transform: rotate(3deg);
    -ms-transform: rotate(3deg);
    transform: rotate(3deg);
    box-sizing: border-box
}

.photo-frame img {
    border-radius: 0
}

.photo-frame p:empty {
    display: none
}

.photo-frame br {
    display: none
}

.photo-frame p {
    margin: 0 auto !important
}


.hvr-grow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-grow:hover, .hvr-grow:focus, .hvr-grow:active {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

.hvr-grow-img img {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-grow-img img:hover, .hvr-grow-img img:focus, .hvr-grow-img img:active {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/* Menu double size */
#navigation .menu .sub-menu {
    min-width: 200px;
}

#navigation .menu .sub-menu li {
    display: inline-block;
    width: 100%;
    margin-right: 10px;
    vertical-align: middle;
    border: none;
}

#navigation .menu .sub-menu li.membertype-half {
    width: calc(50% - 10px);
    text-align: center;
}

#navigation .menu .sub-menu li.membertype-half:nth-child(odd) {
    border-left: 1px solid #eee;
}

.car-description-modal .modal-content {
    margin-top: 45px !important;
}

.car-description-modal .modal-header .close {
    color: #000;
    border-radius: 0;
    top: -7px;
    right: 0;
}

.modal-backdrop.fade
{
    opacity: 0.7;
}

#navigation li {
    padding: 0 1rem !important;
}

#navigation .menu > .menu-item > a,
#navigation .menu > ul > .page_item > a {
    font-size: 1.4rem !important;
}

.memberlist-item {
    margin-bottom: 15px;
}

.member-cars-slider {
    background-image: url(images/filmroll.jpg) !important;
    background-repeat: repeat-x;
    background-size: contain;
    background-position: left center;
    padding: 25px 25px;
}

#navigation .menu .sub-menu a {
    padding: 6px 0;
}

.zscbox {
    margin-bottom: 10px;
    min-height: 135px;
}

.boxblackbg {
    background: #000000;
}

aside.sidebar {
    padding-bottom: 20px;
}

.car-gallery-item {
    display: inline-block;
    margin-bottom: 3px;
}

.letter-holder {
    position: absolute;
    margin-top: -50px;
}

.letters-filter {
    text-align: center;
    padding-bottom: 30px;
}

.letters-filter a.btn {
    padding: 5px 12px;
    margin-bottom: 5px;
}

body.compose-mode .vc_element.vc_zs_product_timeline
{
    margin-top: 40px !important;
}

#everlightbox-slider .slide img, #everlightbox-slider .slide .everlightbox-video-container, #everlightbox-slider .slide .everlightbox-inline-container {
    max-width: 100% !important;
    max-height: 100% !important;
}

#everlightbox-slider .slide img {
    border-radius: 0 !important;
}

body.wrx-mobile .everlightbox-fullscreen.everlightbox-button,
body.wrx-mobile .everlightbox-download.everlightbox-button {
    display: none !important;
}

.news_archive ul {
    margin: 0;
    list-style: none;
    padding: 0;
}

.news_archive ul li {
    display: inline-block;
}

.news_archive ul li a {
    display: block;
    padding: 8px 15px;
    margin: 0 5px;
    background: rgba(200,0,24,1);
    border-radius: 3px;
    color: #fff;
}


.table-lock-col {
    margin-left: 180px;
}

.table-lock-col td,
.table-lock-col th {
    min-width: 30px;
    text-align: center;
}  

.table-lock-col tr > td:nth-child(1),
.table-lock-col tr > th:nth-child(1),
.table-lock-col tr > td:nth-child(2),
.table-lock-col tr > th:nth-child(2) {
    left: 0;
    width: 80px;
    text-align: center;
    position: absolute;
    background: #faf9f3;
}

.table-lock-col tr > td:nth-child(1),
.table-lock-col tr > td:nth-child(2) {
    margin-top: 1px;
}  

.table-lock-col tr > td:nth-child(2),
.table-lock-col tr > th:nth-child(2) {
    left: 80px;
} 

footer#footer {
    padding: 0;
}

footer p {
    margin: 0;
}

#footer .sidebar-widget {
    width: 100%;
    margin: 0;
    margin-bottom: 2em;
}

.footer ul.footer_menu.menu {
    width: 100%;
    text-align: center;
}
.footer ul.footer_menu.menu li {
    float: none;
    width: auto;
    display: inline-block;
    margin-right: 12px;
}

@media only screen and (max-width: 991px)  {
    .modelcar-item {
        margin: 0 auto;
        width: 90%;
    }
    .modelcar-item .memberlist-car-picture {
        min-height: 0;
    }
}

@media only screen and (max-width: 600px)  {
.memberlist-car h4
{
    font-size: 16px;
}
}