/*
Theme Name: Total Child Theme
Theme URI: https://www.alvaradomfg.com
Description: Custom child theme for Alvarado Manufacturing.
Author: Kandice Hutcheson @ Horde Marketing LLC
Author URI: https://hordemarketing.com
Template: Total
Version: 1.0
*/
/* branding assets 
-> primary
main titles: gotham bold all caps
Gotham-Bold.otf
Gotham-BoldItalic.otf
-----------------------
headers: whitney pro medium
WhitneySSm-Medium-Bas.otf
WhitneySSm-MediumItalic-Bas.otf
-----------------------
body: whitney pro book
WhitneySSm-Book-Bas.otf
WhitneySSm-BookItalic-Bas.otf
-----------------------
captions/callouts: whitney pro light
WhitneySSm-Light-Bas.otf
WhitneySSm-LightItalic-Bas.otf
-----------------------
-----------------------
*/
/* typography */
@font-face {
	font-family: "Gotham Bold", Arial, sans-serif;
	font-weight: bold;
	src: url("/wp-content/themes/total-child-theme/fonts/gotham/Gotham-Bold.otf") format("opentype");
}
@font-face {
	font-family: "Gotham Bold", Arial, sans-serif;
	font-weight: bold;
	font-style: italic;
	src: url("/wp-content/themes/total-child-theme/fonts/gotham/Gotham-BoldItalic.otf") format("opentype");
}
@font-face {
	font-family: "Whitney SSm Medium", Arial, sans-serif;
	font-weight: normal;
	src: url("/wp-content/themes/total-child-theme/fonts/whitney/WhitneySSm-Medium-Bas.otf") format("opentype");
}
@font-face {
	font-family: "Whitney SSm Medium", Arial, sans-serif;
	font-weight: normal;
	font-style: italic;
	src: url("/wp-content/themes/total-child-theme/fonts/whitney/WhitneySSm-MediumItalic-Bas.otf") format("opentype");
}
@font-face {
	font-family: "Whitney SSm Book", Arial, sans-serif;
	font-weight: normal;
	src: url("/wp-content/themes/total-child-theme/fonts/whitney/WhitneySSm-Book-Bas.otf") format("opentype");
}
@font-face {
	font-family: "Whitney SSm Book", Arial, sans-serif;
	font-weight: normal;
	font-style: italic;
	src: url("/wp-content/themes/total-child-theme/fonts/whitney/WhitneySSm-BookItalic-Bas.otf") format("opentype");
}
@font-face {
	font-family: "Whitney SSm Light", Arial, sans-serif;
	font-weight: lighter;
	src: url("/wp-content/themes/total-child-theme/fonts/whitney/WhitneySSm-Light-Bas.otf") format("opentype");
}
@font-face {
	font-family: "Whitney SSm Light", Arial, sans-serif;
	font-weight: lighter;
	font-style: italic;
	src: url("/wp-content/themes/total-child-theme/fonts/whitney/WhitneySSm-LightItalic-Bas.otf") format("opentype");
}
/* colors
main titles: red #e4002b
sub headers: black #000000
body copy: dark gray #414042
captions/callouts: medium gray #808285
gaphic elements/table fill: light gray #d1d3d4
image overlay/graphic elements: darker red #ae2025
*/
/* global styles */
body, html {
	font-family: "Whitney SSm Book", Arial, sans-serif;
	font-size: 16px;
	color: #414042;
}
h1, h1.page-header-title, .page-header .page-header-title {
	font-family: "Gotham Bold", Arial, sans-serif;
	font-weight: 600 !important;
	margin-top: 0px;
	margin-bottom: 0px !important;
	color: #e4002b;
}
h2, h3, h4, h5, h6, .theme-heading, .widget-title, .entry-title {
	font-family: "Whitney SSm Medium", Arial, sans-serif;
	color: #000000;
}

.single-portfolio h1 {
	margin-top: 0px;
	margin-bottom: 0px !important;
	color: #e4002b;
	font-size: 42px;
}
.single-portfolio h2 {
	margin-top: 0px;
	/* font-size: 28px; */
}
.single-portfolio header h1.page-header-title {
    font-size: 26px;
}

/* main nav header */
#site-header div.vc_column-inner {
	margin: 0;
}
/* links and buttons */
a {
	color: #e4002b;
}
a, button {
	transition: all 0.5s ease;
}
a.btn {
	display: inline-block;
	background: #e4002b;
	color: rgb(255, 255, 255);
	border-radius: 0px;
	padding: 7px 20px;
	text-decoration: none;
}
a.btn:hover {
	background-color: #ae2025;
	color: #fff;
}
.btn.secondary {
	background: #000;
	color: #fff;
}
.btn.secondary:hover {
	background: #000;
	color: #e4002b;
}
main#main {
	border-top: 3px solid #e4002b;
}
.page-header.wpex-supports-mods {
	border-top: 0 !important;
}
/* navigation and menus */
ul.menu {
	float: right;
}
.menu li {
	display: inline-block;
}
ul.menu a {
	display: block;
	color: #d6d6d4;
	padding: 0 15px;
	font-size: 14px;
	line-height: 5;
}
ul.menu a:hover {
	color: #fff;
	text-decoration: none;
}
ul.sub-menu, ul.sub-menu ul.sub-menu {
	display: none;
	position: absolute;
	padding: 0;
	border-top: 3px solid #E4002B;
}
ul.sub-menu ul.sub-menu {
	margin-top: -40px !important;
	margin-left: 100% !important;
	border-top: 3px solid transparent;
	box-shadow: -1px 3px 15px #ccc;
}
ul.menu li.menu-item-has-children:hover ul.sub-menu {
	display: block;
}
ul.menu li.menu-item-has-children:hover ul.sub-menu ul.sub-menu {
	display: none;
}
ul.sub-menu li.menu-item-has-children:hover ul.sub-menu {
	display: block !important;
}
ul.sub-menu a, ul.sub-menu ul.sub-menu a {
	line-height: 3;
	font-size: 12px;
	background: #fff;
	color: #333;
	display: block !important;
	width: 200px;
	border-bottom: 1px solid #eee;
}
ul.sub-menu a:hover, ul.sub-menu ul.sub-menu a:hover {
	background: #eaeaea;
	color: inherit;
}
/* contact forms */
div#get-quote {
	width: 100%;
	background: black !important;
	color: white;
	margin: 0;
    margin-bottom: 20px;
}
div#get-quote h2 {
	color: white;
}
.ginput_container.ginput_container_select {
    color: #414042;
}
/* home page customizations */
div#home-slider .vc_column-inner {
	margin-bottom: 0px;
}
#home-slider a:hover {
	background: #ae2025 !important;
}
@media screen and (max-width:700px) {
	div#home-slider .n2-ss-slider-4.n2-ow {
		background: rgb(0 0 0 / 70%);
	}
	.n2-ss-slider .n2-ss-slide-background-image img {
		width: 200% !important;
		object-fit: none !important;
		object-position: right !important;
	}
}
.home-intro {
	padding-top: 3rem;
	padding-bottom: 3rem;
	background: url("/wp-content/uploads/2021/02/img_background_homepage-03-scaled.jpg");
	background-size: cover;
}
.home-intro .wpb_column .vc_column-inner {
	max-width: 1010px;
	margin: 3rem auto;
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid #fff;
	padding: 2rem 8rem 4rem;
}
#our-story {
	background: url("/wp-content/uploads/2021/02/img_background_homepage-06-scaled.jpg") no-repeat;
	background-size: cover;
	background-position: bottom;
	min-height: 600px;
	padding-top: 3rem;
}
#our-story .vc_column-inner {
	max-width: 1010px;
	margin: auto;
}
#home-bottom-cta {
	background: #e4002b;
}
.home-cta-inner {
	max-width: 1010px;
	margin: auto;
}
/* internal pages */
figcaption {
	border: 1px solid #ccc;
	margin-top: -1px !important;
	padding: 5px;
	font-size: 12px;
	font-style: normal !important;
}
.archive.tax-portfolio_category .page-header {
	background: #000;
	border-top: 5px solid #e4002b;
}
.archive.tax-portfolio_category .page-header-title {
	color: #fff !important;
}
.archive.tax-portfolio_category #portfolio-entries .portfolio-entry-details {
	padding: 10px 15px;
	text-align: center;
}
.archive.tax-portfolio_category #portfolio-entries .portfolio-entry-title {
	font-size: 18px;
}
.archive.tax-portfolio_category #portfolio-entries .portfolio-entry-excerpt {
	font-size: 14px;
	line-height: 1.5;
	margin-top: 0;
}
/* adjust expandable section styles */
.ult_ecpsub_cont {
	text-align: left !important;
}
.ult_exp_section {
	padding: 5px !important;
}
.ult_exp_section_layer {
	margin-bottom: 15px !important;
}
/* sidebar */
.wp-block-search__button.has-icon, .vcex-searchbar-form button {
	display: none;
}
#wp-block-search__input-1, .vcex-searchbar-form input {
	width: 100%;
	background-image: url("/wp-content/themes/total-child-theme/images/search.png");
	background-repeat: no-repeat;
	background-position: right center;
	padding: 10px;
}
/* search forms */ ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
	color: #808285;
	opacity: 1; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: #808285;
}
::-ms-input-placeholder { /* Microsoft Edge */
	color: #808285;
}
/* footer */
#footer-builder, #footer-builder a {
	color: #ccd0d5;
	font-size: 14px;
	font-weight: 300;
}
ul.footer-links {
    margin:0;
    padding: 15px 0;
    list-style-type: none;
    display: flex;
    justify-content: space-between;
}
ul.footer-links li {
    display:inline-block;
    padding:5px 10px 5px 0;
}
ul.footer-links a{
	font-weight:bold !important;
}
@media screen and (max-width:768px){
	ul.footer-links{
		flex-direction:column;
	}
}

/* hide product category description for now */
.archive.tax-portfolio_category .page-subheading {
	display: none;
}
/* single product image grid cards */
.vcex-portfolio-grid .portfolio-entry-details {
	background: #000 !important;
	color: #E4002B !important;
	text-align: center !important;
	padding: 10px;
}
.vcex-portfolio-grid .portfolio-entry-details a,.single-portfolio .vcex-portfolio-grid .portfolio-entry-details h2 {
	color: #E4002B !important;
	font-size: 18px;
}
/* download links on single products */
.dl-link {
    display:flex;
    align-items:center;
}

.dl-icon {
    width:35px;
    height:auto;
    margin-right:15px;
}

.dl-title {
    font-size:18px;
    margin-top:-5px;
}
/*table to fix alignment */
table.cc-table td {
    border: none !important;
    vertical-align: top;
    width: 50%;
}
/*single product - prevent featured image on mobile from overlapping page title*/
#portfolio-single-content .visible-phone figure.wpb_wrapper.vc_figure {
    margin-bottom: 30px;
}
/*product category cards*/
.tax-portfolio_category #portfolio-entries .portfolio-entry-details, div#portfolio-single-related .portfolio-entry-details {
	background: #000;
	color: #fff;
	line-height: 1.2;
	text-align: center;
}
h2.portfolio-entry-title, div#portfolio-single-related h2.portfolio-entry-title {
	color: #E4002B;
}
/* KeyShot VR */
#keyshot {
	min-height: 500px;
}
#keyshot > .img {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
}
#keyshot > .img:last-child {
	display: block;
}
#keyshot-cover {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
}
@media only screen and (max-width : 480px) {
	#keyshot {
		min-height: 320px;
	}
}