
:root {
	--prim-color: #E31836;
	--sec-color: #DEE7EC;
	--ter-color: #ad0c24;
	--quat-color: #101010;
	--dark-color: #101010;
	--text-color: #343434;
}

html .bg-dark {
	background-color: #101010 !important;
}

h1, h2, h3, h4, h5, h6 {
	line-height: normal;
	text-transform: none;
	font-weight: bold;
}

.main h1 {
	font-size: 2.4rem;
}

.main h2 {
	font-size: 2.2rem;
}

.main h3 {
	font-size: 1.8rem;
}

.main h4 {
	font-size: 1.6rem;
}

.main h5 {
	font-size: 1.2rem;
}

.main h6 {
	font-size: 1rem;
}

.main {
	min-height: 200px;
	background-color: transparent;
}

.main p, .paragraph {
	font-size: 1em;
	font-weight: 400;
	line-height: 32px;
	letter-spacing: 1px;
	color: var(--text-color);
}

@media (max-width: 576px) {
	.main h1 {
		font-size: 1.6rem;
	}

	.main h2 {
		font-size: 1.4rem;
	}

	.main h3 {
		font-size: 1.3rem;
	}

	.main h4 {
		font-size: 1.1rem;
	}

	.main h5 {
		font-size: 0.9rem;
	}

	.main p, .paragraph {
		font-size: 0.9rem;
	}
}

.main small, .main .small {
	font-size: 0.75rem;
	color: var(--text-color);
}

.bg-auth {
	background-color: var(--prim-color);
	margin: 0;
	padding: 0;
}

#header .header-top {
	background-color: #F3F3F3;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

#header .header-nav.header-nav-line nav > ul > li > a {
	letter-spacing: 1px;
	font-size: 0.9em;
}

#header .header-nav.header-nav-line nav > ul:not(:hover) li > a.active {
	color: var(--sec-color);
	font-size: 110%;
}

html.sticky-header-enabled #header .header-logo-sticky-change img {
	top: 0;
}

section.section {
	margin: 0;
}

.custom-cards {
	margin-top: -85px;
}

@media (max-width: 992px) {
	.custom-cards {
		margin-top: 25px;
	}}

a:hover {
	color: var(--ter-color);
	text-decoration: none;
}

@media (min-width: 992px) {
	.container {
		max-width: 95%;
	}
}

.btn.btn-lg {
	font-size: 1.1rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: bold;
	padding: 0.8rem 2rem;
	border-radius: 20px;
}

.page-header.parallax {
	margin: 0 0 50px;
	padding: 350px 0 50px;
}

.main {
	min-height: 75vh;
	margin-top: -13px;
}

.main p, .main ul li {
	color: var(--text-color);
	font-size: 16px;
	line-height: 1.6em;
	letter-spacing: 0px;
}

.main h1, .main h2, .main h3, .main h4, .main h5 {
	color: var(--prim-color);
	font-weight: bold;
	letter-spacing: 2px;
}

.main h1, .main h2 {
	text-transform: uppercase;
}

.main em {
	font-weight: 700;
	font-style: normal;
	color: var(--sec-color);
}


.main p {
	margin-bottom: 26px;
}

h1.banner-title {
	font-size: 4.375em;
	font-weight: lighter;
	line-height: 1.2em;
	letter-spacing: 2px;
	margin-top: 30px;
}

#footer {
	background: url(../../img/gallery/law.jpg) center center;
	background-size: cover;
	color: #DEDEDE;
	margin: 0;
}

.active {
	font-weight: bold;
}


.card-item {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translate3d(0, 0, 0);
	border-radius: 4px;
	margin: 10px 20px;
	border: 2px solid var(--sec-color);
	padding: 30px;
	transition: all 0.3s ease;
}

.card-item:hover {
	-webkit-box-shadow: 3px 3px 18px 6px #CCCCCC; /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
	-moz-box-shadow: 3px 3px 18px 6px #CCCCCC; /* Firefox 3.5 - 3.6 */
	box-shadow: 3px 3px 18px 6px #CCCCCC; /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
	position: relative;
	background-color: rgba(226, 24, 54, .08);
	border: 3px solid var(--sec-color);
	transform: scale(1.05) translate(5px, -10px) perspective(3px);
}

.contact-form {
	position: relative;
	top: -310px;
	border: 1px solid var(--ter-color);
	background-color: #FFFFFF;
	-webkit-box-shadow: 0 15px 12px -3px #CCCCCC;
	-moz-box-shadow: 0 15px 12px -3px #CCCCCC;
	box-shadow: 0 15px 12px -3px #CCCCCC;
	left: 0;
	width: 70%;
}

.form-control {
	color: var(--prim-color);
	border-radius: 0;
	background-color: #FFFFFF;
	transition: border-color .5s ease-in-out;
}

.form-control:focus {
	border: 1px solid var(--sec-color);
	color: var(--prim-color);
	background-color: #EEEEEE;
}


aside > ul.simple-post-list > li > .post-info > a {
	text-align: left;
	text-decoration: none;
	font-size: 85%;
}

ul.simple-post-list .post-meta {
	font-size: 0.75em;
}

.shadow-box-md {
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15),
	0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

.shadow-box-lg {
	box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.15),
	0 5px 15px 0 rgba(0, 0, 0, 0.1);
}


.shadow-effect {
	position: relative;
	-webkit-box-shadow: 0 5px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.1) inset;
	-moz-box-shadow: 0 5px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.1) inset;
	box-shadow: 0 5px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.1) inset;
}

.shadow-effect:before, .shadow-effect:after {
	content: "";
	position: absolute;
	z-index: -1;
	-webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
	-moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
	top: 50%;
	bottom: 0;
	left: 10px;
	right: 10px;
	-moz-border-radius: 100px / 10px;
	border-radius: 100px / 10px;
}

.shadow-effect:after {
	right: 10px;
	left: auto;
	-webkit-transform: skew(8deg) rotate(3deg);
	-moz-transform: skew(8deg) rotate(3deg);
	-ms-transform: skew(8deg) rotate(3deg);
	-o-transform: skew(8deg) rotate(3deg);
	transform: skew(8deg) rotate(3deg);
}

.bg-watermark {
	background-image: url(../../img/elements/bg-watermark.png);
	background-position: center center;
	background-repeat: no-repeat;
}

.arrow {
	background: transparent url(../../img/elements/arrows.png) no-repeat 0 0;
}

.stroke-light {
	text-shadow: 0 0 1px #FFFFFF,
	-0.02em -0.02em 0 #FFFFFF,
	0.02em -0.02em 0 #FFFFFF,
	-0.02em 0.02em 0 #FFFFFF,
	0.02em 0.02em 0 #FFFFFF;
}

.stroke-dark {
	text-shadow: 0 0 1px var(--prim-color),
	-0.0em -0.0em 0 var(--prim-color),
	0.0em -0.0em 0 var(--prim-color),
	-0.0em 0.0em 0 var(--prim-color),
	0.0em 0.0em 0 var(--prim-color);
}

.stroke-primary {
	text-shadow: 0 0 1px var(--prim-color), -0.03em -0.03em 0 var(--prim-color),
	0.03em -0.03em 0 var(--prim-color), -0.03em 0.03em 0 var(--prim-color),
	0.03em 0.03em 0 var(--prim-color);
}

/* Youtube Responsive video container */
.iframe-container{
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
}
.iframe-container iframe{
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	height: 100%;
}

.main ul {
	list-style: none;
	padding: 0;
}
.main li {
	padding-left: 0.2em;
}

/* Quitar bordes a tablas generadas dentro de CKEditor */
.main table {
	border-collapse: unset;
}

.overlay:before {
	background-color: #1c1819 !important;
}

/* Viñetas li con fontawesome para .main */
.main .from-editor li:before {
	font-family: "Font Awesome 5 Free", sans-serif;
	font-weight: 700;
	content: "\f068";
	color: var(--ter-color);
	display: inline-block;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	margin-left: -1.5em; /* same as padding-left set on li */
	width: 1.5em; /* same as padding-left set on li */
}

html .scroll-to-top {
	font-size: 0.9em;
	padding: 0 10px 20px 10px;
	right: 26px;
	min-width: 54px;
	transition: opacity 0.3s;
	background: #404040;
	border-radius: 10px 10px 0 0;
}

.editor ul {
	list-style: outside square;
}