/*
	Theme Name: Semplice Child Theme
	Description: Child Theme for Semplice
	Author: Giorgio Tempesta
	Author URI: http://gtempesta.io
	Template: semplice
*/

/* Custom CSS Start */

@font-face {
  font-family: 'noedisplay-bold';
  src: url('http://www.pedronfalegnami.com/wp-content/themes/semplice-child/fonts/NoeDisplay-Bold.eot?#iefix') format('embedded-opentype'),  
  url('http://www.pedronfalegnami.com/wp-content/themes/semplice-child/fonts/NoeDisplay-Bold.woff') format('woff'), 
  url('http://www.pedronfalegnami.com/wp-content/themes/semplice-child/fonts/NoeDisplay-Bold.ttf')  format('truetype'), 
  url('http://www.pedronfalegnami.com/wp-content/themes/semplice-child/fonts/NoeDisplay-Bold.svg#NoeDisplay-Bold') format('svg');
  font-weight: normal;
  font-style: normal;
}

/*--Show nav with sub-nav & dropdown--*/
nav.standard ul.sub-menu li {
	vertical-align: top;
}
.menu ul.sub-menu {
	display:none;
	top: 120px;
	left: 0;
	width: 100%;
	position: fixed;
	padding-top: 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid #333333;
	background-color: #ffffff;
	margin: 0;
	height: auto;
	line-height: 20px;
	text-align: center;
}
.menu ul.sub-menu li{
	display: inline-block !important;
}
.menu ul.sub-menu li a{
	display:block !important; 
}
.menu-item-has-children li:hover > ul {
	display:block !important;
}
.menu-item-has-children:hover ul{
	display:block !important;
}
nav.standard ul li ul li a{
	line-height: 20px !important;
	height: 20px !important;
}

/*Position responsive sub-nav*/

#fullscreen-menu .menu-inner nav ul ul {
position: relative;
top: 0px;
}

/* Custom CSS End */

nav.standard ul.menu li:hover > a{
	color: #c8102e !important; 
}

nav.standard ul li.current-menu-item a, nav.standard ul li.current_page_item a{
	color:#333 !important;
}

nav.standard ul li.current-menu-item > a, nav.standard ul li.current_page_item > a{
	color: #c8102e !important;
}

#fullscreen-menu{
	border-bottom: 1px solid #333;
}

#fullscreen-menu ul.sub-menu{
	display: block;
	border-bottom:0;
	padding-top: 0;
	padding-bottom: 12px;
}

#fullscreen-menu .menu-inner nav ul.sub-menu li{
	display: block !important;
}

#fullscreen-menu .menu-inner nav ul li{
	padding: 0;
}

#fullscreen-menu .menu-inner nav > ul > li > a{
	padding: 5px 0 !important;
}

#fullscreen-menu .menu-inner nav ul.sub-menu li{
	padding: 5px 0;
}

#fullscreen-menu .menu{
	padding-top: 0 !important;
}

#fullscreen-menu .menu-inner nav ul li.current-menu-item a, #fullscreen-menu .menu-inner nav ul li.current_page_item a{
	color: #333 !important;
}

#fullscreen-menu .menu-inner nav ul li.current-menu-item > a, #fullscreen-menu .menu-inner nav ul li.current_page_item > a{
	color: #c8102e !important;
}

.footer a{
	text-decoration: underline;
}

/* focus on */


section#thumbnails .thumb.focus-block{
	opacity:1;
	position: static !important;
}

section#thumbnails .thumb.focus-block h4.thumb-title{
	text-align: left;
}

section#thumbnails .thumb.focus-block h4.thumb-title{
	margin-top: 0;
	font-family: "noedisplay-bold", Georgia, Times New Roman, serif !important;
    font-style: normal;
    font-weight: 600;
    /*font-size: 36px;
    line-height: 40px;*/
    color:#333 !important;
	margin-bottom: 26px !important;
}

section#thumbnails .thumb.focus-block p{
	/*font-size: 20px;
	line-height: 24px;*/
	margin-bottom: 10px;
	letter-spacing: 0.25px;
}

section#thumbnails .thumb.focus-block p.thumb-cat{
	/*font-size: 14px;
	line-height: 20px;*/
	color: #c8102e;
}

/* Carousel Bootstrap 2.3.2 */

.carousel {
  position: relative;
  margin-bottom: 20px;
  line-height: 1;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-inner > .item {
  position: relative;
  display: none;
  /*-webkit-transition: 0.6s ease-in-out left;
     -moz-transition: 0.6s ease-in-out left;
       -o-transition: 0.6s ease-in-out left;
          transition: 0.6s ease-in-out left;*/

          transition: all .8s ease;
          -moz-transition: all .8s ease;
          -webkit-transition: all .8s ease;
          -o-transition: all .8s ease;
}

.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  display: block;
  line-height: 1;
}

.carousel-inner > .active,
.carousel-inner > .next,
.carousel-inner > .prev {
  display: block;
}

.carousel-inner > .active {
  left: 0;
}

.carousel-inner > .next,
.carousel-inner > .prev {
  position: absolute;
  top: 0;
  width: 100%;
}

.carousel-inner > .next {
  left: 100%;
}

.carousel-inner > .prev {
  left: -100%;
}

.carousel-inner > .next.left,
.carousel-inner > .prev.right {
  left: 0;
}

.carousel-inner > .active.left {
  left: -100%;
}

.carousel-inner > .active.right {
  left: 100%;
}

.carousel-control {
  position: absolute;
  top: 40%;
  left: 15px;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  font-size: 60px;
  font-weight: 100;
  line-height: 30px;
  color: #ffffff;
  text-align: center;
  background: #222222;
  border: 3px solid #ffffff;
  -webkit-border-radius: 23px;
     -moz-border-radius: 23px;
          border-radius: 23px;
  opacity: 0.5;
  filter: alpha(opacity=50);
}

.carousel-control.right {
  right: 15px;
  left: auto;
}

.carousel-control:hover,
.carousel-control:focus {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  filter: alpha(opacity=90);
}

.carousel-indicators {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 5;
  margin: 0;
  list-style: none;
}

.carousel-indicators li {
  display: block;
  float: left;
  width: 10px;
  height: 10px;
  margin-left: 5px;
  text-indent: -999px;
  background-color: #ccc;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 5px;
}

.carousel-indicators .active {
  background-color: #fff;
}

.carousel-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 15px;
  background: #333333;
  background: rgba(0, 0, 0, 0.75);
}

.carousel-caption h4,
.carousel-caption p {
  line-height: 20px;
  color: #ffffff;
}

.carousel-caption h4 {
  margin: 0 0 5px;
}

.carousel-caption p {
  margin-bottom: 0;
}

/* fine carousel */ 

/* carousel fade */

.carousel-fade .carousel-inner .item {
  -webkit-transition-property: opacity;
  transition-property: opacity;
}
.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  opacity: 0;
}
.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}
.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
}
.carousel-fade .carousel-control {
  z-index: 2;
}

/* end carousel fade */

.carousel-inner .item img{
	width: 100%;
}

.carousel-inner .item.right{
	text-align: left;
}

#thumbnails .carousel-indicators{
	top: auto;
	bottom: 10px;
	left: 0;
}

.carousel-indicators li{
	border: 1px solid #333;
	    width: 40px;
	    height: 40px;
	    border-radius: 50%;
	    color: #333;
	    font-size: 18px;
	    text-indent: 0;
	    padding: 12px 0;
	    text-align: center;
	    margin-left: 14px;
	    cursor: pointer;
	    font-family: "noedisplay-bold", Georgia, Times New Roman, serif !important;
	    font-weight: bold;
	    background: transparent;
}

.carousel-indicators li:first-child{
	margin-left: 0;
}

.carousel-indicators .active{
	background: transparent;
	color: #c8102e;
	border-color: #c8102e;
}

@media (max-width: 767px){
	section#thumbnails .focus-block{
		width: 100%;
	}
}

/* regole specifiche per #carousel-focus-home */
@media (min-width: 980px){
  #carousel-focus-home{
    /*height: 381px;*/
    height: auto;
  }
}

@media (min-width: 1200px){
  #carousel-focus-home{
    height: auto;
  }
}

/* sovrascrivo bootstrap per questa viewport */
@media (max-width: 979px) and (min-width: 768px){
  #carousel-focus-home .row{
    margin-left: 0;
  }

  #carousel-focus-home .span6{
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 979px){
  #carousel-focus-home{
    margin-bottom: 60px;
  }

  #carousel-focus-home .carousel-indicators{
    bottom: -57px;
  }
}

#goog-map {
  height: 600px;
  margin-bottom: 40px;
}

.gm-style-iw h6{
  margin-bottom:0;
}

.gm-style-iw p{
  margin: 0;
  line-height: 1.6;
}

#lang_sel_list{
  font-family: "poppins", Helvetica, Arial, sans-serif !important;
}

#lang_sel_list a.lang_sel_sel{
  display: none;
}

#lang_sel_list ul a, #lang_sel_list a:visited{
  background: transparent;
  color: #333;
  font-size: 12px;
  padding: 0px 22.5px;
}

/* sovrascrivo regole base */
nav.standard{
  float: right;
}

.menu-style-nobutton ul li a, nav.standard ul li a{
  line-height: 85px !important;
  padding-bottom: 4px;
}

nav.standard ul li ul li a{
  padding-bottom: 0;
}

.lang-wrapper{
  float: right;
  width: 100%;
  padding-top: 30px;
}

.lang-wrapper a{
  float: right;
  font-size: 12px;
  color: #333;
  line-height: 14px;
  padding: 0px 22.5px;
}


@media (max-width:979px){
  .lang-wrapper{
    display: none;
  }
}

#lang-sel-footer a{
  text-decoration: none;
}

@media(max-width: 1199px) and (min-width: 980px){
  .cover-2 .cover-headline h1{
    font-size: 44px !important;
    line-height: 50px !important;
  }
}

@media (max-width: 979px){
  .cover-2 .cover-headline h1{
    font-size: 36px !important;
    line-height: 42px !important;
  }
}

@media (max-width: 414px){
  .cover-2 .cover-headline h1{
    font-size: 28px !important;
    line-height: 32px !important;
  }
}