/*
Theme Name: Themekit
Theme URI: https://www.armandolorente.com/
Author: DanielNabil
Author URI: https://www.danielnabil.com/
Description: Custom WordPress Theme
Version: 1.0.0
*/

/* Reset
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { border: 0; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; margin: 0; outline: 0; padding: 0; vertical-align: baseline; }
html { font-size: 62.5%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
*, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
body { background: #fff; }
article, aside, details, figcaption, figure, footer, header, main, nav, section { display: block; }
ol, ul { list-style: none; }
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { font-weight: normal; text-align: left; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
a:focus, a:hover, a:active { outline: none; }
a img { border: 0; }
.resetul { margin: 0; padding: 0; list-style: none; }

/* Typography
-------------------------------------------------------------- */
body, button, input, select, textarea { color: #404040; font-family: sans-serif; font-size: 16px; font-size: 1.6rem; line-height: 1.5; }
/* h1, h2, h3, h4, h5, h6 { clear: both; } */
p { margin-bottom: 1.5em; }
b, strong { font-weight: bold; }
dfn, cite, em, i { font-style: italic; }
blockquote { border-left: 5px solid #07e8e9; color: #888; font-family: Georgia,serif; font-size: 1.2em; line-height: 1.4em; font-style: italic; margin: 0 0 1.5em 0; padding-left: 20px; }
address { margin: 0 0 1.5em; }
pre { background: #eee; font-family: "Courier 10 Pitch", Courier, monospace; font-size: 15px; font-size: 1.5rem; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; overflow: auto; padding: 1.6em; }
code, kbd, tt, var { font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; }
abbr, acronym { border-bottom: 1px dotted #666; cursor: help; }
mark, ins { background: #fff9c0; text-decoration: none; }
sup, sub { font-size: 75%; height: 0; line-height: 0; position: relative; vertical-align: baseline; }
sup { bottom: 1ex; }
sub { top: .5ex; }
small { font-size: 75%; }
big { font-size: 125%; }
@font-face { font-family: 'IcoMoon-Free'; src: url('css/IcoMoon-Free.ttf') format('truetype'); font-weight: normal; font-style: normal; }
.icon, .widget_recent_entries li:before,
#primary-menu .menu-item-home a:before,
.main-navigation.toggled .menu-item-has-children > a::after,
.main-navigation.toggled .menu-item-has-children .menu-item-has-children > a::after { font-family: 'IcoMoon-Free' !important; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Elements
-------------------------------------------------------------- */
hr { background-color: #ccc; border: 0; height: 1px; margin-bottom: 1.5em; }
ul, ol { margin: 0 0 1.5em 3em; }
ul { list-style: disc; }
ol { list-style: decimal; }
li > ul, li > ol { margin-bottom: 0; margin-left: 1.5em; }
dt { font-weight: bold; }
dd { margin: 0 1.5em 1.5em; }
img { height: auto; max-width: 100%; }
figure { margin: 0; }
table { margin: 0 0 1.5em; width: 100%; }
th { font-weight: bold; }

/* Forms
-------------------------------------------------------------- */
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #ccc;
	border-color: #ccc #ccc #bbb #ccc;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer;
	-webkit-appearance: button;
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { border-color: #ccc #bbb #aaa #bbb; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02); }
button:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, button:active, input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active { border-color: #aaa #bbb #bbb #bbb; box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15); }
input[type="checkbox"], input[type="radio"] { padding: 0;  }
input[type="search"] { -webkit-appearance: textfield; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea { color: #666; border: 1px solid #ccc; }
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, textarea:focus { color: #111; }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"] { padding: 3px; }
textarea { overflow: auto; padding: 3px; vertical-align: top; width: 100%; }

/* Navigation
-------------------------------------------------------------- */

/* Links */
a, a:visited { color: var(--brandcolor_main); }
a:hover, a:focus, a:active { color: #444; }

/* Menus */
.main-navigation { clear: both; display: block; }
	.main-navigation ul, .site-footer .menu { list-style: none; margin: 0; padding: 0; }
		.main-navigation #primary-menu { /* border-top: 1px solid #d8d8d8; */ }
		.main-navigation li { position: relative; display: inline-block; /* margin-right: .1em; */ text-transform: uppercase; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; font-style: normal; font-variant: normal; text-rendering: auto; }
		.main-navigation a { display: block; outline: none; padding: 1em 1em 1em .8em; text-decoration: none; border-radius: 6px 6px 0 0; }
		.main-navigation a:hover { /* opacity: .5; */ color: var(--brandcolor_main); }
		/* .main-navigation .menu-item-home a:before { content: "\e900"; margin-right: 5px; } */
		.main-navigation .menu-item-has-children > a::after { font-size: 16px; line-height: 1; font-family: "Font Awesome 5 Free"; width: 20px; text-align: center; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-weight: bold;
			/* Abre hacia la derecha => */ /* content: "\f105"; */
			/* Abre hacia abajo => */ content: "\f107";
		}
		.menu-item-has-children .menu-item-has-children > a::after { content: "\f105"; }
		.menu-item-has-children > a { padding-right: 30px; }
		.main-navigation ul ul { display: none; float: left; position: absolute; z-index: 99999; font-weight: normal; /* font-family: "Open Sans",sans-serif; */ border-left: 4px solid var(--brandcolor_main);
			/* Abre hacia la derecha => */ /* top: 0; left: 100%; */
			/* Abre hacia abajo => */ top: 40px; left: 0; /* padding-top: 25px; */
			}
			/* .main-navigation .menu > li > .sub-menu::before { border-color: transparent transparent #222; border-style: solid; border-width: 12px; content: ""; display: block; left: 25px; position: absolute; top: 3px; width: 25px; } */
			.main-navigation ul ul ul { left: 100%; top: 0; padding-top: 0; }
			.main-navigation ul ul a { border-radius: 0; display: block; line-height: 1.2em; padding: .6em 1.4em .6em .6em; width: 170px; }
			.main-navigation ul ul a { }
			.main-navigation ul ul a:hover,
			.main-navigation ul ul li:hover > a { opacity: 1; }
			.main-navigation ul ul ul a:hover {  }
			.main-navigation ul ul li { text-align: left; font-size: 14px; margin-left: 0; border: none; text-transform: none; }
			.main-navigation ul > li:hover > a { /* opacity: .5; */ }
			.main-navigation ul > li.menu-item-has-children:hover > a { opacity: 1; }
			.main-navigation ul.sub-menu > li:hover > a { opacity: 1; }
			.main-navigation ul ul :hover > a {}
			.main-navigation ul ul a:hover {}
			.main-navigation ul li:hover > ul { display: block; }
			.main-navigation .current_page_item a,.main-navigation .current-menu-item a {}
				/* With icons */
				#site-navigation { /* top: 60%; */ }
				.main-navigation #primary-menu > li[class^="fa-"] { text-align: center; font-family: inherit; }
				#primary-menu > li[class^="fa-"]::before { font-family: "Font Awesome 5 Free"; }
				.main-navigation ul > li[class^="fa-"].menu-item-has-children:hover > a { background: none; }
				.main-navigation ul > li[class^="fa-"].menu-item-has-children:hover > a { color: #444; }
				.main-navigation li[class^="fa-"].menu-item-has-children > a::after { top: 64%; }
				.main-navigation li[class^="fa-"] > ul { top: 65px; padding-top: 5px; }

			/* Last element opens to the left */
			.main-navigation li:last-child > ul.sub-menu { /* left: auto; right: 0; */ }
				/* .main-navigation li:last-child > ul.sub-menu ul.sub-menu { left: -170px; } */
				.main-navigation li:last-child > ul.sub-menu ul.sub-menu li { display: block; }
				.main-navigation li:last-child > ul.sub-menu .menu-item-has-children > a::after { height: 15px; right: 0; }

		/* Mobile */
		.main-navigation #menu-menu-principal-moviles li:hover > a { opacity: 1; }
		#menu-menu-principal-moviles ul.sub-menu { display: none; }
			.main-navigation.toggled #menu-menu-principal-moviles li.menu-item-has-children > a::after { display: block !important; }
				#menu-menu-principal-moviles li.menu-item-has-children > a::after { font-family: 'Dashicons'; content: "\f139"; }
				#menu-menu-principal-moviles li.menu-item-has-children > a.submenu-open::after { font-family: 'Dashicons'; content: "\f140"; }
			#menu-menu-principal-moviles ul.sub-menu a { color: #eaea2f; }

/* Small menu */
.menu-toggle { display: block; }
.main-navigation.toggled ul { display: block; }
@media screen and (min-width: 1023px) {
	.menu-toggle { display: none; }
	.main-navigation ul { display: block; }
}

/* Post navigation */
.site-main .comment-navigation, .site-main .paging-navigation, .site-main .post-navigation { margin: 0 0 1.5em; 	overflow: hidden; font-size: .8em; line-height: 1.2em; }
.comment-navigation .nav-previous, .paging-navigation .nav-previous, .post-navigation .nav-previous { float: left; width: 45%; }
.comment-navigation .nav-next, .paging-navigation .nav-next, .post-navigation .nav-next { float: right; text-align:  right; width: 45%; }
.nav-links a { display: block; }
.screen-reader-text { display: none; }

/* Alignments
-------------------------------------------------------------- */
.alignleft { display: inline; float: left; margin: .8em 1.5em 1.5em 0; }
.alignright { display: inline; float: right; margin: .8em 0 1.5em 1.5em; }
.aligncenter { clear: both; display: block; margin: 1em auto 1.5em; }
.alignnone { clear: both; display: block; margin: 1em 0 1.5em; }

/* Clearings
-------------------------------------------------------------- */
.clear:before,.clear:after,.entry-content:before,.entry-content:after,.comment-content:before,.comment-content:after,.site-header:before,.site-header:after,.site-content:before,.site-content:after,.site-footer:before,.site-footer:after {content: '';display: table;}
.clear:after,.entry-content:after,.comment-content:after,.site-header:after,.site-content:after,.site-footer:after {clear: both;}

/* Widgets
-------------------------------------------------------------- */
.widget { margin-bottom: 2em; }
.widget select { max-width: 100%; }
.widget_search .search-submit { display: none; }

/* Titles */
.widget-title, .widget_block .wp-block-heading { font-size: 1em; font-weight: bold; line-height: 1.3em; margin: 0 0 1.2em; }
	#primary .widget-title { text-transform: uppercase; font-size: .8em; border-bottom: 1px solid #aaa; padding-bottom: 3px; }
	#secondary .widget-title, #secondary .wp-block-heading { background-color: var(--brandcolor_main); color: #fff; padding: .6em 1.2em; }
	#secondary .widget_block .wp-block-heading { margin-bottom: .5em; }

/* Recent entries */
.widget_recent_entries ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; }
	.widget_recent_entries li { font-size: 1em; line-height: 1.2em; padding: .5em; border-bottom: 1px solid #ccc; position: relative; padding: .5em .5em .5em 2.1em; }
	.widget_recent_entries li:before { content: "\e904"; position: absolute; margin-left: -30px; color: #999; }
	.widget_recent_entries a { display: block; text-decoration: none; }
	#secondary .widget_recent_entries a { color: #1f6da1; }
	#secondary .widget_recent_entries a:hover { color: var(--brandcolor_main); }
	.widget_recent_entries .attachment-thumbnail { display: block; margin-bottom: .5em; }
	.wp-block-latest-posts__post-author, .wp-block-latest-posts__post-date { opacity: .5; }

/* Categories */
.widget_categories ul, .widget_lc_taxonomy ul { list-style: none; margin: 0; padding: 0; }
	.widget_categories li, .widget_lc_taxonomy li { border-bottom: 1px solid #ccc; }
	.widget_categories li a, .widget_lc_taxonomy li a { padding: 6px 0; text-decoration: none; display: inline-block; }

/* Menus */
.widget_nav_menu .menu { margin: 0; padding: 0; list-style: none; }
	.widget_nav_menu .menu li { border-bottom: 1px dashed #ccc; }
	.widget_nav_menu .menu a { display: block; text-decoration: none; padding: 3px 0; }

/* Text */
.textwidget img { width: 100%; }

/* Media */
.widget_media_image .image { width: 100%; }
.widget_media_gallery .gallery-caption { display: none; }

/* Content
-------------------------------------------------------------- */

/* Posts and pages */
.hentry { margin: 0 0 1.5em; }
.byline,.updated { display: none; }
.single .byline,.group-blog .byline { display: inline; }
.page-links { clear: both; margin: 0 0 1.5em; }

/* Comments */
#commentform { padding-bottom: 60px; }

	.comments-title, #reply-title { background-color: #eee; border-top: 5px solid; font: 400 2.2em/1.2em 'Open Sans',sans-serif; margin: 0 0 15px; padding: 90px 50px 25px; position: relative; text-align: center; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; font-style: normal; font-variant: normal; text-rendering: auto; }
		.comments-title:before, #reply-title:before { font-family: "Font Awesome 5 Free"; content: "\f086"; font-weight: 900; display: block; font-size: 64px; left: 50%; line-height: 65px; margin-left: -37.5px; position: absolute; top: 30px; width: 75px; }
		.comments-title, #reply-title, .comments-title:before, #reply-title:before { color: #555; }
.comment-list { list-style: none; margin: 0 0 35px; }
	.comment-list .comment { background-color: #fff; border: 1px solid #eee; margin-bottom: 15px; padding: 2.5em 3em 1em; font-size: 1em; line-height: 1.4em; }
	.comment-list .odd, .comment-list .thread-odd { /* background-color: #F1F8F9; */ }
	.comment-meta { font-size: .8em; line-height: 1.3em; margin-bottom: 15px; padding-bottom: 5px; border-bottom: 1px dashed #ddd; overflow: hidden; }
		.odd .comment-meta { border-bottom: 1px dashed #C0C8CC; }
		.comment-author { font-weight: bold; }
			.comment-author .avatar { border: 1px solid #fff; float: left; margin: 0 10px 3px 0; }
		.comment-metadata { color: #999; }
			.comment-metadata a { text-decoration: none; color: #999; }
	.comment-content a { word-wrap: break-word; }
	.bypostauthor {  }
	.no-comments { color: #aaa; font-size: .9em; }

	/* Reply */
	.reply { font-size: .9em; }
	.children { list-style: none; margin: 1.2em 0 1.2em 1.2em; }
		.comment-list .children .comment { background-color: #fff; border-left-width: 9px; border-left-style: solid; border-left-color: var(--brandcolor_main); }
		.comment-list .children .comment.odd { border-left-color: var(--brandcolor_secondary); }
		.comment-list .children .children .comment { border: 1px solid #ccc; }
	.comment-awaiting-moderation { background-color: #c13232; clear: both; color: #fff; font-weight: bold; margin: 2em 0 1em; padding: 1em 1.5em; font-size: 1.2em; }

#respond {  }
	#reply-title { font: 400 1.6em/1.2em 'Open Sans',sans-serif; margin-bottom: 0; }
	#respond .logged-in-as, #respond .comment-notes { background-color: #dadada; font-size: .8em; padding: 10px 20px; }
	#commentform .form-allowed-tags { display: none; }
	#commentform label { display: block; font-size: .9em; }
	#commentform input[type="text"], #commentform input[type="email"], #commentform textarea { color: #888; padding: 10px; border-radius: 0; }
	#commentform textarea { width: 100%; }
	#commentform input[type="text"]:focus, #commentform input[type="email"]:focus, #commentform textarea:focus { border: 1px solid #111; color: #111; }
	#respond input[type="submit"] { font-size: 1em; }
	#commentform .comment-form-cookies-consent label { display: inline; margin-left: 1em; }

/* Media
-------------------------------------------------------------- */
.page-content img.wp-smiley, .entry-content img.wp-smiley, .comment-content img.wp-smiley { border: none; margin-bottom: 0; margin-top: 0; padding: 0; }
.wp-caption { border: none; margin-bottom: 1.5em; max-width: 100%; }
.wp-caption img[class*="wp-image-"] { display: block; margin: 1.2% auto 0; max-width: 100%; }
.wp-caption-text { color: #444; font-size: .8em; line-height: 1.3em; text-align: center; }
.gallery .wp-caption-text { text-align: left; }
.gallery-icon { overflow: hidden; }
.wp-caption .wp-caption-text { margin: .5em 0; }
.site-main .gallery { margin: 35px -0.5%; overflow: hidden; }
	.site-main .entry-content .gallery:first-child { margin-top: 0; }
	.site-main .gallery a img { border: none; height: auto; margin: 0; width: 100%; }
	.site-content .gallery dd { margin: 0; }
	.gallery-item { display: inline-block; margin: 0 .5% 1%; vertical-align: top; width: 100%; }
	.gallery-item img { display: block; width: 100%; }
	.gallery-item a { display: block; opacity: 1; }
	.gallery-item a:hover { opacity: .8; }
	.gallery-columns-1 .gallery-item { max-width: 99%; }
	.gallery-columns-2 .gallery-item { max-width: 49%; }
	.gallery-columns-3 .gallery-item { max-width: 32.3%; }
	.gallery-columns-4 .gallery-item { max-width: 24%; }
	.gallery-columns-5 .gallery-item { max-width: 19%; }
	.gallery-columns-6 .gallery-item { max-width: 15.5%; }
	.gallery-columns-7 .gallery-item { max-width: 13.2%; }
	.gallery-columns-8 .gallery-item { max-width: 11.5%; }
	.gallery-columns-9 .gallery-item { max-width: 10%; }
	.gallery-caption { font-size: .8em; line-height: 1.3em; padding: .3em 0; margin-bottom: .5em; }
.wp-block-gallery { margin-bottom: 2em; }

	/* Masonry gallery, full width (page template: masonry.php) */
	.masonry-gallery .site-main .wp-block-gallery { margin-left: 0; margin-right: 0; column-count: 4; column-gap: 1em; }
		.masonry-gallery .wp-block-image { width: 100%; margin: 0 0 1em !important; max-width: none; }

		/* Remove native wp gallery styles in masonry template pages */
		body.page-template-masonry .is-layout-flex { display: block; }
		.masonry-gallery .wp-block-image { width: auto !important; }
    /* margin-bottom: auto; */
    margin-top: 0;
}

	/* Gallery size medium */
	.gallery.gallery-size-medium { column-count: 3; margin-left: 0; margin-right: 0; }
		.gallery.gallery-columns-1.gallery-size-medium { column-count: 1; }
		.gallery.gallery-columns-2.gallery-size-medium { column-count: 2; }
		.gallery.gallery-columns-3.gallery-size-medium { column-count: 3; }
		.gallery.gallery-columns-4.gallery-size-medium { column-count: 4; }
		.gallery.gallery-columns-5.gallery-size-medium { column-count: 5; }
		.gallery.gallery-columns-6.gallery-size-medium { column-count: 6; }
		.gallery.gallery-columns-7.gallery-size-medium { column-count: 7; }
		.gallery.gallery-columns-8.gallery-size-medium { column-count: 8; }
		.gallery.gallery-columns-9.gallery-size-medium { column-count: 9; }
		.gallery.gallery-size-medium .gallery-item { max-width: none; float: none; margin-top: 0; margin-bottom: 1em; text-align: left; width: 100%; display: block; break-inside: avoid-column; }
		.gallery.gallery-size-medium .gallery-item img { width: 100%; }

embed, iframe, object { max-width: 100%; }
.entry-content iframe { margin: 20px 0; }
iframe[src^="https://www.google.com/maps/embed"] { width: 100%; }
.mejs-controls .mejs-button button { box-shadow: none; }
.fluidvids { margin: 0 0 50px; }

/*
============================================================

 Custom Theme styles

============================================================
*/

body {
	position: relative;
	background-color: #fefefe;
	background-image: url("img/fondo-piruletas-2.jpg");
	background-repeat: repeat;
	font-family: 'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;
	/* Var definitions: */
	--btn_style_radius: 5px;
	--btn_style_padding: 10px 30px;
}

/* COLORS */

	/* Vars */
	body {
		--brandcolor_main: #fd007e;
		--brandcolor_secondary: #aad400;
	}

	/* Layout */
	body { background-color: #fefefe; }

	/* Site header */

	/* Dark topbar */
	/*
	.topbar { color: #eee; background-color: #333; }
	.social-links, .social-links .icon { fill: #fff; }
	*/

	/* Light topbar */
	.topbar { color: #333; }
	.social-links, .social-links .icon { fill: #333; }

		.site-header.header-has-bg-img .topbar,
		.site-header.overslideshow .topbar { background-color: rgba(3,3,3,.5); }
		.topbar a { /* color: #ddd; */ }
		.topbar a:hover { color: var(--brandcolor_main); }
		.social-links.footer { fill: #444; }
	.site-title a { color: #555; }
		/* Site header dark or header-has-bg-img */
		.site-header.dark { background-color: #000; }
			.site-header.dark .site-title a,
			.site-header.dark .main-navigation a,
			.site-header.header-has-bg-img .site-title a,
			.site-header.header-has-bg-img .main-navigation a,
			.site-header.header-has-bg-img button.menu-toggle,
			.site-header.overslideshow button.menu-toggle,
			.site-header.header-has-bg-img #primary-menu > li::before,
			.site-header.overslideshow #primary-menu > li::before { color: #fafafa; fill: #fafafa; }
			.site-header.dark .site-description,
			.site-header.header-has-bg-img .site-description { color: #bbb; }
			.site-header.header-has-bg-img .main-navigation ul > li.menu-item-has-children:hover > a { color: #fff; }
	.main-navigation {  }
		.main-navigation a { color: #444; background-color: #fff; }
			.main-navigation ul ul a { color: #2d2d2d; }
			.main-navigation ul ul a { background-color: #fff; border: 1px solid #eaeaea; }
			.main-navigation ul ul a:hover,
			.main-navigation ul ul li:hover > a,
			.main-navigation ul ul ul a:hover { color: var(--brandcolor_main); }
			.main-navigation ul > li.menu-item-has-children:hover > a { background-color: var(--brandcolor_main); color: #fff; }
		#site-navigation .item-lang a { background-color: #444; }
			.lang-item a { border-color: #aaa; }
		button.menu-toggle { color: #444; }
			.main-navigation.toggled button.menu-toggle,
			.site-header.overslideshow .main-navigation.toggled button.menu-toggle,
			.main-navigation.toggled #primary-menu > li[class^="fa-"]::before { color: #eee; }
			#site-navigation.toggled { background-color: #222; background-color: rgba(2,2,2,.9); }


/* Page */
#page {  }
	.content-width,
	#page.slideshow-margins #slider-container,
	#page.slideshow-margins #featured-video { width: 90%; margin-left: auto; margin-right: auto; max-width: 1600px; }
	.content-width.main-content { display: grid; margin-top: 5em; margin-bottom: 5em; grid-template-columns: 70% 25%; 	grid-gap: 5%; }
	.home .content-width.main-content { margin-top: 0; margin-bottom: 0; grid-template-columns: 100%; }
		.content-width.no-main-content { display: none !important; }
		.page-template-homepage .main-content.no-sidebar,
		.error404 .main-content { grid-template-columns: 100%; grid-gap: 0; }
	.site { position: relative; }

	/* Site header */
	.site-header { position: relative; padding: 5em 0; font: .85em/1.2em 'Open Sans',sans-serif; z-index: 9999; background-repeat: no-repeat; background-size: cover; transform: rotate(0deg); }
		.site-header.header-has-bg-img::after { display: block; background-color: rgba(2,2,2,.5); position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 0; }
		.site-header.header-has-topbar { padding-top: 0; }
		.site-header > .content-width { position: relative; z-index: 12; }

		/* Topbar */
		.topbar { padding: 1.2em 0; font-size: 1em; margin-bottom: 2em; position: relative; z-index: 9; }
			/* .topbar span::before { content: "| "; } */
			.topbar .content-width { position: relative; }
			.topbar .site-intro::before { content: ""; }
			.topbar .site-intro { font-weight: bold; }
			.site-intro-subtitle {  }
			.topbar span.addr, .topbar span.telf { padding-right: 1em; }
			.topbar .icon-map, .topbar .icon-telf, .topbar .icon-envelope-o { width: 16px; height: 16px; vertical-align: bottom; margin-right: 3px; }
			.topbar a { color: inherit !important; text-decoration: none; }
			.topbar a:hover { opacity: .6; }
			.social-links { position: absolute; right: 0; top: 15px; }
				.social-links li { display: inline-block; vertical-align: middle; }
					.social-links li a { margin: 0 .5em; display: inline-block; }
					.social-links .icon { width: 21px; height: 21px; }
					.social-links .admin a { width: 20px; height: 20px; display: block; text-align: center; line-height: 1.6em; border: 1px solid; }
				.social-links.footer { position: static; display: block; margin: 2em 0 0; }
					.social-links.footer a { margin: 0 1em; }
					.social-links.footer a:hover { opacity: .5; }
					.social-links.footer .icon { width: 45px; height: 45px; fill: #444; }
			.navigation-top { float: right; }
				.navigation-top ul { margin: 0; padding: 0; list-style: none; }
				.navigation-top ul > li { display: inline-block; margin: 0 .5em; }
				.navigation-top ul > li a { }

		/* Fixed */
		/*
		.site-header.fixed { position: fixed; height: 40px; }
			.site-header.fixed .site-title { font-size: 1.5em; line-height: 40px; margin: 0; }
			.site-header.fixed #site-navigation { top: 0; }
			.site-header.fixed .custom-search, .site-header.fixed .main-navigation ul ul { top: 40px; }
			.site-header.fixed .main-navigation ul ul { padding-top: 0; }
			.site-header.fixed .site-description { display: none; }
			.site-header.fixed .site-branding { margin-top: 0; }
		*/

		/* Site branding */
		.site-branding { max-width: 30%; }
			.custom-logo-link {  }
				.custom-logo-link img { width: 70%; /* border-radius: 5px; */ }
			.site-title { font: 700 2.5em/1em 'Open Sans',sans-serif; margin: 0 0 .2em; }
				.site-title a { display: block; text-decoration: none; }
			.site-description { margin-bottom: 0; }

		/* Site navigation */
		#site-navigation { font: 700 1em/1.2em "Roboto Condensed",sans-serif; margin-bottom: 0; margin-top: 6em; padding: 0; }
			.lang-item a { border-width: 1px; border-style: solid; }

			/* TOP RIGHT */
			#site-navigation { position: absolute; top: 50%; right: 0; transform: translate(0,-50%); margin: 0; }
				.main-navigation a { background: none; border-radius: 0; }

			button.menu-toggle { background: none; border: none; border-radius: 0; box-shadow: none; text-shadow: none; padding: 0; margin: 0 auto; font-size: 2.4em; line-height: 1.3em; width: 45px; }
				button.menu-toggle .icon-menu { width: 45px; height: 45px; display: block; fill: #333; }
				button.menu-toggle .icon-cross { display: none; fill: #eee; width: 30px; height: 30px; padding: .5em 0 0 .5em; box-sizing: content-box; }
				button.menu-toggle span, .main-navigation.toggled button.menu-toggle .icon-menu { display: none; }
				.main-navigation.toggled button.menu-toggle .icon-cross { display: inline-block; }
				button.menu-toggle:focus { outline: none; }
				.main-navigation.toggled button.menu-toggle { width: 100%; padding: .5em .7em 0; text-align: right; }
			#site-navigation.toggled { bottom: auto; font-size: 1em; left: 0; margin: 0; padding: 0; position: fixed; top: 0; width: 100%; z-index: 9999; right: 0; transform: none; }
				.main-navigation.toggled #primary-menu { border: none; }
				.main-navigation.toggled li { float: none; border: none; display: block; }
					.main-navigation.toggled li a { height: auto; padding: 1em; background: none !important; opacity: 1 !important; border-bottom: 1px solid #444 !important; color: #eee !important; border-top: 0; border-left: 0; border-right: 0; }
					.main-navigation.toggled .lang-item a { border: none; }
					.main-navigation.toggled li[class^="fa-"] { padding: 1em 1em 0; }
					.main-navigation.toggled .current_page_item > a,
					.main-navigation.toggled .current-menu-item > a,
					.main-navigation.toggled .current_page_ancestor > a,
					.main-navigation.toggled .current-menu-ancestor > a { border: none; }
					.main-navigation.toggled .menu-item-has-children > a::after { /* display: none; */ top: 22px; }
					.main-navigation.toggled .menu-item-has-children > a::after,
					.main-navigation.toggled .menu-item-has-children .menu-item-has-children > a::after { /* content: "\f107"; */ content: "\ea43"; }
					.main-navigation.toggled .sub-menu { display: none; float: none; position: static; border: none; background-color: #1e2e3f; }
						.main-navigation.toggled .sub-menu li { line-height: 45px; }
						.main-navigation.toggled .sub-menu li a { width: auto; line-height: 1.3em; padding: 1em 2em; background: none; }
						.main-navigation.toggled .sub-menu li a:hover { background: none; }
						.main-navigation.toggled .sub-menu li a::before { content: "- "; }
					.main-navigation.toggled li:last-child > ul.sub-menu .menu-item-has-children > a::after { right: 8px; }

		.site-header.overslideshow { width: 100%; position: absolute; z-index: 999; background: none; }
			.site-header.overslideshow .site-title a,
			.site-header.overslideshow .site-description,
			.site-header.overslideshow .main-navigation a { color: #fff !important; }

			.search-btn.search-open a, .sub-menu .active { color: #888; }
			.menu .current-menu-item a,
			.current_page_parent a,
			.single-producto .item-productos a { /* color: var(--brandcolor_secondary); padding: 1.3em; */ }
			.home .menu .current-menu-item a { /* color: inherit; border: none; padding: 1.3em; */ }
			.single-producto .current_page_parent a,
			.post-type-archive-producto .current_page_parent a { color: inherit; border: none; padding: 1em; }

			.main-navigation li.phone a { border-left: 1px solid #777; margin: 0 0 0 20px; padding-left: 24px; }

			.site-header.overslideshow .main-navigation li.search { fill: #fff; }
				#site-navigation .search a { text-align: center; }
				.main-navigation .search .icon-search { width: 20px; height: 15px; /* fill: #444; */ }
				#site-navigation .search span { display: none; }

			html[lang="en-US"] .lang-selector a.en,
			html[lang="en-GB"] .lang-selector a.en,
			html[lang="en-EN"] .lang-selector a.en,
			html[lang="de-DE"] .lang-selector a.de,
			html[lang="es-ES"] .lang-selector a.es { color: #888; }

			#search_form { display: none; background-color: #eee; padding: 1em 2em; position: absolute; right: 10px; top: 120px; width: 35%; z-index: 9999; border-radius: 5px; box-shadow: 0px 0px 10px #bbb; border: 1px solid #fff; }
				#search_form .search-field { background-color: #eee; border: none; border-bottom: 1px solid #eee; border-radius: 0; color: #444; font-size: 1.8em; padding: 0; vertical-align: middle; width: 95%; }
				#search_form input.search-field:focus-visible { outline: none; }
				#search_form input::-webkit-input-placeholder { color: #111; }
				#search_form input:-moz-placeholder { color: #111; }
				#search_form input::-moz-placeholder { color: #111; }
				#search_form input:-ms-input-placeholder { color: #111; }
				#search_form .search-submit { display: none; }
				#search_form .search-help {}
					#search_form .search-help li {}
					#search_form .search-help a {}

		/* LINK GRID */
		.link-grid { display:grid; grid-template-columns: 1fr 2fr; grid-gap: 1em; margin: 2% 0; }
			.link-grid .verticalBlock img { display: block; }
			.link-grid .gridlinks { display:grid; grid-template-columns: 1fr 1fr; grid-gap: 1em; }
			.link-grid .gridlinks li { position: relative; background-image: url('img/curves-bg.jpg'); background-color: #333; padding: 2em; color: #fff; background-repeat: no-repeat; background-size: cover; }
				.gridlinks li .gl-content { position: relative; z-index: 101; }
				.gridlinks li .gl-title { font-size: 1.5em; line-height: 1.3em; margin: 0 0 .6em; font-weight: 700; }
				.gridlinks li .gl-descr {  }
				.gridlinks li .gl-btn { text-align: center; }
					.gridlinks li .gl-btn a { background-color: var(--brandcolor_main); text-decoration: none; padding: var(--btn_style_padding); display: inline-block; margin: 1em 0; font-size: 1em; font-weight: bold; border-radius: var(--btn_style_radius); color: #fff; }
				.gridlinks li::after { background-color: rgba(2,2,2,.6); bottom: 0; content: ""; display: block; left: 0; position: absolute; right: 0; top: 0; z-index: 100; }

		/* FEATURED (2 cols) */
		.page-featured { background-color: #cee; display: grid; grid-template-columns: repeat(2,50%); grid-gap: 0em; align-items: center; margin-top: 3em; margin-bottom: 3em; }
			.slideshow-margins .page-featured { margin-top: 2em; }
			.featured-col {}
				.featured-col1 {}
				.featured-col2 { padding: 2em; }
			.featured-title { font-size: 2.8em; line-height: 1.2em; font-weight: 400; margin: 0 0 .6em; font-family: 'PT Sans Narrow'; }
			.featured-img { display: block; width: 100%; }
			.featured-descr { font-size: 1em; line-height: 1.8em; }
				.featured-descr a:hover { opacity: .6; color: inherit; }
			.featured-btn { text-align: center; }
				.featured-btn a { background-color: var(--brandcolor_main); text-decoration: none; padding: var(--btn_style_padding); display: inline-block; margin: 1em 0; font-size: 1.2em; font-weight: bold; border-radius: var(--btn_style_radius); color: #fff; }

			/* Image styles
			   Irregular shape: https://9elements.github.io/fancy-border-radius/ */

			.img-style-cercle .featured-col2,
			.img-style-rounded .featured-col2,
			.img-style-irregular .featured-col2 { padding-right: 10%; }

			/* Cercle */
			.img-style-cercle .featured-img { border-radius: 50%; }

			/* Rounded borders */
			.img-style-rounded .featured-img { border-radius: 10%; }

			/* Diamond */
			.img-style-diamond .featured-img { clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); }

			/* Parallelogram */
			.img-style-parallelogram .featured-col1 {  }
				.img-style-parallelogram .featured-img { clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%); }

			/* Hexagon */
			.img-style-hexagon .featured-col1 {  }
				.img-style-hexagon .featured-img { clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); }

			/* Irregular shape */
			.img-style-irregular .featured-col1 { position: relative; }
				.img-style-irregular .featured-img { position: relative; z-index: 9; border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
				.img-style-irregular .featured-col1::before { display: block; content: ""; background-color: #cee; position: absolute; z-index: 0; left: 0; top: 0; right: 0; bottom: 0; border-radius: 46% 69% 71% 33% / 23% 31% 80% 108%; }

		/* GRIDBLOCKS */
		.gb-wrapper { background-color: #edf5f8; padding: 5em 0 2em; margin-bottom: 3em; }
		.gb-title-main { text-align: center; font-family: 'PT Sans Narrow'; color: #555; }
		.custom-homeblock-title { margin: 0 0 1.5em; font-size: 3em; line-height: 1.2em; font-weight: 700; }
		.custom-homeblock-subtitle { font-size: 1.5em; }
		.gridblocks { display: grid; grid-template-columns: repeat(3,1fr); grid-gap: 1em; margin: 2em auto; position: relative; z-index: 999; }
			.gridblocks.gbcount-1 { grid-template-columns: 1fr; }
				.gridblocks.gbcount-1 li { display: flex; align-items: center; }
					.gridblocks.gbcount-1 > li > div {  }
					.gridblocks.gbcount-1 .gb-part1 { flex-basis: 90%; margin-right: 2%; margin-bottom: 0; }
					.gridblocks.gbcount-1 .gb-part2 { flex-basis: 100%; }
			.gridblocks.gbcount-2 { grid-template-columns: 1fr 1fr; }
			.gridblocks.gbcount-3 { grid-template-columns: repeat(3,1fr); }
			.gridblocks.gbcount-4 { grid-template-columns: repeat(4,1fr); }
			.gridblocks.gbcount-5 { grid-template-columns: repeat(5,1fr); }
			.gridblocks.gbcount-6 { grid-template-columns: repeat(6,1fr); }
			.gridblocks.gbcount-7 { grid-template-columns: repeat(4,1fr); }
			.gridblocks.gbcount-8 { grid-template-columns: repeat(4,1fr); }
			.gridblocks.gbcount-9 { grid-template-columns: repeat(5,1fr); }
			.gridblocks.gbcount-10 { grid-template-columns: repeat(5,1fr); }
			.gridblocks > li { /* background-color: #8de4e0; */ padding: 2.5em; /* color: #fff; */ }
			.gridblocks > li:nth-child(2n) { /* background-color: #444; */ }
			.gridblocks img { width: 100%; /* clip-path: circle(90% at 34% -17%); */ }
			.gridblocks.img-no-curve img { clip-path: none; }
			.gridblocks.img-in-background { color: #fff !important; clip-path: none !important; }
				.gridblocks.img-in-background li { position: relative; background-size: cover; background-color: transparent; background-repeat: no-repeat; border-radius: 5px; }
				.gridblocks.img-in-background .gb-part1 { display: none; }
				.gridblocks.img-in-background .gb-part2 { position: relative; z-index: 9; }
				.gridblocks.img-in-background li::after { content: ""; background-color: rgba(2,2,2,.5); position: absolute; top: 0; bottom: 0; left: 0; right: 0; border-radius: 5px; }
			/* .gridblocks > li:nth-child(2n) { background-color: #444; } */
				/*
				.gridblocks > li:nth-child(1) { background-color: #3BC5CA; }
				.gridblocks > li:nth-child(2) { background-color: #E39A32; }
				.gridblocks > li:nth-child(3) { background-color: #81AA40; }
				*/
				.gb-icon { color: #555; font-size: 5em; text-align: center; padding: 0 .2em .3em; position: relative; z-index: 9; }
					.gb-icon + .gb-part2 { padding-top: 0; }
				.gb-part1 { margin-bottom: 1.5em; }
					.gb-part1 img { display: block; }
				.gb-part2 {}
					.gbtitle { font-size: 1em; line-height: 1.2em; font-weight: 700; margin: 0 0 1em; }
						.gbtitle a { text-decoration: none; color: var(--brandcolor_main); display: block; }
						.gbtitle a:hover { color: var(--brandcolor_secondary); }
					.gbdescr { font-size: .9em; }
						.gridblocks .gbdescr p:last-child { margin-bottom: 0; }
						.gb-part2 ul, .gb-part2 ol { margin-left: 1.3em; margin-bottom: 2em; }
						.gbdescr h1, .gbdescr h2, .gbdescr h3, .gbdescr h4, .gbdescr h5, .gbdescr h6 { font-family: 'Open Sans',sans-serif; line-height: 1.1em; margin: 1.2em 0 .5em; clear: both; }
						.gbdescr h1 { font-size: 3em; }
						.gbdescr h2 { font-size: 2.2em; }
						.gbdescr h3 { font-size: 1.8em; margin: 1.2em 0; }
						.gbdescr h4 { font-size: 1.4em; margin: 1.2em 0; }
						.gbdescr h5 { font-size: 1.2em; border-bottom: 1px solid; padding-bottom: 3px; }
						.gbdescr h6 { font-size: 1em; margin: 30px 0 10px; text-transform: uppercase; }
						.gbdescr .gb-inner-gallery { list-style: none; margin: 0; display: grid; grid-template-columns: repeat(5,1fr); grid-gap: .5em; }
					.gbbtn-wrapper { margin-top: 1.5em; }
						.gbbtn-wrapper a { display: inline-block; background-color: var(--brandcolor_main); padding: var(--btn_style_padding); border-radius: var(--btn_style_radius); text-decoration: none; color: #fff; font-weight: 700; }

			.gridblocks.no-padding > li { padding: 0; }
				.gridblocks.no-padding .gb-icon { padding-top: .4em; }
				.gridblocks.no-padding .gb-part1 { margin-bottom: 0; }
					.gridblocks.no-padding .gb-part1 a { display: block; }
					.gb-part1 img { margin: 0 auto; transition: .5s ease-in-out; }
					.gb-part1 a:hover img { rotate: 1turn; }
				.gridblocks.no-padding .gb-part2 { padding: 1.8em .5em 3em; text-align: center; }
				.gridblocks.no-padding .gb-part2.custom_alignleft { text-align: left; }
			.gridblocks.forcerows { grid-template-columns: 1fr !important; }
				.gridblocks.forcerows > li { display: flex; align-items: center; }
					.gridblocks.forcerows img { /* clip-path: circle(80% at 30% -9%); */ }
					.gridblocks.forcerows .gb-icon { padding: .2em .7em .2em .2em; }
					.gridblocks.forcerows .gb-icon + .gb-part2 { padding-left: 0; }
					.gridblocks.forcerows .gb-part1 { flex-basis: 90%; margin-right: 2%; margin-bottom: 0; }
					.gridblocks.forcerows .gb-part2 { flex-basis: 100%; }
			.gridblocks.no-padding.forcerows .gb-icon { padding-right: .5em; padding-left: .5em; }
			/* .gridblocks.no-padding.forcerows .gb-part2 { padding: 2em 2em 2em 0; } */
			.gridblocks.gbcenter { width: 90%; margin: -35px auto 0; }
			.slideshow-margins .gridblocks.gbcenter { width: 80%; }

	/* Site content */
	.site-content { position: relative; }

		/* Primary */
		#primary {  }
		.home #primary { width: 70%; margin-left: auto; margin-right: auto; }
		.page-template-default #primary {  }

			.site-main {  }
				.hentry {  }
				.home .hentry, .page .hentry { margin-bottom: 0; padding-bottom: 0; }
				.page .entry-content { margin-top: 0; }
				.home-feat-img { margin-bottom: 2em; margin-left: -8%; }
 					.home-feat-img img { display: block; width: 100%; /* border-radius: 0 20px 0 0; */ }

				/* Entry header */
				body.page .entry-header,
				.single-post .entry-header { margin-bottom: 3em; }
					.entry-title { font-size: 3.2em; line-height: 1em; font-weight: 700; font-family: "PT Sans Narrow",sans-serif; margin-bottom: .1em; letter-spacing: -1px; color: #555; }
						.page .entry-title {  }
						.single .entry-title {  }
						.home.page .entry-header { text-align: center; }
						.entry-title a { display: block; text-decoration: none; color: #555; }
						.entry-title a:hover { color: var(--brandcolor_secondary); }
					.entry-subtitle { font-size: 1.5em; font-weight: 400; line-height: 1.2em; margin: 0; font-family: "PT Sans Narrow",sans-serif; color: var(--brandcolor_main); }
					.entry-meta { color: #888; font-size: .8em; line-height: 1.2em; }
						.single .entry-meta { margin-bottom: 1em; }
						.entry-meta ul {  }
							.entry-meta li { display: inline-block; }
							.entry-meta li::before { content: "| "; }
							.entry-meta li:first-child::before { content: ""; }
							.entry-meta .comments-link { font-weight: bold; }
					.intro-title-huge { font-size: 6em; line-height: 1em; margin-bottom: .2em; }

				/* Entry content */
				.entry-content { font-size: 1.2em; line-height: 1.6em; word-wrap: break-word; }
				.home.page .entry-content { font-size: 1.15em; }

					/* Headings */
					.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 { font-family: 'Open Sans',sans-serif; /* font-weight: 700; */ line-height: 1.1em; margin: 1.2em 0 .5em; clear: both; }
					.entry-content h1 { font-size: 3em; }
					.entry-content h2 { font-size: 2.2em; }
					.entry-content h3 { font-size: 1.8em; margin: 1.2em 0; }
					.entry-content h4 { font-size: 1.4em; margin: 1.2em 0; }
					.entry-content h5 { font-size: 1.2em; border-bottom: 1px solid; padding-bottom: 3px; }
					.entry-content h6 { font-size: .9em; margin: 30px 0 10px; text-transform: uppercase; font-weight: bold; }
					.entry-content h1:first-child, .entry-content h2:first-child, .entry-content h3:first-child, .entry-content h4:first-child, .entry-content h5:first-child, .entry-content h6:first-child { margin-top: 0; }

					h3.sep { background-color: #333; color: #fff; font-size: .8em; margin: 0; padding: 3px; text-align: center; text-transform: uppercase; }

					/* Tables */
					.site-content table { border: 1px solid #ddd; padding: 5px; border-collapse: collapse; margin-bottom: .6em; }
						.site-content tr:nth-child(even) { background-color: #e7e5e5; }
						.site-content tr td:nth-child(even) { background-color: #aaaaaa50; }
						.site-content td { border: 1px solid #aaaaaa50; }
						.site-content td, .site-content th { padding: .5em; }
						body.privacy-policy .site-content table { font-size: .7em; line-height: 1.2em; }

					/* Related posts */
					#primary .related { margin-bottom: 3em; overflow: hidden; padding-bottom: 1em; }
					#primary .related li { float: left; margin-left: 3%; width: 31.3%; }
					#primary .related li:first-child { margin-left: 0; }
					#primary .related .related-title { font: 700 1.2em/1.1em "Open Sans",sans-serif; margin-top: 1em; }
					#primary .related .related-title a { color: #444; display: block; text-decoration: none; }
					#primary .related .related-title a:hover { color: var(--brandcolor_main); opacity: 1; }
					#primary .related a:hover { opacity: .7; }
					#primary .related img { width: 100%; display: block; }
					#primary .related .attachment-thumbnail { /* border-radius: 0% 0% 90% 0% / 0% 0% 90% 0%; */ }

				/* Entry footer */
				.entry-footer { font-size: .8em; line-height: 1.3em; margin: .5em 0 6em; clear: both; /* background-color: #efefef; color: #888; */ background-color: #b8efef; color: #222; padding: 2em; }
				/* .single .entry-footer { background-color: #f5f5f5; padding: 20px; } */

		/* Secondary */
		#secondary { font-size: 1em; }
			#secondary h3 {  }
			#secondary a { color: #444; }
			#secondary a:hover { /* opacity: .5; */ }
			.subpages-wrapper {}
				.subpages-wrapper h3 { background-color: #283543; color: #fff; font: bold 2.3em/1em "Open Sans",sans-serif; padding: 15px 20px; text-align: center; text-transform: uppercase; }
				.subpages { font-size: .9em; font-weight: bold; line-height: 1.35em; margin: 0 0 35px; text-transform: uppercase; }
					.subpages li { margin-bottom: .6em; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; font-style: normal; font-variant: normal; text-rendering: auto; }
					.subpages li:last-child { /* border: none; */ }
					.subpages a { display: block; padding: 1em 1.5em 1em 3em; text-decoration: none; border: 1px solid #ccc; }
					.subpages a:hover,
					.subpages .current_page_item > a { border-color: var(--brandcolor_main); }
					.subpages .current_page_item > a { border-width: 2px; background-color: #07e8e9; }
					.subpages a::before { margin-left: -21px; content: "\f15c"; font-family: "Font Awesome 5 Free"; position: absolute; font-weight: 900; }
					.page-parent .subpages li.current_page_item { display: block; }
					.page-parent .subpages > li,
					.subpages .page_item_has_children > a { /* display: none; */ }
/*
					.subpages > .current_page_item { background-color: #fc5115; }
						.subpages .current_page_item a { color: #fff; }
						.subpages .current_page_item a:hover { opacity: .5; }
						.page-template-index-subpages .subpages .current_page_item { display: none;	}
*/
					.subpages .children { margin: 0; padding: 0; /* font-weight: 400; */ display: none; }
						.subpages .children .children { font-size: .8em; line-height: 1.2em; }
						.subpages .children .children a { margin-left: 15px; padding: 3px 0; }
						.subpages .children .children a:before { margin-left: -15px; top: 2px; }
						.subpages .children .children .children { display: none; }

	/* Site footer */
	.site-footer { font-size: .75em; line-height: 1.4em; padding: 35px; text-align: center; margin-top: 2em; position: relative; }
		.custom-logo-footer { max-width: 180px; margin-bottom: 2em; }
		.site-footer > .content-width { overflow: hidden; padding: .5em 0 1em; }
		.site-footer, .site-info a, #back-to-top { color: #666 !important; }
		.site-info p { margin-bottom: 0; }
		.site-info a:hover, .site-footer .credits:hover, #back-to-top:hover { opacity: .4; }
		/* Menu */
		.site-footer .menu { font: 700 1.3em/1.2em 'Open Sans',sans-serif; margin: 0 0 1em; }
			.site-footer .menu li { display: inline-block; }
			.site-footer .menu a { background: none; padding: 10px; text-decoration: none; color: #444; }
			.site-footer .item-lang a { border: 1px solid; margin-left: 1em; }
			.site-footer .menu a:hover { opacity: .3; }
			.site-footer .menu li.lang-selector,
			.site-footer .menu li.phone,
			.site-footer .sub-menu,
			.site-footer .menu li.search-btn,
			.site-footer .menu-item-has-children > a::after { display: none; }
		.footer-logo { margin: 0 5em 0 -7px; width: 150px; }
		.site-footer .footer-navigation { text-transform: uppercase; margin-bottom: 1em; font-size: .9em; }
			.footer-navigation ul { margin: 0; }
		.site-footer .site-info {  }
			.site-footer .credits { opacity: .5; text-decoration: none; }
			.credits span { text-decoration: underline; }

		.lang-selector-footer { margin: 40px 0 10px; }
			.lang-selector-footer li { display: inline-block; }
			.lang-selector-footer a { border: 1px solid #ddd; color: #555; margin: 0 5px; padding: 3px 6px; text-decoration: none; }

		#back-to-top { display: block; font-size: .8em; font-family: inherit; opacity: 1; padding: 16px 5px 5px; position: relative; text-align: center; text-decoration: none; text-transform: uppercase; margin-top: 5em; background: none; }
		#back-to-top::before { font-size: 15px; left: 50%; margin-left: -15px; position: absolute; top: -5px; width: 30px; }
		#back-to-top.fas::before { font-family: "Font Awesome 5 Free"; }

	/* CPT Product */
	.post-type-archive-producto #primary { margin-top: 6em; }
		.post-type-archive-producto .product-archive-container { margin-bottom: 5em; }
		.post-type-archive-producto .producto,
		.single-producto #related-products .producto { text-align: center; }
		.post-type-archive-producto .page-title { padding-bottom: 1em; border-bottom: 1px solid; }
		.post-type-archive-producto .producto .entry-title,
		.single-producto #related-products .entry-title { font-size: 1.5em; letter-spacing: 0; margin-bottom: 0.5em; margin-top: .5em; }
		.post-type-archive-producto .arx-product-price,
		.single-producto #related-products .arx-product-price { display: block; font-size: 1.5em; }
		.post-type-archive-producto a.arx-product-more,
		.post-type-archive-producto a.arx-buy-btn,
		.single-producto #related-products a.arx-product-more,
		.single-producto #related-products a.arx-buy-btn { color: #444; font-size: .9em; }
	.single-producto {}
		.single-producto .site-main > .producto { display: grid; grid-template-columns: 40% auto; grid-gap: 2em; padding-top: 2em; padding-bottom: 0; margin-top: 3em; }
			.product-img {}
			.product-info {}
			.entry-title.product-title { font-size: 3.5em; letter-spacing: 0; }
			.product-price { font-weight: bold; font-size: 1.1em; margin-bottom: 3em; }
			.product-content { margin-bottom: 2em; }
			.product-buy-btn { margin-bottom: 4em; }
				.product-buy-btn a { background-color: #333; color: #fff; text-decoration: none; padding: .6em 2em; display: inline-block; border-radius: 5px; font-weight: bold; }
				.product-buy-btn a:hover { background-color: var(--brandcolor_secondary); }
			.product-footer {}
		#related-products {  }
			#related-products .related-title { text-transform: uppercase; font-size: .9em; margin-bottom: 1em; border-bottom: 1px solid #aaa; }
			#related-products ul { display: grid; grid-template-columns: repeat(4,1fr); grid-gap: 2em; }

	/*
	--------------------------
	PAGE TEMPLATES
	--------------------------
	*/

	/* Page template: Homepage */
	.page-template-homepage .main-content.no-sidebar #primary { /* text-align: center; */ margin-bottom: 5em; }
	.home.page .home-feat-img { margin: 0 0 2em 2em; float: right; max-width: 45%; }
	.homepage-intro { font-size: 1.8em; background-color: #f2f5fc; color: #097699; padding: 5em 5%; /* background-image: url('img/material-escolar-04.jpg'); background-size: contain; background-repeat: no-repeat; */ }
		.homepage-intro .intro-title, .homepage-intro .intro-descr { /* padding-left: 400px; */ }
		.homepage-intro .intro-title { font-size: .7em; margin-bottom: .5em; }
		.homepage-intro .intro-descr { }
	.infopanels { margin-top: 5em; margin-bottom: 1em; }
		.infopanels ipcount-1 {}
		.infopanels .infopanels-intro { }
		.infopanels .infopanel { margin: 4em 0; display: grid; grid-template-columns: 1fr 1fr; grid-gap: 2em; align-items: center; }
			.infopanel.ip-reverse { grid-auto-flow: dense; } /* https://stackoverflow.com/questions/45383042/reverse-order-of-columns-in-css-grid-layout */
				.infopanel.ip-reverse .ip-part1 { grid-column: 2; }
			.infopanel.panel-no-img { grid-template-columns: 1fr; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; padding: 1.5em 0; }
				.infopanel.panel-no-img .ip-part2 { /* text-align: left; */ }
			.infopanel.img-as-bg { position: relative; grid-template-columns: 1fr; margin: 2em 0; padding: 1em; font-size: 1.2em; background-size: cover; background-repeat: no-repeat; background-color: transparent; border-radius: 5px; }
				.infopanel.img-as-bg .ip-part1 { display: none; }
				.infopanel.img-as-bg .ip-part2 { position: relative; z-index: 9; color: #fff; }
				.infopanel.img-as-bg::after { content: ""; background-color: rgba(2,2,2,.5); display: block; position: absolute; left: 0; right: 0; top: 0; bottom: 0; border-radius: 5px; }
			.infopanel .ip-part1 img { display: block; border-radius: 6px; width: 100%; }
			.infopanel .ip-part2 { padding: 1.5em 2em; text-align: center; }
				.infopanel .iptitle { font-size: 1.6em; line-height: 1.2em; font-weight: 700; margin: 0 0 1em; }
				.infopanel .ipdescr { font-size: 1.2em !important; line-height: 1.5em; }
					.infopanel .ipdescr.entry-content ul { list-style: none; margin-left: 0; }
				#primary.no-sidebar .iptitle { font-size: 2em; }
				#primary.no-sidebar .ipdescr { font-size: 1.1em; }
				.infopanel .ipbtn-wrapper {}
					.infopanel .ipbtn-wrapper a { text-decoration: none; background-color: var(--brandcolor_secondary); display: inline-block; padding: var(--btn_style_padding); border-radius: var(--btn_style_radius); color: #fff; font-weight: 700; }
		#primary .infopanels { width: 100%; margin-left: 0; margin-right: 0; }

	/*
	Page template: Simple (sin lateral)
	Post template: Simple (sin lateral)
	*/
	.page-template-simple .content-width.main-content,
	.post-template-simple .content-width.main-content { grid-template-columns: 1fr; padding: 0 10%; }
	.page-template-simple .home-feat-img,
	.post-template-simple .home-feat-img { margin-left: 0; }

	/*
	Page template: Lateral izquierda
	Post template: Lateral izquierda
	*/
	.page-template-sidebar-left .content-width.main-content,
	.post-template-sidebar-left .content-width.main-content { grid-template-columns: 25% 70%; grid-auto-flow: dense; }
		.page-template-sidebar-left #primary, .post-template-sidebar-left #primary { grid-column: 2; }
		.page-template-sidebar-left #secondary, .post-template-sidebar-left #secondary { grid-column: 1; }
		.page-template-sidebar-left .home-feat-img, .post-template-sidebar-left .home-feat-img { margin-left: 0; margin-right: -8%; }
			.page-template-sidebar-left .home-feat-img img, .post-template-sidebar-left .home-feat-img img { border-radius: 20px 0 0 0; }

	/* Page template: Title bar */
	.page-template-title-bar { }
		.page-template-title-bar .entry-header { background-color: #f5f5f5; padding: 2em 0; overflow: hidden; }
			.page-template-title-bar .titlemain { width: 70%; float: left; margin-right: 5%; }
				.page-template-title-bar .entry-title { /* text-transform: uppercase; */ }
			.page-template-title-bar .titlebtn { width: 25%; float: right; }
				.page-template-title-bar .titlebtn a { text-decoration: none; background-color: #fc5115; padding: var(--btn_style_padding); border-radius: var(--btn_style_radius); color: #fff; font-weight: 700; display: block; text-align: center; }

	/* Page template: Map.php */
	.page-template-contact #custom-map { width: 100%; height: 400px; /* border-bottom: 5px solid #e8e8e8; */ }
	.page-template-contact #custom-map iframe, .entry-content iframe { width: 100%; }

	/* Page template: index subpages */
	.page-template-index-subpages #primary { float: none; width: auto; }
	.page-template-index-subpages .entry-content,
	.page-template-index-subpages-no-links .entry-content { margin-bottom: 1.8em; }
	.page-template-index-subpages .homepage-full-display { display: none; }
	.page-index { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 2em; }
		.page-index li { /* display: inline-block; padding: 0 2% 4%; vertical-align: top; width: 33.33%; */ }
			.page-index h3 { font-size: 1em; }
			.page-index h3 a, .page-index img { display: block; }
			.page-index img { width: 100%; }
			.page-index h3 { font-size: 1.3em; font-weight: bold; line-height: 1.25em; margin: 1em 0 .5em; }
				.page-index h3 a { text-decoration: none; color: #444; }
				.page-index h3 a:hover { color: var(--brandcolor_main); }
			.page-index .page-excerpt { font-size: .9em; }
				.page-index .page-excerpt p { margin-bottom: .6em; }
				.page-index .more_info_link {  }
			.page-index a, .page-index h3 a:hover { opacity: 1; }
			.page-index a:hover { opacity: .7; }
			.page-index .index-btn-go { display: none; }
		/* Area privada */
		.page-index.subpages-bars { grid-template-columns: 1fr; grid-gap: 1em; }
			.page-index.subpages-bars li { position: relative; overflow: hidden; background-color: #eff6fb; padding: 1em; }
				.page-index.subpages-bars img { width: 200px; float: left; margin: 0 2em 0 0; }
				.page-index.subpages-bars h3 { margin-top: 0; padding-right: 100px; }
				.page-index.subpages-bars .page-excerpt { padding-right: 100px; }
				.page-index.subpages-bars .index-btn-go { background-color: #dfebf5; color: #444; text-decoration: none; position: absolute; right: 0; top: 0; bottom: 0; padding: 0 1em; display: inline-grid; align-items: center; }
					.page-index.subpages-bars .index-btn-go .icon { fill: #5082a9; width: 30px; vertical-align: middle; }

	/*
	Page template: page-template-masonry
	Post template: page-template-masonry
	*/
	.page-template-masonry .content-width.main-content,
	.post-template-masonry .content-width.main-content { grid-template-columns: 1fr; }

	/* Featured posts */
	.featured { /* border-top: 1px solid #ddd; */ margin: 50px; padding: 25px 0; position: relative; text-align: center; }
		.featured ul { overflow: hidden; }
			/* Columns */
			/* #main-featured .featured ul { margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); grid-gap: 2em; } */
			/* Rows */
			#main-featured .featured ul { margin: 0; display: grid; grid-template-columns: repeat(1, 1fr); grid-gap: 2em; }
				.featured .featured-thumb {}
				.featured .featured-content-wrapper {}
			.featured li { display: inline-block; vertical-align: top; margin: 0 0 35px; padding: 1%; text-align: left; width: 20%; }
				.featured li:hover { background-color: #f6f6f6; }
				#main-featured .featured li:hover { background: none; }
				.featured .featured-thumb a { display: block; }
					.featured .attachment-thumbnail { display: block; margin-bottom: 10px; max-width: 100%; width: 100%; border-radius: 10px; }
				.featured h3 { font-family: inherit; font-size: 1.3em; line-height: 1.2em; margin: 0; text-align: left; }
				.featured span.the_date { font-size: .9em; opacity: .6; }
				.featured li a { text-decoration: none; color: #444; display: block; }
				.featured-excerpt { font-size: 1em; line-height: 1.5em; margin: 1em 0; }
					.featured-excerpt-text, .featured-excerpt-text p { display: inline; }
					.featured-excerpt .excerpt-readmore { margin: 1em 0 0; }
						.featured-excerpt .readmore { background-color: var(--brandcolor_main); padding: .3em .6em; display: inline-block; border-radius: 4px; }
						.featured-excerpt .readmore, .featured-excerpt .readmore:hover { color: #fff; }
				.featured-details { font-size: 11px; line-height: 1.2em; margin: 0 15px; color: #888; }
					.featured-details span { display: block; }
					.featured .featured-details a { text-decoration: underline; }
				.featured-price { border: 1px solid; display: inline-block; font-size: .8em; }
					.featured-price a { display: block; padding: 5px 10px; }
					.featured .featured-price a:hover { background-color: #333; color: #eee; text-decoration: none; }

			/* Hovers */
			.featured .featured-thumb a:hover { opacity: .7; }
			.featured li a:hover { color: #29527b; }
/*
			.featured .featured-thumb { position: relative; }
			.featured .featured-thumb a:before { display: block; box-shadow: 0 0 0 0 #fff inset; content: ""; width: 100%; height: 100%; position: absolute; top: 0; left: 0; -webkit-transition: all .2s; -moz-transition: all .2s; -o-transition: all .2s; transition: all .2s; }
			.featured .featured-thumb a:hover:before { box-shadow: 0 0 0 10px rgba(255,255,255,.5) inset; }
*/

	/* Featured projects */
	.fprojects {}
		.fprojects ul.projects-index { display: grid; grid-template-columns: repeat(5,1fr); grid-gap: 2px; }
			.fprojects li { position: relative; }
			.fprojects li:first-child { grid-row: 1/3; grid-column: 1/3; }
			.fprojects li::after { position: absolute; content: ""; background-color: rgba(2,2,2,.6); top: 0; bottom: 0; left: 0; right: 0; }
			.fprojects img { display: block; width: 100%; }
			.fprojects .project-title { position: absolute; z-index: 9; left: 50%; top: 50%; font-size: 1.6em; transform: translate(-50%,-50%); text-align: center; line-height: 1.3em; width: 100%; height: 100%; }
				.fprojects .project-title a { text-decoration: none; font-weight: 700; color: #fff; display: inline-grid; align-content: center; padding: 1em; height: 100%; width: 100%; }
				.fprojects .project-title a:hover { opacity: .6; }

	#main-featured { clear: both; margin: 3em auto 5em; }
		#main-featured h4 { color: #555; font-size: 2em; font-weight: bold; /* letter-spacing: 4px; margin-bottom: -9px; */ text-align: center; /* text-transform: uppercase; */ font-family: "PT Sans Narrow", sans-serif; }
		#main-featured h4 span { /* background-color: #fff; padding: 0 15px; position: relative; z-index: 1; */ }
		#main-featured .featured { /* margin: 0; */ margin: 0 auto; width: 70%; }
		/* Columns */
		/* #main-featured .featured li { margin: 0; display: block; padding: 0; width: auto; } */
		/* Rows */
		#main-featured .featured li { margin: 0; display: grid; padding: 0 0 1em; width: auto; grid-template-columns: 1fr 5fr; grid-gap: 1.5em; border-bottom: 1px solid #ddd; }
			#main-featured .featured-details span { display: inline; }
			#main-featured .featured-details span:first-child:after { content: " | "; }
		#main-featured  a.view_all_posts { text-align: center; display: block; font-size: .8em; font-weight: bold; }

	/* Google Maps */
	#map_canvas { width: 100%; height: 350px; margin: 10px 0; }
		#map_canvas img { max-width: none; }
		#map_canvas .maphtml { width: 180px; height: 180px; text-align: left; font-size: 1em; line-height: 1.2em; }
			.maphtml img { display: block; width: 180px; height: auto; margin: 0 0 5px; }

	/* Archives, blog, search and error-404 */
	.archive .content-width.main-content { grid-template-columns: 1fr; }
	.blog .site-main,
	.post-type-archive-producto .product-archive-container { display: grid; grid-gap: 2em; }
	.blog .site-main { /* grid-template-columns: repeat(3,1fr); */ }
	.post-type-archive-producto .product-archive-container { grid-template-columns: repeat(4,1fr); }
	.archive .page-header, .search .page-header, .error-404 .page-header { border: none; margin-bottom: 60px; background-color: #f2f5fc; padding: 4em 3em; /* background-image: url('img/material-escolar-04.jpg'); background-position: 0; background-repeat: no-repeat; background-size: contain; */ }
		.article-wrapper, .blog .site-main { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 2em; margin-bottom: 5em; }
			.hentry .attachment-thumbnail { float: right; margin: 0 0 .5em 2em; display: block; }
			.article-wrapper .hentry:first-child,
			.blog .site-main .hentry:first-child { grid-column: 1/3; font-size: 1.3em; background-color: #07e8e9; padding: 2em; color: #555; border: none; border-radius: 15px; }
				.article-wrapper .hentry:first-child .attachment-thumbnail,
				.blog .site-main .hentry:first-child .attachment-thumbnail { width: 300px; margin-bottom: 0; }
				.article-wrapper .hentry:first-child .entry-title a,
				.blog .site-main .hentry:first-child .entry-title a,
				.article-wrapper .hentry:first-child .entry-meta,
				.article-wrapper .hentry:first-child .entry-meta a { color: #555; }
				.article-wrapper .hentry:first-child .entry-meta { opacity: .6; }

				.article-wrapper .attachment-thumbnail,
				.blog .site-main .attachment-thumbnail { /* width: 150px; */ }
		.archive .page-title, .search .page-title, .error-404 .page-title { font-weight: normal; margin: 0; letter-spacing: 10px; font-size: 1.3em; line-height: 1.3em; }
		.taxonomy-description { color: #999; font-size: 1.5em; margin: 1em 0 4em; }
		.blog .hentry, .archive .hentry, .search .hentry { margin-bottom: 0; padding: 0 0 2em; /* background-color: #f5f5f5; border-left: 3px solid #ddd; */ border-bottom: 1px solid #333; }
		.search .hentry { padding: 0 0 2em; }
		.archive .hentry { /* margin-bottom: 2em; */ overflow: hidden; }
		.blog .entry-title, .archive .entry-title, .search .entry-title { clear: none; font-size: 2em; line-height: 1em; margin: 0 0 .2em; }
		.entry-summary { font-size: 1em; line-height: 1.5em; }
			.blog .entry-summary, .archive .entry-summary, .search .entry-summary { margin-top: 1.5em; }
			.blog .entry-summary p:last-child,  .archive .entry-summary p:last-child, .search .entry-summary p:last-child { margin-bottom: 0; }
		/* SEARCH */
		.search .page-title, .no-results .page-title, .error-404 .page-title { letter-spacing: 2px; }
		.search .page-title span { color: #E08020; font-style: italic; }
		.search .search-form, .no-results .search-form { /* position: relative; text-align: center; */ }
		.search .search-form .search-field, .no-results .search-form .search-field, .search .search-form .search-submit, .no-results .search-form .search-submit { border-radius: 0; font-size: 1.2em; padding: 1em 1.5em; }
		/* 404 */
		.error404 .page-content { font-size: 1.6em; text-align: center; }
			.error-404 .widget_recent_entries h2 { font: 1.4em/1.2em 'Open Sans',sans-serif; margin: 50px 0 20px; }
			.error404 .footer-c2a { display: none; }
			.error404 .page-title { border: none !important; text-align: center; padding: 0 !important; }

	/* Miscelaneous */
	#contacto {}
	.footer-contact { width: 70%; margin: 0 auto 2em; word-wrap: break-word; }
		.footer-contact .footer-contact-title { text-align: center; font-family: "PT Sans Narrow"; font-size: 2.5em; text-transform: uppercase; margin-bottom: .5em; color: var(--brandcolor_main); }
		.footer-contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 3em; background-color: #07e8e960; padding: 2em; border-radius: 15px; }
		.footer-contact input[type="text"],
		.footer-contact input[type="email"],
		.footer-contact input[type="date"] { width: 100%; font-size: 1.5em; padding: .2em .5em; }
		.footer-contact input[type="date"] { font-size: 1.3em; }
		.footer-contact textarea { font-size: 1.1em; line-height: 1.3em; padding: .5em; }
		.footer-contact .wpcf7-submit { border: none; box-shadow: none; background-color: var(--brandcolor_main); color: #fff; padding: 1em 2em; width: 100%; text-shadow: 0 0 BLACK; font-weight: bold; font-size: .8em; }
		.footer-contact label { font-size: .8em; }
		.footer-contact-form .wpcf7-form p { margin-bottom: 0.6em; }
		.footer-contact .cols-2 { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 1em; }
		.footer-contact .wpcf7-list-item { margin: 0; }

	a.post-edit-link { color: #c00; }
	.post-password-form p:last-child { text-align: center; }
	.legal-notice { color: #888; font-size: .75em; line-height: 1.4em; margin: 25px 0; }
	.share-post { clear: both; background-color: #F5F5F5; margin-top: 3em; margin-bottom: 2em; padding: 1em; }
		.share-post iframe { margin: 0; }

		/* Breadcrumb trail */
		.breadcrumb-trail { color: #999; font-size: .66em; margin: 0 0 20px; background-color: rgba(4,120,50,.1); padding: 10px 20px; text-transform: uppercase; }
			.page .breadcrumb-trail { margin-bottom: 0; }
			.breadcrumb-trail .trail-item.trail-end span { display: inline-block; margin-top: -3px; max-width: 250px; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; white-space: nowrap; }
			.breadcrumb-trail a { color: #444; }
			.breadcrumb-trail a:hover { color: #29527b; }

		/* Share buttons */
		.share-buttons { /* background-color: #f3f3f3; */ color: #444; font-size: .9em; margin: 0; /* padding: 3em 0; */ text-align: center; text-transform: uppercase; }
			.share-buttons .contact-info { margin-top: 3em; }
			.share-buttons h3 { font-size: 1em; font-weight: bold; letter-spacing: 2px; margin: 0 0 20px; text-transform: uppercase; padding-right: 15px; }
			.share-buttons h3, .share-buttons ul { display: inline; }
			.share-buttons li { display: inline; }
			.share-buttons a { background-color: rgba(250,250,250,.2); border-radius: 4px; margin: 3px; padding: 6px 20px; text-decoration: none; }
			.share-buttons a, .share-buttons a:hover { color: #333; font-weight: bold; }
			.share-buttons .share-fb a:hover { background-color: #3b5998; }
			.share-buttons .share-tw a:hover { background-color: #55acee; }
			.share-buttons .share-pt a:hover { background-color: #bd081c; }
			.share-buttons .share-em a:hover { background-color: #111; }
		.share-buttons.contact { text-transform: none; }
			.share-buttons.contact li { font-size: .8em; }
				.share-buttons.contact a { padding: 0 0 0 .5em; }

		/* Section footer C2A */
		.section-footer-c2a { /* display: grid; grid-template-columns: 1fr 1fr 1fr; grid-gap: 1px; */ margin: 0 0 5em; overflow: hidden; }
			.section-footer-c2a.foocount-1 { grid-template-columns: 1fr; grid-gap: 0; }
			.section-footer-c2a.foocount-2 { grid-template-columns: 1fr 1fr; grid-gap: 1px; }
			.section-footer-c2a.foocount-4 { grid-template-columns: repeat(4,1fr); grid-gap: 1px; }
			.section-footer-c2a div { position: relative; z-index: 9; width: 100%; }
			.footer-c2a { font-size: 1.2em; line-height: 1.4em; margin: 0; padding: 2em; text-align: center; /* background-color: #444; color: #fff; */ background-repeat: no-repeat; background-size: cover; font-style: italic; }
			.footer-c2a a { color: #aaa; }
			/* .footer-c2a::after { content: ""; position: absolute; background-color: rgba(2,2,2,.5); left: 0; right: 0; top: 0; bottom: 0; } */
			.footer-c2a h1, .footer-c2a h2, .footer-c2a h3, .footer-c2a h4, .footer-c2a h5, .footer-c2a h6 { font-size: 1.3em; line-height: 1.1em; margin: 0 0 1em; font-weight: bold; }
			.two-cols-c2a img { display: block; width: 100%; }
			.footer-c2a .footer-c2a-btn { display: inline-block; text-decoration: none; background-color: var(--brandcolor_main); padding: var(--btn_style_padding); border-radius: var(--btn_style_radius); font-size: .8em; color: #fff; font-weight: bold; }

			/* Quotes slide */
			.footer-c2a { color: #444; font-style: italic; }
			.c2a-wrapper { width: 50%; margin: 0 auto; padding: 0 20%; }
			h3.quoteslides_title { text-align: center; padding: 0 1em 0; margin: 1em 0 0; text-transform: uppercase; font-size: .9em; font-weight: bold; }

		/* Sitemap lists */
		.links-list li { border-bottom: 1px solid #eee; padding: 5px 0; }
			.links-list .children { margin: 0.5em 2em 1em 3em; list-style: square; }
				.links-list .children li:last-child { border: none; }
			.links-list .faded, .links-list .faded a { color: #bbb; }
			.links-list .faded a:hover { color: #ff4800; }

	/* Cookie warning */
	#cookie-warning { background-color: #d93d3d; bottom: 0; display: none; font-size: .9em; left: 0; line-height: 1.3em; padding: 1em; position: fixed; right: 0; text-align: center; z-index: 999; /* border-top: 1px solid #ccc; */ }
		#cookie-warning, a.info-cookies, a.accept-cookies, a.accept-cookies:visited { color: #fff; }
		a.accept-cookies, a.accept-cookies:visited { font-weight: bold; text-decoration: none; text-transform: uppercase; }

	/* Pagination */
	#pagination { clear: both; font-size: .75em; font-weight: bold; margin: 60px 0 10px; text-transform: uppercase; }
		ul.page-numbers { margin: 35px 0 75px; text-align: center; font-size: 1.1em; }
		ul.page-numbers li { display: inline; border-right: 1px solid #aaa; }
		ul.page-numbers li:last-child { border: none; }
		ul.page-numbers li a.page-numbers, ul.page-numbers li .dots { padding: 10px; text-decoration: none; }
		ul.page-numbers li span.current { padding: 10px; color: #bbb; }
		ul.page-numbers li a.prev {}
		ul.page-numbers li a.next {}

/*
============================================================
 Plugins
============================================================
*/

/* Morphext: https://morphext.fyianlai.com/ */
.morphext > .animated { display: inline-block; }

/* Widget: WP Instagram Widget */
.widget .instagram-pics { list-style: none; margin: 0; padding: 0; }
	.widget .instagram-pics > li { float: left; padding: .6%; width: 33.33%; }
	.widget .instagram-pics img { display: block; }
	.widget.null-instagram-feed .clear { clear: both; }
	.widget.null-instagram-feed .clear a { display: block; margin: 1% 0 0; text-align: center; }
	.widget .instagram-pics a:hover { opacity: .65; }

/* Widget: Simple Social Icons */
.widget.simple-social-icons { background-color: #f2f2f2; }
	.widget.simple-social-icons ul li a,
	.widget.simple-social-icons ul li a:hover { padding: 4px; }

/* Shared Counts */
.shared-counts-wrap { margin-top: 5em; }

/* Accordion Shortcodes */
.accordion { margin-bottom: 2em; }
	.accordion br { display: block; height: 0; }
	.entry-content .accordion-title { margin: 0 0 .5em; padding: .5em .75em; cursor: pointer; background-color: #eee; font-size: 1.2em; }
	.accordion-title:hover, .accordion-title.open { background-color: #777; color: #eee; }
	.accordion-title::before { content: " + "; font-size: .9em; background-color: #444; color: #fafafa; float: left; padding: 0 .3em; margin-right: .5em; width: 1.3em; text-align: center; }
	.accordion-title.open::before { content: " - "; }
	.accordion-title:first-child { }
	.accordion-title.open { /* cursor: default; */ }
	.accordion-content { padding: 1em 1.5em 1.5em; }

/* Featured videos */
#featured-video { width: 100%; margin: 0; padding: 0; }
	#featured-video + #slider-container { margin-top: 1em; }
	#slider-container + #featured-video { margin-top: 1em; }
	#featured-video .fluidvids { margin-bottom: 0; }
	#featured-video .internal-video-file { display: block; }
	.video-grid { display: grid; grid-gap: 1.2em; width: 90%; margin: 0 auto 1.2em; grid-template-columns: 1fr 1fr; }
	#page.slideshow-margins #featured-video .video-grid { width: 100%; }

/* Slideshow (Rslides) */
#slider-container { position: relative; background-color: #eee; z-index: 9; margin-top: 0; margin-bottom: 0; }
	#slider-container, .rslides, .rslides li { /* height: 600px; */ }
	#slider-container.empty-slideshow { height: 0; }
		.entry-header-custom { color: #f5f5f5; margin: 0 auto; width: 80%; padding: 2em; }
		#slider-container.empty-slideshow .entry-title-custom { font: 700 4.2em/1em "PT Sans Narrow",sans-serif; letter-spacing: 1px; text-transform: uppercase; margin: 0; }
		#slider-container.empty-slideshow .entry-subtitle-custom { font-size: 1em; font-weight: bold; letter-spacing: 3px; text-transform: uppercase; margin: 0; }
	.rslides li.has_caption::after { background-color: rgba(2,2,2,.4); bottom: 0; content: ""; display: block; left: 0; position: absolute; right: 0; top: 0; z-index: 100; }
	/* .rslides li.has_caption::after { display: none; } */

	.rslides { position: relative; overflow: hidden; width: 100%; }
		.rslides li { -webkit-backface-visibility: hidden; position: absolute; display: none; width: 100%; left: 0; top: 0; }
		.rslides li:first-child { position: relative; display: block; float: left; }
		.rslides img { display: block; margin: 0 auto; float: none; width: 100%; /* transform: translate(0, -20%); */ }

		/* Captions: */
		.rslides .caption-wrapper { margin: 0; position: absolute; z-index: 1000; width: 62%; }
			.rslides .caption-title { color: #fff; font: 700 3em/.95em "PT Sans Narrow",sans-serif; margin: 0 0 .3em; }
			.rslides .caption-subtitle { font-weight: 400; font-size: 1.3em; line-height: 1.45em; margin: 0 0 1em; color: #fff; }
			.rslides .caption-wrapper .caption-btn { background-color: var(--brandcolor_secondary); text-decoration: none; display: inline-block; padding: var(--btn_style_padding); border-radius: var(--btn_style_radius); color: #222; font-weight: 700; font-size: .9em; animation: pulse 1s infinite; }
			@keyframes pulse {
				0% { transform: scale(1); }
				50% { transform: scale(1.05); }
				100% { transform: scale(1); }
			}

			/* Left bottom */
			.rslides .caption-wrapper.align-1 { left: 5%; right: auto; bottom: 10%; text-align: left; }

			/* Right bottom */
			.rslides .caption-wrapper.align-2 { right: 5%; left: auto; bottom: 10%; text-align: right; }

			/* Center bottom */
			.rslides .caption-wrapper.align-3 { left: 50%; bottom: 10%; transform: translateX(-50%); text-align: center; width: 65%; }

			/* Center */
			.rslides .caption-wrapper.align-4 { left: 50%; top: 50%; transform: translate(-50%,-50%); text-align: center; }

		/* Slides pagination */
		.rslides_tabs { position: absolute; left: 0; bottom: 1em; list-style: none; margin: 0; padding: 0 1em .5em 0; 	z-index: 1001; text-align: right; width: 100%; }
			.rslides_tabs li { display: inline-block; margin: 0 5px; }
			.rslides_tabs a { display: block; background-color: #fff; width: 1em; height: 1em; overflow: hidden; text-indent: 100%; white-space: nowrap; outline: none; }
			.rslides_tabs .rslides_here a, .rslides_tabs a:hover { background-color: var(--brandcolor_secondary); }

		/* Slider navigation */
		.rslides_nav { display: block; height: 60px; margin-top: -50px; position: absolute; top: 50%; width: 60px; z-index: 100; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; font-style: normal; font-variant: normal; text-rendering: auto; font-weight: 900; overflow: hidden; color: #fff; text-decoration: none; }
			.rslides_nav:hover, .rslides_nav:focus { color: #fff; }
			.rslides_nav:hover { opacity: .5; }
			.rslides_nav.prev { left: 2%; }
			.rslides_nav.next { right: 2%; }
			.rslides_nav.prev::before, .rslides_nav.next::before { font-family: "Font Awesome 5 Free"; display: block; width: 56px; height: 60px; font-size: 3.5em; text-align: center; line-height: 1.12em; }
			.rslides_nav.prev::before { content: "\f104"; }
			.rslides_nav.next::before { content: "\f105"; }

/* SimpleLightbox */
.sl-wrapper .sl-close,.sl-wrapper .sl-navigation button{height:44px;line-height:44px;font-family:Arial,Baskerville,monospace;box-shadow:none;text-shadow:none}.sl-wrapper .sl-close:focus,.sl-wrapper .sl-navigation button:focus{outline:0}body.hidden-scroll{overflow:hidden}.sl-overlay{position:fixed;left:0;right:0;top:0;bottom:0;background:#000;opacity:.8;display:none;z-index:9999}.sl-wrapper .sl-close,.sl-wrapper .sl-counter{top:30px;display:none;color:#fff;position:fixed}.sl-wrapper{z-index:1040}.sl-wrapper button{border:0;background:0 0;font-size:28px;padding:0;cursor:pointer}.sl-wrapper button:hover{opacity:.7}.sl-wrapper .sl-close{color:#fff;right:30px;z-index:10060;margin-top:-14px;margin-right:-14px;width:44px;font-size:3rem}.sl-wrapper .sl-counter{left:30px;z-index:1060;font-size:1rem}.sl-wrapper .sl-navigation{width:100%;display:none}.sl-wrapper .sl-navigation button{color:#fff;position:fixed;top:50%;margin-top:-22px;width:22px;text-align:center;display:block;z-index:10060}.sl-wrapper .sl-navigation button.sl-next{right:5px;font-size:2rem}.sl-wrapper .sl-navigation button.sl-prev{left:5px;font-size:2rem}@media (min-width:35.5em){.sl-wrapper .sl-navigation button{width:44px}.sl-wrapper .sl-navigation button.sl-next{right:10px;font-size:3rem}.sl-wrapper .sl-navigation button.sl-prev{left:10px;font-size:3rem}.sl-wrapper .sl-image img{border:0}}@media (min-width:50em){.sl-wrapper .sl-navigation button{width:44px}.sl-wrapper .sl-navigation button.sl-next{right:20px;font-size:3rem}.sl-wrapper .sl-navigation button.sl-prev{left:20px;font-size:3rem}.sl-wrapper .sl-image img{border:0}}.sl-wrapper .sl-image{position:fixed;-ms-touch-action:none;touch-action:none;z-index:10000}.sl-wrapper .sl-image img{margin:0;padding:0;display:block;border:0;width:100%;height:auto}.sl-wrapper .sl-image iframe{background:#000;border:0}@media (min-width:35.5em){.sl-wrapper .sl-image iframe{border:0}}@media (min-width:50em){.sl-wrapper .sl-image iframe{border:0}}.sl-wrapper .sl-image .sl-caption{display:none;padding:10px;color:#fff;background:rgba(0,0,0,.8);font-size:1rem;position:absolute;bottom:0;left:0;right:0}.sl-wrapper .sl-image .sl-caption.pos-top{bottom:auto;top:0}.sl-wrapper .sl-image .sl-caption.pos-outside{bottom:auto}.sl-wrapper .sl-image .sl-download{display:none;position:absolute;bottom:5px;right:5px;color:#fff;z-index:1060}.sl-spinner{display:none;border:5px solid #333;border-radius:40px;height:40px;left:50%;margin:-20px 0 0 -20px;opacity:0;position:fixed;top:50%;width:40px;z-index:1007;-webkit-animation:pulsate 1s ease-out infinite;-moz-animation:pulsate 1s ease-out infinite;-ms-animation:pulsate 1s ease-out infinite;-o-animation:pulsate 1s ease-out infinite;animation:pulsate 1s ease-out infinite}.sl-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.sl-transition{transition:-moz-transform ease .2s;transition:-ms-transform ease .2s;transition:-o-transform ease .2s;transition:-webkit-transform ease .2s;transition:transform ease .2s}@-webkit-keyframes pulsate{0%{transform:scale(.1);opacity:0}50%{opacity:1}100%{transform:scale(1.2);opacity:0}}@keyframes pulsate{0%{transform:scale(.1);opacity:0}50%{opacity:1}100%{transform:scale(1.2);opacity:0}}@-moz-keyframes pulsate{0%{transform:scale(.1);opacity:0}50%{opacity:1}100%{transform:scale(1.2);opacity:0}}@-o-keyframes pulsate{0%{transform:scale(.1);opacity:0}50%{opacity:1}100%{transform:scale(1.2);opacity:0}}@-ms-keyframes pulsate{0%,100%{opacity:0}0%{transform:scale(.1)}50%{opacity:1}100%{transform:scale(1.2)}}

/* Contact form 7 */
.entry-content div.wpcf7 { margin: 45px 0; font-size: .8em; color: #888; }
	.entry-content div.wpcf7 input { padding: 8px 10px; border-radius: 0; font-size: 1.3em; color: #999; max-width: 100%; }
	.entry-content div.wpcf7 input:focus, .entry-content div.wpcf7 textarea:focus { border: 1px solid #333; color: #444; }
	.entry-content div.wpcf7 textarea { padding: 10px; border-radius: 0; font-size: 1.3em; max-width: 100%; }
	.entry-content div.wpcf7 input[type="submit"] { padding: 10px 25px; color: #555; }
	.entry-content div.wpcf7 label .req { color: #a00; }
	.entry-content div.wpcf7-validation-errors, .entry-content div.wpcf7-mail-sent-ng { background-color: #a00; }
	.entry-content div.wpcf7-mail-sent-ok { background-color: #398F14; }
	.entry-content div.wpcf7-validation-errors, .entry-content div.wpcf7-mail-sent-ng, .entry-content div.wpcf7-mail-sent-ok { border: none; color: #fff; font-size: 1.2em; line-height: 1.3em; margin: 0; padding: 15px; font-weight: bold; }
	.entry-content div.wpcf7 input[type="checkbox"] { margin-right: 5px; }
	.entry-content div.wpcf7 p.form-title-label { margin: 0; }
	.entry-content span.wpcf7-not-valid-tip { font-size: 11px; }
	div.wpcf7 .wpcf7-form.invalid .wpcf7-response-output,
	div.wpcf7 .wpcf7-form.sent .wpcf7-response-output { padding: 1em 1.5em; margin: 1em 0; border: none; color: #fff; font-weight: bold; font-size: 1.2em; }
	div.wpcf7 .wpcf7-form.invalid .wpcf7-response-output { background-color: #cd1c1c; }
	div.wpcf7 .wpcf7-form.sent .wpcf7-response-output { background-color: #39ac14; }
	/* reCaptcha */
	.grecaptcha-badge { visibility: collapse !important; }
	.recaptcha-warning { font-size: .85em; margin-top: -1.5em; color: #aaa; }
		.recaptcha-warning a { color: #369 !important; }

/*
============================================================
 Media queries (RWD)
============================================================
*/

@media only screen and (min-width: 1449px) { /* 1449 and up */
	.masonry-gallery .site-main .wp-block-gallery { column-count: 3; }
}

@media only screen and (max-width: 1450px) { /* 1300 and less */
	#site-navigation, .rslides .caption-wrapper .caption-btn, .footer-c2a { font-size: 1em; }
	.main-navigation a { padding-left: .7em; }
	#slider-container .caption-wrapper, .featured-col2, .infopanels .infopanel { font-size: .8em; }
	.link-grid .gridlinks, .gridblocks { font-size: .9em; }
	.homepage-intro { font-size: 1.4em; }
}

@media only screen and (max-width: 1200px) { /* 1200 and less */
	/* #site-navigation { position: relative; transform: none; } */
	#cookie-warning { font-size: .7em; }
}

@media only screen and (max-width: 1080px) {

	/* Site header */
	.topbar { text-align: center; font-size: .75em; }
		.topbar .site-intro { /* display: none; */ }
		.topbar .navigation-top { float: none; margin-top: 0; }
		.topbar .navigation-top .lang-item a { border: none; }
		.topbar .social-links { position: static; margin-top: 1.5em; }
	#site-navigation, .footer-navigation { /* font-size: 1.05em; */ }
		.main-navigation ul ul { top: 46px; }

	/* Site content */
	.rslides .caption-wrapper,
	.content-width.main-content { grid-template-columns: 65% 30%; }
	.page-featured { font-size: .9em; }
	.fprojects ul.projects-index { font-size: .8em; }

	/* Site footer */
	.footer-c2a { font-size: 1em; padding: 2em; }

}

@media only screen and (max-width: 1023px) {

	/* Site header */
	.site-branding { /* max-width: 65%; */ }
	#site-navigation { font-size: 1em; border: none; position: absolute; right: 0; top: 50%; transform: translate(0,-50%); margin: 0; }
		.main-navigation .menu,
		.main-navigation .menu > li > .sub-menu::before, .site-description, .main-navigation.toggled li.menu-item.search { display: none; }
		.main-navigation ul ul li { font-size: 1em; }
		.main-navigation.toggled .sub-menu .sub-menu { padding-left: 1em; }

	/* Site content */
	.featured-title { font-size: 2.3em; }
	.rslides .caption-wrapper { max-width: 90%; font-size: .7em; }
		.rslides .caption-wrapper .caption-btn { padding: .5em 1em; border-radius: 5px; font-size: 1.3em; }
	#primary { width: auto; }
	.entry-content { font-size: 1.1em; line-height: 1.4em; }
		.entry-title { font-size: 3em; }
	.infopanels { font-size: .8em; }
		.infopanels .infopanels-intro { font-size: 1.5em; }
	.hentry .attachment-thumbnail { width: 150px; margin-bottom: 1em; }
	.home-feat-img { margin-left: -9%; }
	.share-post, .share-post iframe[style], .fb-like, .fb-like span[style] { width: 100% !important; overflow: hidden; }
	.masonry-gallery .site-main .wp-block-gallery { column-count: 3; }

		/* Gridblocks */
		.gridblocks { grid-gap: 0.6em; }
			.gridblocks.gbcenter { margin-top: -25px; }
			.gridblocks > li { padding: 1em; }
			.gb-icon { font-size: 2em; }
			.gb-part2 { font-size: .9em; }
			.gbtitle { font-size: 1.2em; }
			.gridblocks.gbcount-6 { grid-template-columns: repeat(3,1fr); }

	/* Site footer */
	.fprojects ul.projects-index { font-size: .7em; }

}

@media only screen and (max-width: 767px) {

	/* Site header */
	.site-header > .content-width { /* position: static; */ }
		.site-header { padding-top: 2em; padding-bottom: 2em; }
		.site-branding, .site-title a { width: auto; height: auto; }
		.site-branding { max-width: 45%; }
			.custom-logo-link img { width: auto; }
			.site-description { /* display: block; */ }
		#site-navigation { }
			.main-navigation li { display: block; margin-left: 0; }
		.site-header.overslideshow { position: static; }
			.site-header.overslideshow button.menu-toggle { color: inherit; }

	/* Site content */
	.home.page .entry-content { font-size: 1em; }
	.home #primary { width: 90%; }
	.content-width.main-content, .infopanels .infopanel, .fprojects ul.projects-index, .link-grid, .link-grid .gridlinks, #main-featured .featured ul { display: block; }
	.link-grid .verticalBlock img { width: 100%; }
	.infopanel .ip-part2 { padding-left: 0; padding-right: 0; }
	.fprojects li { margin-bottom: 1px; }
	.content-width.main-content { margin-top: 2em; }
	#primary { margin-bottom: 2em; }
	#primary, #secondary { width: auto; float: none; margin: 0 auto; }
	#secondary { margin-top: 2em; }
	.site-content { margin-left: 0; }
	.site-main { margin-bottom: 0; }
	.link-grid .verticalBlock, .link-grid .gridlinks li { margin-bottom: 1px; }
	.homepage-intro { padding-top: 2em; padding-bottom: 2em; background-image: none; }
		.homepage-intro .intro-title, .homepage-intro .intro-descr { padding-left: 0; }

		/* Page featured (2 cols) */
		.page-featured { display: block; }
			.featured-col2, .img-style-irregular .featured-col2 { padding: 5%; }
			.featured-title { font-size: 1.8em; }
			.img-style-irregular .featured-col1 { margin-left: 5%; margin-right: 5%; }

		/* Slideshow */
		#slider-container { width: auto; margin-top: 0; }
			#slider-container, .rslides, .rslides li { /* height: 300px; */ height: auto; }
			.rslides li { top: 0; }
			.rslides .caption-wrapper { background-color: #333; border: none; border-radius: 0; color: #eee; font-size: .5em !important; font-weight: normal; text-align: left !important; letter-spacing: 0; max-width: none; padding: 3em 5%; position: static; text-transform: none; transform: none !important; width: 100%; }
			.rslides .caption-title { font-size: 2.5em; }
			.rslides li::after, .rslides li.has_caption::after { display: none; }
			#imagelightbox-nav, #imagelightbox-caption, #imglightbox-prev:before, #imglightbox-next:before { display: none; }
			#slider-container.empty-slideshow { height: auto; margin-bottom: 2em; }
			.rslides .caption-wrapper { width: auto !important; max-width: 100%; left: 0 !important; top: auto !important; bottom: 0 !important; right: 0 !important; transform: translate(0, 0) !important; font-size: .6em !important; /* padding: 2em; */ }
				.rslides .caption-wrapper.align-3, .rslides .caption-wrapper.align-4 { /* width: 90% !important; */ }
			.rslides .caption-wrapper.align-1 { right: 5%; }
			.rslides .caption-wrapper.align-2 { left: 5%; }

		/* Entry content */
		.entry-content { font-size: 1em; }
			.entry-header { padding-top: 25px; text-align: center; font-size: .9em; }
			.entry-title { font-size: 2.5em; }
			.entry-content .alignright,
			.entry-content .alignleft { float: none; margin: .8em 0 1.5em; width: 100%; text-align: center; }

		/* Galeries */
		.gallery-columns-4 .gallery-item,
		.gallery-columns-5 .gallery-item,
		.gallery-columns-6 .gallery-item,
		.gallery-columns-7 .gallery-item,
		.gallery-columns-8 .gallery-item,
		.gallery-columns-9 .gallery-item { max-width: 32.3%; }
		.gallery.gallery-columns-3.gallery-size-medium,
		.gallery.gallery-columns-4.gallery-size-medium,
		.gallery.gallery-columns-5.gallery-size-medium,
		.gallery.gallery-columns-6.gallery-size-medium,
		.gallery.gallery-columns-7.gallery-size-medium,
		.gallery.gallery-columns-8.gallery-size-medium,
		.gallery.gallery-columns-9.gallery-size-medium { column-count: 2; }

		.sl-navigation { display: none !important; }
		.hentry .attachment-thumbnail { margin: 0 0 1em; max-width: none; float: none; }

		/* Homepage */
		.home.page #primary .entry-title { padding-top: 1em; }
		.home-feat-img { margin-bottom: 1em; margin-left: 0; }
			.home-feat-img img { border-radius: 0; }
		.homepage-intro .intro-descr { font-size: .8em; }
		.entry-subtitle { font-size: 1em; }

		/* Archives */
		.archive .page-title, .search .page-title, .error-404 .page-title { letter-spacing: 3px; padding: 1em; }
			.taxonomy-description { font-size: 1.1em; }
			.article-wrapper .hentry:first-child .attachment-thumbnail,
			.blog .site-main .hentry:first-child .attachment-thumbnail { width: 100%; margin-bottom: 1em; }
			.blog .entry-summary, .archive .entry-summary, .search .entry-summary { display: none; }
			.blog #primary { margin-top: 25px; }
			.blog .entry-header, .archive .entry-header { text-align: left; padding-top: 0; }
			.hentry { border: none !important; }
			.hentry .attachment-thumbnail { width: 100%; float: none; margin-left: 0; margin-right: 0; }
			.blog .hentry, .archive .hentry, .search .hentry { padding-bottom: 0; }

		/* Recent posts */
		#main-featured {  }
			#main-featured .featured { background: none; padding: 25px; }
			#main-featured .featured, #main-featured .featured ul { margin: 0; padding: 0; }
			#main-featured .featured li:last-child { /* display: none; */ }
			#main-featured h4 { letter-spacing: 3px; margin-bottom: 2.5em; border-bottom: 1px solid; padding-bottom: .5em; }
		.featured { margin: 25px; padding: 25px 0; }
			.featured li { width: auto; }
			.featured h3 { font-size: .9em; }
			.featured .attachment-thumbnail { border-radius: 0; }
		/* Custom */
		#main-featured .featured { width: auto; }
			#main-featured .featured li { display: block; }
			.featured h3 { font-size: 1.2em; font-weight: bold; }
			.featured-excerpt { font-size: .8em; }

		/* Page templates */
		.page-template-title-bar .titlemain { width: auto; float: none; margin-right: 0; }
		.page-template-title-bar .titlebtn { width: 80%; float: none; margin: 2em auto 0; }
		.page-template-simple .content-width.main-content,
		.post-template-simple .content-width.main-content { padding: 0; }
		.page-index { margin-bottom: 15px; grid-gap: 1em; }
			.page-index.subpages-bars h3 { padding-right: 65px; }
			.page-index.subpages-bars img { width: 75%; float: none; margin: 0 0 .5em; }

		/* Gridblocks */
		.gridblocks, .gridblocks.forcerows > li { /* display: block; */ }
			.gridblocks.gbcenter { margin-top: 2em; }
			.gridblocks.img-in-background > li { padding: 2em; }
			.gridblocks > li { padding: 1em; font-size: .8em; margin-bottom: 1em; }
			.gridblocks.gbcount-1 > li { display: block !important; }
			.gridblocks.gbcount-1 .gb-part1 { margin-right: 0; margin-bottom: 1.5em; }
			.gridblocks.forcerows .gb-part1 { margin-right: 0; margin-bottom: 1em; }
			/* Custom */
			.custom-homeblock-subtitle { font-size: 1.1em; }
			.gb-wrapper { padding-top: 3em; margin-bottom: 1em; }
			.gbdescr { font-size: 1em; }
			.gb-part2 { font-size: 1.1em; }

		/* Other*/
		#primary .related .related-title { font-size: 1em; }
		.share-post, .share-post iframe[style], .fb-like, .fb-like span[style] { width: 100% !important; }
		/* Collapsible tables
		table, thead, tbody, th, td, tr { display: block; }
			table { padding: 0 !important; }
			thead tr { position: absolute; top: -9999px; left: -9999px; }
			tbody td::before { content: content: attr(data-th) ": "; font-weight: bold; }
		*/

	/* Site footer */
	.footer-contact { width: auto; }
		.footer-contact-wrapper { display: block; padding: 1em; }
		.footer-contact-content .wp-block-spacer { height: 0 !important; }
	.site-footer { text-align: center; }
		.site-footer .footer-navigation { margin-top: 3em; }
		.site-footer .menu li { display: block; margin-bottom: 2px; }
		.site-footer .menu a { background-color: rgba(255,255,255,.1); display: block; }
	.site-footer .site-info { padding-bottom: 10em; }

		/* Footer C2A & share btns */
		.section-footer-c2a { display: block; }
		.footer-c2a { padding: 1em; margin: 0 !important; font-size: 1em; }
		.footer-c2a div { float: none; padding: 1em; text-align: center; width: auto; }
		.footer-c2a.two-cols-c2a { display: block; /* border-bottom: 1px solid; */ }
		.share-buttons.contact a { padding: 0; }

		/* Cookies */
		a.accept-cookies, a.accept-cookies:visited { background-color: var(--brandcolor_secondary); color: #111; display: block; margin: 1em 0; padding: 1em; text-decoration: none; }

}

@media only screen and (max-width: 499px) {

	/* Site header */
	.site-branding { /* max-width: 65%; */ }

	/* Site content */
	.rslides_tabs, #primary .related small, .site-info .sep { display: none; }
	#main-featured h4 { letter-spacing: 0; margin-bottom: 1em; }
		#main-featured h4 span { background: none; padding: 0; }
	.recent-posts .attachment-thumbnail { float: none; margin: 0 0 15px; width: 100%; }
	.masonry-gallery .site-main .wp-block-gallery { column-count: 2; }

		/* Gridblocks */
		.gridblocks { grid-template-columns: repeat(2,1fr) !important; }

		/* Galeries */
		.gallery-columns-3 .gallery-item,
		.gallery-columns-4 .gallery-item,
		.gallery-columns-5 .gallery-item,
		.gallery-columns-6 .gallery-item,
		.gallery-columns-7 .gallery-item,
		.gallery-columns-8 .gallery-item,
		.gallery-columns-9 .gallery-item { max-width: 49%; }

		/* Related posts */
		#primary .related .related-title { margin-top: .6em; }

		/* Comments */
		.comments-title, #reply-title { font-size: 1.5em; padding: 3em .5em .5em; }
		.comments-title::before, #reply-title::before { font-size: 45px; top: 10px; }
		.comment-list .comment { padding: 1em; font-size: .9em; }
		.children { margin: 1em 0 1em 1em; }
		.comment-list .children .comment { border-left-width: 5px; }

	/* Site footer */
	.site-info a { background-color: #eee; border-radius: 3px; display: block; margin: 1em 0; padding: 1em; text-decoration: none; }
	.share-buttons { padding: 35px; }
		.share-buttons li, .share-buttons a { /* display: block; */ }
		.share-buttons a { padding: 10px 20px; border-radius: 0; }

}

@media only screen and (max-width: 367px) {

	.gridblocks, .footer-contact .cols-2 { display: block; }

}

/*
============================================================
 Print styles
============================================================
*/
@media print {
	* { background: transparent !important; color: #333 !important; text-shadow: none !important; }
	a, a:visited { color: #333 !important; text-decoration: underline; }
	p, h2, h3 { orphans: 3; widows: 3; }
	h2, h3 { page-break-after: avoid; }
	#site-navigation, #secondary, .site-footer, #slider-container, .share-post, .post-edit-link, .breadcrumbs { display: none; }
	#cookie-warning { display: none !important; }
	.site-header { position: static; text-align: center; }
		.site-branding { position: static;  width: auto; text-align: center; }
		.site-title { font-size: 1.6em; }
		.site-title a { background: none; color: #222; height: auto; overflow: inherit; text-indent: 0; width: auto; }
	#primary { float: none; margin: 50px auto; padding: 0; width: 85%; }
	.site-content { margin-left: 0; font-size: .8em; }
	.single .entry-footer { padding: 0; }
}