/*!
Theme Name: ms_respect
Theme URI: http://underscores.me/
Author: Mediascope Agency
Author URI: https://mediascopeagency.fi/
Description: Description
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ms_respect
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

ms_respect is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
	## Footer
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers. update
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}

html, body {
	min-width: 320px;
	margin-bottom: 0;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
	box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
	border-bottom: none; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */

legend {
	box-sizing: border-box; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box; /* 1 */
	padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
	display: none;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #000;
	font-family: 'Montserrat', sans-serif;
	font-size: 1rem;
	font-size: 17px;
	line-height: 1.5;
	font-weight: 300;
}

.page-template-template-contact #content {font-size: 16px;}

#colophon {
	font-size: 16px;
	font-weight: 300;
	line-height: 24px;
}

#masthead {
	color: #fff;
}

#primary-menu li a {
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
#primary-menu li ul li a {
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0.08em;
}
#primary-menu li ul li ul li a {
	font-size: 14px;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0.08em;
}

#primary-menu > li > a {
	height: 100%;
}

#hero-container {
	color: #fff;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
}

h2, h3, h4, h5, h6 {
	font-weight: 600;
}

#reference-list h2 {
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	line-height: 27px;
}

#reference-list h3, #reference-list h4, #reference-list h5,
#reference-list h6 {
	font-size: 18px;
	line-height: 26px;
	font-weight: 600;
}

#hero-container h1 {
	font-size: 57px;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	letter-spacing: 0.08em;
	margin-top: 0;
}

#content h1 {
	font-size: 32px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-top: 0;
	text-align: center;
}

.page-template-template-basic #content .bodytext h1,
.reference-template-default #content h1 {
	text-align: left;
	padding-right: 40px;
}
.reference-template-default #content .ref-story h1 {
	text-align: center;
}

.blogpost-template-default #content h1,
.newspost-template-default #content h1 {
	margin: 10px 0 14px;
}

.blogpost-template-default .bodytext h2, .blogpost-template-default .bodytext h3, .blogpost-template-default .bodytext h4, .blogpost-template-default .bodytext h5, .blogpost-template-default .bodytext h6,
.newspost-template-default .bodytext h2, .newspost-template-default .bodytext h3, .newspost-template-default .bodytext h4, .newspost-template-default .bodytext h5, .newspost-template-default .bodytext h6 {
	font-size: 18px;
	line-height: 20px;
}

#reference-list h2 {
	margin-top: 35px;
	margin-bottom: 0;
}
#reference-list h3 {
	margin-top: 30px;
	margin-bottom: 15px;
}

.page-template-template-basic .bodytext h3, .single-reference .container-fluid h3 {
		font-size: 18px;
}

#side-bar h3 {
	line-height: 28px;
}

.single-reference #side-bar h3 {
	text-transform: uppercase;
	font-size: 17px;
	font-weight: 700;
}

* .img-hl-content h3, * .img-hl-wrap.blogpost .img-hl-content h3.exception {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.img-hl-wrap-third {
	margin-bottom: 20px;
}

* .img-hl-wrap.blogpost .img-hl-content h3, * .img-hl-wrap.newspost .img-hl-content h3,
* .img-hl-wrap.refpost .img-hl-content h3, * .img-hl-wrap-third.blogpost .img-hl-content h3,
* .img-hl-wrap-third.newspost .img-hl-content h3, * .img-hl-wrap-third.refpost .img-hl-content h3 {
	letter-spacing: normal;
	text-transform: none;
}

.img-hl-wrap.blogpost .img-hl-content h3, .img-hl-wrap-third.blogpost .img-hl-content h3 {
	color: #ff6310;
}
	.img-hl-wrap.blogpost .img-hl-content h3.exception {
		color: #000;
	}

.img-hl-wrap.newspost .img-hl-content h3, .img-hl-wrap-third.newspost .img-hl-content h3,
.img-hl-wrap.refpost .img-hl-content h3, .img-hl-wrap-third.refpost .img-hl-content h3 {
	color: #6f22a5;
}

	.img-hl-wrap.blogpost a:hover > .img-hl-container h3,
/*	.img-hl-wrap-third.blogpost a:hover > .img-hl-container h3,*/
	.img-hl-wrap.newspost a:hover > .img-hl-container h3,
/*	.img-hl-wrap-third.newspost a:hover > .img-hl-container h3,*/
	.img-hl-wrap.refpost a:hover > .img-hl-container h3,
	.img-hl-wrap-third.refpost a:hover > .img-hl-container h3,
	.img-hl-wrap.blogpost a:hover > .img-hl-container h3.exception {
		color: #fff;
	}

.page-template-template-blognews .img-hl-wrap.blogpost a:hover > .img-hl-container h3 {
	color: #ff6310;
}
.page-template-template-blognews .img-hl-wrap.newspost a:hover > .img-hl-container h3 {
	color: #6f22a5;
}

h3.contact-title {
	font-size: 17px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.089em;
	margin-bottom: 0;
}

.promise-box h3 {
	font-size: 22px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hl-color-box h4 {
	font-size: 18px;
	font-weight: 600;
	line-height: 26px;
}

.contact-info-content h3 {
	font-size: 17px;
	font-weight: 700;
	text-transform: uppercase;
}

#colophon h4 {
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	margin: 0;
}

p {
	margin-bottom: 1.5em;
}
#content p {
	margin-top: 1.5em;
}

#hero-container p {
	font-size: 20px;
	line-height: 30px;
}

#form-row form p, #content .hl-color-box.form form p {
	margin: 5px 0;
}

#side-bar {
	font-size: 16px;
	font-weight: 300;
	line-height: 24px;
}

.promise-box p {
	font-size: 20px;
	line-height: 30px;
}

.home .wide-hl-container {
	margin-top: 6rem;
}

.wide-hl-content {
	color: #fff;
}
.wide-hl-content p {
	font-weight: 400;
	line-height: 22px;
}
.wide-hl-content blockquote p {
	font-size: 20px;
	font-weight: 300;
	line-height: 30px;
}

#side-bar strong, .contact-hl strong {
	font-weight: 600;
}

.contact-info-content strong {
	font-weight: 700;
}

.page-template-template-contact #accordion .modal-body {
	font-size: 16px;
}

.page-template-template-contact #accordion .modal-body .contact-img ~ strong {
	font-size: 18px;
	font-weight: 600;
}

.page-template-template-contact #accordion .modal-body .hide strong {
	font-weight: 600;
}

#form-row form, .hl-color-box.form form {
	font-weight: 400;
}

.blog-text {
	font-size: 16px;
	font-weight: 300;
}

.post-time {
	font-size: 16px;
	font-weight: 600;
}

dfn, cite, em, i {
	font-style: italic;
}

blockquote {
	margin: 0;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff;
	/* Fallback for when there is no custom background color defined. */
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul, ol {
	margin: 0 0 1.5em 3em;
}
#content ul, #content ol {
	margin-bottom: 0;
}

ul {
	list-style: disc;
}

#content ul {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}
#content ul li {
	display: inline-flex;
	width: 100%;
}
#content ul li > a {
	display: contents;
}
@supports (-ms-ime-align: auto) {
  #content ul li {
   	display: list-item;
  }
	#content ul li > a {
		display: unset;
	}
}
#content ul li:before {
	content: "\25A0";
    color: rgb(255, 99, 16);
    display: inline-block;
	margin-right: 10px;
	position: relative;
	bottom: 2px;
}
#content .hl-color-box ul li:before {
    color: #fff;
}

.single-blogpost .bodytext ul, .single-newspost .bodytext ul {
	margin-top: 10px;
	margin-bottom: 10px!important;
}

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;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

#masthead {
	position: absolute;
	z-index: 1999;
    left: 0;
    right: 0;
/*	padding-bottom: 34px;*/
}
	#masthead-row {
		width: 100%;
		max-width: 1332px;
		margin-left: auto;
		margin-right: auto;
		padding-right: 15px;
	}
	.single-blogpost #masthead, .single-newspost #masthead {
		background-color: #000;
		position: relative;
	}

#masthead.sticky {
	position: fixed!important;
	top: 0;
	width: 100%;
	background-color: #000;
}

.single-newspost #masthead.sticky ~ #content,
.single-blogpost #masthead.sticky ~ #content {
 	padding-top: 102px;
}

#megamenu-container {
	display: none;
	position: absolute;
	background-color: #fff;
	color: #000;
	padding: 40px 30px 30px;
	left: -15px;
	top: 117px;
}
#megamenu-container.with-width {
	max-width: 585px;
	width: 100%;
}
#megamenu-container:hover {
	display: block;
}
#megamenu-container .container {
	padding-left: 0;
	padding-right: 0;
}
#megamenu-container .container .row {
	margin-left: 0;
	margin-right: 0;
}
#megamenu-container .container .row > div {
	padding-left: 0;
	padding-right: 0;
}

#contact-btn {
	text-transform: uppercase;
	position: fixed;
	z-index: 2;
	background-color: #6f22a5;
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	line-height: 30px;
	-moz-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
	right: -54px;
	top: 546px;
	width: 154px;
	text-align: center;
}
#contact-btn a {
	display: block;
	width: 100%;
	padding: 8px 0;
}
#contact-btn a:hover {
	color: inherit;
}
#contact-btn a:focus, #contact-btn a:active {
	color: inherit;
}

#hero-container {
	background-blend-mode: multiply;
}
#hero-container.not-front {
	padding-top: 270px;
}
#hero-container .row {
	max-width: 834px;
	margin-left: auto;
	margin-right: auto;
}
#hero-container .herotitle {
	padding: 0 12px;
}
#hero-container .herotext {
	padding: 0 13%;
}

@supports (-ms-ime-align: auto) {
	#hero-container .herotitle {
		text-shadow: 0px 0px 20px #000;
	}
	#hero-container .herotext p, #hero-container a.arrow {
		text-shadow: 0px 0px 10px #000;
	}
}

#content {
	margin-top: 85px;
	margin-bottom: 85px;
}
.page-template-template-basic #content, .page-template-template-contact #content {
	margin-bottom: 0;
}

.home #content {
	margin-top: 100px;
	margin-bottom: 100px;
}

#content .container, #colophon .container {max-width: 970px;}

.bodytext ul {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}
.bodytext ul li:before {
	content: "\25A0";
	color: #ff6310;
	display: inline-block;
}

video {
	width: 100%;
}

.mejs-container .mejs-controls {
	opacity: 0;
	transition: opacity .5s ease-in-out;
}
.mejs-container:hover .mejs-controls {
	opacity: 1;
	transition: opacity .5s ease-in-out;
}

.single-newspost .wp-video, .single-blogpost .wp-video {
	margin: 20px 0;
}

.page-template-template-contact .contact-info-content iframe {
	max-height: 370px;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 0;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	font-size: 0.75rem;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	padding: .6em 1em .4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

.btn.btn-outline-light {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: 0;
	max-width: 204px;
	padding: 10px 5px;
}
.btn.btn-outline-light:hover {
	color: #6f22a5;
}

#masthead #searchform {
	position: relative;
    max-width: 191px;
	margin-left: 25px;
}
#masthead #searchform .search-field {
	width: 100%;
    max-width: 191px;
    height: 33px;
    padding-right: 42px;
	background-color: transparent!important;
	border: 1px solid #fff;
	border-radius: 0;
	color: #fff;
	font-size: 14px;
}
#masthead #searchform .search-field::placeholder {
	font-size: 14px;
	color: #fff;
}
	#masthead #searchform .search-field::-ms-input-placeholder {
		font-size: 14px;
		color: #fff;
	}

#masthead #searchform .search-field:active, #masthead #searchform .search-field:focus {
	outline-color: #ff6310;
	border-color: #ff6310;
}
#masthead #searchform button {
	height: 33px;
    position: absolute;
		top: 0;
    right: 0;
    background-color: transparent;
    border: none;
    font-size: 14px;
	color: #fff;
}
#masthead #searchform button:hover {
	color: #ff6310;
}
#masthead #searchform button:focus, #masthead #searchform button:active {
	outline: 0;
}

.btn-orange, .btn-purple {
	border-radius: 0;
	text-transform: uppercase;
	color: #fff;
	padding: 12px 20px;
}
	.btn-orange {
		background-color: #ff6310;
		border:1px solid #ff6310;
	}
	.btn-purple {
		background-color: #6f22a5;
		border:1px solid #6f22a5;
	}
		.btn-orange:hover {
			color: #ff6310;
			background-color: #fff;
			border:1px solid #ff6310;
		}
		.btn-purple:hover {
			color: #6f22a5;
			background-color: #fff;
			border:1px solid #6f22a5;
		}



#form-row label, .hl-color-box.form label {
	width: 100%;
}

#form-row input, .hl-color-box.form input {
	height: 40px;
	border: none;
	width: 100%;
	border-radius: 0;
}

#form-row textarea, .hl-color-box.form textarea {
	border: none;
	height: 195px;
	width: 100%;
	border-radius: 0;
}

#form-row .file-label, .hl-color-box.form .file-label {
	width: 220px;
	height: 40px;
	background-color: #a1a1a1;
	color: #fff;
	cursor: pointer;
	display: flex;
    align-items: center;
    justify-content: center;
	font-size: 16px;
	font-weight: 600;
	bottom: -14px;
    position: relative;
}
#form-row .file-label.selected, .hl-color-box.form .file-label.selected {
	background-color: #ff6310;
}
	.hl-color-box.form.text-white .file-label.selected {
		background-color: #000;
	}
#form-row input[type="file"], .hl-color-box.form input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

#form-row .wpcf7-acceptance .wpcf7-list-item, .hl-color-box.form .wpcf7-acceptance .wpcf7-list-item {
	position: relative;
	display: block;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	margin-left: 0;
}

#form-row input[type="checkbox"], .hl-color-box.form input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

#form-row input[type="checkbox"] ~ .wpcf7-list-item-label, .hl-color-box.form input[type="checkbox"] ~ .wpcf7-list-item-label {
	padding-left: 40px;
	display: inline-block;
}

#form-row .accept, .hl-color-box.form .accept {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #fff;
	cursor: pointer;
}

/* On mouse-over, add a grey background color */
#form-row .wpcf7-acceptance .wpcf7-list-item .accept:hover, .hl-color-box.form .wpcf7-acceptance .wpcf7-list-item .accept:hover {
  background-color: #ccc;
}

/* When the checkbox is checked, add a orange background */
#form-row .wpcf7-acceptance .wpcf7-list-item input:checked ~ span .accept, .hl-color-box.form .wpcf7-acceptance .wpcf7-list-item input:checked ~ span .accept {
  background-color: #ff6310;
}
	.hl-color-box.form.text-white .wpcf7-acceptance .wpcf7-list-item input:checked ~ span .accept {
	  background-color: #fff;
	}

/* Create the checkmark/indicator (hidden when not checked) */
.accept:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
#form-row .wpcf7-acceptance .wpcf7-list-item input:checked ~ span .accept:after, .hl-color-box.form .wpcf7-acceptance .wpcf7-list-item input:checked ~ span .accept:after {
  display: block;
}

/* Style the checkmark/indicator */
#form-row .wpcf7-acceptance .wpcf7-list-item .accept:after, .hl-color-box.form .wpcf7-acceptance .wpcf7-list-item .accept:after {
	left: 9px;
	top: 4px;
	width: 9px;
	height: 14px;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
	.hl-color-box.form.text-white .wpcf7-acceptance .wpcf7-list-item .accept:after {
		border: solid #000;
		border-width: 0 3px 3px 0;
	}

#form-row input[type="submit"], .hl-color-box.form input[type="submit"] {
	width: 120px;
    height: 40px;
    background-color: #ff6310;
	text-transform: uppercase;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
	line-height: 17px;
	margin-top: 30px;
}
	.hl-color-box.form.text-white input[type="submit"] {
		background-color: #000;
	}

#form-row input[type="submit"]:disabled, .hl-color-box.form input[type="submit"]:disabled {
    background-color: #ff6310;
}
	.hl-color-box.form.text-white input[type="submit"]:disabled {
		background-color: #a1a1a1;
	}

#form-row .wpcf7-response-output, .hl-color-box.form .wpcf7-response-output {
	font-weight: 500;
	padding: 10px 15px;
    text-align: center;
    font-style: italic;
	margin-top: 20px;
}

.hl-color-box.form .wpcf7-radio .wpcf7-list-item {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
margin-left: 0;
  cursor: pointer;
  font-size: 17px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
	.hl-color-box.form .wpcf7-radio .wpcf7-list-item.first {
	  margin-top: 15px;
	}
	.hl-color-box.form .wpcf7-radio .wpcf7-list-item.last {
	  margin-bottom: 15px;
	}

.hl-color-box.form .wpcf7-radio .wpcf7-list-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 23px;
  width: 23px;
  background-color: #fff;
  border-radius: 50%;
}

.hl-color-box.form .wpcf7-radio .wpcf7-list-item:hover input ~ .checkmark {
  background-color: #ccc;
}

.hl-color-box.form .wpcf7-radio .wpcf7-list-item input:checked ~ .checkmark {
  background-color: #ff6310;
}.hl-color-box.form.text-white .wpcf7-radio .wpcf7-list-item input:checked ~ .checkmark {
  background-color: #fff;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.hl-color-box.form .wpcf7-radio .wpcf7-list-item input:checked ~ .checkmark:after {
  display: block;
}

.hl-color-box.form .wpcf7-radio .wpcf7-list-item .checkmark:after {
 	top: 6px;
	left: 6px;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #fff;
}
	.hl-color-box.form.text-white .wpcf7-radio .wpcf7-list-item .checkmark:after {
		background: #000;
	}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: inherit;
}

a:visited {
	color: inherit;
}

a:hover, a:focus, a:active {
	color: #ff6310;
	cursor: pointer;
}

a:focus {
	outline: none;
}

a:hover, a:active {
	outline: 0;
	text-decoration: none;
}

#primary-menu li a:hover, #primary-menu li a:focus, #primary-menu li a:active {
	color: #ff6310;
}


.arrow {
	font-size: 14px;
	font-weight: 600;
	display: flex;
    justify-content: center;
    align-items: center;
}
.hl-color-box .arrow {
	margin-top: 20px;
}
.page-template-template-blognews .arrow, .card .arrow, .hl-color-box .arrow, .newsblog-row .arrow, #colophon .arrow {
	display: block;
}
	.page-template-template-blognews .arrow, .newsblog-row .arrow {
		position: absolute;
		bottom: 0;
	}
    .page-template-template-blognews #colophon .arrow {
        position: static;
    }

.arrow-orange, .arrow-purple, .arrow-white {
/*	width: 56px;*/
	width: 25px;
	height: 11px;
	display: inline-block;
	position: relative;
}
.arrow-orange:before, .arrow-purple:before, .arrow-white:before{
	content: '';
/*	background-image: url('img/arrow_orange.png');*/
	background-repeat: no-repeat;
    background-position: 100% 50%;
    background-size: cover;
    width: 15px;
    height: 11px;
    display: inline-block;
	position: absolute;
	left: 10px;
	transition: width .5s;
}
.arrow-orange:before {
	background-image: url('img/arrow_orange.png');
}
.arrow-purple:before {
	background-image: url('img/arrow_purple.png');
}
.arrow-orange.reverse:before {
	background-image: url('img/arrow_orange.png');
	transform: rotate(180deg);
	left: 0;
}
.arrow-purple.reverse:before {
	background-image: url('img/arrow_purple.png');
	transform: rotate(180deg);
	left: 0;
}
.arrow-white:before {
	background-image: url('img/arrow_white.png');
}
.arrow:hover > .arrow-orange:before, .arrow:hover > .arrow-purple:before, .arrow:hover > .arrow-white:before,
a:hover .arrow span.arrow-orange:before, a:hover .arrow span.arrow-purple:before, a:hover .arrow span.arrow-white:before {
	width: 56px;
	transition: width .5s;
}
a:hover .arrow span.arrow-orange:before, a:hover .arrow span.arrow-purple:before,
.page-template-template-basic .img-hl-wrap-third a:hover .arrow span.arrow-orange:before,
.page-template-template-basic .img-hl-wrap-third a:hover .arrow span.arrow-purple:before {
	background-image: url('img/arrow_white.png');
}
	.img-hl-wrap-third a:hover .arrow span.arrow-orange:before,
	.page-template-template-blognews .img-hl-wrap a:hover .arrow span.arrow-orange:before {
		background-image: url('img/arrow_orange.png');
	}
	.img-hl-wrap-third a:hover .arrow span.arrow-purple:before,
	.page-template-template-blognews .img-hl-wrap a:hover .arrow span.arrow-purple:before {
		background-image: url('img/arrow_purple.png');
	}

.hl-color-box .arrow:hover, .hl-color-box .arrow:active, .hl-color-box .arrow:focus {
	color: #fff;
}

.page-template-template-front .refpost span.arrow,
.page-template-template-front .blogpost span.arrow {
	margin-top: 20px;
}

.page-template-template-basic .img-hl-wrap-third span.arrow {
	margin-top: 5px;
}

.bodytext p a {
	font-weight: 600;
	color: #ff6310;
}
	.bodytext p a:hover {
		opacity: 0.7;
	}

.blogpost-template-default .bodytext ~ .col-12 .wide-hl-wrap a:focus,
.newspost-template-default .bodytext ~ .col-12 .wide-hl-wrap a:focus {
	color: #6f22a5;
}

.ref-description a {
	color: #6f22a5;
	font-weight: 600;
}
.ref-description a:hover {
	opacity: 0.7;
}
.ref-story a {
	color: #ff6310;
}
.ref-story a:hover {
	opacity: 0.7;
}
.ref-story .contact-hl a {
	color: #000;
}
.ref-story .contact-hl a:hover {
	color: #ff6310;
	opacity: 1;
}

.single-blogpost .bodytext a {
	color: #ff6310;
}
.single-newspost .bodytext a {
	color: #6f22a5;
}
.single-blogpost .bodytext a:hover, .single-newspost .bodytext a:hover {
	opacity: 0.7;
}

#form-row a, .hl-color-box.form a {
	color: #ff6310;
}
	.hl-color-box.form.text-white a {
		color: #000;
		font-weight: 600;
	}
#form-row a:hover, .hl-color-box.form a:hover {
	opacity: 0.8;
}

#reference-list a {
	font-weight: 600;
	color: #6f22a5;
}
#reference-list a:hover {
	opacity: 0.8;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.site-branding {
	float: left;
	width: 209px;
	margin-left: 34px;
	margin-top: 34px;
}
#site-navigation {
	float: right;
	position: relative;
}

#lang_search {
	margin-top: 9px;
	margin-bottom: 20px;
	display: flex;
    align-items: center;
    justify-content: flex-end;
}

#lang-mobile {
	display: none;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
	background-color: #fff;
	padding: 40px 30px;
	color: #000;
	min-width: 200px;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation ul ul a {
	width: 200px;
}
.main-navigation ul ul.sub-menu a {
	width: 100%;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: -25px;
}

.main-navigation #primary-menu > li {
	float: left;
	position: relative;
	margin-left: 24px;
	height: 55px;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

#megamenu ul {
	line-height: 30px;
}

#megamenu h6 {
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
#megamenu a {
	font-weight: 600;
	font-size: 14px;
}

#megamenu .sub-lvl {
	margin-left: 20px;
	font-weight: 500;
	font-size: 14px;
}

.mega-cat {
	margin-bottom: 10px;
}

.mega-buttons {
	border-top:1px solid #000;
	padding-top: 25px;
	margin-top:25px;
}
.mega-buttons a {
	display: inline-block;
	margin-right: 5px;
	margin-bottom: 5px;
}

body.is-child .has-sub > a, a.active-page,
.current-menu-item a, .current-page-ancestor > a {
	color: #ff6310!important;
}

.has-sub > a:after, .menu-item-has-children > a:after {
	content: '\f078';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	margin-left: 4px;
    font-size: 10px;
}
.has-sub > a.sub-open:after, .menu-item-has-children > a.sub-open:after {
	content: '\f077';
}

/* Small menu. */
#show-menu { display:none; }
#primary-menu #megamenu { display: none; }
#megamenu-container.display-sub {display: block;}
.wpml-ls-menu-item {display: none;}

@media all and (max-width : 1060px) {



	.wpml-ls-menu-item {display: block;margin-top:10px!important;}
	.main-navigation #primary-menu li.wpml-ls-menu-item > a {font-size:14px;font-weight:400;text-transform: none;}

	#masthead {position: relative; 	background-color: #000; padding-bottom: 34px;}
	#site-navigation {float: none; position: static;}
	#lang_search {display: none;}

	#show-menu { display:block; z-index:2000; cursor:pointer; position:absolute; top:0; bottom:0; right:23px; margin-top: auto; margin-bottom: auto; width: 26px; height: 20px; }
	#show-menu .bar { position:relative; display:block; opacity:1; width:100%; height:3px; background:#fff; margin-bottom:5px; -webkit-transition: opacity 500ms, transform 500ms, position 500ms; -moz-transition: opacity 500ms, transform 500ms, position 500ms; -ms-transition: opacity 500ms, transform 500ms, position 500ms; -o-transition: opacity 500ms, transform 500ms, position 500ms; transition: opacity 500ms, transform 500ms, position 500ms;  }


	.main-navigation #primary-menu li.has-sub > a { margin-bottom: 0; padding-bottom: 15px; }
	#primary-menu .has-sub > a:hover ~ #megamenu {display: block;}
	#primary-menu .has-sub #megamenu .mega-buttons {display: none;}
	#megamenu-container.display-sub {display: none;}

	#primary-menu #megamenu:hover {display:block;}

	#primary-menu #megamenu.container {
		max-width: none;
		margin-left: 0;
		margin-right: 0;
	}

	.col-6.mega-cat {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
	}

	.main-navigation #primary-menu ul.sub-mega {
		position: static;
		box-shadow: none;
		text-align: left;
	}

	.main-navigation #primary-menu li #megamenu a {
		margin-bottom: 0;
	}

	.main-navigation #primary-menu ul.sub-mega li {
		display: block;
		margin: 0;
	}


	.main-navigation li::after {content:'';}

	.main-navigation #primary-menu { display:none; z-index:199; width:100%; background:#fff; position:absolute; left:0px; top:118px; bottom:auto; margin:0; padding:50px 0; text-align:center; }
		.main-navigation #primary-menu li { float: none; margin: 0px; background:#fff; }
		.main-navigation #primary-menu li a { width:auto; display:inline-block; padding:0 0; height: auto; font-size: 16px; color:#000; text-align:center; margin-bottom:15px; }
			.main-navigation #primary-menu li a:hover, .main-navigation ul li.active a { border-bottom: 0; color: #ff6310;}

    .main-navigation #primary-menu .current_page_item a { color:#ff6310; }

    .main-navigation #primary-menu ul { display:block; text-align:center; position: relative; left:0; float:none; width:100%; padding:0; border:0; }
		.main-navigation #primary-menu ul.sub-menu {display:none; box-shadow: none; text-align: left;margin-bottom:15px;}
		.main-navigation #primary-menu li:hover > ul.sub-menu, .main-navigation #primary-menu li.focus > ul.sub-menu {display:block;}
			.main-navigation #primary-menu li ul.sub-menu a {margin-bottom: 0;}

    .main-navigation #primary-menu ul li { display:block; float:none; margin: 10px 5px 0 5px; }
    .main-navigation #primary-menu ul li a { display:inline-block; width:auto; font-size:16px; }

	.main-navigation #primary-menu {padding: 30px 30px; text-align:left;}

	.main-navigation #primary-menu > li {
		height: unset;
	}


	#megamenu-container {
		position: relative;
	}

	#megamenu .col-6 {
		max-width: 100%;
		-ms-flex: 0 0 100%;
    	flex: 0 0 100%;
	}

	#megamenu h6 {
		font-size: 16px;
	}
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# 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;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.logo-container {
	max-width: 780px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.logo-container img {
	margin:0 42px;
}
#colophon .logo-container {
	max-width: 100px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	display: inline-block;
	margin:0 30px 35px 0;
}
#colophon .logo-container img {
	margin:0;
}

.home .ingressi {
	padding: 0 18%;
}

.img-hl-wrap {
	max-width: 460px;
	margin-right: 20px;
}
	.img-hl-wrap:nth-of-type(2n) {
		margin-right: 0;
	}

.newsblog-row {
	margin-left: auto;
	margin-right: auto;
}
.home .newsblog-row {
	margin-left: -15px;
	margin-right: -15px;
}
	.newsblog-row .img-hl-wrap {
		max-width: 300px;
		margin-right: 20px;
		min-height: 515px;
	}
	.newsblog-row .img-hl-wrap:nth-of-type(3n) {
		margin-right: 0;
	}
		.newsblog-row .img-hl-img ~ div {
			min-height: 279px;
			position: relative;
		}

.wide-hl-wrap {
	max-width: none;
	margin-right: 0!important;
}
	.page-template-template-references .wide-hl-wrap ~ .img-hl-wrap:nth-of-type(2n) {
		margin-right: 20px;
	}
	.page-template-template-references .wide-hl-wrap ~ .img-hl-wrap:nth-of-type(odd) {
		margin-right: 0;
	}
	.page-template-template-references .wide-hl-wrap ~ .img-hl-wrap:nth-of-type(7n) {
		margin-right: 20px;
	}
	.page-template-template-references .wide-hl-wrap ~ .img-hl-wrap:nth-of-type(8n) {
		margin-right: 0;
	}

.page-template-template-basic .wide-hl-wrap a:hover > .img-hl-container,
.blogpost-template-default .bodytext ~ .col-12 .wide-hl-wrap a:hover > .img-hl-container,
.newspost-template-default .bodytext ~ .col-12 .wide-hl-wrap a:hover > .img-hl-container {
	background-color: #6f22a5;
}

.wide-hl-wrap.diagonal {min-height: 408px;}
.wide-hl-wrap.diagonal .img-hl-container {height: 100%;}
.wide-hl-wrap.diagonal .img-hl-img {height: 100%;}

.wide-hl-wrap.diagonal .img-hl-img::before {
	content: ' ';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 58px;
    background: linear-gradient(96deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 43%, rgba(0,212,255,0) 45%);
}
.home .wide-hl-wrap.diagonal > a:hover > .img-hl-container .img-hl-img::before,
.page-template-template-references .wide-hl-wrap.diagonal > a:hover > .img-hl-container .img-hl-img::before {
	background: linear-gradient(96deg, rgb(111,34,165) 0%, rgb(111,34,165) 43%, rgba(0,212,255,0) 45%);
}
.wide-hl-wrap.diagonal.blogpost > a:hover > .img-hl-container .img-hl-img::before {
	background: linear-gradient(96deg, rgb(255,99,16) 0%, rgb(255,99,16) 43%, rgba(0,212,255,0) 45%);
}

.img-hl-container {
	box-shadow: 0px 2px 8px rgba(0,0,0,.14);
	align-content: start;
	height: 100%;
}
.page-template-template-blognews .img-hl-container {
	box-shadow: none;
}
	a:hover > .img-hl-container {
		background-color: #ff6310;
		color: #fff;
	}
	.front-ref-hls a:hover > .img-hl-container,
	.page-template-template-references a:hover > .img-hl-container,
	.reference-template-default .refpost.wide-hl-wrap a:hover > .img-hl-container {
		background-color: #6f22a5;
		color: #fff;
	}
		.front-ref-hls a:focus,
		.page-template-template-references a:focus,
		.type-newspost:not(.single-post) a:focus {
			color: #6f22a5;
		}
.type-newspost > a > .img-hl-container,
.type-blogpost > a > .img-hl-container {
	box-shadow: none;
}

.type-newspost:not(.single-post) a:hover > .img-hl-container {
	background-color: #fff;
	color: #6f22a5;
}
.type-blogpost:not(.single-post) a:hover > .img-hl-container {
	background-color: #fff;
	color: #ff6310;
}
	.type-newspost:not(.single-post) a:hover > .img-hl-container .img-hl-img,
	.type-blogpost:not(.single-post) a:hover > .img-hl-container .img-hl-img{
		background-blend-mode: normal;
	}

.img-hl-container .img-hl-img {
	height: 236px;
	position: relative;
}
a:hover > .img-hl-container .img-hl-img {
	background-blend-mode: multiply;
}

.link-to-ref a:hover > .img-hl-container {
    background-color: #6f22a5;
    color: #fff;
}

.type-newspost > a > .img-hl-container .img-hl-img::after, .type-blogpost > a > .img-hl-container .img-hl-img::after {
	content: ' ';
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	height: 43px;
	width: 100%;
	background: linear-gradient(354deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 43%, rgba(0,212,255,0) 45%);
}
/*
.type-newspost > a:hover > .img-hl-container .img-hl-img::after {
	background: linear-gradient(354deg, rgb(111,34,165) 0%, rgb(111,34,165) 43%, rgba(0,212,255,0) 45%);
}
.type-blogpost > a:hover > .img-hl-container .img-hl-img::after {
	background: linear-gradient(354deg, rgb(255,99,16) 0%, rgb(255,99,16) 43%, rgba(0,212,255,0) 45%);
}
*/

.newsblog-row .img-hl-content {
	padding-top: 15px;
	padding-left: 0;
	padding-right: 0;
}

.rate-article { margin-top: 40px; }

.front-img-hls .img-hl-content,
.front-ref-hls .img-hl-content,
.front-blog-hls .img-hl-content,
.page-template-template-references .img-hl-content,
.single-reference .img-hl-content {
	padding: 45px 35px;
	text-align: center;
}

.page-template-template-basic .bodytext ~ .col-12 .img-hl-content,
.blogpost-template-default .bodytext ~ .col-12 .img-hl-content,
.newspost-template-default .bodytext ~ .col-12 .img-hl-content {
	padding: 35px 15%;
}

.page-template-template-basic .img-hl-wrap-third .img-hl-content {
	padding: 45px 19px;
	text-align: center;
}

.newsblog-row .img-hl-wrap-third .img-hl-content {
	text-align: left;
}

#side-bar .img-hl-content {
	text-align: center;
	padding: 45px 28px;
}

#side-bar ul {
	padding-left: 0;
	margin-left: 0;
}

#side-bar .img-hl-wrap {
	padding: 0 15px;
	margin: 0 auto;
	max-width: 293.328px;
}

#side-bar p, #accordion .contact-img ~ p {
	margin: 20px 0;
}
#side-bar .contact-hl p {
	margin: 0;
}

#side-bar .btn-orange, #side-bar .btn-purple {
	width: 100%;
}

#content .contact-hl {
	width: 100%;
}
#content .contact-hl img {
	margin-bottom: 20px;
	width: 100%;
}
#content .contact-hl p {
	margin-top: 0;
}

#content .contact-hl.no-story {
	max-width: 310px;
}

.img-hl-wrap-third {
	max-width: 300px;
	margin-right:20px;
	min-height: 528px;

}
	.img-hl-wrap-third:nth-of-type(3n) {
		margin-right: 0;
	}
	.single-newspost .img-hl-wrap-third:nth-of-type(3n), .single-blogpost .img-hl-wrap-third:nth-of-type(3n) {
		margin-right: 20px;
	}
	.single-newspost .img-hl-wrap-third:nth-of-type(4n), .single-blogpost .img-hl-wrap-third:nth-of-type(4n) {
		margin-right: 0;
	}


.wide-hl-img {
	min-height: 577px;
}

.wide-hl-content {
	text-align: center;
	background-color: #6f22a5;
	max-width: 460px;
	min-height: 385px;
	padding: 37px 30px;
	position: absolute;
	z-index: 1;
	top: 0;
	margin-top: 100px;
}

.promise-box {
	padding: 45px 50px;
	text-align: center;
}

.hl-color-box {
	padding: 35px 30px;
}
.hl-color-box ul, .hl-color-box ol {
	padding-left: 0;
	margin-left: 0;
}

.card {
	border-top: 2px solid #f4f4f4;
	border-bottom: none;
	border-left: none;
	border-right: none;
	border-radius: 0;
}
#accordion .card:last-child {
	border-bottom: 2px solid #f4f4f4;
}

.card-header {
	background-color: #fff;
	border: none;
	padding: 0;
}
.card-header > a {
	padding: 20px 0;
	display: flex;
	align-items: center;
	height: 100%;
	width: 100%;
}

.accordion-mark {
	display: inline-block;
	height: 32px;
	width: 32px;
	margin-right: 15px;
	position: relative;
	background-color: #ff6310;
}

.accordion-title.collapsed .accordion-mark::before,
.accordion-title .accordion-mark::before {
font-family: 'Font Awesome 5 Free';
font-weight: 900;
font-size: 16px;
background-color: #ff6310;
color: #fff;
width: 14px;
height: 23px;
display: inline-block;
position: absolute;
margin: auto;
top: 0;
bottom: 0;
right: 0;
left: 0;
}
	.accordion-title.collapsed .accordion-mark::before {
		content: "\f067";
	}
	.accordion-title .accordion-mark::before {
		content: "\f068";
	}

.page-template-template-contact .contact-hl .contact-img {
	margin-bottom: 20px;
}

body.page-template-template-contact.modal-open {
	padding-right: 0!important;
	overflow: auto;
}

.page-template-template-contact .modal {
	position: absolute;
	height: unset;
}

.page-template-template-contact .modal-backdrop{
    opacity:0 !important;
}

.modal-dialog {
	max-width: 586px;
}

.page-template-template-contact button.close {
	position: absolute;
    z-index: 1;
    right: 8px;
	font-size: 35px;
    font-weight: 300;
	text-shadow: none;
	opacity: 0.7;
	color: #adadad;
}
.page-template-template-contact button.close:focus, .page-template-template-contact button.close:active {
	outline: 0;
}

.page-template-template-contact button.close span {
	content: '';
}
.page-template-template-contact button.close span:before {
	content: 'x';
}

.page-template-template-contact .modal-content {
	border: none;
	border-radius: 0;
	box-shadow: 0px 2px 8px 0px rgba(0,0,0,0.14);
}

.page-template-template-contact .modal-body {
	padding: 0;
}
.page-template-template-contact #accordion .modal-body .contact-img ~ p,
.page-template-template-contact #accordion .modal-body .hide p {
	padding: 0 50px;
	margin-top: 0;
}
.page-template-template-contact #accordion .modal-body .hide {
	padding-bottom: 40px;
}

.page-template-template-contact .modal-body > strong {
	display: block;
	margin-top: 40px;
	margin-left: 50px;
}

.page-template-template-contact #content .modal-body ul {
	padding-left: 50px;
}

.hide {
	display: none;
}
.modal .hide {
	display: block;
}
.modal .arrow {
	display: none;
}

.contact-img {
height: 200px;
}

.modal-body .contact-img {
    min-height: 299px;
    width: 100%;
    object-fit: cover;
}

#form-row {
	max-width: 970px;
	margin-left: auto;
	margin-right: auto;
	padding: 90px 0;
}

#form-row .col-12.text-center {
	padding: 0 24%;
	margin-bottom: 50px;
}

#ref-filter {
	margin-bottom: 50px;
}
#ref-filter button {
	min-height: 56px;
	width: 100%;
	text-transform: uppercase;
	color: #fff;
	background-color: #6f22a5;
	opacity: 0.5;
	border: none;
	padding: 0 20px;
}

/*
.page-template-template-references .img-hl-wrap {
	margin-bottom: 20px;
}
*/

.img-hl-wrap {
	margin-bottom: 20px;
}

#reference-list {
	margin-top: 70px;
}

#cat-filter {
	margin-bottom: 40px;
}
#cat-filter button {
	min-height: 33px;
	width: 100%;
	max-width: 235px;
	text-transform: uppercase;
	color: #000;
	background-color: #e1e1e1;
	border: none;
	padding: 10px;
	margin: 3px;
}
#ref-filter button:hover, #ref-filter button:active, #ref-filter button:focus,
#ref-filter button.active {
	opacity: 1;
	outline: none;
}
#cat-filter button:hover, #cat-filter button:active, #cat-filter button:focus,
#cat-filter button.active {
	outline: none;
	background-color: #000;
	color: #fff;
}

#cat-filter .post-type-btns button {
	max-width: 96px;
}

.newsblog-row .newspost, .newsblog-row .blogpost {
	margin-bottom: 40px;
}

#newsblog-hero {
	height: 530px;
}

.single-newspost #side-bar, .single-blogpost #side-bar {
	margin-top: 1.5em;
}

.page-numbers {
	font-size: 16px;
	font-weight: 600;
	line-height: 30px;
	color: #6f22a5;
	margin: 0 5px;
}

.page-numbers.current {
	color: #000;
}

.page-numbers:hover {
	opacity: 0.5;
	color: #6f22a5;
}
.page-numbers.current:hover {
	opacity: 1;
}

.page-numbers:visited {
	color: #6f22a5;
}

#search-results-row .reference a, #search-results-row .newspost a {
	color: #6f22a5;
}
#search-results-row .blogpost a {
	color: #ff6310;
}
#search-results-row .reference a:hover, #search-results-row .newspost a:hover, #search-results-row .blogpost a:hover {
	opacity: 0.6;
}

#colophon .footer-group-logo { max-width: 150px; }

@media (max-width: 1040px) {

	body.page-template-template-contact.modal-open {
		padding-right: 17px!important;
		overflow: hidden;
	}

	.page-template-template-contact .modal {
		top: 100px;
	}

.page-template-template-contact .modal {

    max-height: 80vh;
}

}

@media (max-width: 991px) {
	.slick-dots {
		display: none!important;
	}

	.logo-container img {
    margin: 0 22px;
	}

	#side-bar .contact-title {
		margin-top: 20px;
		max-width: 570px;
		margin-left: auto;
		margin-right: auto;
	}

	#side-bar button {
		max-width: 570px;
	}

	#side-bar .img-hl-container {
		    margin-left: 0;
    margin-right: 0;
	}

	#side-bar .img-hl-wrap {
		max-width: 600px;
	}

	#content .contact-hl {
		max-width: 600px;
		margin-left: auto;
		margin-right: auto;
	}

	#content .contact-hl.no-story {
		max-width: 600px;
		margin-left: 0;
		margin-right: 20px;
	}

	.single-reference .col-md-6.contact-hl {
		flex: 0 0 100%;
	}

	.img-hl-wrap {
		max-width: none;
		margin-left: auto;
		margin-right: auto;
	}
	.img-hl-wrap:nth-of-type(2n) {
		margin-right: auto;
	}

	.single-reference #content .img-hl-wrap {
		max-width: 600px;
		min-height: unset;
		margin: 10px auto;
	}
	.single-reference #content .img-hl-wrap:nth-of-type(2n) {
		´margin-right: auto;
	}

	.img-hl-container .img-hl-img {
		height: 350px;
	}

	.img-hl-wrap-third {
		max-width: 600px;
		min-height: unset;
		margin: 10px auto;
	}
		.img-hl-wrap-third:nth-of-type(3n) {
			margin-right: auto;
		}

	.newsblog-row .img-hl-wrap {
		max-width: 48%;
	}

	.newsblog-row .img-hl-wrap {
		margin-right: 10px!important;
	}

	.single-newspost .img-hl-wrap-third:nth-of-type(3n), .single-blogpost .img-hl-wrap-third:nth-of-type(3n),
	.single-newspost .img-hl-wrap-third:nth-of-type(4n), .single-blogpost .img-hl-wrap-third:nth-of-type(4n) {
		margin-right: auto;
	}

	.newsblog-row .newspost, .newsblog-row .blogpost {
	 	margin-bottom: 10px;
	}

	.type-newspost > a > .img-hl-container .img-hl-img::after, .type-blogpost > a > .img-hl-container .img-hl-img::after {
		height: 24%
	}

	.page-template-template-contact .contact-img, .single-reference .contact-img {
		height: 400px;
	}

	.wp-video {
		margin-left: auto;
	    margin-right: auto;
		width: 100%!important;
	}
	.mejs-container.mejs-video {
		width: 100%!important;
	}
}

@media (max-width: 767px) {
	body, button, input, select, optgroup, textarea {
		font-size: 14px;
	}

	.promise-box {
		padding: 30px 25px;
	}
	.promise-box p {
		font-size: 16px;
	}

	.hl-color-box {
		padding: 15px 20px;
	}

	#masthead {
		padding-bottom: 19px;
	}
	.site-branding {
		margin-top: 19px;
	}
	.site-branding img {
		max-width: 80%;
	}
	.main-navigation #primary-menu {
		top: 77px;
	}

	.btn-orange, .btn-purple {
		font-size: 12px;
		padding: 10px 16px;
	}

	#hero-container .herotext	 {
    padding: 0 7%;
	}

	#hero-container.not-front {
		padding-top: 160px;
	}

	#newsblog-hero {
		height: 350px;
	}

	.home .ingressi {
		padding: 0 10%;
	}

	#hero-container h1 {
    font-size: 38px;
	}

	#hero-container p {
    font-size: 16px;
    line-height: 24px;
	}

	#contact-btn {
		font-size: 12px;
		line-height: 22px;
		right: -46px;
		width: 124px;
		top: 80%;
	}
	#contact-btn a {
		padding: 5px 0;
	}

	.home #content, #content {
		margin-top: 50px;
		margin-bottom: 50px;
	}

	#content h1 {
		font-size: 24px;
		font-weight: 700;
		margin-bottom: 0;
	}
		#content .row .row .col-12 h1 {
			margin-left: -15px;
			margin-right: -15px;
			padding-left: 15px;
		}

		.logo-container img {
			margin: 10px 12px;
		}

		.img-hl-container .img-hl-img, .wide-hl-wrap.diagonal .img-hl-img {
			height: 240px;
		}

		.wide-hl-wrap.diagonal {
			min-height: unset;
		}

	* .img-hl-content h3, * .img-hl-wrap.blogpost .img-hl-content h3.exception {
    font-size: 18px;
	}

	.wide-hl-wrap.diagonal .img-hl-img::before {
		display: none;
	}

	.front-img-hls .img-hl-content, .front-ref-hls .img-hl-content, .front-blog-hls .img-hl-content, .page-template-template-references .img-hl-content, .single-reference .img-hl-content,
	.wide-hl-wrap.diagonal.blogpost .img-hl-content.d-flex {
    padding: 30px 20px;
    text-align: center;
	}

	.img-hl-wrap-third {
		margin: 5px auto;
	}

	.img-hl-wrap-third .img-hl-content {
		padding: 35px 10px;
	}

	#content .container.wide-on-mobile {
		max-width: unset;
		width: 100%;
	}
	.wide-hl-content {
		position: relative;
		margin-top: 0;
		max-width: unset;
		min-height: unset;
		padding: 30px 20px;
	}

	.wide-hl-img {
		min-height: 400px;
	}

	.wide-on-mobile blockquote p {
		margin-top: 0!important;
		font-size: 16px;
		line-height: 24px;
	}

	.btn.btn-outline-light {
    font-size: 12px;
	}

	.home .wide-hl-container {
		margin-top: unset;
	}

	#ref-filter {
		margin-bottom: 20px;
	}

	.page-template-template-contact .modal {
		position: fixed;
		height: 100%;
	}

	.newsblog-row .img-hl-wrap {
		max-width: 100%;
	}

	.newsblog-row .img-hl-wrap {
		margin-right: 0!important;
		min-height: unset;
	}
	.newsblog-row .img-hl-img ~ div {
		min-height: unset;
	}
	.newsblog-row .arrow {
		position: static;
	}

	.type-newspost > a > .img-hl-container .img-hl-img::after, .type-blogpost > a > .img-hl-container .img-hl-img::after {
		height: 35%
	}
		.home .type-newspost > a > .img-hl-container .img-hl-img::after {
			height: 40%
		}
    
    .rate-article { margin-top: 25px; }

	.page-template-template-contact #content {
		font-size: 14px;
	}

	.modal-body .contact-img {
		min-height: 199px;
	}
	.page-template-template-contact #accordion .modal-body .contact-img ~ strong {
		font-size: 16px;
	}
	.page-template-template-contact #accordion .modal-body {
		font-size: 14px;
	}

	#form-row {
		padding: 40px 0;
	}

	#form-row .col-12.text-center {
		padding: 0 10%;
		margin-bottom: 0;
	}

	#colophon .arrow {
		margin-top: 15px!important;
	}

}

@media (max-width:575px) {
	#hero-container .herotext, .home .ingressi {
    padding: 0 30px;
	}

	.home #content, #content {
		margin-top: 30px;
		margin-bottom: 30px;
	}

	.logo-container img {
		margin:10px 10px;
	}

	.wide-hl-img {
		min-height: 290px;
	}

	.type-newspost > a > .img-hl-container .img-hl-img::after, .type-blogpost > a > .img-hl-container .img-hl-img::after, .home .type-newspost > a > .img-hl-container .img-hl-img::after {
		height: 30%
	}

    .rate-article { margin-top: 15px; }
    
	.page-template-template-contact .contact-img, .single-reference .contact-img {
		height: 300px;
	}

	.img-hl-wrap-third .img-hl-content {
		padding: 20px 10px;
	}

	#form-row h1, .hl-color-box.form h1 {
		font-size: 20px;
	}

	.modal-dialog {
		max-width: 300px;
		margin-left: auto;
		margin-right: auto;
	}

	.ref-list-row {
		margin-bottom: 10px;
	}
}

@media (max-width:450px) {
	#newsblog-hero {
		height: 250px;
	}

	.type-newspost > a > .img-hl-container .img-hl-img::after, .type-blogpost > a > .img-hl-container .img-hl-img::after, .home .type-newspost > a > .img-hl-container .img-hl-img::after {
		height: 24%
	}
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/

#colophon {
	border-top: 1px solid #c2c2c2;
}

#colophon i.fab {
	font-size: 22px;
	line-height: 32px;
	margin-right: 11px;
}

#colophon .logos img {
	max-width: 80px;
	margin-right: 17%;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}
