/*
Theme Name: basilblank
Theme URI: https://sito.express/
Author: Francesco Fortino
Author URI: https://sito.express/
Description: basilblank is a blank theme that delivers high performance while fitting costumers needs
Version: 1.5a
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: basilblank
Tags:

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.

basilblank is based on Underscores http://underscores.me/, (C) 2012-2016 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 http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: 'Roboto', sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

h2 {
	color: #f89a1c;
}

.no-bold h1,
.no-bold h2,
.no-bold h3,
.no-bold h4,
.no-bold h5,
.no-bold h6 {
	font-weight: normal;
}

.orange h1,
.orange h2,
.orange h3,
.orange h4,
.orange h5,
.orange h6 {
	color: #f89a1c;
}

.uppercase h1,
.uppercase h2,
.uppercase h3,
.uppercase h4,
.uppercase h5,
.uppercase h6 {
	text-transform: uppercase;
}

.mountain-headline {
	background: rgba(0,0,0,0.45);
}

.mountain-headline {
	font-size: 1.25em;
}

h1 + h3 {
	margin-top: -1em;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

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%;
}

/*--------------------------------------------------------------
# Focus Ring :: thanks to https://hackernoon.com/removing-that-ugly-focus-ring-and-keeping-it-too-6c8727fefcd2
--------------------------------------------------------------*/

body:not(.tab-active) :focus {
 	outline: none !important;
}

/*--------------------------------------------------------------
# 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 http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #d7d9db; /* Fallback for when there is no custom background color defined. */
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

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; /* 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%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: none;
	background: #0c0c0c;
	color: #FFF;
	box-shadow: none;
	font-size: 18px;
	line-height: 1;
	padding: 10px 15px;
	text-shadow: none;
	transition: 0.5s;
	opacity: 0.7;
	font-family: 'Roboto', sans-serif;
	max-width: 100%;
}

input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	opacity: 1;
}

input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #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="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: 0;
	padding: 3px;
}

select {
	border: 1px solid #ccc;
}

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;
}

textarea {
	width: 100%;
	max-height: 175px;
}

/*--------------------------------------------------------------
# Loader
--------------------------------------------------------------*/

@keyframes loading-pulse {
	0%   {opacity: 0; transform: scale(0,0);}
	50%  {opacity: 1; }
	100% {opacity: 0; transform: scale(1,1);}
}

.no-js .basil-loader { 
	display: none;  
}

.js .basil-loader {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 999999;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #f2f2f2;
	overflow-x: hidden;
}

.basil-spinner,
body #jqlb_spinner {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #404040;
	animation: loading-pulse 0.75s ease-in-out infinite;
	background-image: none;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: royalblue;
	text-decoration: none;
	transition: 0.5s ease-in-out;
}

a:visited {
	color: royalblue;
}

a:hover,
a:focus,
a:active {
	color: midnightblue;
}

/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/

.site-header {
	z-index: 99999;
	background: rgba(255,255,255,0.9);
	width: 100%;
	padding: 0;
	position: fixed;
	top: 0;
	left: 0;
	transition: 0.5s ease-in-out;
}

/** Header area **/

.header-area {
	font-size: 0.8em;
	width: 100%;
}

.header-area p {
	margin: 10px 0;
}

.header-area a[href*="tel:"] {
	margin-right: 5px;
}

.header-area a[href*="tel:"] + a[href*="mailto:"] {
	margin-left: 5px;
}

.header-area div[class^='menu-social'] ul,
.header-area div[class*=' menu-social'] ul,
.header-area .menu {
	padding: 0;
	margin: 0;
	text-align: right;
	list-style: none;
}

.header-area .menu li {
	display: inline-block;
}

.header-area div[class^='menu-social'] li a,
.header-area div[class*=' menu-social'] li a {
	min-width: 30px;
}

.header-area div[class^='menu-social'] li a::before,
.header-area div[class*=' menu-social'] li a::before {
	width: 20px;
	height: 20px;
	font-size: 20px;
	line-height: 20px;
}

.header-area div[class^='menu-social'] li,
.header-area div[class*=' menu-social'] li a::before {
	color: #404040;
}

@media screen and (max-width: 768px) {
	.header-area {
		font-size: 0.6em;
	}
	.header-area p {
		text-align: center;
	}
	.header-area p a {
		font-size: 11px;
	}
	.header-area .panel-grid-cell  {
		margin-bottom: 0 !important;
	}
}

/** Branding Navigation Wrap **/

.branding-navigation-wrap {
	width: 100%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 0;
	text-align: center;
	padding: 0;
	max-width: 1180px;
	margin: 0 auto;
}

.branding-navigation-wrap > div,
.branding-navigation-wrap > nav,
.branding-navigation-wrap > button {
	font-size: 1rem;
	display: inline-block;
	vertical-align: middle;
}

.site-branding {
	max-width: 240px;
	padding: 5px 20px;
}

.site-branding p {
	margin: 0;
}

.site-logo, .site-logo a, .site-title, .site-title a {

}

.site-logo {
	text-align: left;
}

.site-logo a {
	display: block;
}

.custom-logo {
	width: 100%;
	z-index: 999;
	margin: 0;
	image-rendering: auto;
}

.site-title {
	font-size: 21px;
	color: rgb(40, 40, 40);
	margin-bottom: 0;
	margin-top: 0;
}

.site-title a {
	color: #404040;
	text-decoration: none;
	margin-bottom: 0;
	margin-top: 0;
}

.site-description {
	color: #404040;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

.main-navigation {
	width: auto;
}

.main-navigation ul {
	display: block;
	list-style: none;
	margin: 0;
	padding-left: 0;
	width: 100%;
	text-align: center;
	background: transparent;
}

.main-navigation li {
	padding: 0;
	display: inline-block;
	font-size: 0;
	position: relative;
}

.main-navigation a {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	display: block;
	padding: 10px 20px;
	line-height: 1;
	text-decoration: none;
	font-size: 14px;
	color: #005c8d;
	transition: 0.5s;
	text-transform: uppercase;
	background: transparent;
	border-radius: 20px;
}

.main-navigation .menu > li > a {
	transition: 0.5s ease-in-out;
}

.main-navigation .menu > li:hover > a,
.main-navigation .menu > li:focus > a {
	background: rgba(0,92,141,0.2)
}

.main-navigation .menu > .current-menu-item > a, 
.main-navigation .menu > .current_page_item > a {
	background: rgba(0,92,141,0.2)
}

.main-navigation .menu:hover > .current-menu-item > a, 
.main-navigation .menu:hover > .current_page_item > a {
	color: #005c8d;
	background: transparent;
}

.main-navigation .menu:hover > .current-menu-item:hover > a, 
.main-navigation .menu:hover > .current_page_item:hover > a {
	background: rgba(0,92,141,0.2);
}

/** Second level menus **/

.main-navigation ul ul {
	float: left;
	top: 1.5em;
	left: -999em;
	opacity: 0;
	visibility: hidden;
	transition: 0.25s ease-in-out;
	position: absolute;
	background: transparent;
	text-align: left;
	z-index: 99999;
	width: 200px;
	padding: 10px 0 0 0;
	z-index: -1;
}

.main-navigation ul ul:before {
	content: '';
	display: block;
	position: absolute;
	border-top: 10px solid transparent;
	border-right: 10px solid transparent;
	border-left: 10px solid transparent;
	border-bottom: 10px solid #FFF;
	top: -9px;
	width: 20px;
	height: 10px;
	left: 20px;
	z-index: 1;
}

.main-navigation ul ul li {
	// width: calc(100% - 1px);
	width: 100%;
	border-left: 1px solid #333;
	border-right: 1px solid #333;
	background: #FFF;
}

.main-navigation ul ul li.wpml-ls-item {
	width: 60px;
	display: block;
}

.main-navigation ul ul a {
	width: 100%;
	text-transform: none;
	color: #333333;
	font-size: 15px;
	border-radius: 0;
	transition: 0.25s ease-in-out;
}

.main-navigation ul ul li:hover a {
	padding-left: 30px;
}

.main-navigation ul ul li.wpml-ls-item:hover a {
	padding-left: 20px;
}

.main-navigation ul ul li:first-child {
	border-radius: 15px 15px 0 0;
	border-top: 1px solid #333;
	padding-top: 10px;
	overflow: hidden;
}

.main-navigation ul ul li:last-child {
	border-radius: 0 0 15px 15px;
	border-bottom: 1px solid #333;
	padding-bottom: 10px;
	overflow: hidden;
}

.main-navigation div > ul li:hover > ul,
.main-navigation div > ul li:focus > ul {
	left: auto;
    visibility: visible;
    opacity: 1;
    top: 100% !important;
    position: absolute;
    z-index: 1;
}

/* Third level menus, not sure to keep them, so 1998 */

.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%;
}

/* Small menu. */

.menu-toggle {
	position: absolute;
	display: inline-block;
	vertical-align: middle;
	padding: 0;
	z-index: 9999999;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	font-size: 1.5rem !important;
	top: 0;
	bottom: 0;
	right: 20px;
	background: transparent;
}
.menu-toggle::before {
	font-family: 'FontAwesome';
	content: '\f0c9';
}

.menu-toggle.clicked::before {
	content: '\f00d';
}

.menu-toggle:focus {
	color: #404040;
}
.menu-toggle:hover {
	color: #404040;
	background: transparent;
}
.menu-toggle:active {
	color: #404040;
	background: transparent;
}

@media screen and (max-width: 1250px) {
	.branding-navigation-wrap {
		flex-direction: column;
		padding-top: 10px;
		padding-bottom: 10px;
	}
}

@media screen and (min-width: 769px) {
	.menu-toggle {
		display: none !important;
	}
	.main-navigation ul, .main-navigation > div {
		display: block !important;
	}
	.webapp-login {
		float: right;
	}
	.webapp-login a {
		font-size: 0;
	}
	.webapp-login a:before {
		color: #febe10;
		content: '\f023';
		font-size: 1.5rem;
		font-family: 'FontAwesome';
		line-height: 14px;
	}
}

@media screen and (max-width: 768px) {
	
	/* Header */
	.site-header {
		padding: 0;
		
	}
	.site-branding {
    	margin-top: 0;
	}
	.custom-logo {
		max-width: 125px;
		image-rendering: auto;
	}
	
	/* Navigation */
	.main-navigation {
		position: absolute;
		width: 100%;
		z-index: 1;
		top: 0;
		left: 0;
		max-height: 100vh;
	}
	.main-navigation ul, .main-navigation li, .main-navigation > div {
		float: left;
	}
	/** Start mobile submenu style */
	.main-navigation li {
		float: none;
	}
	.main-navigation ul {
		transition: 0.5s ease-in-out;
	}
	.main-navigation ul ul {
		background: #FFF;
		float: none;
		position: relative;
		margin-top: 0;
		width: 100%;
		visibility: visible;
		z-index: 1;
		text-align: center;
		display: none;
		opacity: 1;
		transition: none;
		padding-top: 0;
	}
	.main-navigation ul ul li {
		border-radius: 0 !important;
		border: none !important;
	}
	.main-navigation ul ul li:hover a {
		padding-left: 20px;
	}
	.main-navigation .sub-menu li:last-child {
		margin-bottom: 0;
	}
	.main-navigation ul ul a {
		width: 100%;
	}
	.main-navigation div > ul li:hover > ul,
	.main-navigation div > ul li:focus > ul {
	    left: auto;
	    visibility: visible;
	    opacity: 1;
	    top: 0 !important;
	    position: relative;
	    height: auto;
	}
	.main-navigation ul ul li.wpml-ls-item {
	    width: auto;
	    display: inline-block;
	    vertical-align: middle;
	    padding-bottom: 0px !important;
	    padding-top: 0px !important;
	}
	/** End - Mobile submenu style */
	.main-navigation > div {
		background-color: #f2f2f2;
		height: 100vh;
		max-height: 100vh;
		width: 100%;
		display: none;
		position: absolute;
		overflow: auto;
	}
	.main-navigation ul {
		margin-top: 90px;
	}
	.main-navigation li:first-child {
	}
	.main-navigation li:last-child {
		margin-bottom: 40px;
	}
	.main-navigation li {
		width: 100%;
		text-align: center;
	}
	.main-navigation li a, .home .main-navigation li a {
		border: none;
		text-transform: uppercase;
		text-decoration: none;
		padding: 20px;
		border-radius: 0 !important;
	}
	.home .main-navigation .current-menu-item a, .home .main-navigation .current_page_item a, .main-navigation .current-menu-item a, .main-navigation .current_page_item a {
    	text-decoration: underline;
	}
	
}

/*--------------------------------------------------------------
## Comments and Prev / Next Navigation styles
--------------------------------------------------------------*/

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 20px 5px;
	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%;
}

.site-main .comment-navigation,
.site-main .posts-navigation, 
.site-main .post-navigation {
    margin: 20px 5px;
    overflow: hidden;
}

.site-main .post-navigation {
	margin: 20px 5px;
}

.nav-previous a:before {
	content: '\f137';
	font-family: 'FontAwesome';
	margin-right: 5px;
}

.nav-next a:after {
	content: '\f138';
	font-family: 'FontAwesome';
	margin-left: 5px;
}

/*--------------------------------------------------------------
## menucolor class to colorize menu when scrolling
--------------------------------------------------------------*/

.menucolor {
	// background: rgba(255,255,255,0.9);
}

.custom-logo {
//	-webkit-filter: invert(0%);
//    filter: invert(0%);	
//    transition: 0.5s ease-in-out;
}

.home .menucolor .custom-logo {
//	-webkit-filter: invert(100%);
//    filter: invert(100%);
}

.home .menucolor .main-navigation a {
//	color: #404040;
}

/*--------------------------------------------------------------
## Page Layout
--------------------------------------------------------------*/

.page-layout iframe,
iframe {
	margin: 0 auto;
	display: block;
}

.page-layout iframe[src*="vimeo.com"] {
	height: 515px;
	width: 100%;
}

form[action*="paypal.com/"] {
	text-align: center;
}

.page-layout table {
	border: 1px solid #ccc;
}

.page-layout tr {
	border-bottom: 1px solid #ccc;
}

.page-layout tr:last-child {
	border-bottom: none;
}

.page-layout td {
	width: auto !important;
	padding: 10px !important;
	border-right: 1px solid #ccc;
}

.page-layout td:last-child {
	border-right: none;
}


.lsow-image.full {
	width: 100%;
	border-radius: 0 !important;
}

body .lsow-icon-email::before {
	content: '\f0ac';
	font-family: 'FontAwesome';
}

.lsow-social-list {
	margin-top: 0 !important;
}

.lsow-social-list-item:last-child {
	margin-right: 0 !important;
}

.lsow-team-members.lsow-style1 .lsow-team-member-wrapper {
	background: #f7f7f7;
	border-radius: 3px;
	border-bottom: 1px solid #ededed;
	transform: translateY(0);
	transition: 0.35s ease-in-out;
	margin-bottom: 3.4%;
	padding: 0;
}

.lsow-team-member-text {
	padding: 5px;
}

.lsow-team-members.lsow-style1 .lsow-team-member {
	margin-bottom: 0 !important;
}

.lsow-team-members.lsow-style1 .lsow-team-member-wrapper:hover {
	transform: translateY(-15px);
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.35),0 6px 20px 0 rgba(0,0,0,0.19) !important;
}

/*--------------------------------------------------------------
## SOCIAL MENU
--------------------------------------------------------------*/

div[class^='menu-social'] li a,
div[class*=' menu-social'] li a {
	text-decoration: none;
	color: #404040;
	display: block;
	position: relative;
	transition: 0.5s;
	font-size: 0;
	padding: 5px;
	text-align: center;
	min-width: 45px;
}

div[class^='menu-social'] li a:before,
div[class*=' menu-social'] li a:before {
	font-family: FontAwesome;
	height: 35px;
	line-height: 35px;
	text-align: center;
	width: 35px;
	transition: 0.5s;
	font-size: 21px;
	border-radius: 50%;
	font-weight: 400;
	display: inline-block;
}

div[class^='menu-social'] li a:hover:before,
div[class*=' menu-social'] li a:hover:before,
div[class^='menu-social'] li a:focus:before,
div[class*=' menu-social'] li a:focus:before {
	transform: scale(1.1,1.1);
	transition: 0.5s;
}

div[class^='menu-social'] li a[href*="codepen.io"]:before,
div[class*=' menu-social'] li a[href*="codepen.io"]:before {
	content: "\f1cb";
}

div[class^='menu-social'] li a[href*="digg.com"]:before,
div[class*=' menu-social'] li a[href*="digg.com"]:before {
	content: "\f221";
}

div[class^='menu-social'] li a[href*="dribbble.com"]:before,
div[class*=' menu-social'] li a[href*="dribbble.com"]:before{
	content: "\f1a6";
}

div[class^='menu-social'] li a[href*="dropbox.com"]:before,
div[class*=' menu-social'] li a[href*="dropbox.com"]:before {
	content: "\f16b";
}

div[class^='menu-social'] li a[href*="facebook.com"]:before,
div[class*=' menu-social'] li a[href*="facebook.com"]:before {
	content: "\f09a";
	color: #FFF !important;
	background: #3b5998;
}

div[class^='menu-social'] li a[href*="flickr.com"]:before,
div[class*=' menu-social'] li a[href*="flickr.com"]:before {
	content: "\f16e";
}

div[class^='menu-social'] li a[href*="foursquare.com"]:before,
div[class*=' menu-social'] li a[href*="foursquare.com"]:before {
	content: "\f180";
}

div[class^='menu-social'] li a[href*="plus.google.com"]:before,
div[class*=' menu-social'] li a[href*="plus.google.com"]:before {
	content: "\f0d5";
}

div[class^='menu-social'] li a[href*="github.com"]:before,
div[class*=' menu-social'] li a[href*="github.com"]:before {
	content: "\f113";
}

div[class^='menu-social'] li a[href*="instagram.com"]:before,
div[class*=' menu-social'] li a[href*="instagram.com"]:before {
	content: "\f16d";
	color: #FFF !important;
	background: #f09433; 
	background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
	background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
	background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
}

div[class^='menu-social'] li a[href*="linkedin.com"]:before,
div[class*=' menu-social'] li a[href*="linkedin.com"]:before {
	content: "\f0e1";
}

div[class^='menu-social'] li a[href*="path.com"]:before,
div[class*=' menu-social'] li a[href*="path.com"]:before {
	content: "\f118";
}

div[class^='menu-social'] li a[href*="pinterest.com"]:before,
div[class*=' menu-social'] li a[href*="pinterest.com"]:before {
	content: "\f231";
}

div[class^='menu-social'] li a[href*="getpocket.com"]:before,
div[class*=' menu-social'] li a[href*="getpocket.com"]:before {
	content: "\f265";
}

div[class^='menu-social'] li a[href*="polldaddy.com"]:before,
div[class*=' menu-social'] li a[href*="polldaddy.com"]:before {
	content: "\f192";
}

div[class^='menu-social'] li a[href*="reddit.com"]:before,
div[class*=' menu-social'] li a[href*="reddit.com"]:before {
	content: "\f281";
}

div[class^='menu-social'] li a[href*="skype.com"]:before,
div[class*=' menu-social'] li a[href*="skype.com"]:before {
	content: "\f17e";
}

div[class^='menu-social'] li a[href*="stumbleupon.com"]:before,
div[class*=' menu-social'] li a[href*="stumbleupon.com"]:before {
	content: "\f1a4";
}

div[class^='menu-social'] li a[href*="tumblr.com"]:before,
div[class*=' menu-social'] li a[href*="tumblr.com"]:before {
	content: "\f173";
}

div[class^='menu-social'] li a[href*="twitter.com"]:before,
div[class*=' menu-social'] li a[href*="twitter.com"]:before {
	content: "\f099";
}

div[class^='menu-social'] li a[href*="vimeo.com"]:before,
div[class*=' menu-social'] li a[href*="vimeo.com"]:before {
	content: "\f27d";
}

div[class^='menu-social'] li a[href*="wordpress.org"]:before,
div[class*=' menu-social'] li a[href*="wordpress.org"]:before,
div[class^='menu-social'] li a[href*="wordpress.com"]:before,
div[class*=' menu-social'] li a[href*="wordpress.com"]:before {
	content: "\f19a";
}

div[class^='menu-social'] li a[href*="youtube.com"]:before,
div[class*=' menu-social'] li a[href*="youtube.com"]:before {
	content: "\f167";
}

div[class^='menu-social'] li a[href^="mailto:"]:before,
div[class*=' menu-social'] li a[href^="mailto:"]:before {
	content: "\f0e0";
}

div[class^='menu-social'] li a[href*="spotify.com"]:before,
div[class*=' menu-social'] li a[href*="spotify.com"]:before {
	content: "\f1bc";
}

div[class^='menu-social'] li a[href*="twitch.tv"]:before,
div[class*=' menu-social'] li a[href*="twitch.tv"]:before  {
	content: "\f1e8";
}

div[class^='menu-social'] li a[href$="/feed/"]:before,
div[class*=' menu-social'] li a[href$="/feed/"]:before {
	content: "\f09e";
}

/*--------------------------------------------------------------
## Newsletter form Custom
--------------------------------------------------------------*/

.newsletter div.wpcf7 {
	padding: 0 10px;
}

.newsletter .full-form {
	margin-bottom: 0;
}

.newsletter input {
	background: rgba(255,255,255,0.5);
}

.newsletter input[type="submit"] {
	background: #f2921a;
	color: #404040;
	border: none;
}

.newsletter p {
	display: none;
}

/*--------------------------------------------------------------
## WP PageNavi
--------------------------------------------------------------*/

.wp-pagenavi {
	text-align: center;
	margin-bottom: 30px;
	font-size: 16px;
}

.wp-pagenavi a, .wp-pagenavi span {
	display: inline-block;
}

.wp-pagenavi .pages {
	display: none;
}

.wp-pagenavi a, .wp-pagenavi span {
    text-decoration: none;
    border: none;
    padding: 5px 15px;
    margin: 5px;
    background: #404040;
    color: #FFF;
    transition: 0.5s;
    border: 2px solid transparent;
}

.wp-pagenavi a:hover, .wp-pagenavi span:hover {
	color: #005fa6;
	background: #FFF;
	border: 2px solid #404040;
}

.wp-pagenavi span.current {
    font-weight: bold;
    color: #404040;
    background: #FFF;
    border: 2px solid #404040;
}

/*--------------------------------------------------------------
# SOPB Integration, overrides & Fixes
--------------------------------------------------------------*/
/* Make sow-icon-fontawesome work with embedded fontawesome */

.sow-icon-fontawesome[data-sow-icon]::before {
    content: attr(data-sow-icon);
}

.sow-icon-fontawesome {
	font-family: fontawesome;
}

/** Button Widget Overrides: can be applied, if needed, to
*   input[type="button"],
*   input[type="reset"],
*   input[type="submit"] 
**/

body .so-widget-sow-button .ow-button-base a.ow-button-hover {
	box-sizing: border-box;
	font-size: 1em;
	font-weight: 700;
	padding: 0.85em 1.1em;
	background: #404040;
	border-left: 0;
	border-right: 0;
	border-top: 0;
	border-bottom: 0;
	color: #ffffff !important;
	border-radius: 0;
	box-shadow: none;
	text-shadow: none;
}

body .so-widget-sow-button .ow-button-base a.ow-button-hover:hover {
	background: #101010;
	border-color: inherit;
	color: #ffffff;
}

body #colophon .so-widget-sow-button .ow-button-base a.ow-button-hover {
	background: transparent;
	font-size: 1em;
}

body #colophon .so-widget-sow-button .ow-button-base a.ow-button-hover span {
	color: #404040;
}

body .so-widget-sow-button .ow-button-base a.ow-button-hover:hover {
	text-decoration: underline;
	color: #404040;
}

body .so-widget-sow-button .ow-button-base a [class^="sow-icon-"] {
	margin-top: 0;
	padding-left: 0.75em;
}

body .button-row .so-widget-sow-button .ow-button-base a.ow-button-hover {
	width: 100%;
	border-radius: 15px;
	padding: 0;
}

body .rounded .so-widget-sow-button .ow-button-base a.ow-button-hover {
	border-radius: 15px;
}

body .button-row .so-widget-sow-button .ow-button-base a.ow-button-hover span {
	text-transform: uppercase;
	font-size: 0.9em;
}

body .button-row .so-widget-sow-button .ow-button-base a.ow-button-hover:after {
	content: '\f105';
	font-family: 'FontAwesome';
	color: #FFF;
}

body .button-row .yellow-button .so-widget-sow-button .ow-button-base a.ow-button-hover {
	background: rgba(254,190,16,1);
}

body .button-row .yellow-button .so-widget-sow-button .ow-button-base a.ow-button-hover:hover {
	background: rgba(254,190,16,0.6);
}

body .button-row .blue-button .so-widget-sow-button .ow-button-base a.ow-button-hover, 
body .blue-button .so-widget-sow-button .ow-button-base a.ow-button-hover {
	background: rgba(0,92,141,1);
}

body .button-row .blue-button .so-widget-sow-button .ow-button-base a.ow-button-hover:hover,
body .blue-button .so-widget-sow-button .ow-button-base a.ow-button-hover:hover {
	background: rgba(0,92,141,0.6);
}

body .button-row .white-button .so-widget-sow-button .ow-button-base a.ow-button-hover {
	background: rgba(255,255,255,1);
}

body .button-row .white-button .so-widget-sow-button .ow-button-base a.ow-button-hover:hover {
	background: rgba(255,255,255,0.6);
}

body .button-row .white-button .so-widget-sow-button .ow-button-base a.ow-button-hover span {
	color: #005c8d;
}

body .button-row .white-button .so-widget-sow-button .ow-button-base a.ow-button-hover:after {
	color: #005c8d;
}

/*--------------------------------------------------------------
## Widgetized Sidebar
--------------------------------------------------------------*/


.widgetized-sidebar {
	padding: 10px 20px;
}

.widgetized-sidebar .widget-title {
	font-size: 1em;
	text-transform: uppercase;
	font-weight: normal;
	color: #404040;
}

.widgetized-sidebar .gallery-item img {
	margin-bottom: 25px;
	margin-top: 25px;
	width: auto;
	max-width: 175px;
}

/*--------------------------------------------------------------
## Buttons and Video Styles in Home
--------------------------------------------------------------*/

.mountain-home-row .so-panel {
	margin-bottom: 0 !important;
}

.buttons-and-video-widget {
	max-width: 100%;
	margin: 0 auto;
	position: absolute;
	width: 100%;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99;
	background: rgba(255,255,255,0.7);
}

.button-row {
	max-width: 960px;
	margin: 0 auto;
	padding: 30px;
}

.button-block {
	padding: 15px 30px;
}

.button-block img {
	max-width: 150px !important;
	margin: 0 auto;
}

.yellow-block {
	background: rgba(254,190,16,1);
}

.blue-block {
	background: rgba(0,92,141,1);
}

.white-block {
	background: rgba(255,255,255,1);
}

.widget_sow-headline + .widget_seccarouselwidget {
	margin-top: -30px;
}

@media screen and (min-width: 840px) {
	.buttons-and-text-row {
		margin-top: -45px;
	}
}

.buttons-and-text-row .panel-grid {
	margin-bottom: 0 !important;
}

.buttons-and-text-row .button-row {
	font-size: 0.9em;
}

.buttons-and-text-row p:last-child {
	margin-bottom: 0 !important;
}

@media screen and (max-width: 840px) {
	.buttons-and-video-widget {
		top: 380px;
		left: 30px;
	}
	.buttons-and-text-row  p {
		margin-top: 0 !important;
	}
	.buttons-and-text-row .button-row {
		flex-direction: column;
		font-size: 1em;
	}
	.button-row .panel-grid-cell {
		width: 100% !important;
		margin-bottom: 10px;
	}
	
	.button-row .panel-grid-cell:last-child {
		margin-bottom: 0;
	}
	.buttons-and-video-widget .video-row {
		right: 60px;
	}
	.buttons-and-video-widget > .panel-layout > .panel-grid:first-child {
		width: 55%;
	}
}

@media screen and (max-width: 768px) {
	.buttons-and-video-widget {
		position: static;
	}
	.buttons-and-video-widget > .panel-layout > .panel-grid {
		margin-bottom: 0 !important;
	}
	.buttons-and-video-widget > .panel-layout > .panel-grid:first-child {
    	width: 100%;
    	background: #efefef;
	}
	.buttons-and-text-row {
		background: transparent;
		padding-top: 30px;
		padding-bottom: 30px;
	}
	.buttons-and-text-row p {
		margin-top: 30px !important;
	}
	.buttons-and-video-widget .video-row {
		position: static;
		width: 100%;
	}
}

/*--------------------------------------------------------------
## Mountain Home Row
--------------------------------------------------------------*/

.mountain-home-row {
	position: relative;
}

.mountain-home-row .home-news-box {
	position: absolute;
	width: 100%;
	max-width: 400px;
	top: 150px;
	right: 11%;
	z-index: 99;
}

.mountain-home-row .home-news-box .textwidget {
	background: rgba(255,255,255,0.8);
	border-radius: 10px;
	padding: 1px 30px;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.5),0 6px 20px 0 rgba(0,0,0,0.19) !important;
	color: #005c8d;
}

body .home-news-box .so-widget-sow-button .ow-button-base {
	text-align: right !important;
}

body .home-news-box .so-widget-sow-button .ow-button-base a.ow-button-hover {
    box-sizing: border-box;
    font-size: 0.9em;
    font-weight: 700;
    padding: 0.7em 1.1em;
    background: rgba(217,102,255,0.5);
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 0;
    color: #ffffff !important;
    border-radius: 15px;
    box-shadow: none;
    text-shadow: none;
}

body .home-news-box .so-widget-sow-button .ow-button-base a.ow-button-hover:hover {
	background: rgba(217,102,255,1);
}

body .home-news-box .so-widget-sow-button .ow-button-base a.ow-button-hover span {
	text-transform: uppercase;
}

@media screen and (max-width: 1366px) {
	.mountain-home-row .home-news-box {
		right: 6%;
	}
}

@media screen and (max-width: 1180px) {
	.mountain-home-row .home-news-box {
		max-width: 320px;
	}
}


@media screen and (max-width: 960px) {
	.mountain-home-row .home-news-box {
		display: none;
	}
	.mountain-home-row > .panel-grid-cell > .so-panel {
		margin-bottom: 0 !important;
	}
}

/*--------------------------------------------------------------
## Mountain Slider
--------------------------------------------------------------*/

.mountain-slider .so-widget-sow-hero .sow-slider-base ul.sow-slider-images .sow-slider-image-wrapper h1 {
	font-size: 72px;
}

.mountain-slider .so-widget-sow-hero .sow-slider-base ul.sow-slider-images .sow-slider-image-wrapper h2 {
	font-size: 46px;
}

.mountain-slider .so-widget-sow-hero .sow-slider-base ul.sow-slider-images .sow-slider-image-wrapper p {
	text-shadow: none;
	max-width: 680px;
}

.mountain-slider .so-widget-sow-hero .sow-slider-base ul.sow-slider-images .sow-slider-image-wrapper .mountain-text {
	width: calc(100% - 168px);
	float: left;
}

.mountain-slider .sow-hero-buttons {
	max-width: 168px !important;
	width: 168px;
	margin-top: 50px !important;
	float: right;
}

.mountain-slider .so-widget-sow-button {
	margin: 0 !important;
}

.mountain-slider .ow-button-hover {
	padding: 0 !important;
	border-radius: 6px !important;
	overflow: hidden !important;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.5),0 6px 20px 0 rgba(0,0,0,0.19) !important;
}

.mountain-slider .sow-icon-image {
	width: 168px !important;
	height: 42px !important;
	background-size: contain !important;
}

@media screen and (max-width: 840px) {
	.mountain-slider .sow-hero-buttons {
		margin-top: 2em !important;
		float: none;
	}
}

@media screen and (max-width: 560px) {
	.mountain-slider .sow-hero-buttons {
		margin-top: 1em !important;
		float: none;
	}
}

/*--------------------------------------------------------------
## Basic Custom Carousel Style - You can copy this in your theme style.css
--------------------------------------------------------------*/

.se-ccarousel {
	// background: #181915 url('img/damasque-background-repeat.png') repeat top left;
	// background-size: 175px;
}

.se-ccarousel .carousel-item {
	position: relative;
	overflow: hidden;
}

.se-ccarousel .item-header img {
	display: block;
	width: 90%;
	margin: 5%;
}

.se-ccarousel .item-overlay {
	display: none;
}

.se-ccarousel .slick-track {
	display: flex;
	align-items: center
}

.se-ccarousel .carousel-item {
}

.se-ccarousel .item-overlay h4 {
	color: #FFF;
	text-transform: uppercase;
	font-size: 1.35em;
	transition: 0.5s ease-in-out;
}

.se-ccarousel .carousel-item:hover  .item-overlay h4 {
	color: #0c0c0c;
}

.se-ccarousel .item-overlay p {
	color: #0c0c0c;
	max-width: 70%;
	margin-left: auto;
	margin-right: auto;
	min-height: 80px;
}

.se-ccarousel .item-overlay h4:after {
	// content: url('img/domo-sushi-restaurant-roma-baffo.png');
	// display: block;
	// margin-top: 10px;
}

.se-ccarousel .slick-dots {
	display: none !important;
}

.se-ccarousel .slick-prev {
	left: -50px;
	background: #0082d5;
	opacity: 0.6;
	transition: 0.5s ease-in-out;
}

.se-ccarousel .slick-next {
	right: -50px;
	background: #0082d5;
	opacity: 0.6;
	transition: 0.5s ease-in-out;
}

.se-ccarousel .slick-prev:hover {
	opacity: 1;
}

/*--------------------------------------------------------------
## Page Box
--------------------------------------------------------------*/

.wider-background,
.wider-row {
	margin-left: -30px;
	margin-right: -30px;
}

.page-box {
	border-bottom: 1px solid #e0e0e0;
	background: #FFF;
	transform: translateY(0);
	transition: 0.35s ease-in-out;
}

.page-box:hover {
	transform: translateY(-15px);
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.5),0 6px 20px 0 rgba(0,0,0,0.19) !important;
}

.page-box .widget-title {
	padding: 15px 30px;
	margin-bottom: 0;
	font-size: 0.9em;
}

.how-it-works-row .so-panel,
.dark-row .so-panel {
	margin-bottom: 0 !important;
}

.dark-row {
	font-size: 0.85em;
}

.dark-row h3 {
	color: #f89a1c !important;
}

.same-img {
	display: flex;
	align-items: center;
	margin-top: 45px;
	justify-content: center;
}

@media screen and (max-width: 768px) {
	.dark-row {
		padding-bottom: 40px;
	}
}

/*--------------------------------------------------------------
## A AUTO ICONS for tel, mailto and WhatsApp
--------------------------------------------------------------*/

a[href*="tel:"]:before {
	font-family: 'FontAwesome';
	content: "\f095";
	width: 25px;
	display: inline-block;
}

a[href*="mailto:"]:before {
	font-family: 'FontAwesome';
	content: "\f0e0";
	width: 25px;
	display: inline-block;
}

a[href*="api.whatsapp.com"]:before {
	font-family: 'FontAwesome';
	content: "\f232";
	width: 25px;
	display: inline-block;
}

a[href*="/maps/place/"]:before {
	font-family: 'FontAwesome';
	content: "\f041";
	width: 25px;
	display: inline-block;
}

a[href*="api.whatsapp.com"] + a[href*="tel:"] {
	margin-left: 10px;
}

a[href*="tel:"] + a[href*="mailto:"] {
	margin-left: 10px;
}

@media screen and (max-width: 768px) {
	a[href*="api.whatsapp.com"] + a[href*="tel:"] {
		margin-left: 0;
	}
	a[href*="api.whatsapp.com"] {
		position: fixed;
		bottom: 0;
		left: 0;
		font-size: 14px;
		width: 100%;
		background: #FFF;
		padding: 10px 0;
		-webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
		-moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
		box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
	}
	a[href*="api.whatsapp.com"]:before {
		font-size: 16px;
		width: 30px;
	}
}

/*--------------------------------------------------------------
## Google Maps Popup Custom Style
--------------------------------------------------------------*/

// define popup background
.gm-style > div > div:nth-child(4) > div:nth-child(4) > div:nth-child(1) > div > div:nth-child(2),
.gm-style > div > div:nth-child(4) > div:nth-child(4) > div:nth-child(1) > div > div:last-child {
	background: #677999 !important;
}

// define close icon wrapper dimensions
.gm-style .gm-style-iw + div {
	transition: 0.5s ease-in-out;
	position: absolute;
	height: 16px !important;
	width: 16px !important;
}

// define close icon
.gm-style .gm-style-iw + div::after {
	content: '\f057';
	font-family: 'FontAwesome';
	color: #FFF;
	position: absolute;
	width: 100%;
	height: 100%;
	font-size: 15px;
}

// hides default icon
.gm-style .gm-style-iw + div img {
	display: none;
}

// define text color
.gm-style .gm-style-iw {
	color: #FFF !important;
}

// define margins of popup content
.gm-style .gm-style-iw p {
	margin: 15px 0;
	display: inline-block;
	vertical-align: middle;
}

// defines an icon before popup content, vertically aligned
.gm-style .gm-style-iw > div > div:before {
	content: '\f0f8';
	font-family: 'FontAwesome';
	color: #FFF;
	font-size: 28px;
	display: inline-block;
	vertical-align: middle;
	padding-left: 10px;
	padding-right: 20px;
}

// reduces the popup triangle
.gm-style-pbc + div + div > div:nth-child(4) > div > div > div:nth-child(3) > div:first-child > div {
	transform: skewX(35deg) !important;
	background-color: #677999 !important;
	box-shadow: none !important;
}

.gm-style-pbc + div + div > div:nth-child(4) > div > div > div:nth-child(3) > div:last-child > div {
	transform: skewX(-35deg) !important;
	background-color: #677999 !important;
	box-shadow: none !important;
}

.gm-style-pbc + div + div > div:nth-child(4) > div > div > div:nth-child(1) {
	border-top: none !important;
}

// makes the popup closer to the marker
.gm-style-pbc + div + div {
	top: 10px !important;
}


/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.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;
	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;
}

/*--------------------------------------------------------------
## Helper classes
--------------------------------------------------------------*/

.automargin {
	margin: 0 auto !important;
}

.padded {
	padding: 30px 30px;
}

.hpadded {
	padding: 0 30px;
}

.vpadded {
	padding: 30px 0px;
}

.no-margin-bottom * {
	margin-bottom: 0 !important;
}

.no-margin-top * {
	margin-top: 0 !important;
}

.no-margin * {
	margin: 0 !important;
}

.no-margin-top-bottom * {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.no-margin-top-bottom p:last-child {
	margin-bottom: 1.5em !important;
}

.no-margin-top-bottom img {
	margin-bottom: 1em !important;
}

.hide {
	display: none !important;
}

.round {
	border-radius: 50px;
	overflow: hidden;
}

/*--------------------------------------------------------------
## Inline Menu - Just add '.inline-menu' class if you want a straight inline menu
--------------------------------------------------------------*/

.inline-menu .menu {
	text-align: right;
	margin: 0;
	padding: 0;
}

.inline-menu .menu li {
	display: inline-block;
}

.inline-menu .menu li a {
	color: #FFF;
	text-transform: uppercase;
	font-weight: normal;
	padding: 5px 10px;
	display: inline-block;
}

@media screen and (max-width: 768px) {
	.inline-menu .menu {
		text-align: center;
	}
}

/*--------------------------------------------------------------
## Inline Button Menu - Just add '.inline-menu .button-menu' class if you want a straight inline menu
## with a flat button-like look
--------------------------------------------------------------*/


.inline-menu.button-menu .menu {
	text-align: center;
}

.inline-menu.button-menu .menu li {
	margin-right: 10px;
}

.inline-menu.button-menu .menu li:last-child {
	margin-right: 0;
}

.inline-menu.button-menu .menu li a {
	border: 3px solid #FFF;
	padding: 10px 15px;
}

.inline-menu.button-menu .menu li:hover a {
	background: #CCC;
}

@media screen and (max-width: 768px) {
	.inline-menu.button-menu .menu li  {
		margin: 0 0 10px 0;
	}
	.inline-menu.button-menu .menu li:last-child {
		margin-bottom: 0;
	}
}

/*--------------------------------------------------------------
## Search Form Style
--------------------------------------------------------------*/

.search-wrapper {
	width: 100%;
	position: relative;
}

.search-wrapper input {
	width: 100%;
	margin: 0;
	border: 0;
}

.search-wrapper button {
	position: absolute;
	right: 0;
	top: 0;
	width: 45px;
	height: 100%;
}

/*--------------------------------------------------------------
## Search Bar specific
--------------------------------------------------------------*/

.search-bar {
	width: 100%;
	background: #f2f2f2;
	color: #0c0c0c;
	margin: 0 auto;
	font-size: 0;
	padding: 10px 60px 10px 60px;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 99999;
	-ms-transform: translate(0, -200px);
	-webkit-transform: translate(0, -200px);
	transform: translate(0, -200px);
	transition: 0.5s;
	display: inline-block;
}

.search-bar .widget-title {
	display: none;
}

.search-bar .widget_search {
	height: 100%;
	text-align: right;
}

.search-bar .widget_search:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.search-bar form {
	display: inline-block;
	vertical-align: middle;
}

.search-bar.search-open {
	-ms-transform: translate(0, 0); /* IE 9 */
    -webkit-transform: translate(0, 0); /* Safari */
    transform: translate(0, 0);
}

.search-wrapper {
	width: 100%;
	position: relative;
}

.search-wrapper input {
	width: 100%;
	margin: 0;
	border: 0;
}

.search-wrapper button {
	position: absolute;
	width: 45px;
	height: 100%;
	right: 0;
	top: 0;
	border: 0;
	background: #fcea10;
}

#theme-search-trigger {
	position: fixed;
	top: 0;
	right: 0;
	padding: 17px 20px;
	z-index: 99999;
}

.search-trigger a {
	font-size: 0;
	text-decoration: none;
	cursor: pointer;
}

.search-trigger a:before {
	content: "\f002";
	font-family: "FontAwesome";
	color: #909090;
	font-size: 20px;
	transition: 0.5s;	
}

.search-trigger.cross a:before {
	content: "\f00d";
	font-family: "FontAwesome";
	font-size: 20px;
}

.search-trigger a:hover:before {
	color: #404040;
}

#searchsubmit {
	height: 31.6px;
	width: 31.6px;
	padding: 0;
	line-height: 31.6px;
	position: relative;
	border: none;
	background: #005fa6;
	vertical-align: middle;
}

#s {
	vertical-align: middle;
}

#searchsubmit .fa {
	height: 31.6px;
	width: 31.6px;
	line-height: 31.6px;
	position: absolute;
	top: 0;
	left: 0;
	color: #FFF;
}

@media screen and (max-width: 768px) {
	#theme-search-trigger {
		top: 0;
		left: auto;
		right: 65px;
		padding: 25px 20px;
		display: none;
	}
	
	.search-bar .widget_search {
		text-align: right;
	}
	
	.search-bar {
		padding: 10px 150px 10px 10px;
	}
}

@media screen and (max-width: 400px) {
	#s {
		width: 160px;
	}
}

/*--------------------------------------------------------------
## WPCF 7 & Form DIVs
--------------------------------------------------------------*/

.wpcf7-form {
	position: relative;
}

.full-form input, .half-form input, .third-form input {
	max-width: 100%;
	position: relative;
	width: 100%;
}

.full-form input[type='radio'], .half-form input[type='radio'], .third-form input[type='radio'],
.full-form input[type='checkbox'], .half-form input[type='checkbox'], .third-form input[type='checkbox'] {
	width: auto;
}

.full-form input[type='checkbox'], .half-form input[type='checkbox'], .third-form input[type='checkbox'] {
	margin-left: 10px;
}

.full-form {
	width: 99%;
	margin-bottom: 14px;
	text-align: left;
	margin-right: 2%;
}

.half-form {
	width: 49%;
	margin-right: 1%;
	float: left;
	margin-bottom: 14px;
	text-align: left;
}

.third-form {
	width: 32.333%;
	margin-right: 1%;
	float: left;
	margin-bottom: 14px;
	text-align: left;
}

.hidden-form {
	height: 0;
	overflow: hidden;
}

.text-right {
	text-align: right;
}

.border-radius button {
	text-align: center;
}

.cv label {
	margin-right: 20px;
}

.cv span {
	font-size: 13px;
}

.wpcf7 h2 {
	text-align: center;
	margin-bottom: 28px;
}

.form-group label.error, span.wpcf7-not-valid-tip {
	position: absolute;
	font-size: 10px;
	border: 2px solid #e22328;
	padding: 2px 4px;
	border-radius: 5px;
	line-height: 1.15;
	top: 25px;
	right: -15px;
	z-index: 9;
	width: auto;
	background: #FFF;
	-webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.33);
	-moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.33);
	box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.33);
}

.wpcf7-response-output {
	position: absolute;
	font-size: 11px;
	border: 2px solid #e22328;
	padding: 2px 8px;
	border-radius: 5px;
	bottom: -50px;
	right: 0;
	left: 0;
	width: auto;
	background: #FFF;
	color: #606060;
	-webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.33);
	-moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.33);
	box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.33);
}

@media screen and (max-width: 768px) {
	.full-form, .half-form, .third-form {
		width: 100%;
		margin-right: 0;
	}
}

/*--------------------------------------------------------------
## Select2 Custom
--------------------------------------------------------------*/

select {
	width: 100%;
}

.select2-container {
	width: 100%;
	font-size: 16px;
}

.select2-container .selection .select2-selection--single {
	height: auto;
	padding: 3px;
}

.select2-container--default .selection .select2-selection--single .select2-selection__rendered {
	line-height: inherit;
}

.select2-container--default .selection .select2-selection--single .select2-selection__arrow {
	line-height: inherit;
	height: 100%;
	width: 30px;
}

.select2-container--default .selection .select2-selection--single {
	border-radius: 0;
	border: 1px solid #CCC;
}

.select2-container {
	max-width: 100%;
}

.select2-container .select2-dropdown {
	z-index: 99999;
}

/*--------------------------------------------------------------
## Post Carousel Widget
--------------------------------------------------------------*/

.latest-post-carousel {
	background: transparent;
	padding: 20px 40px;
	width: 100%;
}

.carousel-heading, .sidebar-heading {
	font-size: 23px;
	font-weight: normal;
	margin-top: 0;
	color: #404040;
	font-family: 'Roboto', sans-serif;
	border-bottom: 2px solid #FFF;
}

.post-carousel {
	width: 100%;
	clear: both;
	overflow: hidden;
}

.carousel-item .vcard, .added-micro {
	display: none !important;
}

.carousel-item time {
	color: #404040;
	font-size: 12px;
}

.carousel-item:hover {
	opacity: 1;
}

.post-carousel .hentry img {
	max-width: 100%;
	margin: 0;
	transition: 0.5s;
	display: block;
	max-width: 175px;
}

.post-carousel .hentry span {
	width: 100%;
	height: 100%;
	transition: 0.5s;
	background: rgba(0,0,0,0.35);
}

.post-carousel .hentry h3.entry-title {
	font-size: 14px;
	max-width: 200px;
	font-weight: normal;
	margin-bottom: 0;
	line-height: 1.25;
	color: #404040;
	font-family: 'Roboto', sans-serif;
}

.post-carousel .hentry h1.entry-title {
	font-size: 24px;
}

/*--------------------------------------------------------------
## Slick Slider Carousel Style
--------------------------------------------------------------*/

.slick-dots {
	clear: both;
	text-align: center;
	margin-bottom: 25px;
	margin-top: 25px;
	padding: 0;
	margin-left: 0;
}

.slick-dots li {
	display: inline-block;
	margin-right: 14px;
}

.slick-dots li:last-child {
	margin-right: 0;
}

.slick-dots li button {
	color: transparent;
	width: 14px;
	height: 14px;
	padding: 0;
	border-radius: 50%;
	background-color: #AAA;
	transition: 0.5s;
	display: inline-block;
	border: none;
}

.slick-dots li button:hover,
.slick-dots li button:focus,
.slick-dots li button:active,
.slick-dots li button:visited {
	color: transparent;
}

.slick-dots li button:hover {
	background-color: #62982b;
}

/* Show Slider Arrows. Not used for now in slick-slider-init.js */

.slick-arrow {
	position: absolute;
	height: 50px;
	width: 50px;
	top: 0;
	bottom: 0;
	margin: auto;
	z-index: 999;
	font-size: 0;
	padding: 0;
	background: transparent;
	border: none;
}

.slick-prev {
	left: 0;
}

.slick-next {
	right: 0;
}

.slick-prev:before {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	line-height: 1;
	font-family: 'FontAwesome';
	font-size: 48px;
	color: #ffc100;
	content: '\f104';
}

.slick-next:after {
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	line-height: 1;
	font-family: 'FontAwesome';
	font-size: 48px;
	color: #ffc100;
	content: '\f105';
}

/*--------------------------------------------------------------
## Latest Post List
--------------------------------------------------------------*/

.site-footer h2.list-heading {
	font-size: 16px !important;
	margin-top: 0;
}

.general-listing .hentry, .general-listing .hentry a {
	width: 100%;
}

.general-listing .hentry {
	margin-bottom: 20px;
}

.general-listing .hentry:after {
	content: '';
	display: table;
	clear: both;
}

.general-listing .hentry:last-child {
	margin-bottom: 0;
}

.general-listing .hentry img {
	width: 25%;
	margin-right: 5%;
	float: left;
}

.title-wrap {
	width: 65%;
	float: left;
}

.title-wrap .entry-title {
	margin: 0;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Popup System
--------------------------------------------------------------*/

.hentry {
	position: relative;
}

.wpcf7-form-control-wrap {
	position: relative;
}

.popup-trigger {
	cursor: pointer;
}

.popup, .readypopup {
	font-size: 14px;
	cursor: default;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	display: none;
}

.popup-wrapper {
	height: 100%;
	position: relative;
}

body > .popup,
body > .readypopup {
	z-index: 99999;
	display: flex;
	position: fixed;
	justify-content: center;
 	align-items: center;
	opacity: 0;
	width: 100%;
    max-height: 480px;
    max-width: 640px;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

body > .readypopup .popup-wrapper,
body > .popup .popup-wrapper {
	position: relative;
	width: 100%;
	display: block;
}

body > .popup p {
	font-size: 17px;
}

.popup-background,
.readypopup-background {
	position: fixed;
	height: 100%;
	width: 100%;
	opacity: 0;
	background: rgba(0,0,0,0.5);
	top: 0;
	left: 0;
	z-index: -1;
	// transition: 0.25s ease-in-out;
}

.popup-body {
    position: fixed; 
    overflow-y: scroll;
    width: 100%;
    margin-top: 0;
}

.popup-zindex {
	z-index: 99999;
}

.popup-content {
    max-width: 800px;
    min-width: 360px;
    width: 100%;
    height: 100%;
    max-height: 80vh;
    margin: 0 auto;
    background: #FFF;
    padding: 0px;
    position: relative;
    cursor: default;
    overflow: auto;
}

.popup-content h2, .popup-content p {
	color: #404040;
}

.popup-close, .readypopup-close {
	position: absolute;
	top: 0;
	right: 10px;
	cursor: pointer;
}

.popup-close::before, .readypopup-close::before {
	display: inline-block;
	padding: 20px;
	font-size: 28px;
	content: '\f00d';
	font-family: 'FontAwesome';
	color: #0c0c0c;
}

.popup-background + .popup .popup-content .panel-grid {
	padding: 30px 50px;
}

.popup-background + .popup .popup-content .panel-grid,
.popup-background + .popup .popup-content .jspPane > .textwidget,
.readypopup-background + .readypopup .popup-content .panel-grid,
.readypopup-background + .readypopup .popup-content .jspPane > .textwidget {
	padding: 30px 50px;
}

.popup-content .widget-title {
	padding: 20px 60px 0px 60px;
}

@media screen and (max-width: 1180px) {
	
	body > .popup,
	body > .readypopup {
		overflow: auto;
		height: auto;
	}
	
	.popup,
	.readypopup {
		position: static;
		width: 100%;
		max-width: 100%;
		min-height: 100%;
		height: auto;
		left: 0;
		top: 0;
	}
	
	.popup-content ul {
		margin: 0;
		padding-left: 25px;
	}
	
	.popup-close::before,
	.readypopup-close::before {
		padding: 15px 20px;	
	}

}

@media screen and (max-width: 768px)  {
	
	.popup,
	.readypopup {
		padding: 10px;
	}
	
	.popup-content {
		padding: 20px;
		position: static;
		width: 100%;
		max-width: 100%;
		height: 100%;
		max-height: 95vh;
		height: auto;
		left: 0;
		top: 0;
	}
	
	.popup-content .textwidget {
    	padding: 20px 30px;
	}

	.popup-content .widget-title {
		padding: 20px 20px 0px 20px;
	}
	
	.popup-content ul {
		margin: 0;
		padding-left: 25px;
	}
	
	.popup-close, .readypopup-close {
		right: 0;
	}
	
	.popup-close::before, .readypopup-close::before {
	    padding: 10px 15px;
	    font-size: 20px;
	}

}

/* jScrollPane */

.jspTrack {
	background: #CCC !important;
}

.jspDrag {
	background: #009ccc !important;
}

.jspVerticalBar {
	width: 5px !important;
}

.jspContainer {

}

.jspPane {
	top: 0px;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.site {
	width: 100%;
	max-width: 100%;
	position: relative;
}

.site-content {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 30px;
	width: 100%;
	background: #fff;
}

.no-results, .not-found {
	text-align: center;
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Blog Layout
--------------------------------------------------------------*/

.posts-wrapper .entry-title,
.single .entry-title {
	margin: 0 0 5px 0;
	font-size: 28px;
}

.posts-wrapper .entry-header,
.single .entry-header {
	margin-bottom: 30px;	
}

.posts-wrapper .hentry,
.single .hentry {
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 2px solid #CCC;
}

.posts-wrapper .thumb,
.single .wp-post-image {
	margin-bottom: 30px;
	display: inline-block;
}

.single .entry-content p:first-child {
	margin-top: 0;
}

.single .entry-content p:last-child {
	margin-bottom: 0;
}

.cat-links, .tags-links {
	text-transform: uppercase;
	display: inline-block;
	margin-right: 15px;
}

/*--------------------------------------------------------------
## Fixed Area
--------------------------------------------------------------*/

.fixed-area {
	position: fixed;
	right: 0;
	bottom: 0;
	width: 250px;
	z-index: 9999;
}

.fixed-area .widget {
	margin-bottom: 0!important;
}

.fixed-area .ow-button-base a {
	transition: 0;
}

@media screen and (max-width: 1280px) {
	.fixed-area {
		transform: scale(0.8,0.8);
		transform-origin: bottom right;
	}
}


@media screen and (max-width: 768px) {
	.fixed-area {
		transform: none;
		width: 100%;
	}
	.fixed-area * {
		text-align: center !important;
	}
	.fixed-area .panel-grid-cell .so-panel {
		display: inline-block;
	}
	.fixed-area h2 {
		margin: 0;
		text-align: right !important
	}
	.fixed-area .panel-row-style {
		padding: 5px !important;
	}
	.fixed-area .widget_sow-button {
		transform: scale(0.8,0.8);
	}
}

@media screen and (max-width: 480px) {
	.fixed-area h2 {
		font-size: 18px;
	}
}

@media screen and (max-width: 360px) {
	.fixed-area h2 {
		font-size: 16px;
	}
	.fixed-area .widget_sow-button {
		transform: scale(0.6,0.6);
	}
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/

#colophon {
	margin: 0 auto;
	max-width: 1180px;
	padding: 0;
	width: 100%;
	background: transparent;
	color: #404040;
	font-size: 0.8em;
}

#colophon .widget-title {
	font-weight: normal;
	text-transform: uppercase;
}

#colophon p {
	margin: 5px 0;
}

#colophon a:hover {
	color: #FFF;
}

#colophon a[href*="tel:"],
#colophon a[href*="mailto:"],
#colophon a[href*="api.whatsapp.com"],
#colophon a[href*="/maps/place/"],
#colophon a[href*="tel:"]:before,
#colophon a[href*="mailto:"]:before,
#colophon a[href*="api.whatsapp.com"]:before,
#colophon a[href*="/maps/place/"]:before {
	color: #FFF;
}

#colophon .so-panel {
	margin-bottom: 0 !important;
}

#colophon .menu {
	padding: 0;
	margin: 0;
	list-style: none;
}

#colophon div[class^='menu-social'] ul,
#colophon div[class*=' menu-social'] ul {
	text-align: left;
}

#colophon div[class^='menu-social'] li,
#colophon div[class*=' menu-social'] li {
	display: inline-block;
}

#colophon div[class^='menu-social'] li a:before,
#colophon div[class*=' menu-social'] li a:before {
	color: #404040;
}

@media screen and (max-width: 768px) {
	#colophon div[class^='menu-social'] ul,
	#colophon div[class*=' menu-social'] ul {
		text-align: left;
	}
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.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%;
}

/*--------------------------------------------------------------
## 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;
}

/*--------------------------------------------------------------
## FullHeight Slider for SiteOrigin HERO
--------------------------------------------------------------*/

.fullheight {
    position: relative;
}

.showarrow {
	position: relative;
}

@keyframes fade-updown {
	0%   {opacity: 0; margin-top: -5px;}
	50%  {opacity: 1; }
	100% {opacity: 0; margin-top: 5px;}
}


.bottom-circle {
	border-radius: 50%;
	border: 2px solid transparent;
	bottom: 10%;
	left: calc(50% - 40px);
	position: absolute;
	text-align: center;
	width: 80px;
	height: 80px;
	cursor: pointer;
	transition: 0.5s;
	z-index: 151;
	background-color: rgba(0,0,0,0);
}

#circle2 {
	position: static;
}

.bottom-arrow {
	width: 100%;
	height: 100%;
	font-family: FontAwesome;
	background-size: 70%;
	display: table;
}

.animation {
    -webkit-animation:fade-updown 1.25s ease infinite;
    -moz-animation:fade-updown 1.25s ease infinite;
    animation: fade-updown 1.25s ease infinite;
}

.bottom-arrow::before {
	content: '\f107';
	font-size: 48px;
	text-align: center;
	color: #FFF;
	display: table-cell;
	vertical-align: middle;
}

.bottom-circle a {
	text-decoration: none;
	outline: none !important;
	cursor: pointer;
}

/*--------------------------------------------------------------
## Youtube Video Background
--------------------------------------------------------------*/

.big-background {
    z-index:1;
    text-align:center;
    height:100%;
    min-height:100%;
    position:relative;
    overflow:hidden
}
 
.big-background .big-background-container {
    position:absolute;
    top:50%;
    left:50%;
    -webkit-transform:translate(-50%,-50%);
    -moz-transform:translate(-50%,-50%);
    -ms-transform:translate(-50%,-50%);
    -o-transform:translate(-50%,-50%);
    transform:translate(-50%,-50%);
    width: 70px;
    height: 70px;
}
 
.big-background-btn {
    font-family: 'FontAwesome';
    font-size:28px;
    color:#fff;
    height: 100%;
    width: 100%;
    border-radius: 35px;
    background:transparent;
    border:4px solid #fff;
    cursor:pointer;
    letter-spacing:0;
    text-align:center;
    -webkit-transition:0.4s;
    -moz-transition:0.4s;
    -o-transition:0.4s;
    transition: 0.4s;
    display: none;
    opacity: 0.33;
    position: relative;
}

.big-background-btn.show {
	display: flex;
	align-items: center;
	justify-content: center;
}

.big-background-default-image {
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
    width:100%;
    height:100%;
    z-index:0;
    backface-visibility:hidden
}
 
.big-background-btn:hover {
    color:#fff;
    background:transparent;
    opacity: 1;
}

.pause:before {
	display: block;
	content: '\f04c';
}

.play:before {
	display: block;
	content: '\f04b';
}

body .mbYTP_wrapper,
body .big-background {
	background-color: #0c0c0c;
}

/*--------------------------------------------------------------
## longerBox
--------------------------------------------------------------*/

.longer-wrap .widget_sow-editor {
	margin-bottom: 15px !important;
}

.longer {
	background: #f2f2f2;
	float: left;
	width: 100%;
	padding: 20px;
	color: #262b5a;
	font-size: 0.8em;
	height: 100px;
	cursor: pointer;
	transition: 0.5s;
	position: relative;
	overflow: hidden;
}

.bottom-padding {
	height: 20px;
	width: 100%;
	left: 0;
	bottom: 0;
	position: absolute;
	background: #f2f2f2;
}

.panel-grid .longer .widget-title {
	font-family: 'Raleway', sans-serif;
	font-weight: bold !important;
    background: #0c0c0c;
    color: #FFF;
    font-weight: normal;
    margin-bottom: 0;
    position: absolute;
    top: -15px;
    left: -15px;
	padding: 0;
	height: 30px;
	line-height: 30px;
	display: block;
	width: 30px;
	text-align: center;
	border-radius: 50%;
}

.longer .so-widget-sow-editor {
	height: auto;
	width: 97.5%;
	padding-left: 15px;
	transition: 0.5s;
}

.longer .textwidget h3 {
	font-size: 1.75em;
	margin-bottom: 0;
	margin-top: 0;
}

.longer p {
	margin-bottom: 0;
	margin-top: 0;
	font-size: 13px;
}

.longer-plus, .longer-hide {
	position: absolute;
	right: 5px;
	color: #0c0c0c;
	font-weight: bold;
	line-height: 1;
	font-size: 2em;
	bottom: 0;
}

.longer-plus::before {
	content: '+';
}

.longer-hide::before {
	content: '-';
}


/*--------------------------------------------------------------
## jQuery Lightbox
--------------------------------------------------------------*/

body #hoverNav {
	display: flex;
	align-items: center;
	justify-content: space-around;
}

body #prevLink, 
body #nextLink {
    opacity: 0;
    transition: 0.6s;
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    width: 50%;
}

#prevLink:before,
#nextLink:after {
    font-family: "FontAwesome";
    display: inline-block;
    background: transparent;
    border-radius: 50%;
    width: 100%;
    font-size: 42px;
    color: #FFF;
}

#prevLink:before {
    content: "\f104";
    text-align: left;
    padding-left: 30px;
}

#nextLink:after {
    content: "\f105";
    text-align: right;
    padding-right: 30px;
}

#prevLink:hover, #prevLink:visited:hover,
#nextLink:hover, #nextLink:visited:hover {
    background-image: none !important;
    opacity: 1;
}

#controls, #imageDetails {
	display: none;
}

#lightbox #outerImageContainer {
	background: #0c0c0c;
}

#imageData #bottomNav #bottomNavClose {
    height: 80px !important;
    width: 80px !important;
    float: none !important;
    margin-bottom: 0;
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

#bottomNavClose #jqlb_closelabel {
	height: auto !important;
	width: auto !important;
	background: none;
}

#jqlb_closelabel::before {
	font-family: 'FontAwesome';
	content: '\f00d';
	color: #FFF;
	font-size: 3em;
}

body #jqlb_loading {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

body > #overlay,
body > #lightbox {
	z-index: 99999;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
	font-size: 0;
}

.gallery:first-child:last-child {
	margin: 0;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
	margin-top: 0;
	margin-bottom: 0;
	font-size: 0;
	position: relative;
	overflow: hidden;
}

.gallery-item a,
.gallery-item img {
	display: inline-block;
	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;
}

@media screen and (max-width: 768px) {
	.gallery .gallery-item {
		max-width: 33.33% !important;
	}
}

@media screen and (max-width: 560px) {
	.gallery .gallery-item {
		max-width: 50% !important;
	}
}

/*--------------------------------------------------------------
## Credits class for last footer row
--------------------------------------------------------------*/

.credits a, .credits a:visited {
    color: #404040;
    font-weight: bold;
    text-decoration: none;
    opacity: 0.8;
    transition: 0.5s;
}

.credits a:hover, .credits a:focus, .credits a:active {
    color: #404040;
    font-weight: bold;
    text-decoration: none;
    opacity: 1;
}

@media screen and (max-width: 560px) {
    .credits .panel-grid-cell {
	     width: 100% !important;
	}
	
	.credits .panel-grid-cell p {
	    text-align: center !important;
	}
}

.edit-link {
	display: none;
}