/*
Theme Name: dott.ssa Cristina Perillo
Theme URI: http://www.dietistacristinaperillo.it
Description: Tema realizzato per la dott.ssa Cristina Perillo
Author: X5G snc
Author URI: http://www.x5g.it
Version: 1.0
*/
html{ background:#fff; }
body{ background: #fff; color: #000; }
.img-center{ margin-left: auto; margin-right: auto; }
.col-no-gutter{ padding-left: 0; padding-right: 0; }
a:hover,
a:focus,
a:active{ text-decoration: none; }
a:hover,
a:focus{ text-decoration: none; color: #ff9c00; }
.wrapper{ max-width: 1600px; margin: 0 auto; }
.form-control:focus {
    border-color: #ff9c00;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#header{
	padding: 25px 0;
}
#menu-header-menu{
	float: right;
}
.navbar{
	border: none;
	padding: 0;
	margin: 0;
	min-height: auto;
}
.navbar a{
	font-size: 20px;
	font-weight: 300;
}
.navbar li.current-menu-parent a,
.navbar li.current-menu-item a,
.navbar a:hover{
	border-bottom: 1px solid #000;
}
.navbar .nav>li>a{
	line-height: 1;
	padding: 5px 0px;
}
.navbar .nav>li>a:hover,
.navbar .nav>li>a:focus,
.navbar .nav>li>a:active{
	background: none;
}
.navbar .nav>li>a:hover{
	color: #000;
}
.navbar .nav>li{
	padding:6px 20px 5px 20px;
}
.navbar .nav>li:first-child{
	padding-left: 0;
}
.navbar .nav>li:last-child{
	padding-right: 0;
}
h1{
	font-weight: normal;
	text-transform: uppercase;
	font-size: 50px;
}
h2{
	font-weight: normal;
	text-transform: uppercase;
	font-size: 40px;
}
h3{
	font-weight: 300;
	text-transform: uppercase;
}
p{
	font-weight: 300;
}

#welcome-wrapper{
	margin-top: -100px;
}
#welcome{
	background: #191919;
	color: #fff;
	position: relative;
	padding: 50px 0;
}
#welcome p{
	color: #999;
	font-size: 16px;
}
#welcome h1 span{
	font-size: 54px;
}
#welcome h1 {
	font-size: 38px;
}
#welcome h1{
	font-weight: 300;
}
#welcome h1 b,
#welcome h1 b span{
	font-weight: normal;
}
#welcome h2{
	font-size: 48px;
}
#welcome h3{
	font-size: 42px;
	margin-top: 10px;
}
#welcome h2 span{
	font-size: 36px;
}
#welcome h3 span{
	font-size: 28px;
}
#welcome-top,
#welcome-bottom{
}
.triangle {
  position: relative;
}
.triangle:before {
  background-repeat: no-repeat;
  background-size: 100% 100%;
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: -60px;
  height: 60px;
}
#welcome-top,
#welcome-bottom{
	height: 60px;
}

#welcome-top .triangle:before{
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='0,0 0,100 100,100' style='fill:#191919' /%3E%3C/svg%3E");
}

#welcome-bottom .triangle:before{
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpolygon points='100,0 100,100 0,0' style='fill:#191919' /%3E%3C/svg%3E");
}

#featured-pages{
	padding: 50px 0;
	
}
#featured-pages .featured-page{
	display: block;
	position: relative;	
}
#featured-pages .featured-page div{
	position: absolute;
	top: 50%;	
	left: 0;
	width: 100%;
	margin-top: -65px;
	text-align: center;
}
#featured-pages .featured-page div h2{
	color: #fff;
	font-size: 30px;
	transition: .3s linear;
	text-shadow: 1px 1px 1px #000;
}
#featured-pages a.featured-page:hover > img{
	opacity: 0.9;
}
#featured-pages a.featured-page:hover div h2{
/* 	text-decoration: underline; */
}
#contatti .title-line{
	border-bottom: 2px solid #000;
	height: 45px;
	margin-bottom: 70px;
	text-align: center;
}
#contatti .title-line h2{
	color: #000;
	font-size: 20px;
	display: inline-block;
	border: 3px solid #000;
	position: relative;
	background-color: #fff;
	margin-left: -5px;
}
#contatti .title-line h2 a{
	display: block;
	padding: 14px 20px;
	position: relative;
	top: -5px;
	left: 5px;
	border: 3px solid #000;
	background: #fff;
	margin: -3px;
}
#contatti p.lead{
	font-weight: normal;
	text-align: center;
}

#contatti #contacts{
	text-align: center;
}
#contatti #contacts h3{
	font-weight: normal;
	margin-bottom: 20px;
}
#contatti #contacts p{
	font-size: 20px;
	clear: both;
}
#contatti #contacts p i{
	font-size: 30px;
	display: inline-block;
	margin-right:5px;
}
#contatti #contacts p a{
	display: inline-block;
	height: 30px;
	line-height: 35px;
}

.form-control{
	box-shadow: none;
	font-size: 14px;
	font-weight: 300;
	border: 1px solid #000;
	padding: 13px 20px ;
}

#footer{
	text-align: center;
	padding: 50px 0;
	font-size: 16px;
	font-weight: 300;
}
#footer #copy-menu{
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-block;
}
#footer #copy-menu li{
	display: inline-block;
}

#footer #agency{
	color: #ff9c00;
}
#footer #agency:hover{
	color: #555;
}

#page-header{
	text-align: center;
	margin-bottom: 30px;
}
#page-header h1,
#page-header h2{
	font-weight: 300;
	text-align: center;
	font-size: 40px;
	display: inline-block;
	padding: 10px 40px;
	border-bottom: 1px solid #191919;
}
.page-content .page-thumb{
	position: relative;
	float: left;
	max-width: 450px;
	margin-right: 30px;
	margin-bottom: 30px;
	z-index: 999;
}
.page-content .page-thumb img{
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter ….3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: gray;
    -webkit-filter: grayscale(100%);
    transition: .2s ease-in;
    z-index: 999;
}
.page-content a.page-thumb:hover img{
	    filter: none;
	filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
}
.page-content .page-thumb i{
	font-size: 12px;
	display: block;
	padding: 5px 0;
}

.page-content .page-thumb a{
	color: #aaa;
}

.page-content ul {
    list-style: outside disc;
    padding-left: 0;
/*     margin-left: 1em; */
}
.page-content ul li {
    position: relative;
    left: 1em;
    padding-right: 1em;    
    margin-bottom: 10px;
}

.page-content,
.page-content p,
.page-content ul {
	font-weight: 300;
	font-size: 17px;
	text-align: justify;
}

.page-content h2{
	font-size: 24px;
	color: #222;
	text-align: left;
}
.page-content h3,
.page-content h3 strong{
	font-size: 20px;
	color: #555;
	font-weight: 300 !important; 
	text-align: left;
}

 .news{
	margin-bottom: 30px;
}
.news h2{
	font-size: 18px;
	font-weight: 300;
	color: #222;
	margin-top: 15px;
}
.news a img{
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter ….3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: gray;
    -webkit-filter: grayscale(100%);
    transition: .2s ease-in;
    z-index: 999;
}
 .news a:hover img{
	    filter: none;
	filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
}
.news a:hover h2{
	color: #ff9c00;
}

.nav-links .page-numbers{
	font-size: 20px;
	font-weight: 300;
	padding: 0 10px;
}
#slide {
  position: relative;
}
#slide #claim{
	position: absolute;
	top: 50%;
	width: 100%;
	text-align: center;
	font-size: 50px;
	font-weight: 300;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 1px 1px 1px #000;
	margin-top: -170px;
	visibility: collapse;
	opacity: 0;
	transition: .5s linear;
}

li.facebook{
	position: relative;
}
li.facebook a{
	position: absolute;
	top: -10px;
}
.navbar .nav>li.facebook>a{
	color: #ff9c00;
}
.navbar .nav>li.facebook:hover>a{
	color: #ccc;
	text-decoration: none;
	border-color: transparent;
}

@media ( max-width:1600px ){

}

@media ( max-width: 1199px ){
/*
	.navbar .nav>li{
		padding:6px 18px 5px 18px;
	}
*/
	.navbar .nav>li {
	    padding: 6px 10px 5px 10px;
	}
	.navbar .nav>li.facebook{
		width: 50px;
	}
	#slide #claim{
		font-size: 30px;
		margin-top: -100px;
	}
	#slide #claim img{
		max-width: 500px;
	}
}

@media ( min-width:992px ) and ( max-width: 1199px ){
	}

@media( max-width: 991px ){
	h1 {
	    font-size: 40px;
	}
	#welcome h2{
		font-size: 30px;
	}
	#welcome h3{
		font-size: 28px;
	}
	#featured-pages .featured-page div h2{
		font-size: 20px;
	}
	li.facebook a{
		top: -25px;
	}
	
}

@media ( min-width:768px ) and ( max-width: 991px ){
	#logo img{
		margin: 30px auto;
		
	}
	#menu-header-menu{
		float: none;
		text-align: center;
	}
	#menu-header-menu.navbar-nav>li{
		float: none;
		text-align: center;
		display: inline-block;
	}
	li.facebook a{
		top: -25px;
	}
}

@media ( max-width: 767px ){
	#logo{
		display: block;
		padding-top: 5px;
		margin-bottom: 25px;
	}
	#logo img{
		margin-left: auto;
		margin-right: auto;
	}
	.navbar-header{
		text-align: center;
	}
	.navbar li.current-menu-parent a, 
	.navbar li.current-menu-item a, 
	.navbar a:hover {
	    border-color: #fff;
	}
	.navbar li a{
		color: #fff;
	}
	#navbar-toggle{
		margin: 0;
		float: none;
		color: #fff;
		font-weight: bold;
	}
	#navbar-toggle .icon-bar{
		background: #000;
	}
	#menu-header-menu{
		float: none;
		margin-top: 0;
/* 		margin-bottom: 0; */
	}
	.navbar .nav>li,
	.navbar .nav>li:first-child,
	.navbar .nav>li:last-child{
		padding: 6px 15px 5px 15px;
	}
	
	#welcome-top{
/* 		display: none; */
	}
	#slide #claim{
		font-size: 20px;
		margin-top: -50px;
	}
	#slide #claim img{
		max-width: 90%;
	}
	#welcome-wrapper{
		margin-top: -20px
	}
	.triangle:before {
	  bottom: -20px;
	  height: 20px;
	}
	#welcome-top,
	#welcome-bottom{
		height: 20px;
	}
	#welcome{
		padding: 30px 0;
	}
	h1 {
	    font-size: 30px;
	}
	#welcome h2{
		font-size: 30px;
	}
	#welcome h2 span{
		font-size: 23px;
	}
	#welcome h3{
		font-size: 26px;
	}
	#welcome h3 span{
		font-size: 20px;
	}
	.page-content .page-thumb{
		float: none;
		margin-right: 0;
		max-width: none;
	}
	#header{
		padding-bottom: 0;
	}
	#navbar-wrapper{
		background: #000;
	}
	.navbar .nav>li>a:hover{
		color: #fff;
	}
	#page-header{
		margin-bottom: 20px;
	}
	#page-header h1{
		padding-left: 0;
		padding-right: 0;
		font-size: 24px;
	}
	li.facebook{
		width: auto;
	}
	li.facebook a{
		position: relative;
		top: auto;
	}
}
