/*
Theme Name: H-Code Child
Theme URI: http://wpdemos.themezaa.com/h-code
Author: Themezaa
Author URI: http://www.themezaa.com
Description: Child theme for H-Code theme
License: Themeforest Split Licence
License URI: http://themeforest.net/licenses 
Template: h-code
Version: 1.1
Text Domain: h-code-child
*/

/* Nav items desktop site */
/* Menu parent item */
.menu-item-type-taxonomy .dropdown-header {
	cursor: pointer !important;
}

.menu-item-type-taxonomy .dropdown-header:hover,
.menu-item-type-taxonomy .dropdown-header:focus {
	color: white !important;
}

.navbar.nav-black .navbar-nav > li > a > i.menu-icon-left {
	display: none;
}

@media (min-width: 990px) {
	.navbar.nav-black .navbar-nav > li > a > i.menu-icon-left {
		display: block;
		margin-left: 0.5rem;
	}
}

.navbar.nav-black .navbar-nav > li > a {
	display: inline-flex;
	flex-direction: row-reverse;
	align-items: center;
	cursor: pointer;
}

.navbar > .nav-header-container .navbar-nav > li {
	padding: 0;
}

.navbar > .nav-header-container .search-cart-header {
	padding: 0 6px;
}

.search-cart-header #top-search {
	vertical-align: sub;
}

.navbar > .nav-header-container > .row {
	align-items: center;
}

@media (min-width: 991px) {
	.navbar > .nav-header-container > .row {
		align-items: baseline;
	}
}

.navbar > .nav-header-container .navbar-nav > li.megamenu-column-1 > .dropdown-menu,
.navbar > .nav-header-container .navbar-nav > li.megamenu-column-1 > .dropdown-menu {
	padding: 1rem;
}

.dropdown-header {
	margin-bottom: 0;
}

a.dropdown-header {
	border: 0;
}

/* Home page */
/* First section */
.first-container {
	padding: 0;
	margin-top: 3rem;
}

.margin-end {
	margin-bottom: 4rem;
}

.container-row {
	padding: 3rem 0 0 0;
}

.first-container-row.two-columns {
	display: flex;
	flex-direction: row;
	gap: 1rem;
}

.first-container h1.section-title {
	width: 100%;
	font-size: 2rem;
	padding: 0 0.5rem;
	margin-bottom: 1rem;
	letter-spacing: 0;
}

.first-container h2 {
	letter-spacing: 0;
}

.first-container .widget {
	margin-bottom: 0;
}

.first-container .subheading {
	text-align: center;
	margin-bottom: 4rem;
}

.first-container .subheading p {
	margin: 0 auto;
	padding: 0 1rem;
	width: 100%;
	max-width: 960px;
}

.first-container .categories-container {
	padding: 1rem;
}

.first-container .categories-title {
	text-align: center;
}

.categories-container .widgettitle {
	display: none;
}

.first-container .categories-container ul {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: baseline;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.first-container .categories-container ul > li {
	background-color: #ff6e1e;
	padding: 0;
}

.first-container .categories-container ul > li > a {
	color: #5c1f00;
	display: block;
	padding: 0.35rem 0.75rem;
	text-decoration: none;
	font-size: 0.75rem;
	font-weight: 700;
}

.first-container .categories-container ul > li:hover,
.first-container .categories-container ul > li:focus {
	filter: grayscale(50%);
}

.search-container .main-search {
	margin: 0 auto;
	width: 80% !important;
}

@media (min-width: 680px) {
	.search-container .main-search {
		width: 65%;
	}

	.first-container .categories-container ul > li > a {
		font-size: 0.9rem;
	}
}

.search-container input {
	border-radius: 0;
}

/* Secciones */
section {
	padding: 3rem 0 0 0;
}

.vc_pageable-slide-wrapper.vc_clearfix::before,
.vc_pageable-slide-wrapper.vc_clearfix::after {
	display: none;
}

.section-header .vc-column-innner-wrapper {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	flex-wrap: wrap;
	margin-bottom: 2rem;
	padding-left: 1rem;
}

@media (min-width: 768px) {
	.section-header .vc-column-innner-wrapper {
		padding-left: 0;
	}
}

.section-header .vc-column-innner-wrapper h2.section-title {
	font-size: 2rem;
	letter-spacing: 0;
	margin-right: 1rem;
}

@media (min-width: 768px) {
	.heading-btn {
		margin-top: 1rem;
	}
}

/* Cards for each post */
.container-posts {
	margin: 0;
}

.vc_pageable-slide-wrapper {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

@media (min-width: 768px) {
	.vc_pageable-slide-wrapper {
		flex-direction: row;
	}
}

.container-posts .vc_grid-item-mini {
	background-color: hsla(21, 100%, 56%, 0.1);
	padding: 1rem;
	box-shadow: rgba(11, 43, 158, 0.15) 0px 6px 20px -6px;
	transition: all 0.5s ease 0s;
}

.container-posts .vc_grid-item-mini:hover,
.container-posts .vc_grid-item-mini:focus {
	box-shadow: hsla(21, 100%, 25%, 0.3) 0px 10px 20px;
}

.vc_gitem-zone.vc_gitem-zone {
	background-color: transparent;
}

.vc_gitem-zone h4 {
	font-weight: 700;
	font-size: 1.3rem;
	line-height: initial;
	margin-bottom: 0.5rem;
}

.vc_gitem-zone-mini .vc_btn3-container.vc_btn3-left .vc_general.vc_btn3 {
	background-color: transparent;
	border: 2px solid #000;
	color: #000;
	font-size: 11px;
	padding: 0.5rem 1.2rem;
}

.vc_gitem-zone-mini .vc_btn3-container.vc_btn3-left .vc_general.vc_btn3:hover,
.vc_gitem-zone-mini .vc_btn3-container.vc_btn3-left .vc_general.vc_btn3:focus {
	background-color: #000;
	color: #fff;
}

.vc-gitem-zone .vc_gitem-post-data {
	margin: 0;
}

.vc_gitem-post-data p {
	color: #333;
	letter-spacing: 0;
	font-size: 0.95rem;
}

.vc_btn3-container {
	margin-bottom: 0;
}

input:hover,
input:focus {
	border-color: #ff6e1e;
}

#search-4 .main-search {
	width: 100%;
}

#search-4 .main-search input {
	border-radius: 0;
	border-width: 2px;
}

#search-4 .main-search input:hover,
#search-4 .main-search input:focus,
#search-4 .main-search input:active {
	border-width: 2px;
}

/* Smaller side margin for header menu elements */
.navbar > .nav-header-container .navbar-nav > li {
	margin: 0 15px;
}

#moove_gdpr_save_popup_settings_button#moove_gdpr_save_popup_settings_button {
	bottom: 50px !important;
	right: 20px !important;
	left: unset;
}

.scrollToTop {
	bottom: 0;
	right: 20px;
	top: inherit;
	width: 40px;
	height: 40px;
	border-radius: 0;
}

.scrollToTop i {
	vertical-align: baseline;
	line-height: 35px;
}

.page-title {
	background-color: #ff6e1e;
	padding: 50px 0;
}

.page-title h1 {
	line-height: 1em;
}

/* Remove side paddings from text articles */
.wpb_column.hcode-column-container {
	padding: 0;
}

/* Remove top padding from articles */
section.type-post {
	padding-top: 50px;
}

.blog-details-text > section {
	padding: 0;
}

/* Add clear after float elements from the image lightbox gallery */
.lightbox-gallery:after {
	content: '';
	display: table;
	clear: both;
}

/* New styles for first blog post article. Remember to add this class to the element in the editor */
.post-intro {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
}

/* New styles for separator in blog post */
.vc_separator {
	margin: 50px 0 0 0 !important;
}

.vc_separator > h4 {
	font-weight: 700;
	color: #ff6e1e;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-align: center;
}

.vc_separator .vc_sep_holder .vc_sep_line {
	border-color: #ffb68e;
	border-top-width: 2px;
}

/* Add underline to links in blog posts for better understand it's a link */
.blog-details-text.entry-content a {
	text-decoration: underline;
}

/* Message box */
.vc_message_box {
	color: white !important;
	border: 3px solid #cc5818 !important;
	padding: 1em;
	text-align: center;
}

.vc_message_box .vc_message_box-icon {
	margin: 0 auto;
	position: relative;
	height: 2em;
}

.vc_message_box .vc_message_box-icon .vc-oi-info {
	color: white;
}

.vc_message_box p {
	padding: 15px 15px 15px 0;
	font-size: 14px;
}

.vc_message_box a {
	color: white;
}

/* Features list home page */
.features .section-title {
	margin-bottom: 1rem;
}

.features .hcode-inner-row {
	margin-top: 2rem;
}

.features-list {
	clear: both;
}

.features-list div:first-child {
	width: 10%;
}

.features-list div:last-child {
	width: 90%;
	padding: 0 0 0 0.5em !important;
}

.features-list div:last-child h5 {
	font-size: 1rem;
	letter-spacing: 0;
}

.features-list div:last-child p {
	padding: 0.5em 2em 1em 0;
	font-size: 0.9rem;
	line-height: 1.5;
}

/* Social media links footer */
.hcode-footer-middle {
	text-align: center;
}

.hcode-footer-middle .row {
	margin-left: 0;
	margin-right: 0;
}

.hcode-footer-middle .row .col-md-2 {
	margin-top: 10px;
}

.hcode-footer-middle .row > div:last-child {
	margin-top: 20px;
}

.widget_custom_html h5,
.widget_custom_html i:hover,
.widget_custom_html i:focus {
	color: white;
}

.widget_custom_html i {
	color: #ff6e1e;
	font-size: 20px;
}

.widget_custom_html .sidebar-title {
	margin-bottom: 5px;
}

.hcode-main-footer {
	background-color: #252525;
}

.hcode-main-footer .hcode-footer-middle {
	padding: 30px 0 30px 0;
}

.hcode-main-footer p {
	margin-bottom: 0;
	font-size: 14px;
}

/*Menu etiqueta nuevo */
.menu-new a::after {
	position: relative;
	padding: 3px 6px;
	display: inline-block;
}

/* Menu mobile */
.mobile-accordion-menu #mega-menu #menu-main-menu .menu-item {
	margin-left: 0;
}

.megamenu-right-icon.collapsed .fa-angle-down::before {
	font-size: 20px;
}

#mega-menu {
	height: auto;
	max-height: 600px;
}

@media (max-width: 990px) {
	.navbar > .nav-header-container .navbar-nav > li.mega-menu-dropdown.open > .dropdown-menu {
		position: relative !important;
		margin-top: 0 !important;
	}

	.navbar > .nav-header-container .navbar-nav > li.mega-menu-dropdown.open > #collapse4,
	.navbar > .nav-header-container .navbar-nav > li.mega-menu-dropdown.open > #collapse5 {
		left: 0;
		padding: 0;
	}
}

.megamenu-mobile-icon {
	font-size: 20px;
	vertical-align: middle;
}

/* Post tags */
.blog-date h5 {
	margin-bottom: 10px !important;
}

.blog-date.standard-post-meta a,
.blog-date .author.vcard a,
.blog-date a[rel='tag'] {
	color: #828282;
	border: 1px solid #d3d3d3;
	padding: 5px;
	text-decoration: none !important;
}

.blog-date.standard-post-meta a:hover,
.blog-date a:focus,
.blog-date .author.vcard a:focus,
.blog-date .author.vcard a:hover,
.blog-date a[rel='tag']:focus,
.blog-date a[rel='tag']:hover {
	background-color: #ff6e1e;
	color: #ffffff;
	border-color: #ff6e1e;
}

/* Post comments */
#comments {
	border-top: none;
	padding: 2em 1em 1em 1em !important;
	margin-top: 10%;
	background-color: #e8e8e8;
	margin-bottom: 2em;
}

#comments textarea {
	padding: 1em;
	border-bottom: 2px solid #e8e8e8;
}

#comments textarea:focus,
#comments textarea:active {
	border-color: #ff6e1e;
}

#comments .blog-comment .comment-reply {
	margin-left: unset;
	background-color: transparent;
	color: #000 !important;
	padding: 0;
	letter-spacing: 1px;
	margin-left: 15px;
}

#comments p {
	color: #333;
	font-size: 14px;
	line-height: 1.75em;
	margin-bottom: 0;
}

#comments p a {
	text-decoration: underline;
	color: #126999;
}

#comments p a:hover,
#comments p a:focus {
	color: #333;
}

#comments .blog-comment .comment-avtar {
	margin-right: 15px;
	margin-top: 5px;
}

@media (max-width: 480px) {
	#comments .blog-comment {
		background-color: #d5d5d5;
		padding: 15px;
	}
	#comments .blog-comment .comment-avtar {
		display: none;
	}
}

#comments .blog-comment .comment-avtar img {
	width: 50px;
}

#comments .commentmetadata {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 10px;
	border-bottom: 1px solid #9f9f9f;
	font-weight: 400;
	color: #000;
	letter-spacing: 1px;
}

#comments #respond {
	padding: 20px;
}

#comments #respond .comment-reply-title {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-bottom: 15px;
}

#comments #cancel-comment-reply-link {
	font-size: 10px;
	font-weight: 700;
	border: 1px solid red;
	margin-left: 10px;
	padding: 3px;
}

/* 404 */
.not-found-title,
.not-found-text {
	background-color: rgba(0, 0, 0, 0.75);
	margin: 0;
	color: #ff6e1e;
}

.not-found-text {
	color: white;
	padding: 1em 1.25em 1.25em 1.25em;
}

.not-found-search-box .btn {
	background-color: #ffffff;
	color: #000000;
}

.not-found-search-box .main-search input {
	background-color: #ffffff;
	color: #000000;
}

.not-found-search-box .main-search input:focus,
.not-found-search-box .main-search input:active {
	border-color: #ff6e1e;
}

.not-found-search-box .main-search .close-search {
	color: #000 !important;
}

.not-found-search-box .btn:hover,
.not-found-search-box .btn:focus {
	background-color: #ff6e1e;
	color: #ffffff;
}

.not-found-search-box .not-found-or-text {
	background-color: #ff6e1e;
}

.not-found-search-box .not-found-or-text:before,
.not-found-search-box .not-found-or-text:after {
	background-color: #ff6e1e;
}

@media (max-width: 1200px) {
	.not-found-title {
		font-size: 5em;
	}
}

@media (max-width: 770px) {
	.not-found-title {
		font-size: 3em;
		padding: 0.25em;
	}
}

/* Botones articulo ciudades  */
.vc_btn3-container.vc_btn3-left .vc_general.vc_btn3 {
	color: #fff;
	background-color: #000;
	text-transform: uppercase;
	text-decoration: none;
	font-size: 12px;
	padding: 8px 20px;
	letter-spacing: 1px;
	font-weight: 700;
	border-radius: 0;
}

.vc_btn3-container.vc_btn3-left .vc_general.vc_btn3:hover,
.vc_btn3-container.vc_btn3-left .vc_general.vc_btn3:focus {
	background-color: #ff6e1e;
}

/* Blog title in category search */
.blog-archive-classic-layout .blog-listing .blog-details .blog-title a {
	font-size: 24px;
	margin: 1em 0 0.5em 0;
	font-weight: 700;
	color: #000;
}

.blog-archive-classic-layout .blog-listing .blog-details .blog-title a:hover,
.blog-archive-classic-layout .blog-listing .blog-details .blog-title a:focus {
	color: #ff6e1e;
	text-decoration: underline;
}

/* Category page & posts */
.blog-listing {
	overflow: visible;
	margin: 0 0 2rem 0;
	padding: 0 10px;
}

.blog-listing .blog-post {
	padding: 1rem;
	background-color: hsla(21, 100%, 56%, 0.1);
	box-shadow: rgba(11, 43, 158, 0.15) 0px 6px 20px -6px;
}

.blog-listing .blog-post:hover,
.blog-listing .blog-post:focus {
	box-shadow: hsla(21, 100%, 25%, 0.3) 0px 10px 20px;
}

.blog-post .blog-details {
	padding: 10px;
}

.blog-post .blog-details .blog-title a {
	font-weight: 700;
	font-size: 1.3rem;
	line-height: initial;
	margin-bottom: 1rem;
	text-transform: none;
	letter-spacing: 0;
	color: #000;
}

.blog-post .blog-details p {
	color: #333;
	letter-spacing: 0;
	font-size: 0.95rem;
	margin-bottom: 22px;
}

.blog-post .btn {
	margin: 0;
}
