/*
Theme Name: Spinola
Theme URI: http://spinola.it
Description: Fondazione Spinola. 
Author: Provantia
Author URI: http://www.provantia.net/
Template: amadeus-theme
Version: 1.0
*/
/* Place all your CSS modifications below */

/*header new*/
body {
    background-color: #e8e5e0!important;
}
#g1-headers > .g1-background {
	background-color: rgba(232,229,224,0.5)!important;
}
#g1-content > .g1-inner { min-height: 300px; padding-bottom: 40px !important;padding-top: 0px !important;}

body.g1-secondary-after #secondary > .g1-inner {
    margin-top: 120px;
}
body.g1-secondary-wide #secondary {
    width: 27.6666667%!important;
    
}
#g1-content h1, #g1-content h2, #g1-content h3, #g1-content h4, #g1-content h5, #g1-content h6, #g1-content .g1-meta a:hover, #g1-content .g1-dropdown > li.current-menu-item > a, #g1-content .g1-dropdown > li.current-menu-ancestor > a, #g1-content .g1-dropdown > li.current_page_parent > a {
    color: #a27e4f!important;
	
}
#g1-content h2, #g1-content h3{padding-top: 20px;}
#g1-content h1{color: #a27e4f!important;
font-size: 34px;
text-transform: uppercase;
padding-top:20px;padding-bottom:20px;}
input[type="color"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="text"], input[type="url"], select, textarea {  
    border-width: 1px 1px 1px 1px!important;
}
h1.titpercorso{font-size: 24px!important;text-align:center ;}

a.small-devices {
	display: none;
}

.vco-storymap {
    font-family: Georgia, Times, serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.3em
}

.vco-storymap h1, .vco-storymap h2, .vco-storymap h3, .vco-storymap h4,
.vco-storymap h5, .vco-storymap h6 {
    font-family: Georgia, Times, serif;
    text-transform: normal;
    font-weight: 800;
    font-size: 22px;
    line-height: 24px
}

.vco-storymap h2.vco-headline-title {
    font-size: 26px;
    line-height: 26px
}
#storyjs-timeline .vco-navigation .timenav .content .marker .flag .flag-content h3 {
    height: 33px;
    line-height: 15px!important;
	padding-top: 5px;
	color:#fafafa!important;
    
}
#storyjs-timeline .vco-navigation .timenav .content .marker .flag .flag-content h3:hover {
	color:#6c6259!important;
    
}
#storyjs-timeline .vco-toolbar {
    border: none !important;
    background-color: rgba(94,2,2,0) !important;
}
.vco-storymap h2.vco-headline-title {
    font-size: 28px!important;
    line-height: 28px!important;
}
.slider-container-mask {
    background: rgb(232, 229, 224)!important;
}

#g1-footers {
    background-color: #6c6259;
    height: 500px;
}
.flyout-menu li a {
    text-shadow: 0px 0px 0px rgba(0,0,0,.3)!important;
}
.mappagoogle{width: 60%;
float: left;
-webkit-filter: grayscale(0.8);
filter: grayscale(0.8);background-color: #6c6259;}
.indirizzo{width: 35%;
margin-left: 20px;float: right;background-color: #6c6259;font-size: 13px;}
.socialfooter{
	border-top: thin solid rgba(232,182,157,1.00)!important;	
	margin-right: 40%;
	margin-top: 20px!important;
}
.seguici{float: left;}
.footercontatti{color:#e8b69d; font-size: 16px;padding-top:20px; padding-bottom:10px;}
#g1-content h2{color:#a27e4f!important;font-size: 14px!important;}


.topslider{margin-top:-150px;}
ul.pulsanti{
	margin-top: 40px;
	margin-right: 20px;
	margin-left: 20px;
	margin-bottom: 40px;
	
	
}
ul.pulsanti li{display: inline;list-style-type: none;padding-left: 10px;padding-right: 10px}
a.pulsante{
	color: #fff;
	border: 1px solid #9e7a46!important;
	padding: 10px;
	font-size: 13px;
}
a.pulsante:hover{
	background: #9e7a46;
	color:#fff;
}

.g1-tabs.g1-type-simple.g1-tabs-top .g1-tabs-nav-item.current:after {  
    bottom: -12px!important;
}
.g1-tabs-nav-item p {
    margin: 3px;
    padding-bottom: 5px;
    letter-spacing: 0.6px;
}
.g1-tabs.g1-type-simple.g1-tabs-top .g1-tabs-nav-item {
    border-width: 1px 1px 1px;
    background: rgb(232, 229, 224, 0);
    color: #a27e4f;
    font-size: 10px;
    border-color: #a27e4f!important;
    margin-right: 5px;
}
.g1-tabs.g1-type-simple .g1-tabs-nav {
    position: inherit;
}
.g1-tabs.g1-type-simple.g1-tabs-top .g1-tabs-nav {
    padding: 0;
    margin-left: auto;
    margin-right: auto;
}
/*
.g1-tabs.g1-type-simple .g1-tabs-nav-item.current {
    border-width: 2px!important;
}
.g1-tabs.g1-type-simple .g1-tabs-viewport {
    border-width: 1px!important;
}

.g1-tabs.g1-type-simple.g1-tabs-top .g1-tabs-nav-item {
    border-width: 1px 1px 0!important;
}*/

/*carousel*/
.carousel {
    margin-bottom: 0;
}


/* The indicators */
ul.carousel-percorsi {margin-left: auto;
margin-right: auto;
width: 100%;
text-align: center;}
.carousel-percorsi {
	right: 50%;
	top: auto;
	bottom: -10px;
	margin-right: -19px;
}
/* The colour of the indicators */
.carousel-percorsi li {
	display: inline-block;
padding:10px;
}
.img-box img{height:200px}
.img-box:hover {
     opacity: 0.7;
background:#e9d7cd;
}
.img-box-repertori img{height:300px}
.img-box-repertori:hover {
     opacity: 0.7;
background:#e9d7cd;
}
.slideh2{
color: #a27e4f!important;
text-align:center;
font-size: 14px!important;
text-transform: uppercase;
padding-top:20px;}

.glyphicon-chevron-left, .glyphicon-chevron-right {
    position: absolute;
    top: 70%;
    z-index: 5;
    display: inline-block;
}
.glyphicon-chevron-right {
    right: 50px;
}
.glyphicon-chevron-left {
    left: 50px;
}
.glyphicon-chevron-right:before {
    content: "\e080";
}
.glyphicon-chevron-left:before {
    content: "\e079";
}
a.wpv-filter-previous-link.js-wpv-pagination-previous-link{font-size:20px;left: 50px;}
a.wpv-filter-next-link.js-wpv-pagination-next-link{font-size:20px;right: 50px;}

/*fine carousel*/

/*popup famiglia*/
div.boxpopup
{
    
    height:400px !important;
    padding: 4px;
    overflow:auto;
	text-align: left;
}
.modalDialog {
	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
}
.modalDialog:target {
	opacity:1;
	pointer-events: auto;
}

.modalDialog > div {
	width: 400px;
	position: relative;
	margin: 10% auto;
	padding: 5px 20px 13px 20px;
	border-radius: 10px;
	background: #fff;
	background: -moz-linear-gradient(#fff, #999);
	background: -webkit-linear-gradient(#fff, #999);
	background: -o-linear-gradient(#fff, #999);
}
.close {
	background: #eeeeee;
	color: #FFFFFF;
	line-height: 25px;
	position: absolute;
	right: -12px;
	text-align: center;
	top: -10px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}

.close:hover { background: #fff; }
/*fine popup famiglia*/

/*repertori risorse*/
div.griglia {
  border: 0px solid #fff;
  display: inline-block;
  width:  325px;
  height: 214px;
  margin: 0px;
  position: relative;
  overflow: hidden;
}
div.foto img {
  display: block;
}
div.testo {
	color: #111;
	background-color: #e9d7cd;
	width: 325px;
	height: 214px;
	padding: 10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	position: absolute;
	top: 0;
	left: 0;
	text-align: center;
	opacity: 0.9;
	-webkit-transform: scale(0);
	-moz-transform: scale(0);
	-ms-transform: scale(0);
	-o-transform: scale(0);
	transform: scale(0);
	-webkit-transition: all 0.5s linear;
	-moz-transition: all 0.5s linear;
	-o-transition: all 0.5s linear;
	transition: all 0.5s linear;
}
div.griglia:hover {cursor: pointer;}
div.griglia:hover div.testo {
  -webkit-transform: scale(1.0);
  -moz-transform: scale(1.0);
  -ms-transform: scale(1.0); 
  -o-transform: scale(1.0);
  transform: scale(1.0);
  }
div.testo h1 {
	font-size: 16px!important;
	padding-top: 10px!important;
	padding-bottom: 10px!important;
	text-transform: lowercase!important;
}
div.testo h2 {
	font-size: 14px!important;
	text-transform: uppercase!important;
}
div.testo p {font-size: 12px!important;}
dt{width: 90%;
    margin-right: 0%;
    padding: 5px 0;
    border-width: 0;
    margin: 20px;
}
dd {
     padding: 5px;
}

@media only screen and (min-width: 1218px) {
	#g1-preheader-toggle {
	  margin: 0;
		display: none;
	}
	
	
}
@media only screen and (min-width: 1025px) {
	
	#g1-preheader > .g1-inner,
	#g1-header > .g1-inner,
	#g1-precontent > .g1-inner,
	#g1-content > .g1-inner,
	#g1-prefooter > .g1-inner,
	#g1-footer > .g1-inner {
		/*max-width: 1128px;*/
	}
	#g1-logo {
	  height: 141px !important;
	  width: 121px !important;
	  max-width: none;
	}
	.g1-frame > .g1-decorator,
	.g1-inner,
	.g1-inner > img,
	.g1-inner > .g1-placeholder {
		width: 100% !important;
	}
	.g1-frame > .g1-decorator > .g1-outer {
		padding: 0;
	}
	.g1-indicator {
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
	}
	.size-full {
		width: 100%;
	}
	/*.flexslider,
	.g1-slides,
	.g1-slide,*/
	.g1-slide > .media > img {
		width: 100% !important;
		margin-left: 0 !important;
		/*height: 100% !important;*/
		height: auto !important;
	}
	.flexslider,
	.g1-slides,
	.g1-slide {
		height: 100%;
	}

	.map-fade-left {
		float: left;
	  margin-left: -104px;
	  height: 450px;
	}
	.map-fade-right {
		float: right;
	  margin-right: -104px;
	  height: 450px;
	}

	.timeline-fade-left {
		float: left;
	  margin-left: -100px;
	  height: 434px;
	  display: none;
	}
	.timeline-fade-right {
		float: right;
	  margin-right: -100px;
	  height: 434px;
	  display: none;
	}

	.timeline-holder-bg {
		position: absolute;
		left: 0;	
		width: 100%;
		height: 434px;
		background-color: #fff;
		background-image: url(../../../wp-content/uploads/2015/03/timeline-bg2.jpg);
		z-index: 1;
	}

	.iframe-background,
	.iframe,
	.iframe-holder,
	.iframe-holder iframe {
		height: 526px;
	}

	.iframe.slider {
		height: auto;
		overflow:hidden;
	}
	.iframe.slider .iframe-background {
		height: 100%;
	}

	.iframe.slider,
	.iframe.slider .iframe-background {
		height: 439px;
	}
	.iframe.slider .iframe-background {
		background: none;
	}
	.map.iframe-background,
	.map.iframe,
	.map.iframe-holder,
	.map.iframe-holder iframe {
		height: 450px;
	}
	/* from outer part */
	.iframe-holder {
		/*
		overflow: hidden;
		*/
		 margin-left: calc(50% - 525px);
	}
	.iframe,
	.iframe-holder,
	.iframe-holder iframe {
		max-width: 1050px;
		overflow: hidden;
	}
	.iframe-holder p,
	.iframe-holder iframe {
		/*
		position: absolute;
		left: 0;
		*/
		z-index: 10;
	}

	.timeline {
		overflow: hidden;
	}
	.timeline-holder {
		position: absolute;
		width: 100%;
		left: 0;
	}
	.timeline-holder > iframe {
		/*
		position: absolute;
		width: 100%;
		left: 0;
		*/
	}
	.timeline,
	.timeline-holder,
	.timeline-holder > iframe  {
		max-width: 100%;
		height: 700px;
	}
}
@media only screen and (max-width: 1024px) {
	#g1-content h3 > a.sections {
	  letter-spacing: 0 !important;
	}
	.iframe-background,
	.iframe,
	.iframe-holder,
	.iframe-holder iframe {
		height: 526px;
	}
	body.g1-fonts-m h1 {
		font-size: 2em;
	}
	.flyout-content-body > ul.g1-grid > li.g1-one-fifth {
	  width: 20% !important;
	}
	.iframe.slider,
	.iframe.slider .iframe-background {
		height: 340px;
		background: none;
	}
	.map.iframe-background,
	.map.iframe,
	.map.iframe-holder,
	.map.iframe-holder iframe {
		height: 340px;
	}
	.entry-content .g1-column br {
		display: none !important;
	}
	div#g1-primary-bar ul > li {
    margin-left: 0.1em !important;
	margin-right: 0.1em !important;}

	.g1-one-fourth {
    width: 45% !important;
}
.g1-one-fourth 	img {
    max-width: 75% !important;
	padding-bottom: 20% !important;
 
}
.g1-one-fourth	.g1-button {
    width: 70% !important;
}
}

.iframe-background {
	position: absolute;
  left: 0;
  width: 100%;
}
.iframe-background {
  
  background:  rgb(232, 229, 224);
}
.iframe.map {
		height: 500px;
	}
.iframe-background.map {
	background: rgb(232, 229, 224);
  height: 500px;
}
#storyjs-timeline div.timenav-background {
    background-color: rgb(232, 229, 224) !important;
    
}
#storyjs-timeline .vco-navigation .timenav-background .timenav-line, #storyjs-timeline .vco-navigation .timenav .content .marker.active .dot, #storyjs-timeline .vco-navigation .timenav .content .marker.active .line {
    background-color: #fff !important;
}
#storyjs-timeline .vco-navigation .timenav .content .marker .line {
    background: #6c6259!important;
    box-shadow: 0px 0 0 rgba(255, 255, 255, 0.05);
}

#storyjs-timeline .vco-navigation .timenav .content .marker .flag {
    position: absolute;
    top: 15px;
    left: 3px;
    padding: 0px;
    display: block;
    z-index: 23;
    width: 153px;
    height: 56px;
    background-image: url(http://www.spinola.it/wp-content/themes/amadeus-child-theme/image/timeline.png)!important;
   
}




@media only screen and (max-width: 960px) {
	.languages {
		display: none;
	}
	#g1-primary-nav-select {
		display: none;
	}
	#g1-primary-nav {
		margin: 0 !important;
	}
	
	ul.pulsanti li {
    display: block;
    margin-bottom: 30px;
 
}
	
	hgroup.g1-hgroup {
    margin-top: 4em;
	
}
	.iframe.map hgroup.g1-hgroup.g1-type-classic .g1-important
	{
    font-size: 2em;
}
	.iframe.map {
		height: 300px;
	}
.iframe-background.map {
	background-image: url(../../../wp-content/uploads/2015/03/mappa-chiaraWEB.jpg);
	background-size: cover;
	background-repeat: no-repeat;
  background-position: center 20%;
  height: 300px;
}
	.small-devices {
		display: block!important;
	  text-align: right;
	  text-transform: uppercase;
	}
	body.g1-secondary-wide #secondary {
    width: 100%!important;
}
	}



@media only screen and (max-width: 600px) {
	div.griglia {
   
    width: 100%;
    height: auto;
    
}
	div.testo {
    width: 100%;
    height: auto;
	padding: 10px;}
	
	.g1-tabs.g1-type-simple.g1-layout-horizontal .g1-tabs-nav-item {
    padding: 10px!important;
    top: 0px;
    bottom: 8px;
    width: 80%;
}
	.g1-tabs.g1-type-simple.g1-layout-horizontal .g1-tabs-nav-item.current {
    padding: 10px 13px;
    width: 80%;
		margin-bottom: 8px;
}
	
	.modalDialog > div {
	width: 300px;
}
	.mappagoogle{width: 100%!important;}
.indirizzo{
	width: 95%!important;
    margin-left: 0px !important; 
	padding: 20px;
    float: right;
    background-color: #6c6259!important;
	    text-align: center;
}
    }
	.socialfooter {
    margin-right: 10%;
}
	.languages {
		display: none;
	}
	
	#g1-primary-nav-select {
		display: none;
	}
	#g1-primary-nav {
		margin: 0 !important;
	}
	

	.iframe-background,
	.iframe,
	.iframe-holder,
	.iframe-holder iframe {
		height: 526px;
	}
	.iframe.slider,
	.iframe.slider .iframe-background {
		height: 111px;
	}
	
	.iframe.map {
		height: 150px;
	}
	
	.iframe-background.map {
	background-image: url(image/bk_spinola_nel_mondo_phone.png);
	background-size: cover;
	background-repeat: no-repeat;
  background-position: center 20%;
  height: 150px;
}
	.g1-important {
		margin-top: -0.5em;
	}
	hgroup.g1-hgroup {
    margin-top: 3em!important;
	
}
h1.entry-title, h1.archive-title, h1.page-title {
    margin-top: 20px;
}
.g1-one-fourth img {
    /* max-width: 75% !important; */
    padding-bottom: 0px !important;
}



body.g1-preheader-expanded #g1-preheader-widget-area {
	/*background-color: #333333;*/
}

#g1-preheader {
	/*background-color: #6c6259;*/
	background-color: #333;
}
#g1-preheader-widget-area {
	padding-top: 1em !important;
  padding-bottom: 1em !important;
}
#g1-preheader-widget-area .widget_text {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}
ul.g1-slides {
	background-color: #333333;
}
#g1-content,
#g1-footers * {
	background: none;
  background-color: transparent;
  margin-top: 0;
}


#g1-footers {
	background-color: #6c6259;
}
.g1-one-fourth > * {
	text-align: center !important;
}

.borders-shadow {
}

#g1-prefooter > .g1-background * {
	background: none !important;
	background-color: transparent !important;
}
#g1-prefooter h3 {
	text-align: left;
	font-size: 18px;
	text-transform: uppercase;
}
#g1-prefooter .textwidget {
	text-align: left;
}

#g1-primary-bar > nav {
	vertical-align: middle !important;
}

#g1-primary-bar ul.g1-dropdown > li + li:before,
#g1-primary-bar ul.g1-dropdown > li + li:after {
	display: none !important;
}

a.red {
	color: #8c2337 !important;
}

#g1-content h3 > a.sections {
	letter-spacing: 0.03em;
}

.flyout-menu li ul.sub-menu,
.flyout-menu li ul.sub-menu * {
	font-size: .95em;
}

.flyout-menu li ul.sub-menu {

}

.flyout-menu li.menu-item-has-children > ul.sub-menu {
	max-height: 1000px;
}
.flyout-menu ul li.menu-item-has-children > a:after {
	display: none;
}
.flyout-close-button,
.flyout-edit-button {
	padding: 6px 8px !important;
}

.no-top-margin {
	margin-top: 0 !important;
}

.no-bottom-margin {
	margin-bottom: 0 !important;
}

.uppercase {
	text-transform: uppercase;
	letter-spacing: .1em;
}

.font-size-smaller {
	font-size: 0.95em;
}

.g1-testimonial.g1-size-big .g1-inner {
	font-size: 18px;
}

div#g1-primary-bar ul.g1-dropdown {
	width:97%;
	padding-right: 3%;
}
div#g1-primary-bar ul > li {
	margin-left:1em;
	margin-right:1em;
	text-align: center;
	text-transform: uppercase;
}

div#g1-primary-bar ul.g1-dropdown > li {
    min-width: 120px;
}


#g1-primary-bar ul.g1-dropdown > li + li {
	padding-left: 0;
}

.g1-dropdown > li > a {
	padding: 0;
  display: inline-block;
  float: none;
  width: 100%;
  font-size: 12px;
}

#g1-content .g1-breadcrumbs {
  margin-top: 0;
  text-align: right;
}

.flyout-menu li a {
	  font-weight: normal !important;
	  padding: 2px 30px !important;
}

.flyout-menu .sub-menu li a,
.flyout-menu .sub-menu li a:hover {
	/*padding-left: 50px !important;*/
	color: #c3bdb4   !important;
}

.flyout-menu ul.menu > li {
	margin-bottom: 10px;
}

.flyout-content {
	/*padding-top: 10px !important;*/
}

#g1-preheader-bar {
	display: none !important;
}
div#g1-preheader-toggle {
  top: 30px;
	display:none;
}

.flyout-menu .sub-menu li li a {
	color: #c3bdb4 !important;
}
.g1-dropdown ul a {
	padding: 0;
}

#g1-primary-bar ul.g1-dropdown ul li + li a {
	border: 0;
}

#g1-primary-bar ul.g1-dropdown > li > a:hover,
#g1-primary-bar ul.g1-dropdown > li > a.dd-path,
#g1-primary-bar ul.g1-dropdown ul {
	background-color: transparent;
	color:#a27e4f !important;
}

#g1-primary-bar ul.g1-dropdown ul > li {	
	background-color: #6c6259 !important;
	padding: 0 10px;
}

#g1-primary-bar ul.g1-dropdown ul > li:hover {
	background-color: #333 !important;
}

.g1-dropdown ul.sub-menu li {
	margin-top: 0px;
	border-top: thin solid rgba(255,255,255,0.80);
}
.g1-dropdown ul.sub-menu li ul.sub-menu li:first-child {
	margin-top: 0;
}

.g1-dropdown ul.sub-menu li ul.sub-menu li {
	margin-left: 5px;
}

.g1-dropdown ul ul {
	left: 100%;
	width: auto;
	white-space: nowrap;
	display: inline-block;
}

div#g1-primary-bar ul.g1-dropdown > li.menu-item-language {
	float: right;
	display: inline;
}

div#g1-primary-bar li.menu-item-language,
div#g1-primary-bar ul.g1-dropdown > li.menu-item-language {
	min-width: 40px;
	width: 40px;
	margin: 0;
}

.g1-dropdown li ul.submenu-languages {
	width: 40px;
	left: 0;
}

div#g1-primary-bar .g1-dropdown li ul.submenu-languages > li {
	padding: 0;
}

.menu-item-language img.iclflag {
	margin: 0;
}

.widget_recent_works_widget .g1-collection {
	margin-top: 10px;
}
.g1-collection.g1-view-as-grid > ul > li {
	margin-bottom: 10px;
}
.widget_recent_works_widget .widgettitle{
  font-size: 15px;
  text-decoration: none;
  text-transform: uppercase;
}
.widget_search .widgettitle{
  display: none;
}
.widget_recent_works_widget h3 > a {
	display: block;
  /*font-size: 15px;*/
  font-size: 13px;
  white-space: nowrap;
  text-decoration: none;
  text-transform: uppercase;
  text-align: left;
  font-weight: normal !important;
  padding: 2px 0 !important;
}

.widget_recent_works_widget h3 {
	margin-bottom: 0;
}
#s {
    padding: 10px !important;
}
.g1-tabs.g1-type-simple.g1-tabs-top .g1-tabs-nav {
	  padding: 0;
}

.g1_work  .entry-content > p {
	display: none;
}
.entry-header:after,
.archive-header:after,
.entry-header,
.archive-header {
	border: none;
}

h1.entry-title,
h1.archive-title,
h1.page-title {
	font-size: 27.342px !important;
	text-transform: uppercase;
	letter-spacing: .1em;
	line-height: 1.16666667;
  font-weight: normal;
  color:#a27e4f !important;
	text-align: center;
}
h1.page-title {margin-top: 1em;}

#g1-primary-bar ul.g1-dropdown ul.sub-menu ul.sub-menu > li {
  background-color: #333 !important;
}

.g1-tabs.g1-type-simple .g1-tabs-viewport {
	padding: 15px 15px 0;
}

.languages {
	width: 200px;
  position: absolute;
  z-index: 1000;
  height: 30px;
  padding: 5px 0;
}

/*
.languages > ul.g1-grid > li.g1-one-fifth {
	width: 16% !important;
}
*/

.flyout-content-body > ul.g1-grid > li.g1-one-fifth {
	  width: 15% !important;
}

.flyout-menu {
	margin-top: 2em;
}
.small-caps {
	  font-variant: small-caps !important;
	  color: #fff !important;
}
/*
body.g1-header-layout-06 #g1-primary-nav-mirror ul li {
	width: 33%;
}

body.g1-header-layout-06 #g1-primary-nav ul li {
	width: 25%;
}
*/
.g1-tabs.g1-type-simple.g1-layout-horizontal .g1-tabs-nav-item.current {
	  padding: 4px 13px;
}
.g1-tabs.g1-type-simple.g1-layout-horizontal .g1-tabs-nav-item {
	padding-bottom: 0;
}

.g1-nav-breadcrumbs__item + .g1-nav-breadcrumbs__item:before {
  content: "\f105";
}

.entry-header, .archive-header {
  margin-bottom: 2em;
}

.pink, #g1-footer-back-to-top > a {
	/*color: #c59eb6 !important;*/
  color: rgb(232, 182, 157) !important;
}

#menu-logo {
	height: 141px !important;
	margin-left: -131px;
	float: left;
}
#g1-content .g1-breadcrumbs {
	color: red;
}

#g1-content .g1-breadcrumbs:before {
	content: " ";
	display: block;
	width: 100%;
	height: 20px;
	margin-bottom: 20px;
	background-position: 50% 50%;
}

#g1-content .g1-breadcrumbs p {
	margin-bottom: 20px;
}

.g1-meta {
	font-family: inherit;
	font-style: normal;
	text-transform: lowercase;;
	letter-spacing: .25em;
}
.entry-meta {
	display: none;
}
.mb5 {
	margin-bottom: 5px;
}
.mb10 {
	margin-bottom: 10px;
}

/* lang switcher */ 
.flyout-menu .qtranxs-lang-menu > a {
	display: none;
}
.flyout-menu .sub-menu li.qtranxs-lang-menu-item a,
.flyout-menu .sub-menu li.qtranxs-lang-menu-item a:hover {
  padding-left: 30px !important;
}
/*
.page-slider {
  height: 500px;
}
.page-slider .g1-slides > li {
	height: 100%;
}
*/
.widget_nav_menu {
	font-size: 15px;
	text-transform: uppercase;
}
.widget_nav_menu a {
	font-weight: normal;
  padding: 2px 0;
  border: 0;
}
.widget_nav_menu .menu-item-has-children > a {
	padding: 0;
	margin-top: 10px;
}
.widget_nav_menu .menu-item-has-children .menu-item-has-children > a {
	margin-top: 0;
}
.widget_nav_menu .menu-item-has-children:first-child > a {
	margin-top: 0;
}
.widget_nav_menu ul.sub-menu {
	padding-left: 0;
	font-size: .95em;
  border: 0;
  margin-bottom: 30px;
	text-transform: none;
}

.widget_nav_menu ul.sub-menu a {
	font-size: .85em;	
}
.widget_nav_menu ul.sub-menu li a {
	background-color: rgba(251, 251, 251, 0.31);
border-top: thin solid rgba(255, 255, 255, 0.26) !important;
	padding: 10px;
}
input[type="search"],input[type="text"] {background-color: rgba(251, 251, 251, 0.31)!important;}
#secondary .widget {
	border-bottom-width: 0;
}
#secondary .widget + .widget {
  padding-top: 0;
  border-top-width: 0;
}

.archive-title {
	margin-top: 0;
}

.bne-flyout-wrapper form {
	  margin: 0 !important;
	  margin-top: 5px !important;
	  margin-bottom: 10px !important;
}


@media only screen and (max-width: 1024px) {
	body.g1-fonts-m h1 {
		font-size: 2em;
	}
	.flyout-content-body > ul.g1-grid > li.g1-one-fifth {
	  width: 18% !important;
	}
	#menu-logo {
		display: none !important;
	}
	#g1-content .g1-breadcrumbs {
		line-height: 2 !important;
	}
}
.g1_work .entry-footer {
	display: none !important;
}


.g1_work {
	margin-bottom: 20px;
	border-bottom: 1px solid #a27e4f;
}


.g1-collection li:last-child {
	margin-bottom: 0 !important;
	border-bottom: 0 !important;
}

hgroup.g1-hgroup.g1-type-classic .g1-regular:before,
hgroup.g1-hgroup.g1-type-classic .g1-regular:after {
	content: '';
}

hgroup.g1-hgroup {
    margin-bottom: 1.5em;
    margin-top: 1.5em;
	z-index:9999;
	 position:relative;

	
}

.current-menu-item > a {
  color: #a27e4f !important;
	background: rgba(255, 255, 255, 0.4);
	padding-left: 5px!important;
	padding-right: 5px!important;
}
#g1-header .g1-dropdown > li.current-menu-item > a, #g1-header .g1-dropdown > li.current-menu-ancestor > a, #g1-header .g1-dropdown > li.current_page_parent > a {
	color: #a27e4f;}

body.g1-header-layout-03 #g1-primary-nav {
	border-width: 0;
}