@import url('https://fonts.googleapis.com/css?family=Muli:200,400,900');
/*
	Theme Name: Modulare
	Theme URI: http://modularewheels.com/
	Description: Child theme for Divi
	Template: Divi
	Version: 1.0.0
	Text Domain: divi-modulare
*/



/* VARIABLES */

:root {
	--blue: #688b9c;
}


/* FONTS ------------- */

body, textarea { font-family: 'Century Gothic', Muli, 'Nunito Sans', 'Helvetica', sans-serif; font-size: 16px; }

h1, h2, h3, h4, h5, h6 {
	font-weight: 900;
	text-transform: uppercase;
	color: #000; /* #1a4d66 */
}


/* MISC ----------- */

.transition, a, .button-white { 
	-webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}



/* LAYOUT ----------- */

.container { width: 90%; }
.action-bar-bottom {
	margin-top: 1.5rem;
	padding-top: 0.5rem;
	border-top: solid 1px #ccc;
}
.action-bar-bottom a { 
	text-transform: uppercase;
	font-size: 0.9em;
}
#main-content { min-height: 85vh; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.dark-overlay { position: relative; }
.dark-overlay::before {
	content: '';
	display: block;
	position: absolute;
	top: 0; left:0; right: 0; bottom: 0;
	background: rgba(40,50,50,0.5);
	z-index: 2;
}


/* DIVI FIXES ----------- */

.et_pb_blurb_content { max-width: 100% !important; }
@media (min-width: 981px) {
	#main-content .container:before {
		 display: none;
	}
}
.ds-vertical-align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
} 
div#et-info {
    padding: 5px 0 11px 0;
}
#et-secondary-menu {
	padding-top: 5px;
}
#et-secondary-menu>ul>li a {
	padding: 0 2px;
}
#et-secondary-menu>ul>li a i {
	font-size: 1.1rem;
}
.et_pb_widget {
	float: none;
}

/* BUTTONS ----------- */

a.et_pb_button.et_pb_bg_layout_light:hover {
	background: var(--blue) !important;
	color: #fff !important; 
	box-shadow: 2px 2px 15px #777;
}

button, 
.button,
input[type=submit] {
	font-size: 20px;
	font-weight: 900;
	border-width: 1px!important;
	border-color: #fff;
	background-color: var(--blue);
	color: #fff;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	font-style: normal;
	text-transform: uppercase;
	text-decoration: none;
	position: relative;
	padding: .3em 1em;
	border: 2px solid;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 4px;
	line-height: 1.7em!important;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	transition: all .5s;
}
button:hover, 
.button:hover,
input[type=submit]:hover {
    background: #000;
    color: #fff;
    box-shadow: 2px 2px 15px #777;
}
button::after, 
.button::after,
input[type=submit]::after {
	position: absolute;
	margin-left: -1em;
	opacity: 0;
	font-size: 32px;
	content: "\35";
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	transition: all .5s;
	
	font-family: ETmodules!important;
	font-weight: 400;
	font-style: normal;
	font-variant: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1;
	text-transform: none;
	speak: none;
}

.button.small {
	padding: 7px 12px;
	font-size: 0.8rem !important;
	background: rgba(0,0,0,0.1) !important;
	color: #333;
}
.button.small:hover {
	background: var(--blue) !important;
	color: #fff;
}


/* HEADER ------------- */

#top-header,
#main-header {
	-webkit-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
#top-header.et-fixed-header,
#main-header.et-fixed-header{
	margin-top: -32px !important;
}
#main-header,
#main-header.et-fixed-header {
	box-shadow: 0 2px 25px rgba(0,0,0,0.35) !important;
}
@media only screen and (min-width: 981px) {
	#logo {
		 max-width: 180px;
	}
}
#top-menu li {
    padding-right: 12px;
}


/* MAIN NAV ------------- */

#et-top-navigation nav>ul>li>a { text-transform: uppercase; }
.nav li ul {
	padding: 2px;
	right: 0;
}
@media only screen and ( min-width : 480px ) {
	#top-menu li li {
		margin: 0;
		padding: 0;
		display: block;
		text-align: right;
	}
	#top-menu li li a {
		display: block;
		width: 100%;
	}
}

/* FOOTER ------------- */

.footer-padding { height: 4rem; }
#footer-social-icons a {
	opacity: 0.65;
	color: #fff !important;
	font-size: 20px;
}
#footer-social-icons a:hover {
	opacity: 1;
}
#footer-widgets .widget_media_image,
#footer-widgets .widget_text {
	margin: 0 !important;
}
#footer-widgets .widget_media_image img {
	max-width: 80% !important;
	margin-bottom: 1rem;
}
#footer-widgets #nav_menu-4 {
	margin: 1rem 0 0 0;
	padding-top: 1rem;
	border-top: solid 1px #fff;
	display: block;
	width: 100%;
}
#footer-widgets #nav_menu-4 ul.menu {
	list-style: none;
}
#footer-widgets #nav_menu-4 ul.menu li {
	list-style: none;
	display: inline-block;
}
#footer-widgets #nav_menu-4 ul.menu li::before {
	display: none;
}

/* SIDEBAR ------------- */

@media (min-width: 981px) {
	.et_right_sidebar #sidebar {
		padding-left: 2%;
		margin-left: 1%;
		border-left: solid 1px #ccc;
		width: 18%;
	}
}
#sidebar .et_pb_widget {
	line-height: 1.4;
	font-size: 0.9em;
}
#sidebar .et_pb_widget a {
	margin-top: 0.5rem;
	padding-top: 0.5rem;
	border-top: solid 1px #eee;
	display: block;
}
#sidebar .et_pb_widget ul li:last-child a {
	padding-bottom: 0.5rem;
	border-bottom: solid 1px #eee;
	margin-bottom: 1.5rem;
}


/* PAGINATION ------------- */

.navigation {
	display: block;
	clear: both;
	margin: 10px 0 1rem 0;
	border-top: solid 1px #ccc;
	padding-top: 1rem;
	text-align: center;
}
.navigation li {
    display: inline-block;
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
	background: #e0e0e0;
	color: #333;
	text-decoration:none;
	border-radius: 3px;
	cursor: pointer;
	padding: 5px 12px;
	font-size: 0.8rem;
}
 
.navigation li a:hover,
.navigation li.active a {
    background-color: var(--blue);
    color: #fff;
}



/* HOME ------------- */

body.home .tp-parallax-wrap {
	left: 0 !important; right: 0 !important; bottom: 0 !important;
	margin: 0 !important; padding: 0 !important;
}
body.home .tp-loop-wrap { 
	position: absolute !important;
	bottom: 30px; left: 0; right: 0;
	padding: 0 !important;
	font-size: 11px !important;
	text-transform: uppercase;

} 
body.home .tp-mask-wrap {
	width: 100%;
	text-align: center;
}
body.home .tp-caption { 
	position: relative!important;
	display: inline-block;
	bottom: 0;
	padding: 5px 10px !important;
	font-size: 11px !important;
	text-transform: uppercase;
	background: rgba(0,0,0,0.5) !important;
	color: #ccc;
}



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

.wheel-line-title  {
	margin: 4rem 0 20px !important;
	padding: 10px 0 20px 0 !important;
	border-bottom: solid 1px #ccc;
	text-transform: uppercase;
	font-size: 1.1rem;
}
.wheel-line-title:first-child { margin-top: 0 !important; }
.wheel-line-title strong { font-size: 2em; }

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

.wheel-gallery-title  {
	margin: 0 0 20px !important;
	padding: 10px 0 20px 0 !important;
	text-transform: uppercase;
	font-size: 2rem;
	font-weight: bold;
	text-align: center;
	border-bottom: solid 1px #ccc;
}


.wheel-line {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	align-content: center;
}
.wheel-tile { 
	text-align: center;
	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: 5px 5px 1rem 5px; }
	.new-wheels .wheel-tile { flex: 0 0 33%; }
}
.wheel-content a.wheel-name { 
	text-transform: uppercase;
	font-weight: 900;
	font-size: 1.2em;
	display: block;
	margin: 0.25em 0;
	line-height: 1.1;
}
.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 {
	text-align: center;
	margin-bottom: 1rem;
}
.wheel-list.heritage .wheel-line-disclaimer ,
.wheel-list.hidden-hardware .wheel-line-disclaimer {
	display: none;
}


/* 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 { 
	text-align: center; 
	padding: 12px;
}
.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-bottom: 58px;
}
section.wheel-finishes {
	font-size: 1.1em;
	width: 70%;
	max-width: 650px;
	color: #fff !important;
	padding: 5rem 0;
	margin: 0 auto;
	text-align: center;
   position: relative;
}
section.wheel-finishes h4 {
	color: #fff !important;
	text-shadow: 2px 3px 10px #000;
}
section.wheel-finishes .button-white {
	margin-top: 0.5em;
}
.button-white {
	background: rgba(255,255,255,1);
	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;
	box-shadow: 2px 3px 25px #000;
}
.button-white:hover {
	background: var(--blue);
	color: #fff;
	border-color: #fff;
}

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

.wheel-image-section > div:nth-child(odd) {
	background: #f0f0f0;	
}
.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;
}
*/

@media only screen and ( min-width : 768px ) {
	#wheel-details {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		align-content: center;
	}
	.wheel-image { 
		flex: 0 1 40%; 
		text-align: right; 
	}
	.wheel-info { 
		flex: 0 1 40%; 
	}
}
.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 ------------- */

#main-content .container.gallery {
	padding-top: 1rem;
	width: 98%;
	max-width: 98%;
}
.gallery-tile { 
	text-align: center;
	padding: 1px;
	position: relative;
	overflow: hidden !important;
}
.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: 250px; }
}


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

#search-galleries {
	background: #f0f0f0;
	margin-bottom: 1rem;
}
.searchandfilter > ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	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: #464646;
	font-size: 0.5rem;
	letter-spacing: 3px;
}
.chosen-container-single .chosen-single {
	border: solid 1px rgba(0,0,0,0);
	border-radius: 0;
	border-bottom-color: #888;
	background: transparent;
	box-shadow: none;
}
.chosen-container-active.chosen-with-drop .chosen-single {
	background: #fff;
	border: solid 1px #888
}
.sf-field-submit input {
	border: solid 2px #fff;
	border-radius: 3px;
	background: #999;
	color: #fff;
	text-transform: uppercase;
	font-weight: 900;
	font-size: 12px;
	padding: 3px 8px;
	-webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
.sf-field-submit input:hover {
	background: var(--blue);
	color: #fff;
}


/* 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;
		text-shadow: 2px 3px 20px #000; 
		line-height: 1.0;
	}
	.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;
}

