/*
Theme Name:			SCM
Theme URI:			http://studiocreativo-m.it/
Version:			v3.6.0
License: 			GNU General Public License v2 or later
License URI: 		http://www.gnu.org/licenses/gpl-2.0.html
Description:		SCM Main Theme
Author:				Studio Creativo M
Text Domain:		scm
Template Version:	1.0.0
GitHub Theme URI:	MdMbunny/scm
GitHub Branch:		master
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

1.0 Reset
	1.1 Reset Elements
	1.2 Reset Typography
	1.3 Reset Forms
	1.4 Reset WP
2.0 Attributes
	2.1 Attributes Typography
	2.2 Attributes Display
	2.3 Attributes Position
	2.4 Attributes Alignment
	2.5 Attributes Floating
	2.6 Attributes Clearings
	2.7 Attributes Cursor
	2.8 Attributes Layout
	2.9 Attributes Shapes
3.0 Elements
	3.1 Elements Links
	3.2 Elements Buttons
	3.3 Elements Navigation
	3.4 Elements Contacts
	3.5 Elements Slider
	3.6 Elements Parallax
	3.7 Elements Tooltip
4.0 Plugins
	4.1 Plugins Google Maps
	4.2 Plugins Fancybox
	4.3 Plugins Font Awesome
	4.4 Plugins Contact Form 7
	4.5 Plugins BX Slider

0.0 Accesibility
	
--------------------------------------------------------------*/



/*--------------------------------------------------------------
1.0 Reset
--------------------------------------------------------------*/
/*--------------------------------------------------------------
1.1 Reset Elements
--------------------------------------------------------------*/

#dp_swf_engine,
.dealply-toast{
	display: none;
}

* {
	vertical-align: top;
	font-style: inherit;
	font-weight: inherit;
	line-height: inherit;
	border: none;
	outline: 0;
	margin: 0;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
}

form.acf-form, form.acf-form *{
	vertical-align: top;
	font-style: inherit;
	font-weight: inherit;
	line-height: inherit;
	border: inherit;
	outline: inherit;
	margin: inherit;
	padding: inherit;
}

/**:not(form.acf-form):not(form.acf-form *), *:before, *:after {*/
*, *: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;
}

article, aside, details, figcaption, figure, footer, header, nav, hr,
.section, .row, .column-layout, a{
	box-sizing: border-box;
}


::-moz-selection{
	background-color: #aaa;
	color: #000;
}

::selection{
	background-color: #aaa;
	color: #000;
}

html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
	box-sizing: border-box; /* Apply a natural box layout model to the document; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	height: 100%;
}

body {
	background: #FFF; /* Fallback for when there is no custom background color defined. */
	overflow: hidden;
	min-height: 100%;
	opacity: 0;
	pointer-events: none;
}

/*.no-js body{
	opacity: 1;
	pointer-events: all;
}*/

body.no-scroll{
	overflow: hidden;
}

.box{
	position: absolute;
	overflow: visible;
	display: block;
	padding: 0;
	margin: 0;
	opacity: 1;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	vertical-align: top;
	background: transparent;
	pointer-events: none;
}

div{
	text-align: inherit;
}

article, aside, details, figcaption, figure, footer, header, nav, hr,
.section, .row, .column-layout {
	display: inline-block;
	vertical-align: top;
	padding: 0;
	margin: 0;
	clear: both;
	width: 100%;
	max-width: 100%;
	background-color: transparent;
}

.post:not(.column-layout) {
	display: inline-block;
	/*float: left;*/
}

table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
	margin: 0 0 1.5em;
	width: 100%;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}

blockquote, q {
	quotes: "" "";
}

ul {
	list-style: none;
	padding: 0;
    margin: 0;
}

ol {
	list-style: decimal;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
}

.scm-image img {
	max-width:100%;
	max-height:100%;
}

embed, iframe, object {
	max-width: 100%;
}

/*--------------------------------------------------------------
1.2 Reset Typography
--------------------------------------------------------------*/
caption, th, td {
	font-weight: normal;
	text-align: left;
}

.h0, h1, h2, h3, h4, h5, h6, .h7, .h8, .h9 {
	font-weight: bold;
	line-height: 1em;
	color: #444;
}

b, strong, dt, th {
	font-weight: bold;
	line-height: inherit;
	/*color: #444;*/
}

dfn, cite, em, i {
	font-style: italic;
}

pre {
	background: #eee !important;
	font-family: "Courier 10 Pitch", Courier, monospace !important;
	font-size: 15px !important;
	font-size: 1.5rem !important;
	line-height: 1.6 !important;
	margin-bottom: 1.6em !important;
	max-width: 100% !important;
	overflow: auto !important;
	padding: 1.6em !important;
	color: #000 !important;
	text-align: left !important;
}

code, kbd, tt, var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 1.5rem;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

sup, sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

.sub {
	top: .5ex;
}

.fa {
	font-size: 1em;
	/*line-height: inherit;
	vertical-align: middle;*/
	display: inline-block;
	line-height: 0;
  	vertical-align: initial;
}

.fa:before{
	line-height: 1em;
}

.fa-stack{
	font-size: 1em;
}

.fa-stack-2x{
	font-size: 2em;
}

.fa-stack-3x{
	font-size: 3em;
}

/*--------------------------------------------------------------
1.3 Reset Forms
--------------------------------------------------------------*/
::-webkit-input-placeholder { /* WebKit browsers */
    color:    #ddd;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #ddd;
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #ddd;
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
   color:    #ddd;
}

form:not(.acf-form){
	line-height: 0;
}

form:not(.acf-form) br{
	display: none;
}

input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	cursor: text;
	padding: 1em;
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}

input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	box-sizing: border-box;
}

input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}

/*input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],*/
.wpcf7-form select,
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7 .destinatario { /*  +++ todo: mira a select e non nello specifico wpcf7 */
	display: block;
	color: #a7a7a7;
	background-color: #FFF;
	border: 1px solid #ccc;
	max-width: 100%;
	width: 100%;
	min-height: 3em !important;
	
	font-size: 1em;
	line-height: 1.5em;
	margin-bottom: 15px;
	padding: 0em 1em;
	
	-webkit-appearance: none;
	-webkit-border-radius: 0px;
	border-radius: 0 !important;
	
	-webkit-transition: all .3s;
	transition: all .3s;
}

.wpcf7-form select {
	height: 3.4em;
	width: 100%;
	background-color: transparent;
	color: #a7a7a7;
	/*cursor: pointer;*/
}

/*input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,*/
.wpcf7-form select:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
	color: #666;
	border-color: #666;
}

.wpcf7-form textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	/*padding-left: 10px;*/
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 100%;
	height: 175px;
	max-height: 300px;
	padding-top: .5em;
	padding-bottom: .5em;
}

/*--------------------------------------------------------------
1.4 Reset WP
--------------------------------------------------------------*/
.wp-caption{}
.wp-caption-text{}
.gallery-caption{}
.bypostauthor{}


/*--------------------------------------------------------------
2.0 Attributes
--------------------------------------------------------------*/
/*--------------------------------------------------------------
2.1 Attributes Typography
--------------------------------------------------------------*/
.h0 { font-size: 2.5em; }
h1 { font-size: 2.2em; }
h2 { font-size: 2em; }
h3 { font-size: 1.8em; }
h4 { font-size: 1.6em; }
h5 { font-size: 1.4em; }
h6 { font-size: 1.2em; }
.h7 { font-size: 1.15em; }
.h8 { font-size: 1.1em; }
.h9 { font-size: 1.05em; }

.min,
.text-min,
.minion,
.text-minion {
	font-size: 60%;
}

.half,
.text-half {
	font-size: 75%;
}

.small,
.text-small {
	font-size: 85%;
}

.normal,
.text-normal {
	font-size: 100%;
}

.medium,
.text-medium {
	font-size: 125%;
}

.big,
.text-big {
	font-size: 150%;
}

.huge,
.text-huge {
	font-size: 180%;
}

.max,
.text-max,
.double,
.text-double {
	font-size: 200%;
}


.triple,
.text-triple {
	font-size: 3em;
}

.quadruple,
.text-quadruple {
	font-size: 4em;
}

/*--------------------------------------------------------------
2.2 Attributes Display
--------------------------------------------------------------*/
.hidden, .invisible, .none, .displaynone, .display-none { display: none !important; }

.block, .displayblock, .display-block { display: block; }

.inlineblock, .displayinlineblock, .display-inline-block, [data-switch] { display: inline-block; vertical-align: top; }

.inline, .displayinline, .display-inline { display: inline; }

.mask {
	display: inline-block;
	overflow: hidden;
}

/*--------------------------------------------------------------
2.3 Attributes Position
--------------------------------------------------------------*/
.affix, .fixed, .positionfixed, .position-fixed { position: fixed !important; }
.absolute, .positionabsolute, .position-absolute { position: absolute !important; }
.relative, .positionrelative, .position-relative { position: relative !important; }

.affix-bottom, .fixed-bottom, .positionfixed-bottom, .position-fixed-bottom,
.absolute-bottom, .positionabsolute-bottom, .position-absolute-bottom,
.relative-bottom, .positionrelative-bottom, .position-relative-bottom{
	bottom: 0;
}

.affix-top, .fixed-top, .positionfixed-top, .position-fixed-top,
.absolute-top, .positionabsolute-top, .position-absolute-top,
.relative-top, .positionrelative-top, .position-relative-top{
	top: 0;
}

.affix-left, .fixed-left, .positionfixed-left, .position-fixed-left,
.absolute-left, .positionabsolute-left, .position-absolute-left,
.relative-left, .positionrelative-left, .position-relative-left{
	left: 0;
}

.affix-right, .fixed-right, .positionfixed-right, .position-fixed-right,
.absolute-right, .positionabsolute-right, .position-absolute-right,
.relative-right, .positionrelative-right, .position-relative-right{
	right: 0;
}

.fixed.middle{
	top: 50%;
	left: 50%;
	margin: -.5em 0 0 -.5em;
}

.absolute.middle{
	margin: auto;
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
}

.overlay{
	position: absolute !important;
	z-index: 1;
	left: inherit;
	top: inherit;
}

.underlay{
	position: absolute;
	z-index: -1;
	left: 0;
}

/*--------------------------------------------------------------
2.4 Attributes Alignment
--------------------------------------------------------------*/
.left, .textleft, .text-left,
.content-left > *, .all-left * {
	text-align: left;
}

.right, .textright, .text-right,
.content-right > *, .all-right * {
	text-align: right;
}

.center, .textcenter, .text-center,
.content-center > *, .all-center * {
	text-align: center;
}

.justify, .textjustify, .text-justify,
.content-justify > *, .all-justify * {
	text-align: justify;
}

/*--------------------------------------------------------------
2.5 Attributes Floating
--------------------------------------------------------------*/

.align-none, .alignnone, .float-none, .floatnone,
.content-float-none > *, .all-float-none * {
	float: none;
	clear: both;
	display: block !important;
}

/*.site-content.left .responsive,*/
.align-left, .alignleft, .float-left, .floatleft,
.content-float-left > *, .all-float-left * {
	float: left;
	clear: none;
}

/*.site-content.right .responsive,*/
.align-right, .alignright, .float-right, .floatright,
.content-float-right > *, .all-float-right * {
	float: right;
	clear: none;
}

/*.site-content.center .responsive,*/
.align-center, .aligncenter, .float-center, .floatcenter,
.content-float-center > *, .all-float-center * {
	clear: both;
	margin: 0 auto;
	display: block;
}
/*
.site-content.center .responsive{
	display: flex;
}*/

.clear-none {
	clear: none !important;
}

/*--------------------------------------------------------------
2.6 Attributes Clearings
--------------------------------------------------------------*/
.clearfix,
.clear:before,
.clear:after {
	content: "";
	display: table;
}

.clearfix,
.clear:after {
	clear: both;
}

/*--------------------------------------------------------------
2.7 Attributes Cursor
--------------------------------------------------------------*/

.pointer, .pointer * {
	cursor: pointer;
}

.no-pointer, .no-pointer * {
	cursor: default;
}

/*--------------------------------------------------------------
2.8 Attributes Layout
--------------------------------------------------------------*/
.responsive{
	/*display: block;*/
	/*margin: 0 1%;*/
}

.fullheight, .full-height{
	height: 100%;
}

.tofull .responsive,
.responsive.full, .responsive.fullwidth, .responsive.full-width,
.full, .fullwidth, .full-width,
.content-full > *, .all-full * {
	width: 100%;
	margin: 0;
}

.prepend{
	margin-right: .3em;
}

.append{
	margin-left: .3em;
}

blockquote .append{
	margin-left: .2em;
}

.site{
	overflow: hidden;
}

.site.sticky-header{
	padding-top: 5em;
}

/*.site-header,
.site-credits{
	background-color: #FFF;
}*/

.site-header{
	font-size: 1em;
}

.site-header.sticky{
	position: fixed;
	z-index: 8000;
	top: 0;
	left: 0;
}

/*.smartmin .site-header > .row{
	display: none;
}*/

.tocolumn .site-header{
	font-size: .7em;
}

.header-column{
	padding: 1em 0;
}

.logo{
	font-size: 1em;
}

.logo img {
  width: auto;
}

.tocolumn .logo img {
	max-width: 100%;
}

.row,
.scm-object{
	position: relative;
}

.scm-object.column-layout,  .scm-object.full,  .scm-object.responsive{
	display: inline-block;
	vertical-align: top;
}


.section > .row {
	padding: 2em 4em;
	clear: both;
}

.section > .row.first{
	padding-top: 4em;
}

.section > .row.last{
	padding-bottom: 4em;
}

.tofull .section > .row {
	padding-left: 2em;
	padding-right: 2em;
}

/*.tofull .section > .row.first{
	padding-top: 2em;
}

.tofull .section > .row.last{
	padding-bottom: 2em;
}*/

.section > .row.full{
	padding: 0;
}

/*.scm-module + .scm-module:not([data-column]),
.scm-module > p.intro + .scm-list,
.scm-content p + p,
.scm-module p + p{
	margin-top: 1em;
}*/

.scm-module + .scm-module:not([data-column]),
.scm-module > p.intro + .scm-list,
.scm-content p + p,
.scm-module.testo > * + *{
	margin-top: 1em;
}

/*.scm-content p:last-child,
.scm-module p:last-child{
	margin-bottom: 0;
}*/

.scm-module:not(.layout-titolo) + .scm-module:not([data-column]){
	margin-top: 2em;
}

.scm-title{
	display: inline-block;
}

.scm-archive{
	-webkit-transition: max-height .7s;
	transition: max-height .7s;
}

/* SCM WIDTH */

.half-width, *[data-column-width="12"] { width: 50%; }

.third-width, *[data-column-width="13"] { width: 33.33%; }

*[data-column-width="23"] { width: 66.66%; }

*[data-column-width="14"] { width: 25%; }

*[data-column-width="34"] { width: 75%; }

*[data-column-width="15"] { width: 20%; }

*[data-column-width="25"] { width: 40%; }

*[data-column-width="35"] { width: 60%; }

*[data-column-width="45"] { width: 80%; }

*[data-column-width="16"] { width: 16.66%; }

*[data-column-width="56"] { width: 83.34%; }

*[data-column-width="17"] { width: 14.28%; }

*[data-column-width="18"] { width: 12.5%; }

*[data-column-width="19"] { width: 11.11%; }

.first:before { clear: both; }

*[data-column]{
	padding: 10px;
	float: left;
	clear: none;
}

*[data-column="auto"] {
	width: auto;
}

*[data-column].overlay, *[data-column].underlay,
*[data-column] + *:not( [data-column] ),
*:not( [data-column] ) + *[data-column]{
	clear: both;
}


*[data-column="solo"] {
	float: none;
	clear: both;
	padding: 10px 0;
}

*[data-column="solo"].first {
	padding-top: 0;
}

*[data-column="solo"].last {
	padding-bottom: 0;
}

*[data-column="first"] {
	clear: both;
}

.last:after {
	clear: both;
	content: ' ';
	display: block;
	height: 0;
}

.tocolumn .column-layout {
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.tocolumn [data-column="first"],
.tocolumn [data-column="middle"]{
	padding-bottom: 2em;
}

.smartold .half-width{
	width: 100%;
	text-align: center;
	padding: 1em;
}

.site-credits{
	padding: 1em;
	font-size: .7em;
}

/*--------------------------------------------------------------
2.9 Attributes Shapes
--------------------------------------------------------------*/

.square{
	border-radius: 0 !important;
}

.rounded{
	border-radius: .6em !important;
}

.rounded-min{
	border-radius: .2em !important;
}

.rounded-small{
	border-radius: .4em !important;
}

.rounded-medium{
	border-radius: .6em !important;
}

.rounded-big{
	border-radius: 1em !important;
}

.rounded-max{
	border-radius: 1.5em !important;
}

.circle{
	border-radius: 50% !important;
}

.circle-min{
	border-radius: 20% !important;
}

.circle-small{
	border-radius: 35% !important;
}

.circle-medium{
	border-radius: 65% !important;
}

.circle-big{
	border-radius: 80% !important;
}

.circle-max{
	border-radius: 100% !important;
}

.round-top{
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

.round-bottom{
	border-top-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
}

.round-left{
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

.round-right{
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
}

.round-head,
.round-head-left{
	border-bottom-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

.round-head-right{
	border-top-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
}

.round-foot,
.round-foot-left{
	border-top-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

.round-foot-right{
	border-top-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
}

.round-leaf,
.round-leaf-left{
	border-bottom-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
}

.round-leaf-right{
	border-top-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

.round-petal,
.round-petal-left{
	border-bottom-left-radius: 0 !important;
}

.round-petal-right{
	border-bottom-right-radius: 0 !important;
}

.round-drop,
.round-drop-left{
	border-top-left-radius: 0 !important;
}

.round-drop-right{
	border-top-right-radius: 0 !important;
}

/*--------------------------------------------------------------
3.0 Elements
--------------------------------------------------------------*/
/*--------------------------------------------------------------
3.1 Elements Links
--------------------------------------------------------------*/

.disabled,
.disabled *{
	pointer-events: none !important;
}

.enabled{
	pointer-events: auto;
}

/*.enabled *:not(.disabled){
	pointer-events: auto;
}*/

.toggle .toggle-button i,
select,
button, button *,
input[type="button"],
input[type="reset"],
input[type="submit"],
[data-href], [data-href] *,
[data-popup], [data-popup] *,
a, a *,
a:visited,
a:visited *,
a:hover,
a:hover *,
a:focus,
a:focus *,
a:active,
a:active *,
.button[data-popup],
.button[data-popup] *,
.button[data-href],
.button[data-href] * {
	cursor: pointer;
	outline: 0;
	/*color: inherit;*/
}

a, [data-href], [data-popup], button, .button{
	/*-webkit-transition: opacity .3s, color .3s;
	transition: opacity .3s, color .3s;*/
}

.toggle .toggle-button:hover i,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
[data-href]:hover,
[data-popup]:hover,
a:hover{
	text-decoration: none;
	/*opacity: .5;*/
}

/*[data-popup], [data-popup] *{
	cursor: zoom-in !important;
}*/

.current > .toggle-button > a, .active > .toggle-button > a,
.current > a, .active > a,
.current > [data-href], .active > [data-href],
.current > button, .active > button{
	cursor: default;
	/*opacity: .5;*/
	/*color: rgba(255,255,255,.5);*/
}

/*--------------------------------------------------------------
3.2 Elements List and Buttons
--------------------------------------------------------------*/


/* List */

.scm-list.horizontal{
	display: block;
	width: 100%;
}

/*.layout-elenco_puntato,
.layout-elenco_puntato > p{
	margin-bottom: 1em;
}*/

.scm-list.elenco-puntato > .button,
.scm-list.elenco-puntato > .button *{
	/*line-height: 1.5em;*/
}

.scm-list.elenco-puntato > .button,
.scm-list.elenco-puntato > .button *:not(a){
	cursor: default;
}

.scm-list.elenco-puntato > .button{
	background-color: transparent;
	/*display: list-item;*/
	padding: .3em 1em;
	min-height: 1.6em;
	/*text-align: left;*/
	margin-bottom: 0;
}

.scm-list.elenco-puntato:not(.nobullet) > .button{
	display: list-item;
}

.scm-list.elenco-puntato.nobullet > .button{
	display: inline-block;
}

.scm-list.elenco-puntato:not(.nobullet) > .button.horizontal{
	float: left;
	clear: none;
}

.scm-list.elenco-puntato:not(.nobullet) > .button.horizontal.shape{
	margin-left: 2.5em;
	margin-right: 2.5em;
}

/*.scm-list.elenco-puntato.outside.left:not(.nobullet) > .button.horizontal{
	margin-right: 2.5em;
}

.scm-list.elenco-puntato.outside.right:not(.nobullet) > .button.horizontal{
	margin-left: 2.5em;
}*/


/* Buttons */

button,
.wpcf7-form input[type="button"],
.wpcf7-form input[type="reset"],
.wpcf7-form input[type="submit"],
.page-numbers,
blockquote,
.topofpage a,
.theme-scm .nivo-directionNav a {
	text-align: center;
	display: inline-block;
}

.scm-list.elenco-puntato > .button.shape,
.scm-button:not(.elenco_puntato):not(.no-shape),
button,
.wpcf7-form input[type="button"],
.wpcf7-form input[type="reset"],
.wpcf7-form input[type="submit"],
.page-numbers,
blockquote,
.topofpage a,
.theme-scm .nivo-directionNav a {
	background: #444;
	background-image: none;
	border: 0;
	width: auto;
	color: #aaa;
	text-decoration: none;
	min-height: 3em;
	min-width: 3em;
	line-height: 1em;
	font-size: 1em;
	vertical-align: middle;
	padding: 1em;
	text-decoration: none;
}

.button .bullet{
	line-height: inherit;
}

/*.button .bullet:not( .float-center ){
	margin-top: -.1em;
}*/

.button:not(.icon) .bullet.float-center{
	margin-bottom: .5em;
}

.button.icon{
	text-align: center;
	min-height: 1em;
	min-width: 1em;
}

.button.icon .fa{
	text-align: center;
	width: 1em;
	height: 1em;
}

.bullet.float-left + span,
span + .bullet.float-right{
	margin-left: .5em;
}

.scm-list .button{
	display: inline-block;
	float: none;
	clear: none;
	/*width: auto;
	height: auto;*/
	/*display: inline-block;
	vertical-align: top;*/
}

.scm-list .button.horizontal{
	margin-bottom: .5em;
}

.scm-list .button.horizontal.shape{
	margin-right: .5em;
	margin-left: .5em;
}

.scm-list .button.right.horizontal.shape{
	margin-right: 0;
	margin-left: .5em;
}

/*.scm-list .button.horizontal:last-child{
	margin-right: 0;
}

.scm-list .button.horizontal:first-child{
	margin-left: 0;
}*/

.scm-list .button.vertical{
	/*clear: both;*/
	margin-bottom: .5em;
}

.scm-list .block.vertical {
  display: block;
  /*text-align: left;*/
  width: auto;
}

.scm-list .button.vertical:last-child{
	margin-bottom: 0;
}

.scm-list.social-follow .button{
	margin-bottom: 0;
}



/* Blockquote */

blockquote {
	text-align: left;
	font-size: 1.2em;
	margin-bottom: 1.2em;
	line-height: 1.2em;
	min-width: 0;
	min-height: 0;
}

blockquote > *{
	display: inline-block;
	height: 100%;
}

blockquote > .prepend{
	/*float: left;*/
	vertical-align: top;
}

blockquote > .append{
	/*float: right;*/
	vertical-align: bottom;
}

/* Inputs */

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background-color: #eee;
	color: #666;
}

/* Pagination */

.pagination{
	text-align: center;
}

.page-numbers{
	position: relative;
	width: 3em;
	background-color: transparent;
	color: #666;
	text-align: center;
}

.page-numbers:hover{
	background-color: #EEE;
}

.page-numbers.current {
	background-color: #666;
	color: #FFF;
}

.pagination-more .page-numbers{
	width: auto;
}

/* Loading */

.scm-loading.loading-bar{
	color: #DDD;
	background: url('_img/loading/loading_stripes_50.gif') repeat center center #DDD;
	height: 1em;
	border-radius: 5px;
	border: 1px solid rgba(255,255,255,.5);
	box-shadow: 1px 1px 2px 0px rgba(0,0,0,.5) inset;
	background-clip: content-box;
}

.scm-loading.loding-icon .fa{
	font-size: .6em;
	width: 1em;
	height: 1em;
}

.scm-loading.loading-circle:before{
	content: " ";
	border-radius: 50%;
	border: 2px solid #DDD;
	padding: .5em;
	width: 1em;
	height: 1em;
	margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* Scroll To Top */

.topofpage {
	background: #666;
	position: fixed;
	bottom: 20px;
	right: 20px;
	text-align: center;
	border-radius: 4px;
	z-index: 8000;
	opacity: 0;
	-webkit-transition: opacity 0.5s;
	transition: opacity 0.5s;
	/*visibility: hidden;*/
	pointer-events: none;
}

.topofpage.affix {
	/*visibility: visible;*/
	opacity: 0.5;
	pointer-events: inherit;
}

.topofpage:hover {
	opacity: 1;
}

.topofpage a {
	background-color: transparent;
	-webkit-transition: none;
	opacity: 1;
	transition: none;
	/*display: inline-block;
	line-height: 40px;
	width: 40px;
	height: 40px;
	text-decoration: none;*/
}

.topofpage a i{
	color: #fff;
	vertical-align: initial;
}

/*--------------------------------------------------------------
3.3 Elements Navigation
--------------------------------------------------------------*/


.navigation{
	display: block;
	z-index: 7500;
	line-height: 1em;
	font-size: .7em;
}

.navigation.float-right{
	text-align: right;
}

.toggle.navigation{
	font-size: 1em;
}

.navigation,
.sub-menu {
	text-transform: uppercase;
}

.navigation .row.full {
	padding: 0px 20px;
	/*text-shadow: 0px -1px 0px rgba(0,0,0,.2);*/
}

.navigation li,
.navigation a {
	color: #000;
	display: inline-block;
	vertical-align: top;
	text-decoration: none;
	background-color: transparent;
	text-align: center;
}

.navigation a:not(.icon-home){
	padding: 1em;
}

.navigation:not(.toggle) li{
	-webkit-transition: background-color .5s ease-in;
	transition: background-color .5s ease-in;
	background-color: #EEE;
}

.navigation:not(.toggle) li:hover{
	-webkit-transition: background-color .3s ease-out;
	transition: background-color .3s ease-out;
}

/*.navigation:not(.toggle) li:hover,
.navigation:not(.toggle) li.current:hover,
.navigation:not(.toggle) li.active:hover */
.navigation li:hover,
.navigation li.current,
.navigation li.active {
	background-color: #AAA;
}

/* Level 0 */

.navigation li.en,
.navigation li.fr,
.navigation li.de,
.navigation li.it,
.navigation li.lang-item{
	float: right;
	/*position: absolute;
	right: 0;*/
}

/* Level 1 */

.menu {
	display: inline-block;
	clear: both;
	float: none;
}

.menu > li {
	float: left;
	/*position: relative;*/
	display: inline-block;
	vertical-align: top;
}

.toggle .menu{
	padding: 0;
}

/* Level 2 */ 

.sub-menu {
	float: left;
	position: absolute;
	display: block;
	overflow: hidden;
	width: 220px;
	max-width: 350px;
	margin-left: -350px;
	padding-bottom: .5em;
	opacity: 0;
	z-index: 8500;
	-webkit-transition: all .3s;
	transition: all .3s;
	pointer-events: none;
}


body.mouse .menu li a:focus + .sub-menu,
body.mouse .menu li a:active + .sub-menu,
body.mouse .menu li:hover .sub-menu,
body.touch .menu li.toggled .sub-menu {
	margin-left: 0;
	opacity: 1;
	-webkit-transition: all .3s;
	transition: all .3s;
	pointer-events: all;
}

.navigation .sub-menu li,
.navigation .sub-menu li a {
	width: 100%;
	text-align: left;
}

/* Level 3 */ 

.sub-menu > ul {
	left: -999em;
	top: 0;
}

body.mouse .sub-menu li:hover > ul {
	left: 100%;
}

/* Sticky Menu */

.navigation.affix-self{
	visibility: hidden;
}

body:not(.ready) .navigation {
	display: none;
}

.navigation.sticky {
	position: fixed;
	top: 0;
	z-index: 8000;
	margin-bottom: 0 !important;
	-webkit-transition: all .3s;
	transition: all .3s;
	visibility: hidden;
	display: inline-block;
}

.navigation.sticky.self,
.navigation.sticky.anim-top,
.navigation.sticky.anim-opacity,
.navigation.sticky.anim-left{
	left: 0;
}

.navigation.sticky.anim-right{
	right: 0;
}

.navigation.sticky.responsive{
	left: auto;
}

.navigation.self{
	-webkit-transition: background-color .3s;
	transition: background-color .3s;
}

.navigation.sticky.self{
	position: absolute;
	-webkit-transition: background-color .3s, top .3s;
	transition: background-color .3s, top .3s;
}

.navigation.affix {
	position: fixed !important;
	visibility: visible !important;
	top: 0px !important;
}

.navigation.affix.anim-left {
	left: 0px !important;
}

.navigation.affix.anim-right {
	right: 0px !important;
}

.navigation.affix.anim-opacity {
	opacity: 1 !important;
}

.navigation.sticky .menu > .current > a:hover,
.navigation.sticky .menu > .active > a:hover,
.navigation.sticky .current > .toggle-button > a:hover,
.navigation.sticky .active > .toggle-button > a:hover{
	cursor: pointer;
}

/* Toggle Button */

.navigation.toggle,
.navigation.toggle .row{
	text-align: center;
	margin-bottom: 0 !important;
	padding: 0;
}

/*.navigation.toggle .row{
	background-color: #DDD;
}*/

.navigation.toggle .menu a {
    display: inline-block;
    font-size: 1.5em;
    padding: 1em;
    width: 100%;
}

.navigation.toggle .menu {
	visibility: hidden;
	overflow: hidden;
	display: block;
	max-height: 0px;
	-webkit-transition: max-height .3s, visibility .3s;
	transition: max-height .3s, visibility .3s;
}

.navigation.toggle.toggled .menu {
	visibility: visible;
	max-height: 1000px;
}
 
.navigation.toggle .menu > li {
	margin: 0;
	float: none;
	position: static;
	display: block;
	width: 100%;
}

.navigation > .row > div.toggle-button {
	padding: 0px;
	font-size: 1em;
	line-height: 1em;
	float: none;
	display: inline-block;
	text-align: center;
	background-color: transparent;
	cursor: pointer;
	vertical-align: top;
	color: #FFF;
}

.navigation > .row > div.toggle-button > * {
	cursor: pointer;
	padding: .5em;
	font-size: 2em;
}

.ie .navigation > .row > div.toggle-button > *{
	line-height: 1.1em;
	padding: .55em;
}

.navigation.toggle .sub-menu{
	display: none;
}


.old-ie .navigation {
	display: none !important;
}

/* Extra Menu */

.navigation li.current > .toggle-button > a, .navigation li.current > .toggle-button > a * {
    cursor: default;
}

.navigation .toggle-button > a > span{
	text-transform: initial;
}

.navigation .menu.mono a > .icon,
.navigation .menu.mini a > .icon,
.navigation .toggle-button > a > .icon{
	display: block;
    margin-bottom: .3em;
}

.navigation .sub-menu a > .icon,
.navigation .side-menu a > .icon{
	margin-right: .5em;
	font-size: .8em;
}

.navigation a > .sub {
    display: block;
    font-size: .8em;
    font-style: italic;
    font-weight: 400;
}


/* Side Menu */

#side-menu{
	position: fixed;
	z-index: 8000;
	right: 0;
	top: 25%;
	right: 1em;
    top: inherit;
    bottom: 6em;
    -webkit-transition: none;
    transition: none;
}

.smartmicro #side-menu{
	display: none !important;
}

.side-menu{
	opacity: 0;
	-webkit-transition: opacity .5s;
    transition: opacity .5s;
}

.navigation.sticky.affix .side-menu,
#site-header.sticked #site-navigation .side-menu {
    opacity: 1;
}

#side-menu li {
	display: block;
	overflow: hidden;
    padding: 1em;
    background-color: transparent;
}

#side-menu.no-name a {
    width: auto;
}

#side-menu a {
    text-align: left;
    padding: 0em !important;
    pointer-events: none;
}

#side-menu.no-name a > .icon{
    margin-right: 0em;
}

.navigation.sticky.affix #side-menu a,
#site-header.sticked #site-navigation #side-menu a {
    pointer-events: all;
}

.tofull #side-menu, .smart #side-menu{
	display: block;
	right: .7em;
    bottom: 4em;
}



/*--------------------------------------------------------------
3.4 Elements Contacts
--------------------------------------------------------------*/
.smart .datas .address {
	margin-bottom: 1em;
}
.smart .datas .separator {
	display: none;
}
.smart .datas span {
	display: block;
}

.smartmin .address span,
.smartmin .num span {
	display: block;
}

.smartmin .address span.separator,
.smartmin .num span.separator {
	display: none;
}

/*--------------------------------------------------------------
3.5 Elements Slider
--------------------------------------------------------------*/
.slider{
	position:relative;
	width:100%;
	height:auto;
	overflow: hidden;
	-webkit-transition: height .3s;
	transition: height .3s;
	margin: 0;
	padding: 0;
}

.slider img{
	height: auto !important; /* Prevent Image Stretching */
	width: 100%;
	max-width: none;
	position: absolute !important;
	left:0;
	display:none;
	transition: all 0s;
	-webkit-transition: all 0s;
}

.slider.top img{
	top: 0;
}

.slider.middle img{
	top: -100% !important;
	bottom: -100%;
	margin: auto;
}

.slider.bottom img{
	bottom: 0;
}

.slider .nivo-slice{
	height: 100% !important;
}

.slider .caption img{
	display: inline-block;
	position: static;
	width: auto;
	max-width: 100%;
	max-height: 100%;
}

/*
.slider .box > *{
	padding: 1em 2em;
}*/

/*--------------------------------------------------------------
3.6 Elements Parallax
--------------------------------------------------------------*/

.parallax-mirror {
	pointer-events: none;
	background-color: transparent;
}

/*--------------------------------------------------------------
3.7 Elements Tooltip
--------------------------------------------------------------*/

[data-tooltip]{
	cursor: pointer;
}

#tooltip {
	position: absolute;
	max-width: 450px;
	font-size: .8em;
	line-height: 1.6em;
	padding: 1em;
	background-color: #FFF;
	color: #000;
	box-shadow: 0px .3em 0 0 rgba(0,0,0,.2);
	pointer-events: none;
	display: none;
}

.portrait #tooltip{
  font-size: .7em;
}

.smart #tooltip{
  font-size: .6em;
  /*left: 10% !important;
  right: auto !important;*/
  /*margin: 0 !important;*/
  /*max-width: 80% !important;*/
  /*position: fixed;
  max-width: 80%;
  max-height: 80%;
  height: auto;
  top: -100% !important;
  left: -100% !important;
  right: -100% !important;
  bottom: -100% !important;
  margin: auto !important;*/
}

.smartmin #tooltip{
  /*left: 0 !important;
  max-width: 100% !important;*/
}

.smart #tooltip > div{
  display: inline-block;
  vertical-align: middle;
}

/*.smart #tooltip:after{
  display: none;
}*/

.smart #tooltip,
#tooltip.s, #tooltip.n{
  text-align: center !important;
  /*margin-left: 0 !important;
  margin-right: 0 !important;*/
}

#tooltip.nw, #tooltip.sw{
  margin-right: -3em;
  text-align: right;
}

#tooltip.ne, #tooltip.se{
  margin-left: -3em;  
  text-align: left;
}

.smart #tooltip.nw, .smart #tooltip.ne{
  margin-bottom: 0 !important;
}

#tooltip.nw, #tooltip.ne{
  margin-bottom: -2em;
}

.smart #tooltip.sw, .smart #tooltip.se
#tooltip.s{
  margin-top: -1em !important;
}

#tooltip.sw, #tooltip.se{
  margin-top: -2em;
}

#tooltip.w{
  margin-right: -1em;
}

#tooltip.e{
  margin-left: -1em;
}

#tooltip:after {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-top: 0 solid transparent;
  border-right: 0 solid transparent;
  border-left: 0 solid transparent;
  border-bottom: 0 solid transparent;
  border-color: #FFF;
}

#tooltip.n:after, #tooltip.nw:after, #tooltip.ne:after{
  margin-top: 1em;
}

#tooltip.s:after, #tooltip.sw:after, #tooltip.se:after{
  top: -1.7em;
}

#tooltip.w:after, #tooltip.e:after{
  margin-top: -1em;
  top: 50%;
}

.smart #tooltip.se:after,
.smart #tooltip.ne:after,
.smart #tooltip.sw:after,
.smart #tooltip.nw:after,
#tooltip.n:after,
#tooltip.s:after{
  margin-left: 50% !important;
  left: -1em !important;
}

#tooltip.sw:after,
#tooltip.nw:after {
  margin-left: 100%;
  right: 0;
}

#tooltip.w:after {
  margin-right: -1.7em;
  right: 0;
  border-width: 1em 0 1em 1.8em;
/*  border-left-color: #FFF;*/
	border-right-color: transparent !important;
	border-top-color: transparent !important;
	border-bottom-color: transparent !important;
}

#tooltip.se:after,
#tooltip.ne:after {
  margin-left: 0%;
  left: 0;
}

#tooltip.e:after {
  margin-left: -1.7em;
  left: 0;
  border-width: 1em 1.8em 1em 0;
/*  border-right-color: #FFF;*/
	border-top-color: transparent !important;
	border-left-color: transparent !important;
	border-bottom-color: transparent !important;
}

.smart #tooltip.ne:after,
.smart #tooltip.nw:after,
#tooltip.n:after {
  border-width: 1.8em 1em 0 !important;
/*  border-color: #FFF transparent transparent !important;*/
	border-right-color: transparent !important;
	border-left-color: transparent !important;
	border-bottom-color: transparent !important;
}

.smart #tooltip.se:after,
.smart #tooltip.sw:after,
#tooltip.s:after {
  border-width: 0 1em 1.8em !important;
/*  border-color: transparent transparent #FFF !important;*/
	border-right-color: transparent !important;
	border-top-color: transparent !important;
	border-left-color: transparent !important;
}

#tooltip.nw:after{
  border-width: 0 1.8em 1.8em 1.8em;
/*  border-right-color: #FFF;*/
	border-top-color: transparent !important;
	border-left-color: transparent !important;
	border-bottom-color: transparent !important;
}

#tooltip.sw:after{
  border-width: 1.8em 1.8em 0 1.8em;
/*  border-right-color: #FFF;*/
	border-top-color: transparent !important;
	border-left-color: transparent !important;
	border-bottom-color: transparent !important;
}

#tooltip.ne:after {
  border-width: 0 1.8em 1.8em 1.8em;
/*  border-left-color: #FFF;*/
	border-right-color: transparent !important;
	border-top-color: transparent !important;
	border-bottom-color: transparent !important;
}

#tooltip.se:after {
  border-width: 1.8em 1.8em 0 1.8em;
/*  border-left-color: #FFF;*/
	border-right-color: transparent !important;
	border-top-color: transparent !important;
	border-bottom-color: transparent !important;
}

/*--------------------------------------------------------------
3.8 Elements Content Fade
--------------------------------------------------------------*/

.content-fade .current-fade{
	opacity: 1 !important;
	top: 0 !important;
}

/*--------------------------------------------------------------
4.0 Plugins
--------------------------------------------------------------*/
/*--------------------------------------------------------------
4.1 Plugins Google Map
--------------------------------------------------------------*/
.scm-map{
	height: 400px;
}

.scm-map + * {
	margin-top: 20px;
}

.scm-map img{
	max-width: initial;
}
/*
.scm-map .gmnoprint{
	display: none;
}*/

.scm-map .gm-style-iw > div{
	width: auto !important;
	color: #555;
}

.scm-map .gm-style-iw {
	line-height: 1.5em;
}

.scm-map .labels{
	font-size: 45px;
}

/*.scm-map .gm-style > .gmnoprint,*/
.scm-map .gm-style > div:first-child + div {
  display: none;
}

.scm-map .gm-style > .gmnoprint:not(.gm-style-cc) + .gmnoprint {
  display: block;
}

.scm-map .gm-style > .gmnoprint.gm-style-cc + .gm-style-cc {
  display: none;
}

.scm-map .gm-style + .gm-style > .gmnoprint.gm-style-cc + .gmnoprint,
.scm-map .gm-style + .gm-style > .gmnoprint.gm-style-cc + .gmnoprint + div,
.scm-map .gm-style + .gm-style > .gmnoprint.gm-style-cc + .gmnoprint + div + .gmnoprint{
	display: inherit;
}

.object .legend,
.object .legend + div {
	float: left;
	display: inline-block;
	vertical-align: top;
	width: 5%;
}

.object .legend + div{
	/*margin: 0 1em 1em 0;*/
	width: 95%;
	padding-left: 1em;
}

.object .legend img{
	width: 100%;
}

/*--------------------------------------------------------------
4.2 Plugins Fancybox
--------------------------------------------------------------*/

.post.gallerie,
.post.video{
	opacity: 1;
	cursor: pointer !important;
}

.post.gallerie:hover,
.post.video:hover{
	opacity: .7;
}

.post.gallerie > .layout-thumbs:after{
	content: "\f03e";
}

.post.video > .layout-immagine:after{
	content: "\f16a";
}

.post.gallerie > .layout-thumbs:after,
.post.video > .layout-immagine:after{
	font-family: 'fontawesome';
	font-size: 4em;
	line-height: 2em;
    text-align: center;
    color: #FFF;
    opacity: 0;
    position: absolute;
    display: block;
    z-index: 1000;    
    margin: auto;
    height: 2em;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-shadow: 0 0 5px rgba(0,0,0,.5);
}

.gallerie:hover > .layout-thumbs:after,
.video:hover > .layout-immagine:after{
	opacity: .7;
}

.post.gallerie > .layout-thumbs:after,
.post.video > .layout-immagine:after,
.post.gallerie,
.post.video{
	-webkit-transition: opacity .3s;
	transition: opacity .3s;
}

/* Overlay */

.fancybox-overlay{
    text-align: center;
    -webkit-transition: background-color .2s;
    transition: background-color .2s;
}

.fancybox-overlay.white{
	background-color: rgba( 255,255,255, .99 ) !important;
}

/* Wrap */

.fancybox-wrap{
}

/* Skin */

.fancybox-skin{
	-webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    border-radius: 0px !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

.fancybox-overlay.image .fancybox-skin{
	background-color: transparent !important;
}

/* Outer */

.fancybox-outer {
}

/* Inner */

.fancybox-inner{
	cursor: default !important;
	height: auto !important;
	width: auto !important;
}
.fancybox-inner > *{
	margin: 0;
}

/* Image */

.fancybox-image{
}

/* img */

.fancybox-image > img{
}

/******************************************************************************************/

/* Navigation */

.fancybox-links {
	position: relative !important;
    display: inline-block;
    list-style: none;
    z-index: 9999;
    text-align: center;
    white-space: normal;
    vertical-align: middle;
    position: fixed !important;
    bottom: 0;
    left: 0;
    padding: 0 3em .5em;
	width: 100%;
    min-height: 3em;
}


.fancybox-links li {
    display: inline-block;
    margin: .25em;
    line-height: 1em;
}


.fancybox-links li label {
    width: 1em;
    height: 1em;
    border-radius: 100%;
    display: inline-block;
    cursor: pointer;
    border: 1px solid #000;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,.5) inset;
    -webkit-transition: background-color .2s;
    transition: background-color .2s;
}

.fancybox-links label:hover{
	background-color: rgba(255, 255, 255, 0.3);
}

.fancybox-links li.active label{
    background-color: rgba(255, 255, 255, 1);
}

/* white */

.fancybox-overlay.white .fancybox-links li label{
	border: 1px solid #FFF;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 1px 1px 4px 0 rgba(255, 255, 255, .5) inset;
}

.fancybox-overlay.white .fancybox-links label:hover{
	background-color: rgba(0, 0, 0, 0.3);
}

.fancybox-overlay.white .fancybox-links li.active label{
    background-color: rgba(0, 0, 0, 1);
}

/******************************************************************************************/
/******************************************************************************************/

.fancybox-overlay .fancybox-name,
.fancybox-overlay .fancybox-counter,
.fancybox-overlay .fancybox-tools{
	color: #FFF;
	padding: .5em;
	line-height: 1em;
	-webkit-transition: all .5s;
	transition: all .5s;

	position: fixed;
	/*background: rgba(0, 0, 0, .8);*/
	top: 0;
	font-size: 2em;
	
}

.fancybox-overlay .fancybox-name,
.fancybox-overlay .fancybox-counter{
	pointer-events: none;
}

.fancybox-overlay.white .fancybox-name,
.fancybox-overlay.white .fancybox-counter,
.fancybox-overlay.white .fancybox-tools,
.fancybox-overlay.white .fancybox-tools *{
	color: #000;
}

/******************************************************************************************/

/* Title */

.fancybox-overlay .fancybox-name{
	width: 100%;
	left: 50%;
	margin-left: -50%;
	z-index: 9990;
	padding: .5em 7em;
	white-space: normal;
}
.r940 .fancybox-overlay .fancybox-name,
.smart .fancybox-overlay .fancybox-name{
	padding: .5em 5em;
}
.smartmid .fancybox-overlay .fancybox-name{
	padding: .5em 4em;
    font-size: 1.5em;
}

/* Title Float */

.fancybox-overlay.float .fancybox-name{}

/* Title Over */

.fancybox-overlay.over .fancybox-name{}

/******************************************************************************************/

/* Counter */

.fancybox-overlay .fancybox-counter{
	z-index: 9991;
	left: 1em;
}
body.touch .fancybox-overlay .fancybox-counter{
	left: 3em;
}
body.r940 .fancybox-overlay .fancybox-counter,
body.smart .fancybox-overlay .fancybox-counter{
	left: 1em;
}
body.smartmid .fancybox-overlay .fancybox-counter{
	font-size: 1.5em;
}

/* Counter Float */

.fancybox-overlay.float .fancybox-counter{}

/* Counter Over */

.fancybox-overlay.over .fancybox-counter{}

/******************************************************************************************/

/* Tools */

.fancybox-overlay .fancybox-tools{
	right: 1em;
	z-index: 9992;
	font-size: 1.5em;
	margin-top: .2em;
}
.smartmid .fancybox-overlay .fancybox-tools{
	font-size: 1em;
}

body.touch .fancybox-overlay .fancybox-tools{
	right: 4em;
}
body.touch.r940 .fancybox-overlay .fancybox-tools{
	right: 2em;
}
body.touch.r700 .fancybox-overlay .fancybox-tools,
body.touch.smart .fancybox-overlay .fancybox-tools{
	right: 1.5em;
}

.fancybox-overlay .fancybox-tools a{
	color: #FFF;
	margin-left: .5em;
	display: inline-block;
}

.fancybox-overlay .fancybox-tools a i{
	-webkit-transition: color .2s;
    transition: color .2s;
}

body:not(.touch) .fancybox-overlay .fancybox-tools a:hover i,
body:not(.touch).fancybox-overlay.white .fancybox-tools a:hover i{
	color: #AAA;
}

/* Tools Float */

.fancybox-overlay.float .fancybox-tools{}

/* Tools Over */

.fancybox-overlay.over .fancybox-tools{}

/******************************************************************************************/
/******************************************************************************************/

/* Data */

.fancybox-title{
	width: 100%;
	text-align: center;
	font-size: 1em;
	z-index: 9993;
	padding: .5em 0;
	color: #FFF;
	visibility: visible;
}

.fancybox-title .child {
    width: 100%;
    padding: 0;
    background: transparent;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    text-shadow: 0 1px 1px #000;
    color: #FFF;
    font-weight: bold;
    line-height: 1.5em;
    white-space: normal;
    text-align: center;
}

.fancybox-title .imgdata{
	display: inline;
    padding: 0 .5em;
    background: transparent;
    font-weight: normal;
}

.fancybox-overlay.info .fancybox-title{
	visibility: hidden;
}

/* Data Float */

.fancybox-overlay.float .fancybox-title{
	margin-bottom: 0;
	position: relative;
}

/* Data Over */


.fancybox-overlay.over .fancybox-title{
	background: rgba(0, 0, 0, .8);
	-webkit-transition: opacity .5s;
	transition: opacity .5s;
	padding: .5em 1em;
}

.fancybox-overlay.over.reverse .fancybox-title,
.fancybox-overlay.over:not(.reverse) .fancybox-wrap:hover .fancybox-title{
	opacity: 1;
}

.fancybox-overlay.over:not(.reverse) .fancybox-title,
.fancybox-overlay.over.reverse .fancybox-wrap:hover .fancybox-title{
	opacity: 0;
}

.smart .fancybox-overlay.over .fancybox-title{
	font-size: .8em;
}

/* white */

.fancybox-overlay.white .fancybox-title{
	color: #000;
}

.fancybox-overlay.white .fancybox-title .child {
	text-shadow: 0 1px 1px #FFF;
}

.fancybox-overlay.over.white .fancybox-title{
	background: rgba(255, 255, 255, .8);
}


/******************************************************************************************/

/* Arrows */

.fancybox-nav{
	width: 40%;
	position: fixed;
	box-shadow: 0px 0 0px 0 rgba(0,0,0,0);
    background-color: rgba(0,0,0,0);
    -webkit-transition: all .5s;
    transition: all .5s;
}

.fancybox-nav:hover,
.fancybox-nav *:hover{
    -webkit-transition: all .5s;
    transition: all .5s;
}

body:not( .touch ) .fancybox-prev:hover{
	box-shadow: 100px 0 100px 0 rgba(0,0,0,.3);
    background-color: rgba(0,0,0,.3);
}

body:not( .touch ) .fancybox-next:hover{
	box-shadow: -100px 0 100px 0 rgba(0,0,0,.3);
    background-color: rgba(0,0,0,.3);
}

.fancybox-nav span{
	background-image: none;
	opacity: 0;
	-webkit-transition: all .5s;
    transition: all .5s;
    font-size: 15em;
    color: #FFF;
    width: 100%;
    height: 1em;
    line-height: .75em;
    top: 50%;
    margin-top: -.5em;
    text-shadow: -1px -1px 1px rgba(0,0,0,.5);
}

.fancybox-prev span{
	left: 0;
	text-align: center;
}

.fancybox-next span{
	right: 0;
	text-align: center;
}

.fancybox-nav:hover span{
	opacity: 1;
}

.miniarrows .fancybox-nav,
body.touch .fancybox-nav{
	width: 3em;
	background-color: transparent !important;
    box-shadow: none !important;
	-webkit-transition: none;
    transition: none;
}

.miniarrows .fancybox-nav span,
body.touch .fancybox-nav span{
	visibility: visible;
	text-align: center;
	font-size: 3em;
	opacity: 1;
	-webkit-transition: all .2s;
    transition: all .2s;
}

.miniarrows .fancybox-nav span:hover,
body.touch .fancybox-nav span:hover{
	opacity: .7;
}

/* white */

body:not( .touch ) .fancybox-overlay.white .fancybox-nav{
	box-shadow: 0px 0 0px 0 rgba(255,255,255,0);
    background-color: rgba(255,255,255,0);
}

body:not( .touch ) .fancybox-overlay.white .fancybox-prev:hover{
	box-shadow: 100px 0 100px 0 rgba(255,255,255,.3);
    background-color: rgba(255,255,255,.3);
}

.fancybox-overlay.white .fancybox-next:hover{
	box-shadow: -100px 0 100px 0 rgba(255,255,255,.3);
    background-color: rgba(255,255,255,.3);
}

body:not( .touch ) .fancybox-overlay.white .fancybox-nav span{
	color: #000 !important;
	text-shadow: -1px -1px 1px rgba(255,255,255,.5) !important;
}

/******************************************************************************************/

/* Loading */

.fancybox-close{
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 64px;
	height: 64px;
	margin-top: -32px;
	margin-left: -32px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
	border-radius: 5px;
	overflow: hidden;
	border: 2px solid #000;
	border-radius: 100%;
	padding: 10px;
	background-color: #000;
	background-image: none !important;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	margin-top: -2px;
	margin-left: -2px;
	background: url('_img/loading.gif') center center no-repeat;
}



/*--------------------------------------------------------------
4.3 Plugins Font Awesome
--------------------------------------------------------------*/


/*--------------------------------------------------------------
4.4 Plugins Contact Form 7
--------------------------------------------------------------*/
.wpcf7 br{
	display: none;
}

.wpcf7 .wpcf7-not-valid-tip,
.wpcf7 p > img,
.wpcf7 .wpcf7-response-output{
	background-color: #FFF;
	border-color: #ddd;
	margin-left: 0;
	margin-right: 0;
}

.wpcf7 p > img{
	width: auto;
}

.wpcf7 .wpcf7-not-valid-tip{
	font-size: .7em;
	padding: 1em;
	line-height: 1.2em;
	margin-bottom: 1em;
	position: relative;
	margin-top: -2em;
	background-color: transparent;
}

.wpcf7 p > img {
	padding: .2em;
	margin-top: 1.2em;
	position: absolute;
}

.wpcf7-response-output,
.wpcf7 .wpcf7-validation-errors{
	margin: 0;
	padding: 1em;
	font-size: .9em;
	line-height: 1.4em;
}

/*--------------------------------------------------------------
4.5 Plugins BX Slider
--------------------------------------------------------------*/

.bx-wrapper .bx-viewport {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 0;
    left: inherit;
    background: transparent;
}

.bx-wrapper .bx-viewport > *:first-child{
    max-width: initial !important;
    max-height: initial !important;
}

/*.acf-form {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}*/

/*--------------------------------------------------------------
0.0 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:hover,
.screen-reader-text:active,
.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: 1.4rem;
	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 */
}

