/*!
Theme Name: Vortex Optics Ecuador
Theme URI: https://pistudio.dev/
Author: Pi Studio
Author URI: https://pistudio.dev/
Template: underboot
Description: Vortex Optics Ecuador personalized theme
Version: 1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pistudio
Tags: custom-background, custom-logo, custom-menu, featured-images, theme-options, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*

[Table of Contents]
0. Load fonts
1. Generalities

*/


/*************** 0. Load fonts ***************/
/* --- ASH --- */
@font-face {
	font-family: 'Ash';
	src: url('fonts/Ash.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* --- THIRD RAIL --- */
@font-face {
	font-family: 'Third Rail';
	src: url('fonts/Third-Rail.ttf') format('truetype'); /* %20 remplace l'espace pour l'URL */
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* --- TRADE GOTHIC - REGULAR --- */
@font-face {
	font-family: 'Trade Gothic';
	src: url('fonts/Trade-Gothic-Regular.otf') format('opentype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* --- TRADE GOTHIC - BOLD --- */
@font-face {
	font-family: 'Trade Gothic';
	src: url('fonts/Trade-Gothic-Bold.woff2') format('woff2');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

/* --- TRADE GOTHIC - CONDENSED --- */
@font-face {
	font-family: 'Trade Gothic Condensed';
	src: url('fonts/Trade-Gothic-Condensed-18.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* --- TRADE GOTHIC - BOLD CONDENSED --- */
@font-face {
	font-family: 'Trade Gothic Condensed';
	src: url('fonts/Trade-Gothic-Bold-Condensed-20.woff2') format('woff2');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

/* oswald-regular - latin */
@font-face {
	font-family: 'Oswald';
	src: url('fonts/oswald-regular.woff2') format('woff2');
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

/* oswald-600 - latin */
@font-face {
	font-family: 'Oswald-Semibold';
	src: url('fonts/oswald-600.woff2') format('woff2');
	font-style: normal;
	font-weight: 600;
	font-display: swap;
}


/*************** 1. Generalities ***************/
html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	font-family: 'Lato',Helvetica,Arial,sans-serif;
	color: #2d2b29;
	line-height: 24px;
	margin: auto;
	letter-spacing: .75px
}

.container-fluid {
	max-width: 1560px;
}


h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: 'Trade Gothic Condensed', serif;
	font-weight: bold;
	text-transform: uppercase;
}

.font-ash {
	font-family: 'Ash', sans-serif;
}

.font-third-rail {
	font-family: 'Third Rail', cursive;
}

.text-underline {
	text-decoration: underline !important;
}

/*****---------- Logo ----------*****/

.custom-logo {
	max-height: 80px;
	width: auto;
	z-index: 100000;
	position: absolute;
	top: -20px;
	left: 22px;
}

/*****---------- NavBar ----------*****/
#masthead {
	height: 28px;
}

.navbar, .before-navbar {
	position: fixed;
	width: 100%;
	z-index: 10000;
	font-family: 'Trade Gothic Condensed',Helvetica,Arial,sans-serif;
	text-transform: uppercase;
}

.before-navbar {
	top: 0px;
	padding-left: 120px;
	font-size: 0.9rem
}

.navbar {
	top: 20px;
}
@media (min-width: 768px) {
	.navbar {
		padding: 0 1rem;
	}
}

#navbarNavDropdown {
	margin-left: 84px;
}

.navbar-dark .navbar-nav .active > .nav-link, a.nav-link:hover {
	text-decoration: underline;
}

.navbar-dark .navbar-nav a.nav-link:not(.active) > .nav-link, a.nav-link:not(.active), .in-nav-bar .dashicons {
	text-decoration: none !important;
}

.in-nav-bar .nav-bar-icn {
	height: 40px;
	padding: .5rem;
}

.navbar-dark .navbar-nav > .menu-item, .in-nav-bar .nav-bar-icn {
	transform : skew(-26deg);
}

.navbar-dark .navbar-nav > .menu-item > *, .in-nav-bar .nav-bar-icn > * {
	transform : skew(26deg);
}

.navbar-dark .navbar-nav .menu-item .nav-link, .in-nav-bar .nav-bar-icn {
	padding: 0.5rem 1rem;
}

.in-nav-bar .phone-btn a, .in-nav-bar .email-btn a {
	font-size: 17px;
}

/*****---------- Jumbotron ----------*****/
.jumbotron {
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
	min-height: 520px !important;
	display: flex;
	align-items: center;
	margin-bottom: 0px;
	border-radius: 0;
}

.jumbotron .container-fluid {
	width: fit-content;
	padding: 4rem;
	background-color: rgba(0, 0, 0, 0.7);

}

h1.jumbotron-heading {
	text-transform: uppercase;
}

/*****---------- Links ----------*****/
a:not(.btn) {
	text-decoration:underline;
}

.text-white a {
	color: #fff!important;
}

.unclickable > a {
	pointer-events: none;
}

.upper-site-shop a, .upper-site-shop a:hover, .upper-site-shop a:active {
	text-decoration:none;
}


/*****---------- Buttons ----------*****/
.btn,
.btn-primary,
.btn-secondary,
.woocommerce #respond input#submit.alt,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.wp-block-woocommerce-product-button a,
.wpcf7-submit {
	border-radius: 0;
	border-width: 0;
	transition: background-color 0.3s ease;
	clip-path: polygon(100% 0,100% calc(100% - 15px),calc(100% - 15px) 100%,0 100%,0 0);
	color: #fff;
	text-decoration: none;
	font-weight: 600 !important;
	box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.3);
}

.wp-block-woocommerce-product-button {
	padding: 1.25rem;
}

.btn-primary:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.wp-block-woocommerce-product-button a:hover,
.wpcf7-submit:hover {
	color: #fff;
}

.wpcf7-submit {
	display:inline-block;
	font-weight:400;
	text-align:center;
	white-space:nowrap;
	vertical-align:middle;
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	user-select:none;
	border:1px solid transparent;
	padding:.375rem .75rem;
	font-size:1rem;
	line-height:1.5;
	border-radius:.25rem;
	transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out
}

.wpcf7-submit {
	display:inline-block;
	font-weight:400;
	text-align:center;
	white-space:nowrap;
	vertical-align:middle;
	-webkit-user-select:none;
	-moz-user-select:none;
	-ms-user-select:none;
	user-select:none;
	border:1px solid transparent;
	padding:.375rem .75rem;
	font-size:1rem;
	line-height:1.5;
	border-radius:.25rem;
	transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out
}
@media screen and (prefers-reduced-motion:reduce) {
	.wpcf7-submit {
	transition:none
	}
}
.wpcf7-submit:focus,
.wpcf7-submit:hover {
	text-decoration:none
}
.wpcf7-submit.focus,
.wpcf7-submit:focus {
	outline:0;
	box-shadow:0 0 0 .2rem rgba(0,123,255,.25)
}
.wpcf7-submit.disabled,
.wpcf7-submit:disabled {
	opacity:.65
}
.wpcf7-submit:not(:disabled):not(.disabled) {
	cursor:pointer
}
.wpcf7-submit:not(:disabled):not(.disabled).active,
.wpcf7-submit:not(:disabled):not(.disabled):active {
	background-image:none
}
a.wpcf7-submit.disabled,
fieldset:disabled a.btn {
	pointer-events:none
}

/*****---------- Icons ----------*****/
[class*='icon-']:before {
	vertical-align: middle;
	margin-right: 0.4em;
}

i.icon-small {
	font-size: 0.7rem !important;
}

i.icon-medium {
	font-size: 1.2rem;
}
i.icon-big {
	font-size: 1.6rem;
}


/*****---------- Images ----------*****/

a .image-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 10;
	transition: background 0.3s ease;
}

a:hover .image-overlay {
	background: rgba(0, 0, 0, 0);
}

.img-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/*****---------- Banner ----------*****/

/*****---------- Home page - Warranty ----------*****/

p.font-one {
	font-family:'Oswald-Semibold',Helvetica,Arial,sans-serif;
	font-size:4rem;
	line-height:4rem;
	text-transform:uppercase;
	color:#ffffff00;
	-webkit-text-stroke-color:#fff;
	-webkit-text-stroke-width:1.5px;
	font-style:normal;
}
p.font-one .colored {
	color:#fff;
	text-wrap:nowrap;
	-webkit-text-stroke-width:0;
	display:block
}

.badge-background {
	color:#006253;
	background:#aede00;
	transform:skew(-30deg);
	width:fit-content;
	margin:auto
}
.badge-background p {
	transform:skew(30deg);
	font-family:'Oswald',Helvetica,Arial,sans-serif;
	font-size: 1.2rem;
	font-weight:600;
	text-wrap:nowrap
}

.warranty-hook {
	font-family:'Oswald',Helvetica,Arial,sans-serif;
	font-weight:600;
	font-size:1.4rem;
	color: #fff;
	line-height:1.6rem;
	text-transform:uppercase
}

/*****---------- Home page - Author Intro ----------*****/

.square {
	aspect-ratio: 1/1;
	overflow: hidden;
	margin-bottom: 1rem;
}

.home-category-title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
	text-shadow: 2px 2px 2px rgba(0,0,0,.5);
}

/*****---------- Event box ----------*****/
.event-box {
	box-shadow: 0 4px 20px 0px rgba(0, 0, 0, 0.3);
}
/*****---------- Shop - Product preview ----------*****/

/*****---------- Titles ----------*****/

/*****---------- Forms ----------*****/

/*****---------- Article ---------*****/

/*****---------- Sales point list ----------*****/

/*****---------- Footer ----------*****/
.site-footer {
	background-color: #343a40;
}

.site-footer, .site-footer a, .footer-menu, .footer-menu a {
	text-decoration: none;
}

.site-footer hr {
	border-color: #f2f0ee;
}

.footer-menu {
	list-style: none;
	text-transform: uppercase;
}

.footer-menu li {
	margin-bottom: 0.8em;
	list-style: none;
}

.footer-menu li:first-child a {
	font-weight: 900;
	pointer-events: none;
}


.footer-menu li:not(:first-child) a:hover {
	text-decoration: underline;
	text-decoration-thickness: 0.2rem;
	text-underline-offset: 0.4rem;
}

[class*="icon-"]::before {
	vertical-align: sub;
}

.footer-menu [class*="icon-"]::before {
	font-size: 1.4em;
	margin-right: 0.5em;
}

.footer-social-icon {
	height: 32px !important;
	width: auto;
}
 
 
 
 
/*****---------- WooCommerce - Cart icon ----------*****/
.cart-menu {
	position: relative;
}
.cart-icon {
	font-size: 18px;
}
.cart-count {
	background: red;
	color: white;
	border-radius: 50%;
	padding: 0px 6px;
	font-size: 12px;
	font-weight: 600;
	position: absolute;
	top: 2px;
	right: 0px;
}
