/*
Theme Name: Studio legale Avv Basile
Theme URI:
Author:Costantino Fusco
Author URI: http://costantinofusco.com/
Description:  Studio legale Avv Basile
Text Domain: Basile
*/

/* Track */

body,html{ height:100%; padding:0; margin:0}

body{
	font-family: 'Open Sans', sans-serif;
	font-weight:400;
	background:#fff;
}
p{ font-size: 15px; color: #666;}
.container-fluid{
	max-width: 80% !important;
}
#header-bar{
	width: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
	background: #fff;
	position: relative;

	z-index: +9999;

}
.section-title {
    font-size: 38px;
    font-weight: 300;
    color: #333;
	margin-bottom: 40px;
	text-align: center;
}
.n-box {
    position: relative;
    width: 100%;
}
.data {
    width: 90px;
    padding: 10px;
    background: #b33939;
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
}
.news-box {

}
.testo_servizi {
    background: #fff;
    padding-top: 20px;
}
.title_small {
    font-size: 18px;
    font-weight: bold;
}
#home-cover{width: 100%; position: relative;max-width:100% !important}
#home-cover .title_box{ 
	
	border-right: 50px solid transparent;
	border-bottom: 100px solid #fff; display: block;
	position: absolute;
	left: 15px;
	bottom: 60px;
	height: 0;
	top:0;
    line-height: 140px;
	margin: auto;
	padding-left:15px; padding-right:15px; z-index: +999;
}
.title_box h1{ 
	color: #B01739;
	font-size: 32px;
	font-weight: 300;
	margin-bottom: 0px;
	line-height: normal;
	padding: 10px;
	padding-bottom: 0px;
}
.tit{
	color: #B01739;
	font-size: 32px;
	font-weight: 300;
	margin-bottom: 0px;
	padding: 10px;
	padding-bottom: 0px;
	padding-top:200px
}
.title_box p{
	font-size: 14px;
	color: #666;
	line-height: normal;
	margin-bottom: 0px;
}

#home-cover img{width: 100%;}
.focus-container{position: relative; margin-bottom: 70px;
	}
.focus-box{ 
	width: 100%; 
	padding:60px;
	background:#fff;
}


.chisiamo{

}
#foot{
	padding-bottom: 90px !important;
}
#contatti{
	background:#EFF2F3 url('assets/img/sfondo.png');
	background-repeat: no-repeat;
	background-size: auto;
	background-position: left top;
	width: 100%;
	padding-top: 50px;
	padding-bottom: 50px;
}

#foot{
	width: 100%;
	padding-top: 50px;
	padding-bottom: 50px;
}
.news{
	background-color: #fff;
	padding-top: 50px;
	padding-bottom: 20px;
}

form{
	padding:15px;
}
form input{
	width: 100%;
	height: 50px;
	display: block;
	margin-bottom: 20px;
	border: none;
	padding-left: 10px;
	border-bottom: 1px solid #B01739;
}

textarea{
	width: 100%;
	display: block;
	margin-bottom: 8px;
	border: none;
	padding-left: 10px;
	border-bottom: 1px solid #B01739;
}


.focus-box h2{ font-size:18px; color: #333; font-weight: 400; position: relative; margin-bottom: 20px; width: 200px;}

.focus-box h2:after{
	content: "";
    position: absolute;
    bottom: -10px;
    right: 0;
    left: 0;
    height: 1px;
    background-color: #B01739;
    transform: scaleX(0);
    transform-origin: center left;
    transition: transform 3s cubic-bezier(.215,.61,.355,1);
}
.tn { font-size:18px; color: #333; font-weight: 400; position: relative;width: 200px; margin-bottom: 40px;}

.tn:after{
	content: "";
    position: absolute;
    bottom: -10px;
    right: 0;
    left: 0;
    height: 1px;
    background-color: #B01739;
    transform: scaleX(0);
    transform-origin: center left;
    transition: transform 3s cubic-bezier(.215,.61,.355,1);
}

.is-inview h2:after {
    transform: scaleX(1);
}
.is-inview .tn:after {
    transform: scaleX(1);
}
.focus-box p{ font-size: 15px; color: #666;}
.menu-bar{ padding: 0px; margin: 0px; list-style: none;}
.menu-bar li{ display:inline-block;}
.menu-bar li a{ color: #666666; text-transform: uppercase; font-size: 14px;}
.menu-bar li a:hover{ color: #B01739;}
.menu-bar li .nav-link.active{ color: #B01739;}
.menu-bar li.attivo > .nav-link { color: #B01739 !important;}

#logo{max-width:100%;}
.nopadding{ padding: 0px;}
.news_box{
	margin-bottom: 30px;
}
.news_box img{
	width: 40%;
	float: left;
}
.card_text{
	width: 60%;
	float: left;
	padding:10px;
	background: #EFF2F3;
	height: 100%;
}

.card_text h1{ font-size: 16px; position: relative; margin-bottom: 10px;}

.card_text h1:after{
	content: "";
    position: absolute;
    bottom: -7px;
    right: 0;
    left: 0;
	height: 1px;
	max-width: 50px;
    background-color: #B01739;
    transform: scaleX(0);
    transform-origin: center left;
    transition: transform 3s cubic-bezier(.215,.61,.355,1);
}
.is-inview .card_text h1:after {
    transform: scaleX(1);
}

.contatti_box{

	height: 100%;
	background: #EFF2F3;
	padding-top: 10px; padding-bottom: 10px;
}
.btc_n{
	color: #B01739;
	background: #fff;
	border-bottom: 1px solid #B01739;
	text-decoration: none;
	text-align: right;
	-webkit-transition: background 1s; /* For Safari 3.0 to 6.0 */
		transition: background 1s; /* For modern browsers */
		display: inline-block;
	width: 160px;
	height: 40px;
	line-height: 40px;
	text-align: center;
}
.btc_n:hover{ 
	text-decoration: none; color: #B01739;
	background-color: #B01739;
	color: #fff;
}
.send_btc{
	background: #fff;
	border: 1px solid #B01739;
	color: #B01739;
	height: 50px;
	width: 260px;
	-webkit-transition: background 1s; /* For Safari 3.0 to 6.0 */
        transition: background 1s; /* For modern browsers */
}
.send_btc:hover{
	background-color: #B01739;
	color: #fff;
}
#success{display:none}
#cookieChoiceInfo {
	width: 420px !important;
	position: fixed;
	right: 0px !important;
	bottom: 0;
	padding: 30px !important;
	background: rgba(0,0,0,0.85) !important;
	font-size: 14px;
	text-align: center !important;
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	line-height: 21px;
	z-index: +9999;
	}
	#cookieChoiceInfo a {
	color: #000;
	background: #fff;
	padding: 8px;
	font-size: 16px;
	display: inline;
	width: 100px;
	text-align: center;
	padding:9px;
	}
	#cookieChoiceInfo span { display:block; margin-bottom:20px; color:#fff !important}
	#cookieChoiceDismiss{ background:#b33939  !important; color:#fff !important}
@media only screen and (max-width: 760px){
	#trigger-overlay {
		display: block;
	}
	.container-fluid{max-width: 100% !important;}
	#header-navbar {
		position: fixed;
		top: 0;
		bottom: 0;
		margin: auto;
		background: rgba(255,255,255,0.9);
		width: 85%;
		left: -100%;
		padding-top: 50px;
		padding-left: 50px;
		-webkit-transition: left 1s;
		-moz-transition: left 1s;
		-o-transition: left 1s;
		transition: left 1s;
	}
	
}

@media only screen and (max-width: 1070px){
	#home-cover .title_box{
		display:none
	}
	#home-cover img{
		margin-top:70px
	}
	.social{ top:-3px; position: relative;}
	.focus-box{
		padding:0px;
	}
	.news_box img{float: none; width:100%;}
	.card_text{float:none; width: 100%; height: auto;}
	.tit{ padding-top: 15px;}
	#contatti{ padding:0px}
}

.foo a{ color: #000; text-decoration: none;}
.foo{ padding-top: 10px; padding-bottom: 10px;}