:root {
	--main-red: #d11142;
	--dark-red: #A5062E;
	--dark-gray: #313131;
	--light-gray: #e6e6e6;
	--gray: #c3c3c3;
	--green: #4ab17f;
}

body {
	background-color: #ffffff;
	color: #585858;
    font-family: 'Lato', sans-serif;
}

h1, h2, h3, h4 {
	text-transform: uppercase;
}

#clientes h2.titles2::before, #clientes h2.titles2::after {
    border-top: 1px solid red;
    content: "";
    display: inline-block;
    margin: 0 1rem;
    transform: translateY(-1rem);
    width: 250px;
}

footer {
	border-top: 10px solid var(--main-red);
	background-color: var(--light-gray);
	padding-top: 40px;
}

footer a, .color-inh {
	color: inherit;
}

a {
	color: var(--main-red);
}
a:hover {
	color: var(--dark-red);
	text-decoration: none;
}

.titles32 {
	font-size: 32px;
	font-weight: 700;
}

.titles1 {
	font-size: 52px;
	font-weight: 700;
}

.titles2 {
	font-size: 42px;
	font-weight: 700;
}

.titles3 {
	font-size: 64px;
}

.titles4 {
	font-size: 28px;
}

.titles5 {
	font-size: 80px;
}

.titles6 {
	font-size: 36px;
}

.cs-lineh1 {
	line-height: 1;
}
.cs-lineh12 {
	line-height: 1.2;
}

.ptext {
	font-size: 24px;
}

.ptext2 {
	font-size: 20px;
}

.ptext3 {
	font-size: 18px;
}

.maxw720 {
	max-width: 720px;
}

.cs-mw-940 {
	max-width: 940px;
	margin: 0 auto;
}

.cs-py70 {
	padding: 70px 0;
}

.text-box {
	padding: 10px 0;
	margin: 15px 18px;
}

.cs-hr {
	border-bottom: 1px solid #000000;
	border-left: 340px solid var(--main-red);
	border-top: 0;
	height: 20px;

}

.cs-hrc {
	border-bottom: 14px solid var(--main-red);
    border-top: 0;
    width: 140px;
    margin-top: 0;
    margin-bottom: 0;
}

.cs-mt-m20 {
	margin-top: -20px;
}

.cs-nomt {
	margin-top: 0;
}

.cs-border {
	border: 1px solid #000000;
	border-radius: 20px;
}

.cs-h-132 {
	height: 132px;
}

.cs-borderbox {
    height: 75%;
    position: absolute;
    border: 1px solid var(--gray);
    width: 90%;
    margin-top: 88px;
    z-index: -1;
}

/******* for animation ******************/
.animated {
	opacity: 0;
}

#quienes .col-md-4:nth-child(1) {
	animation-delay: 0.1s;
}
#quienes .col-md-4:nth-child(2) {
	animation-delay: 0.2s;
}
#quienes .col-md-4:nth-child(3) {
	animation-delay: 0.3s;
}

#contact-also div:nth-child(1) {
	animation-delay: 0.1s;
}
#contact-also div:nth-child(2) {
	animation-delay: 0.2s;
}
#contact-also div:nth-child(3) {
	animation-delay: 0.3s;
}
#contact-also div:nth-child(4) {
	animation-delay: 0.4s;
}
/***************************************************/
.color-main {
	color: var(--main-red);
}

.color-green {
	color: var(--green);
}

.color-black {
	color: #000000;
}

.color-white {
	color: #fff;
}

.cs-color-del {
	color: #878787;
}

.bg-main-red {
	background-color: var(--main-red);
}
.bg-dark-gray {
	background-color: var(--dark-gray);
}
.bg-green {
	background-color: var(--green);
}
/***************************************************/

/*background image clients section*/
#clientes {
	background: url(../images/home/foto-home-1.png) no-repeat;
	background-size: cover;
	background-position: center;
	/*height: 52rem;*/
}

/* video home */
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	/*padding-top: 25px;*/
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#trabajamos .d-flex div {
	min-height: 145px;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.sticky + main {
  padding-top: 55px;
}

.cs-nobr {
	border-radius: 0;
}

#toTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 999;
    border: none;
    outline: none;
    background-color: var(--main-red);
    cursor: pointer;
    padding: 18px;
    border-radius: 4px;
}

#toTop span {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -12px;
    height: 0;
    width: 0;
    border: 8px solid transparent;
    border-bottom-color: #ffffff;
}

#toTop:hover {
  background-color: var(--dark-red);
  opacity: 1;
  filter: "alpha(opacity=100)";
  -ms-filter: "alpha(opacity=100)";
}

.cs-hidetofade, .cs-fade-on-load {
    opacity: 0;
}

#showModal .modal-body, #showModal .modal-header {
	padding: 0;
}

#showModal .modal-header {
	padding-right: .5rem;
}

#showCasosModal .modal-dialog {
    max-width: 600px;
}

.img-gallery {
	/*height: 100hv;*/
	object-fit: cover;
	width: 100%; 
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 9; /* Behind the navbar */
  padding: 83px 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
  background-color: var(--gray);
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}

.sidebar .nav-link {
  font-weight: 500;
  color: #ffffff;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #999;
}

.sidebar .nav-link.active {
  color: var(--main-red);
  font-weight: 700;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar .nav-link:hover {
    color: var(--main-red);
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

[role="main"] {
    padding-top: 55px;
}
#app [role="main"] {
    padding-top: 83px;
}

.card {
	border: none;
	border-radius: 0;
}

.cs-mw-320 {
    max-width: 320px;
}

.cs-mw-32 {
	max-width: 32px;
}

.custom-file, .custom-file-input {
    max-width: 320px;
}

#topnavbar {
    border-bottom: 2px solid var(--main-red);
}

.swal-button {
	background-color: var(--main-red);
    border-color: var(--dark-red);
}

.swal-button:not([disabled]):hover {
    background-color: var(--dark-red);
    border-color: var(--main-red);
}
/********************** Override bootstrap classes ********************************/
hr {
    border-top: 1px solid rgba(0,0,0,.5);
}

.btn-primary {
    background-color: var(--main-red);
    border-color: var(--dark-red);
}

.btn-primary:hover {
    background-color: var(--dark-red);
    border-color: var(--main-red);

}

.btn-primary.disabled, .btn-primary:disabled {
    background-color: var(--main-red);
    border-color: var(--dark-red);
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
    background-color: var(--dark-red);
    border-color: var(--main-red);
}

.btn-primary.focus, .btn-primary:focus {
    -webkit-box-shadow: 0 0 0 .2rem rgba(165, 6, 46,.5);
    box-shadow: 0 0 0 .2rem rgba(165, 6, 46,.5);
}

.btn-outline-secondary {
    background-color: #fff;
}

.form-control:focus {
    border-color: var(--main-red);
    -webkit-box-shadow: 0 0 0 .2rem rgba(165, 6, 46,.25);
    box-shadow: 0 0 0 .2rem rgba(165, 6, 46,.25);

}

#navbar.navbar-expand-md .navbar-nav .nav-link {
    padding-right: 12px;
    padding-left: 12px;
}

.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: var(--main-red);
}

.nav-link ul {
	border-left: 1px solid #000000;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #ffffff;
    background-color: var(--main-red);
}

.dropdown-item.active, .dropdown-item:active {
    background-color: var(--main-red);
}

#contact-form input.form-control {
	border: none;
	border-bottom: 1px solid #ced4da;
	border-radius: 0;
}
#contact-form input.form-control:focus {
	border-color: transparent;
    border-bottom-color: var(--main-red);
    -webkit-box-shadow: 0 4px 5px .1rem rgba(165, 6, 46,.25);
	box-shadow: 0 4px 5px .1rem rgba(165, 6, 46,.25);
}

.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators li {
    width: 15px;
    height: 15px;
    margin-right: 5px;
    margin-left: 5px;
    background-color: var(--gray);
}

.carousel-indicators .active {
    background-color: var(--main-red);
}

#app .navbar {
	height: 83px;
}

#app .navbar-brand {
    position: absolute;
    left: 41%;
    /*display: block;
    width: 160px;
    text-align: center;*/
}
.navbar-brand h1 #nav-sealmaster-logo {
	max-width: 133px;
}

/********************* Media queries ********************************/

@media (min-width: 768px) {
	.cs-pl-md-100 {
		padding-left: 100px;
	}

	.cs-minh410 {
		min-height: 410px
	}
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
	.titles32 {
		font-size: 28px;
	}
	.titles1 {
	    font-size: 36px;
	}
	.titles2 {
	    font-size: 32px;
	}
	.titles5 {
	    font-size: 52px;
	}
	.titles6 {
	    font-size: 30px;
	}
	.ptext {
	    font-size: 20px;
	}

	.cs-hr {
	    border-left-width: 260px;
	}

	.cs-mt-m20 {
		margin-top: initial;
	}

	#enlaces div .border-right {
		border-right: none !important;
	}

	#clientes h2.titles2::before, #clientes h2.titles2::after {
	    display: none;
	}

	#topnavbar .navbar-brand h1 {
		margin-bottom: 0;
	}

	#topnavbar ul li:nth-child(2) {
		display: none;
	}

	#quienes .cs-mw-940 {
		max-width: initial;
	}

	.cs-borderbox {
	    height: 72%;
	    width: 90%;
	    margin-top: 78px;
	}
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
	#clientes h2.titles2::before, #clientes h2.titles2::after {
		width: 150px;
	}

	#topnavbar .container {
		font-size: 12px;
	}

	#topnavbar .navbar-brand img:nth-child(1) {
		width: 150px;
	}

	#topnavbar .navbar-brand img:nth-child(2) {
		width: 65px;
	}

	#topnavbar .navbar-brand img:nth-child(3) {
		width: 99px;
	}

	.navbar-laravel .container {
		max-width: 992px;
	}

	#navbar.navbar-expand-md .navbar-nav .nav-link {
	    padding-right: .3rem;
	    padding-left: .3rem;
	    font-size: 13px;
	}

}