/*
Theme Name: Hartwell Companies
Author: Luiz Cruz
Author URI: https://google.com/
Description: Wordpress theme developed for the Hartwell Companies' website.
Version: 12/2021
*/

html, body {
	height: 100vh;
	margin: 0!important;
}

html {
	scroll-behavior: smooth;
}

body {
	overflow-x: hidden!important;
}

* {
	font-family: "Arial", sans-serif;
	line-height: normal;
}

.carousel-item-wrapper {
	display: flex;
	justify-content: center;
}

.carousel-item-wrapper > div {
	display: flex;
	align-items: center;
	width: 70%;
}

.carousel-item-wrapper img {
	width: 140px;
	height: 140px;
	margin-right: 30px;
}

img.circle {
	border-radius: 50%;
}

p.name {
	color: #E4002B;
	font-weight: bold;
}

p, li {
	color: gray;
}

p {
	font-size: 16px;
}

p a {
	color: #E4002B!important;
}

a {
	text-decoration: none;
	transition: 0.3s;
}

.article-card a {
	display: block;
}

#timeline {
	margin: 40px auto;
	display: block;
	width: 100%;
}

nav {	
	width: 100%;
	position: relative;
	z-index: 998;
}

nav, #lower-nav {
	background-color: #e4002b;
}

.videobg {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 0;
}

#upper-nav, #lower-nav {
	width: 100%;
	padding: 0px 15px;
}

#lower-nav {
	height: 80px;
}

#lower-nav li {
	line-height: 80px;
}

#lower-nav li.dropdown li {
	line-height: 40px;
}

#lower-nav .main a {
	opacity: 0.75;
}

#lower-nav .main a:hover {
	opacity: 1;
}

#upper-nav {
	height: 24px;
}

#upper-nav * {
	line-height: 24px;
	font-size: 12px;
}

.embed-container {
	position: relative; 
	padding-bottom: 56.25%;
	overflow: hidden;
	max-width: 100%;
	height: auto;
} 

.embed-container iframe,
.embed-container object,
.embed-container embed { 
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

nav ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

nav .desktop li {
	display: inline-block;
	margin-right: 10px;
}

nav .desktop li:last-of-type {
	margin: 0;
}

ul#navmobile {
	background-color: #B20020;
}

ul#navmobile li:first-child {
	padding-top: 12px;
}

ul#navmobile li:last-child {
	padding-bottom: 12px;
}

ul#navmobile li {
	line-height: 2;
	padding: 0px 12px;
}

nav li.dropdown ul {
	display: block;
	position: absolute;
	overflow: hidden;
	transition: 0.4s;
	top: 80px;
	max-height: 0;
	background-color: hsla(349,100%,35%,1.00);
	left: 50%;
    transform: translate(-50%, 0);
	z-index: 998;
}

nav li.dropdown:hover ul {
	max-height: 400px;
}

nav li.dropdown li {
	float: none!important;
	margin: 0!important;
	padding: 0px 10px;
	border-bottom: 1px solid hsla(349,100%,50%,1.00);
}

nav li.dropdown li:last-of-type {
	border-bottom: none;
}

nav li.dropdown li a {
	white-space: nowrap;
	font-size: 12px;
}

nav ul.main, #upper-nav ul {
	float: right;
}

nav * {
	color: #fff!important;
	text-transform: uppercase;
}

.desktop nav li, #lower-nav > a {
	float: left;
}

.desktop nav li {
	margin-left: 40px;
}

#lower-nav img {
	height: 50px;
	display: block;
	margin: 15px 0px;
}

#starting-from-scrap p.quote {
	padding-left: 14px!important;
	position: relative;
	display: block;
	border-left: 4px solid #E4002B;
}

#gettoknow .container {
	border-bottom: 1px solid hsla(0,0%,95%,1.00);
}

section.cinza {
	background-color: hsla(0,0%,95%,1.00);
}

div.img-col {
	width: 100%;
	height: 500px;
	background-color: gray;
	background-size: cover;
	background-position: center;
}

.wpcf7 form input[type="text"], .wpcf7 form input[type="tel"], .wpcf7 form input[type="email"], .message textarea, .wpcf7 form select {
	padding: 10px;
	font-size: 14px;
	line-height: normal;
	color: gray;
	border: 1px solid gray;
	width: 100%;
	display: block;
}

footer, #upper-nav  {
	background-color: #343434;
}

#banner.carousel.slide {
	height: 60%;
    background-color: #e4002b;
}

#testimonials.carousel.slide {
	height: 20%;
}

.carousel-inner, .carousel-item {
	height: 100%;
}

#banner .carousel-item {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.carousel-item .container {
	height: 100%;		
}

.carousel-item .container {
	padding-top: 0px!important;
	padding-bottom: 0px!important;
	display: flex;
	align-items: center;
}

#banner.carousel * {
	color: #fff!important;
}

#banner .herocontent > span {
	display: block;
	font-weight: bold;
}

#banner .herocontent > span {
	font-family: 'Roboto Slab', serif!important;
	font-size: 70px!important;
	width: 80%;
	margin-left: 12px;
}

span.detalhes {
	font-size: 14px;
}

h1, h2, h3 {
	font-family: 'Roboto Slab', serif!important;	
	color: #e4002b;
	font-weight: bold;
}

h3 {
	font-size: 20px;
}

h1 {
	margin-bottom: 20px;
}

div.connection-wrapper {
	margin-bottom: 30px;
}

section .container, footer .container {
	padding-top: 60px;
	padding-bottom: 60px;
}

/* #mission {
	background-color: #e4002b;
}

#mission *, #vision * {
	color: #fff!important;
}

#vision {
	background-color: hsla(349,100%,35%,1.00);
} */

iframe.video-scrap {
	width: 100%;
	height: 450px;
}

div.imgthumb {
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 460px;
	background-color: gray;
	position: relative;
}

div.barra-r, div.barra-l {
	height: 100%;
	width: 10px;
	background-color: #e4002b;
	position: absolute;
	top: 0;
}

div.barra-l {
	left: 0;
}

div.barra-r {
	right: 0;
}

div.section {
	padding-top: 40px;
	padding-bottom: 30px;
}

div.company-card {
	width: 100%;
}

div.company-card img {
	filter: grayscale(100%);
	opacity: 0.5;
	transition: 0.3s;
	width: 90%;
	margin-bottom: -20px;
}

div.company-card:hover img {
	filter: grayscale(0%);
	opacity: 1.0;
	transform: scale(1.05);
	position: relative;
	z-index: 0;
}

div.company-card a.botaoazul {
	transition: 0.2s;
	position: relative;
	z-index: 1;
}

a.botaoazul, input[type="submit"] {
	background-color: #e4002b;
	color: #fff!important;
	display: inline-block;
	padding: 10px;
	line-height: 1;
	border: 0!important;
	transition: 0.3s;
}

a.botaoazul:hover {
	background-color: hsla(349,100%,35%,1.00);
}

div.team-card {
	background-color: #fff;
	margin-bottom: 40px;
}

div.team-card > div.foto-holder {
	float: left;
	margin-right: 20px;
	background-position: center;
	background-size: cover;
	height: 200px;
	width: 200px;
}

div.team-card span {
	display: block;
}

div.team-card div.red-bar {
	height: 100%;
	width: 10px;
	background-color: #e4002b;
	position: absolute;
	left: 0;
}

div.foto-holder {
	position: relative;
	width: 100%;
}

div.info-holder {
	height: 200px;
}

div.team-card .nome, div.team-card .cargo {
	font-family: 'Roboto Slab', serif;
}

div.team-card .nome {
	font-weight: bold;
	color: #e4002b;
	font-size: 24px;
}

div.team-card .cargo {
	font-size: 20px;
	margin-bottom: 20px;
}

div.article-card {
	margin-bottom: 30px;
    border-bottom: 1px solid hsl(0, 0%, 80%);
}

div.article-card a>h3 {
	opacity: 0.5;
	transition: 0.3s;
}

div.article-card:hover a>h3 {
	opacity: 1;
}

.company-location-pin {
	color: #e4002b;
	font-size: 24px;
}

.about-company * {
	font-size: 14px;
}

.location-card {
	display: flex;
	align-items: center;
	width: 100%;
	margin-bottom: 20px;
}

.location-cat {
	background-color: #e4002b;
	color: #fff;
	border-radius: 20px;
	padding: 2px 8px;
	font-size: 8px;
	text-transform: uppercase;
	font-weight: bold;
	display: inline-block;
}

img.img-responsiva {
	width: 100%!important;
}

.about-company p>em, .about-company p>i {
	font-size: 12px;
}

#scrap-carousel {
	padding: 40px 80px;
}

footer img {
	width: 90%;
}

@media only screen and (min-width: 1600px) {	
	#timeline {
		max-width: 1500px;
	}
}

@media only screen and (max-width: 991px) {
	footer img {
		width: auto;
		height: 30px;
		margin-bottom: 20px;
	}
	
	.videobg {
		width: auto;
		height: 100%;
	}
	
	nav {
		position: fixed;
	}
	
	#banner {
		padding-top: 60px;
	}
	
	section .container, footer .container {
		padding-top: 30px;
		padding-bottom: 30px;
	}
	
	#scrap-carousel {
		padding: 20px 30px;
	}
	
	#banner .herocontent > span {
		display: block;
		margin: 0 auto;
		width: 60%;
	}
	
	#banner .herocontent > span {
		font-size: 30px!important;
	}
	
	.carousel-control-next, .carousel-control-prev {
		padding-top: 60px;
	}
}

/* WordPress Core */
.alignnone {
    margin: 5px 20px 20px 0;
}
 
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
 
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
 
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
 
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
 
a img.alignnone {
    margin: 5px 20px 20px 0;
}
 
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
 
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
 
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
 
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
 
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
 
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
 
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
 
.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
 
/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
 
.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}