/*
Theme Name: Themify Ultra Child
Description: A child theme of Themify Ultra
Template: themify-ultra
Author: Blake (blake@division442.com)
*/


/* VARIABLES */

/* Global Styles */

.page-title {
  margin: 45px 0 0 0;
}

#headerwrap #searchform .tf_fa {
  color: #83ccdb;
  background-color: #000000 ;
}

/* Home page header style */

.video-header, .contact-header {
    margin: -85px 0 0 0;
}

/* Gallery Header, Wheel Header */

.blog #headerwrap, .archive #headerwrap {
    background-color: rgba(0,0,0,1);
}

/* WHEEL LISTING ------------- */

.wheel-line-content {
    margin-top: 75px;
}

.heritage-collection h3 {
    color: #000;
}

.heritage-collection {
    margin: 85px 0 100px 0;
    color: #000;
}

.wheel-line-title  {
    font-family: "good-time-regular-italic";
	margin: 4rem 0 20px !important;
	padding: 10px 0 20px 0 !important;
	border-bottom: solid 2px #83ccdb;
	text-transform: uppercase;
	font-size: 1rem;
    color: #000;
}
.wheel-line-title:first-child { margin-top: 0 !important; }
.wheel-line-title strong { font-size: 2em; }

.wheel-line-description {
	margin-bottom: 1.5rem;
}

.wheel-gallery-title  {
    font-family: "good-time-regular-italic";
	margin: 0 0 20px !important;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	padding: 10px 0 20px 0 !important;
	text-transform: uppercase;
	font-size: 2rem;
	font-weight: bold;
	border-bottom: solid 1px #ccc;
    position: relative;
    z-index: 100;
}


.wheel-line {
    font-family: "good-time-regular-italic";
	display: flex;
	flex-wrap: wrap;
}
.wheel-tile { 
	padding: 10px 10px 1rem 10px;
	flex: 0 0 50%; 
}

@media only screen and ( min-width : 768px ) {
	.wheel-tile { flex: 0 0 33%; }
}
@media only screen and ( min-width : 1100px ) {
	.wheel-tile { flex: 0 0 16.5%; padding: 15px 25px 1rem 25px; }
	.new-wheels .wheel-tile { flex: 0 0 33%; }
}
.wheel-content a.wheel-name { 
	text-transform: uppercase;
	font-size: 1.2em;
	display: block;
	margin: 0.25em 0;
	line-height: 1.1;
    text-align: center;
    color: #000;
}
.wheel-content a.tiny-link  { 
	text-transform: uppercase;
	font-weight: normal;
	font-size: 10px;
	color: #666;
	display: block;
	margin: 3px 0;
	line-height: 1.1;
}
.wheel-line-disclaimer {
	margin-bottom: 1rem;
}
.wheel-list.heritage .wheel-line-disclaimer ,
.wheel-list.hidden-hardware .wheel-line-disclaimer {
	display: none;
}

.wheel-list {
    padding: 0 0 85px 0;
}

/* WHEEL DETAILS ----------------- */

.wheel-title {
	padding-bottom: 10px;
	border-bottom: solid 1px #ccc;
	margin-bottom: 1rem;
}
.wheel-title .construction {
	font-weight: 200;
	font-size: 0.8em;
}
.wheel-image {  
	padding: 12px;
}
.wheel-image-section {
    width: 80%;
    margin: 0 auto;
}
.wheel-info h4 { padding: 0; font-size: 1.1rem; }
.wheel-info { 
	padding: 12px;
}
.wheel-info .diameter {
	font-size: 1.83em;
	display: inline-block;
	padding: 5px 4px;
	font-weight: 200;
	margin-bottom: 1rem;
}
#wheel-details {
    padding: 55px 0 58px 0;
}
section.wheel-finishes {
	font-size: 1.1em;
	width: 70%;
	max-width: 650px;
	color: #fff !important;
	padding: 5rem 0;
	margin: 0 auto;
   position: relative;
}
section.wheel-finishes h4 {
	color: #fff !important;
}
section.wheel-finishes .button-white {
	margin-top: 0.5em;
}
.button-white {
	background: rgb(5, 0, 0);
	border: solid 2px transparent;
	color: #000;
	border-radius: 3px;
	display: inline-block;
	padding: 5px 12px;
	text-transform: uppercase;
	font-size: 0.9rem;
	font-weight: 900;
}
.button-white:hover {
	background: var(--blue);
	color: #fff;
	border-color: #fff;
}

.page-actions {
	margin-top: 1rem;
	padding-top: 1rem;
}
.page-actions .button {
	font-size: 0.9rem;
}

.wheel-image-section > div:nth-child(odd) {
	background: #ffffff;	
}
.wheel-image-section > div {
	padding: 4% 0 ;
	margin: 0 ;
}
.wheel-image-section > div > .container {
	padding: 0 !important;
	margin: 0 auto;
}
/*
.wheel-info ul {
	list-style: square;
}
.wheel-info ul li {
	margin-left: 35px;
}
*/
.wheel-image img {
    max-width: 300px;
}

@media only screen and ( min-width : 768px ) {
	#wheel-details {
		display: flex;
		flex-wrap: wrap;
	}
	.wheel-image { 
		flex: 0 1 40%; 
		text-align: right; 
	}
	.wheel-info { 
		flex: 0 1 40%; 
	}
}

/* iPhone 13/14/15 (and similar) in portrait */
@media only screen
  and (min-device-width: 410px)
  and (max-device-width: 430px)
  and (-webkit-device-pixel-ratio: 3) {
    .wheel-line {
        justify-content: center;
        align-items: center;
    }

    .wheel-list {
        padding: 0;
    }

    .wheel-thumb img {
        max-width: 325px;
        width: 325px;
    }
}

/* Heritage Button */

.heritage_btn, .heritage_btn:hover, .sf-field-submit {
  color: #000000;
  font-size: 12px;
  text-transform: uppercase;
  background: #83ccdb;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
  letter-spacing: 1.2px;
  font-weight: 600;
}

.sf-field-submit, .sf-field-submit input:read-only {
    padding: 0 !important;
    margin: 0 !important;
}

.tint-bg-dark::before { 
		content: '';
		display: block;
		position: absolute;
		top: 0; right: 0; bottom: 0; left: 0;
		background: rgba(50,50,52,0.6);
	}

/* GALLERY LISTING ------------- */

#gallery-details, .gallery-item {
    margin: auto;
    width: 80%;
    padding: 10px;
    text-align: center;
}

#main-content .container.gallery {
	padding-top: 1rem;
	width: 100%;
	max-width: 100%;
}
.gallery-tile { 
	text-align: center;
	padding: 1px;
	position: relative;
	overflow: hidden !important;
    margin: 0 0 -8px 0;
}
.gallery-link {
	position: relative;
	padding: 0 !important;
	overflow: hidden !important;
}
.gallery-link .caption { 
	background: rgba(0,0,0,0.6);
	color: #fff;
	padding: 0 5px;
	position: absolute;
	bottom: 5px; left: 0; right: 0;
	opacity: 0;
	font-size: 10px;
	text-transform: uppercase;
	-webkit-transition: 	all 0.25s ease-in-out;
    transition: 			all 0.25s ease-in-out;
	
	/*
	 -ms-transform: 		scale(1,0); 
    -webkit-transform: 	scale(1,0); 
    transform: 			scale(1,0); 
	*/
	
	-ms-transform-origin: 		50% 100%; /* IE 9 */
	-webkit-transform-origin: 	50% 100%; /* Chrome, Safari, Opera */
	transform-origin: 			50% 100%;
}
.gallery-link:hover .caption {
	opacity: 1;
	-ms-transform: 		scale(1,1); /* IE 9 */
    -webkit-transform: 	scale(1,1); /* Safari */
    transform: 			scale(1,1); /* Standard syntax */
}


@media only screen and ( min-width : 480px ) {
	.gallery-list {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		align-content: flex-start;
	}
	.gallery-tile { flex: 0 0 50%; }
}
@media only screen and ( min-width : 768px ) {
	.gallery-tile { flex: 0 0 33%; }
}
@media only screen and ( min-width : 1100px ) {
	.gallery-tile { flex: 0 0 20%; }
}
@media only screen and ( min-width : 1400px ) {
	.gallery-tile { flex: 0 0 auto; max-width: 400px; }
}


/* GALLERY SEARCH ----------------- */

#search-galleries {
	margin-bottom: 1rem;
    justify-content: center;
    align-items: center;
    display: flex;
}

.searchandfilter > ul {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	align-content: center;
}
.searchandfilter > ul > li {
	flex: 0 0 auto;
	padding: 10px !important;
}
.searchandfilter h4 {
	padding: 8px 0 3px 0;
    color:#83ccdb
}
.chosen-container-single .chosen-single {
	background: transparent;
	box-shadow: none;
}
.chosen-container-active.chosen-with-drop .chosen-single {

}
.sf-field-submit input {

}
.sf-field-submit input:hover {

}


/* GALLERY DETAILS ----------------- */

.image-header {
	padding: 8% 0;
	background: no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	font-size: 1.3rem;
	font-weight: 900;
	text-transform: uppercase;
	color: #fff;
	position: relative;
}
@media only screen and ( max-width : 480px ) {
	.image-header { display: none; }
}
@media only screen and ( min-width : 768px ) {
	.gallery-title { 
		font-size: 2.4rem;
		text-align: center !important;
		margin: 0;
        line-height: 1;
        font-family: "good-time-regular-italic";
        color: #ffffff;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        position: relative;
        z-index: 100;
	}
	.image-header::before { 
		content: '';
		display: block;
		position: absolute;
		top: 0; right: 0; bottom: 0; left: 0;
		background: rgba(50,50,50,0.4);
	}
}

/* POSTS ----------------------- */

.page-header-dark {
	background: #aaa;
	color: #fff;
}
.page-header-dark .container {
	margin: 0 auto !important;
	padding: 2.5rem 0 !important;
}
.page-header-dark h1 {
	color: #fff;
}
.archive article:nth-child(odd) {
	background: #f6f6f6;
}
article .container {
	margin: 0 auto !important;
	padding: 3rem 0 !important;
}
article .main_title {
	margin-bottom: 0 !important;
	padding-bottom: 0;
	font-size: 1.3rem;
}
.article-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	align-content: center;
}
.article-wrapper .thumbnail {
	flex: 0 1 30%;
	max-width: 300px;
	padding-right: 25px;
}

/* .article-wrapper .thumbnail img {
	box-shadow: 2px 2px 20px rgba(0,0,0,0.2);
} */
.article-wrapper .entry-content {
	flex: 1 0 69%;
}
@media only screen and ( max-width : 768px ) {
	.article-wrapper .thumbnail { flex: 1 1 100%; margin-bottom: 0.75rem; }
	.article-wrapper .entry-content { flex: 1 1 100%; }
}


.post-date {
	font-size: 0.75rem;
	text-transform: uppercase;
	opacity: 0.7;
}
a.read-more {
	font-size: 11px;
	text-transform: uppercase;
	display: inline-block;
	margin-top: 0.5rem;
	padding: 5px 10px;
	border: solid 1px;
	line-height: 1.1;
}
a.read-more:hover {
	background: var(--blue);
	color: #fff;
}

/* Modal */
#dialog { display: none; }
iframe#wheelDetail {
	width: 100%;
	height: 100%;
}
.ui-widget-overlay.ui-front {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(100,100,100,0.7);
}
.ui-dialog-titlebar {
	position: absolute;
	width:100%;
}
.ui-dialog-titlebar-close {
	position: absolute;
	right: 3px;
	top: 3px;
	background: transparent;
	color: #fff;
	border: none;
	font-size: 1.5rem;
}


.vehicle_gallery {
    width: 700px;
}

.parallax-panel {
    width: 25% !important;
    position: absolute;
    bottom: 25px;
    left: 50px
}

.themify_builder_content-2 .tb_p9ho206.module-slider .slide-content {
	width: 450px;
	margin: auto;
}

/* div.themify_builder_slider_vertical :is(.carousel-prev, .carousel-next) {
	margin-top: -100px !important;
} */

div.themify_builder_slider_vertical :is(.carousel-prev, .carousel-next) {
	color: #000;
}

.tf_carousel_nav_wrap :is(.carousel-prev, .carousel-next)::before {
	height: 27px;
	width: 27px;
}

.module .sp-arrow {
    font-size: 8em;
}

/* Search Button */

.tf-fas-search {
    width: .85rem;
    height: .85rem;
    padding: 0 0 3px 0;
}

/* Whel slider */

.wheel-line-title {
    border: none;
}

.wheel-line-title:first-child {
    margin-top: -20px !important;
}

img.mfp-img {
    background-color: #fff;
}

/* Home page mobile slider */

/* iPhone 13/14/15 (and similar) in portrait */
@media only screen
  and (min-device-width: 410px)
  and (max-device-width: 430px)
  and (-webkit-device-pixel-ratio: 3) {
      /* .bsp-slide-content-center .sp-slide-image {
    width: 70%;
    } */

    .module .bsp-slide-button {
        width: 900px;
        padding: 20px 0 20px 0 !important;
    }

    .footer-widgets .widget {
        margin: 0 0 .1em;
    }

    .widget_block H3 {
        margin-top: 20px;
    }

    .module .sp-arrows {
        visibility: hidden;
    }
}

    .footer-widgets .widget {
        margin: 0 0 .1em;
    }

    .widget_block H3 {
        margin-top: 20px;
    }

    /* Mobile Button */
    #menu-icon {
        margin: 15px 0 0 10px;
    }