/* ==========================================================================
   AVENtourARTE — CSS propio del tema.
   Solo contiene: submenús Weebly, piezas nuevas (formularios, paginación,
   utilidades) y responsividad < 980px. El escritorio >= 980px no se altera.
   ========================================================================== */

/* Utilidad: texto solo para lectores de pantalla. */
.av-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* --------------------------------------------------------------------------
   Menú: submenús con el aspecto del flyout de Weebly (hover / foco / teclado).
   El original usaba display:none inline + JS de Weebly; aquí es CSS propio.
   -------------------------------------------------------------------------- */
#navigation li {
	position: relative;
}

#navigation .av-menu-toggle,
#navigation .av-submenu-toggle {
	display: none;
}

#navigation .wsite-menu-wrap {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 1000;
	text-align: left;
	text-transform: none;
	font-size: 13px;
}

#navigation .wsite-menu-wrap .wsite-menu-wrap {
	top: 0;
	left: 100%;
}

#navigation li:hover > .wsite-menu-wrap,
#navigation li:focus-within > .wsite-menu-wrap {
	display: block;
}

#navigation .wsite-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	background: transparent;
}

#navigation .wsite-menu:before,
#navigation .wsite-menu:after {
	display: none !important;
	content: none !important;
}

#navigation .wsite-menu li {
	display: block;
	position: relative;
	width: 260px;
	text-align: left;
	background: #3f3f3f;
}

#navigation .wsite-menu li + li {
	border-top: 1px solid #373737;
}

#navigation .wsite-menu li a,
#navigation .wsite-menu li a:visited {
	display: block;
	padding: 10px 34px 10px 14px;
	color: #a3a3a3;
	font-family: 'Raleway', sans-serif;
	font-size: 13px;
	line-height: 1.35;
	text-transform: uppercase;
}

#navigation .wsite-menu li a:hover {
	background-color: #343434;
	color: #9b9b9b;
}

#navigation .wsite-menu li a:focus-visible {
	outline: 2px solid #ff9a22;
	outline-offset: -2px;
}

#navigation .wsite-menu-title {
	display: inline;
}

#navigation .wsite-menu-arrow {
	position: absolute;
	right: 12px;
	top: 50%;
	margin-top: -8px;
	font-family: 'Courier New', monospace;
	line-height: 16px;
}

/* --------------------------------------------------------------------------
   Formularios: botón de envío real, avisos y campos multilínea.
   (El marcado de campos usa las clases Weebly y hereda su CSS.)
   -------------------------------------------------------------------------- */
button.wsite-button {
	-webkit-appearance: none;
	appearance: none;
	border: 0;
	border-radius: 0;
	background-image: none !important;
	background-color: #ff9a22;
	color: #fff !important;
	font-family: 'Open sans', sans-serif;
	font-weight: normal !important;
	font-size: 14px !important;
	line-height: normal;
	padding: 0 15px 0 0;
	cursor: pointer;
}

button.wsite-button .wsite-button-inner {
	float: left;
	height: 32px;
	line-height: 32px;
	padding: 0 5px 0 20px;
	background-image: none !important;
}

button.wsite-button:hover {
	background-color: #ffa73e;
}

button.wsite-button:active {
	background-color: #ed8913;
}

button.wsite-button:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.wsite-form-field textarea.wsite-input {
	height: auto;
	min-height: 90px;
	line-height: 1.5;
	padding: 6px 4px !important;
	resize: vertical;
}

.wsite-form-container .av-form-notice {
	padding: 12px 16px;
	margin: 0 0 16px;
	border-left: 4px solid #ff9a22;
	background: #2c2c2c;
	color: #d5d5d5;
	font-size: 15px;
}

.wsite-form-container .av-form-notice.av-form-error {
	border-left-color: #da4444;
}

.av-form-hp {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   Blog: paginación y enlace de vuelta.
   -------------------------------------------------------------------------- */
.av-blog-pagination {
	margin: 30px 0 10px;
	text-align: center;
}

.av-blog-pagination .page-numbers {
	display: inline-block;
	min-width: 20px;
	padding: 8px 10px;
	margin: 0 3px;
	background: #393939;
	border-radius: 2px;
	color: #d5d5d5;
	line-height: 1;
	text-decoration: none;
}

.av-blog-pagination .page-numbers:hover {
	background: #424242;
	color: #ffffff;
}

.av-blog-pagination .page-numbers.current {
	background: #ff9a22;
	color: #ffffff;
}

.av-blog-pagination .prev,
.av-blog-pagination .next {
	padding: 8px 14px;
}

.av-blog-back {
	margin: 24px 0 0;
}

/* --------------------------------------------------------------------------
   Responsive: móvil/tablet. Escritorio (>= 980px) intacto.
   -------------------------------------------------------------------------- */
@media screen and (max-width: 979px) {
	#header {
		padding-top: 26px;
		padding-bottom: 14px;
	}

	#sitename a,
	#sitename a:visited {
		display: inline-block;
		padding: 0 10px;
		font-size: 26px;
		line-height: 1.25;
	}

	#navigation {
		width: auto;
		padding: 0 15px 18px;
	}

	#navigation .av-menu-toggle {
		display: block;
		width: 100%;
		margin: 0 0 12px;
		padding: 12px 14px;
		background: #393939;
		border: 1px solid #373737;
		border-radius: 2px;
		color: #d5d5d5;
		font-family: 'Raleway', sans-serif;
		font-size: 13px;
		line-height: 1;
		letter-spacing: 0.05em;
		text-transform: uppercase;
		cursor: pointer;
	}

	#navigation .av-menu-toggle[aria-expanded="true"] {
		background: #3f3f3f;
	}

	#navigation .av-menu-toggle-icon {
		margin-right: 8px;
		font-size: 16px;
	}

	#navigation ul.wsite-menu-default {
		display: none;
		margin: 0;
		padding: 0;
	}

	#navigation.av-nav-open ul.wsite-menu-default {
		display: block;
	}

	#navigation ul.wsite-menu-default:before,
	#navigation ul.wsite-menu-default:after {
		display: none !important;
		content: none !important;
	}

	#navigation ul.wsite-menu-default > li {
		display: block;
		width: 100%;
		border-bottom: 1px solid #373737;
		text-align: left;
	}

	#navigation ul.wsite-menu-default > li > a {
		display: block;
		padding: 14px 56px 14px 12px;
	}

	#navigation li:hover {
		background-color: transparent;
	}

	#navigation li#active,
	#navigation li.av-open {
		background-color: #3f3f3f;
	}

	#navigation .av-submenu-toggle {
		display: block;
		position: absolute;
		right: 0;
		top: 0;
		width: 52px;
		height: 48px;
		padding: 0;
		background: transparent;
		border: 0;
		border-left: 1px solid #373737;
		color: #d5d5d5;
		font-size: 16px;
		line-height: 48px;
		text-align: center;
		cursor: pointer;
	}

	#navigation .av-submenu-toggle[aria-expanded="true"] {
		background: #343434;
		color: #ff9a22;
	}

	/* Submenús en flujo (acordeón) en móvil. */
	#navigation .wsite-menu-wrap,
	#navigation li:hover > .wsite-menu-wrap {
		position: static;
		display: none;
		width: auto;
		left: auto;
		top: auto;
	}

	#navigation li.av-open > .wsite-menu-wrap {
		display: block;
	}

	#navigation .wsite-menu li {
		width: auto;
		border-top: 0;
		border-bottom: 1px solid #2a2a2a;
		background: #2e2e2e;
	}

	#navigation .wsite-menu li a,
	#navigation .wsite-menu li a:visited {
		padding: 12px 46px 12px 26px;
		white-space: normal;
	}

	#navigation .wsite-menu .wsite-menu li a {
		padding-left: 42px;
	}

	#content-wrapper,
	#footer-content {
		width: auto;
		max-width: 960px;
		box-sizing: border-box;
		padding-left: 15px;
		padding-right: 15px;
	}

	.bg-wrapper {
		padding-bottom: 40px;
	}

	/* Banner más bajo y sin franjas laterales. */
	.banner-wrap {
		background-size: cover !important;
		background-position: center center !important;
		background-repeat: no-repeat !important;
	}

	.tall-header .banner-wrap {
		height: 220px;
		margin-bottom: 14px;
	}

	.short-header .banner-wrap {
		height: 190px;
		margin-bottom: 14px;
	}

	.landing-page .banner-wrap {
		height: 240px;
		margin-bottom: 14px;
	}

	#wsite-content img {
		max-width: 100%;
		height: auto;
	}

	#wsite-content table {
		max-width: 100%;
	}

	#wsite-content .wsite-multicol-table,
	#wsite-content .wsite-multicol-tbody,
	#wsite-content .wsite-multicol-tr,
	#wsite-content .wsite-multicol-col {
		display: block !important;
		width: auto !important;
		box-sizing: border-box;
	}

	#wsite-content .galleryImageHolder {
		width: 100% !important;
	}

	#wsite-content .galleryImage {
		left: 0 !important;
		width: 100% !important;
	}
}

/* === Blog: maquetación Weebly de 2 columnas con barra lateral === */
#blogTable { border: 0; width: 100%; table-layout: fixed; }
#blogTable > tbody > tr > td { vertical-align: top; }
#blogTable td.blog-sidebar { width: 215px; }
#blogTable .blog-body { float: none; }
#blogTable .column-blog { float: right; width: 200px; margin: 0; padding: 0; }
#blogTable .columnlist-blog { margin: 0; padding: 0; list-style: none; word-wrap: break-word; }
#blogTable .columnlist-blog > li { list-style: none; margin: 0; padding: 0; }
#blogTable .blog-sidebar-separator { padding: 0 10px; }
#blogTable .blog-sidebar h2 { margin-top: 14px; }
#blogTable .blog-archive-list a,
#blogTable .blog-category-list a { line-height: 1.9; }
.av-blog-archive-note { margin: 0 0 14px; }

@media screen and (max-width: 979px) {
	#blogTable,
	#blogTable > tbody,
	#blogTable > tbody > tr,
	#blogTable > tbody > tr > td { display: block; width: auto !important; }
	#blogTable .blog-body { float: none; }
	#blogTable td.blog-sidebar { width: auto !important; padding: 0 15px 30px; }
	#blogTable .column-blog { float: none; width: auto; }
}