/**
* Backyard
* Landing Page Template
* Author: MoxDesign - http://www.moxdesign.com
**/

html, body {
	width: 100%;
	overflow-x: hidden;
}
body {
	height:100%;
	font-family: "Roboto", "Serif";
	font-weight: 300;
	padding:0;
	margin:0;
	font-size:16px;
	line-height: 28px;
	color: #282a2c; 
	background: #fff;
	overflow-x:hidden;
	position: relative;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Montserrat", "Roboto", "sans serif";
	text-decoration: none;
	font-weight: 500;
	text-transform: uppercase;
}	

h1 { font-size: 3.3em; line-height:1.2em; margin:0 0 .3em; }
h2 { font-size: 1.8em; line-height:1.3em; margin-bottom: .7em; font-weight: 600; }
h3 { font-size: 1.3em; line-height:1em; }
h4 { font-size: 1em; line-height:1.2em; color: #999; margin-top: 1em;}
h5 { font-size: 1.1em; line-height:1.4em; }
h6 { font-size: 0.8em; line-height:1em; }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	text-decoration: none;
}	 

h1 {
	font-size: 2.5em;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	margin: 10px 0 30px 0;
}

h2 {
	margin-top: 0px;	
}

h5 {
	color: #fff;	
	
}

p { 
	padding: 0 0 1em;
	margin:0;
}
a {
	color: #282a2c;
	outline: 0;
	font-weight: bold;
	-webkit-transition: all .8s ease;
	transition: all .2s ease;
	text-decoration: none;
} 
a:hover, a:visited, a:focus {
	text-decoration: none;
	color: #282a2c;
	-webkit-transition: all .8s ease;
	transition: all .2s ease;
}

.highlight {
	color: #d33738;
}
#preloader { 
	position: fixed; 
	left: 0; 
	top: 0; 
	z-index: 999; 
	width: 100%; 
	height: 100%; 
	overflow: visible; 
	background: #fff url(../images/loading.gif) no-repeat center center;
}
.fullscreen {
    width:100%;
    min-height:100%;
	background-repeat:no-repeat;
    background-position:50% 50%;
    background-position:50% 50%\9 !important;
}
.fa-spin {
	font-size: 22px;
	margin-right: 5px;	
}
.overlay {
    background-color: rgba(0, 0, 0, 0.5);
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
}
#menu {
	z-index: 99;
}

.navbar-toggle {
	border-radius: 0;	
	margin-top: 5px;
	margin-bottom: 10px;
}

.navbar-default .navbar-toggle {
	border: none;
}

.navbar-default .navbar-toggle .icon-bar{
	background-color:#fff;
    display: block;
    width: 22px;
    height: 1px;
    border-radius: 0;
	margin-top: 6px;
}
	
.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:active,
.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus {
	background-color:#f84241;
	}

.navbar-default {
	background: #f84241;
	z-index: 999;
	position: relative;
	text-transform: uppercase;
	font-size: .8em;
	font-family: "Montserrat", "Roboto", "sans serif";
}
.navbar-default .navbar-brand {
    padding-top:7px;
	color: #fff;
}

.navbar-default .navbar-brand:hover {
	color: #fff;
}

.navbar-default .navbar-nav > li > a:link {
	color: #fff;	
}

.navbar-default .navbar-nav > li > a {
    color: #fff;
	font-weight: 500;
	padding: 20px 12px;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color: #fff;
    background-color: #d33738;
}

.navbar-default .navbar-nav > li > a:hover {
    color: #fff;
	background: #e83c3c;
}
.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:hover, 
.navbar-default .navbar-nav > .active > a:focus {
	background: #d33738;
    color: #fff;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
	border: none;
	box-shadow: none;
}

.btn-default, .btn-primary, .btn-secondary, .btn-home {
	font-family: "Montserrat", "Roboto", "sans serif";
	font-weight: 500;
	font-size: .9em;
	text-transform: uppercase;
	margin: 30px 0 10px;
	margin-right: 10px;
	line-height: 20px;
	padding: 15px 35px;
	height: 50px;
	border-radius: 0px;
	transition: all 0.2s;
	border: none;
	white-space: nowrap;
}

.btn-default {
	border: 1px solid #f84241;
	background: transparent;
	color: #f84241
}
.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default:visited, .btn-default.active, .open > .dropdown-toggle.btn-default {
	border: 1px solid #f84241;
	background: #f84241 !important;
	color: #fff;
	text-decoration: none;
}
.btn-primary {
	border: 1px solid #f84241;
	background: #f84241;
	color: white;
}
.btn-primary:hover, .btn-primary.focus, .btn-primary:active, .btn-primary:visited, .btn-primary.active, .open > .dropdown-toggle.btn-primary {
	border: 1px solid #fff;
	background: #fff;
	color: #282a2c;
	text-decoration: none;
}
.btn-secondary {
	background: #d33738;
	color: white;
}
.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active, .btn-secondary:visited, .btn-secondary.active, .open > .dropdown-toggle.btn-secondary {
	background: #f84241;
	color: white
}

.btn-home {
	background: transparent;
	color: #fff;
	border: 1px solid #fff;
}

.btn-home:hover, .btn-home:focus, .btn-home:active, .btn-home:visited, .btn-home.visited, .btn-home.active {
	border: 1px solid #fff;
	background: #fff;
	color: #282a2c;
	text-decoration: none;
}

.btn-cta {
	font-family: "Montserrat", "Roboto", "sans serif";
	font-size: 1.1em;
	font-weight: 100;
	text-transform: uppercase;
	margin: 30px 0 10px;
	margin-right: 10px;
	line-height: 20px;
	padding: 20px 60px;
	height: 60px;
	border-radius: 0px;
	transition: all 0.2s;
	border: none;
	background: #f84241;
	color: #fff;
	border: 1px solid #f84241;
}

.btn-cta:hover, .btn-cta:focus, .btn-cta:active, .btn-cta.visited, .btn-cta.active  {
	border: 1px solid #d33738;
	background: #d33738;
	color: #fff;
	text-decoration: none;
}

.site-name img {
	width: 150px; 
}
.logo {
	margin: 40px 0 40px 0;
	font-size: 30px;
	color: #282a2c;
}
.logo img{
	width: 180px;
	margin-right: 20px;
}

.landing p, .landing h2 {
	color: #fff;
}
.landing-text {
	margin-bottom: 20px;
}
.landing-text p {
	color: #fff;
}
.head-btn {
	margin-top: 40px;
	margin-bottom: 150px;
}
.head-btn i {
	font-size: .8em;	
	margin-left: 5px;
}
.option {
	text-transform: uppercase;
	padding: 5px;
	min-width: 80px;
	margin-right: 5px;
	transition: all 0.4s;
	font-size: 14px;
	color: #282a2c;
}

.contact-form {
	margin: 0 0 100px;
	background: rgba(0,0,0,0.5);
	border-radius: 4px;
	padding-left: 20px;
	padding-right: 20px;
}
.contact-form h3 {
	padding: 20px 0 0;
	color: #fff;
	font-size: 1.6em;
	line-height: 1.2em;
	font-weight: 700;
	text-transform: uppercase;
}

.form-header input {
	position: relative;
	padding: 5px 15px;
	font-size: .8em;
	text-transform: uppercase;
}

.form-header textarea {
	resize: vertical;
	min-height: 100px;
	font-size: .8em;
	text-transform: uppercase;
}

.form-header .form-control {
	border-radius: 0;
	border: 1px solid transparent;
	background-color: #fff;
	color: #999;
	height: 45px;
	box-shadow: none;
	transition: all .3s ease-in-out;
}
.form-header .form-control:focus {
	border: 1px solid #fff;
	padding-left: 20px;
}

.form-header .form-control::placeholder {
	text-transform: uppercase;
	font-size: 13px;	
}

select.form-control.input-lg {
	padding-left: 10px;
	text-transform: uppercase;
	font-size: 13px;	
}

select.form-control.input-lg:focus {
	padding-left: 15px;
}

.form-header .btn {
	font-family: "Montserrat", "Roboto", "Sans serif";
	border-radius: 0;
	height: 55px;
	width: 100%;
	background-color: #f84241;
	color: white;
	font-size: .9em !important;
	padding: 0 33px;
	border: none;
	margin: 0;
	-webkit-transition: all .8s ease;
	transition: all .8s ease;
}
.form-header .btn:hover {
	background-color: #d33738;
	-webkit-transition: all .8s ease;
	transition: all .8s ease;
}

.form-group {
	margin-bottom: 6px;	
}

optgroup {
	margin-left: 3px;
}

label {
	font-size: 13px;
	line-height: 18px;
	padding: 0;
	color: #fff;
	font-weight: normal;	
}

#input_privacy, #input_newsletter {
	padding: 0;	
}

.privacy label {
	font-weight: 400;
	margin-top: 10px;
}

.privacy label a {
	font-weight: bold !important;	
}

.privacy input, .newsletter input {
	position: relative;
	top: 2px;	
	margin-right: 3px;
}

.privacy {
	margin-bottom: 4px;	
}

.newsletter {
	margin-bottom: 15px;
}

.contact-form p {
	color: #fff;
	text-align: center;
}

.last {
	padding-bottom: 20px;	
}

.privacy a {
	text-decoration: underline;
	color: #fff;
	font-weight: 100;
}

#policy {
	padding: 100px 0 70px;
}

.modal {
	posizion: relative;
	z-index: 9999;	
}

 {
	padding: 80px 0 70px;
}

.btn-section {
	padding-top: 20px;
}
#diploma, #recupero-anni-scolastici, #corsi-online, #indirizzi-di-studio {
	padding: 80px 0 70px 0;
}
 #recupero-anni-scolastici, #indirizzi-di-studio {
	background: #f6f6f6;	
}
.subscribe {
	color: #282a2c;
}
.subscribe p {
	margin: 30px auto 30px;
}
.subscribe-form {
	max-width: 400px;
	margin: 50px auto 150px;
	text-align: center;
	overflow: hidden;
}
.subscribe-form form {
	position: relative;
}
.subscribe-form input {
	max-width: 85%;
	position: relative;
	padding: 5px 25px;
}
.subscribe-form .form-control {
	border-radius: 4px 0 0 4px;
	border: none;
	background-color: rgba(255, 255, 255, 0.6);
	color: #333;
	font-size: 1.2em;
	height: 55px;
}
.subscribe-form button {
	border-radius: 0 4px 4px 0;
	background-color: #d33738;
	color: #ffffff;
	font-size: 1em;
	line-height: 52px;
	position: absolute;
	top: 0px;
	right: 0px;
	padding: 0 30px;
	margin: 0;
	-webkit-transition: all .8s ease;
	transition: all .8s ease;
}
.subscribe-form .btn {
	height: 55px;
}
.subscribe-form .btn:hover {
	background-color: #f84241;
	color: #fff;
	-webkit-transition: all .8s ease;
	transition: all .8s ease;
}
.subscribe-form .form-control::-webkit-input-placeholder {
	color: #333;
}
.subscribe-form .form-control:-moz-placeholder { 
	color: #333;  
}
.subscribe-form .form-control::-moz-placeholder { 
	color: #333;  
}
.subscribe-form .form-control:-ms-input-placeholder {  
	color: #333;  
}
#il-lavoro {
	padding-top: 30px;
	background: #f6f6f6;
}

.title-line {
    width: 100px;
    height: 3px;
    margin: 0 auto;
    background: #d33738;
	margin-bottom: 15px;
}
.btn-price {
	margin: 5px 0 15px;
	font-size: 17px;
	padding: 7px 35px;
	height: 40px;
	background: #d33738;
	transition: all 0.4s;
	color: white;
	border-radius: 4px;	
}
.btn-price:hover {
	background: #f84241;
	color: white;
}
#client {
	background: #f6f6f6;
	padding: 70px 0 70px;
}
#client img {
	max-height: 50px;
	margin: 0 20px;
	opacity: 1;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}
#client img:hover {
	opacity: 0.7;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}
#testi {
	padding: 100px 0 100px;
}
.testi-item {
	display: block;
	width: 100%;
	height: auto;
	position: relative;
	margin-top: 30px;
}
.testi-item .box {
	margin-right: 15px;
	margin-left: 15px;
}
.testi-item .box .message {
	padding: 20px;
	font-style: italic;
	line-height: 30px;
	font-weight: 300;
	font-size: 20px;
}
.testi-item .client-pic img {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	max-width: 100%;
}
.testi-item .client-info .client-name {
	margin-top: 10px;
	font-size: 16px;
}
.testi-item .client-info .company {
	font-style: italic;
	color: #d33738;
}
.owl-theme .owl-controls .owl-page span{
	background: #d33738;
}
.video-header {
	margin: 40px 0 30px;
}
.video-embed {
	position: relative;
	padding-top: 56.25%; 
	height: 0;
	background-color: #000000;
	-webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.2);
	box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.video-embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.cta {
	color: #fff;
}
.cta h2 {
	margin-top: 100px;
	text-transform: uppercase;
}
.contattaci-cta {
	padding: 50px 0 160px;
}
#contact {
	width: 100%;
	min-height: 100%;
}
#contact h2{
	color: white;
}
.ul-address a {
	font-weight: normal;
}
.ul-address a:hover {
	color: white;
}
.ul-address li {
	padding-right: 20px; 
	margin-bottom: 8px; 
	list-style: none;
	color: white;
}
.ul-address i {
	margin-left: 15px;
	position: absolute; 
	left: 0;
	color: #d33738; 
	font-size: 25px;
	line-height: 30px;
}
.contact-row {
	margin: 100px 0 100px;
}
#contact-form {
	margin: 0 auto;
}
#contact-form input {
	position: relative;
	padding: 5px 25px;
	width: 100%;
}
#contact-form textarea {
	position: relative;
	padding: 10px 25px;
	width: 100%;
	height: 120px !important;
}
#contact-form .form-control {
	border-radius: 0;
	border: solid 1px #dadada;
	background-color: #fff;
	color: #333;
	font-size: 1.2em;
	height: 55px;
}
#contact-form .btn {
	height: 55px;
	width: 100%;
	background-color: #d33738;
	color: #ffffff;
	font-size: 17px !important;
	line-height: 18px;
	padding: 0 33px;
	border: none;
	border-radius: 0;
	margin: 0;
	-webkit-transition: all .8s ease;
	transition: all .8s ease;
}



#contact-form .btn:hover {
	background-color: #f84241;
	-webkit-transition: all .8s ease;
	transition: all .8s ease;
}
footer {
	background: #fff;
	padding: 50px 0 50px;
}
footer p {
	font-size: 11px;
	margin-top: 10px;
	line-height: 18px;		
}
h2.modal-title {
	font-size: 1.6em;	
	line-height: 1.3em;
}
.informativa h2 {
	font-size: 1.4em;
	line-height: 1.2em;	
}
.informativa p,
.informativa ul li,
.informativa ol li {
	font-size: 15px;	
	line-height: 1.6em;
}
.informativa ol {
	padding-left: 16px;
}
.informativa ul li {
	list-style-type: disc;	
}
.social ul {
	padding: 0;
	list-style: none;
}
.social li {
	display: inline-block;
	padding-right: .3em;
	padding-bottom: .3em;
}
.social li a {
	display: block;
	width: 40px;
	height: 40px;
	line-height: 40px;
	color: #d33738;
	border-radius: 50%;
	background: #fff;
	border: solid 1px #d33738;
	-webkit-transition: all .8s ease;
	transition: all .8s ease;
}
.social li a:hover {
	color: #fff;
	background: #f84241;
}
#shortcode-basic {
	padding: 70px 0 10px;
}
#shortcode-button {
	padding: 50px 0 10px;
	width: 100%;
	min-height: 100%;
}
#shortcode-button .form-horizontal {
	padding-left: 20px;
	padding-right: 20px;
}
#shortcode-icon {
	padding: 70px 0 10px;
}
#shortcode-alert {
	padding: 70px 0 10px;
}
#shortcode-table {
	padding: 70px 0 10px;
}
#shortcode-column {
	padding: 50px 0 10px;
}
.social-icons i {
	color: #d33738;
	font-size: 30px;
	line-height: 40px
}
#shortcode-alert {
	padding: 70px 0 30px;
}
.alert { 
	border: none; 
	border-radius: 0; 
	position: relative; 
	font-size: 17px; 
	line-height: 22px; 
	padding: 16px; 
	padding-left: 60px; 
}
.alert i { 
	font-size: 28px; 
	position: absolute; 
	left: 15px; 
	top: 13px; 
} 
.icon-demo i {
	font-size: 70px;
	margin-right: 20px;
}
.table > thead > tr > th { 
	background: #d33738; 
	color: #fff; 
	border-bottom: 0; 
	text-transform: uppercase; 
}
.table > thead > tr > th, 
.table > tbody > tr > td { 
	font-size: 15px; 
	font-weight: 300; 
	padding: 20px 20px; 
}
.table-bg > tbody > tr:nth-child(odd) > td, 
.table-bg > tbody > tr:nth-child(odd) > th { 
	background: #fff; 
}
.table-bg > tbody > tr:nth-child(even) > td, 
.table-bg > tbody > tr:nth-child(even) > th { 
	background: #f6f6f6; 
}
.scrollToTop{
	width: 40px; 
	height: 40px;
	padding: 5px;
	font-size: 30px;
	text-align: center; 
	background: rgba(0, 0, 0, 0.2);
	color: white;
	position: fixed;
	bottom: 20px;
	right: 20px;
	border-radius: 50%;
	display: none;
}
.scrollToTop:hover{
	color: white;
	background: #f84241;
}
.control-group .controls {
	overflow-x: hidden;
}

.g-recaptcha {
	display: inline-block;
	text-align: center;
	margin-bottom: 30px;
}

/* iPads (portrait) ----------- */
@media only screen 
and (min-width : 768px) 
and (max-width : 1024px) 
and (orientation : portrait) {
	.head-btn {
		margin: 50px 0 100px;
	}
	.contact-form {
		margin: 50px 0 100px;
	}
	.btn-price {
		padding: 7px 25px;
	}
	#policy {
		padding: 30px 0 50px;
	}
	#diploma h2, #recupero-anni-scolastici h2, #corsi-online h2, #indirizzi-di-studio 2 {
		text-align: center;
	}
	#diploma p, #recupero-anni-scolastici p, #corsi-online p, #indirizzi-di-studio p {
		text-align: center;
	}
	.btn-section {
		text-align: center;
	}
	#client img {
		margin: 10px 0 10px;
		max-height: 40px;
	}	
	.video-header {
		margin: 50px 0 30px;
	}
	#bottom-action {
		text-align: center;
	}
	.button-demo li {
		padding-bottom: 50px;
	}
}

/* iPads (landscape) ----------- */
@media only screen 
and (min-width : 768px) 
and (max-width : 1024px) 
and (orientation : landscape) {

	.head-btn {
		margin-bottom: 80px;	
	}	
	.landing-text {
		margin: 30px 0 40px 0;
	}
	.contact-form {
		margin-top: 20px;
	}
	.intro-pic {
		margin-top: 100px;
	}
	#client img {
		max-height: 45px;
	}	
	.video-header {
		margin: 50px 0 30px;
	}
}

@media (max-width: 991px) {
	.mb-1 {
		margin-bottom: 1em;	
	}
}

/* smart-phone ----------- */
@media (max-width: 767px) {
	.logo {
		margin: 40px 0 30px 0;
	}
	.site-name img {
	width: 35px; 
	height: 35px
	}
	.navbar-default .navbar-brand {
		margin-top: 3px;	
	}
	.navbar-nav {
		margin-bottom: 0px;
	}
	p {
		font-size: 1.2em;	
		line-height: 1.6em;
	}
	.contact-form p {
		font-size: 1em;
		line-height: 1.4em;
	}
	.btn-default {
		width: 100%;
	}
	.head-btn {
		margin: 30px 0 80px;
	}
	.contact-form {
		margin: 70px 0 80px;
	}
	.form-header .form-control {
		height: 55px;	
	}
	#diploma, #recupero-anni-scolastici, #corsi-online, #indirizzi-di-studio {
		padding: 50px 0 70px;
	}
	#policy {
		padding: 70px 0 70px;
	}
	.btn-section {
		text-align: center;
	}
	.corsi-box {
		margin-bottom: 30px;
	}
	#client img {
		margin: 10px 0 10px;
	}	
	.contact-left {
		margin-bottom: 50px;
	}
	.video-header {
		margin: 50px 0 30px;
	}
	#bottom-action {
		text-align: center;
	}
	.head-btn {
		margin: 0 0 80px;
		line-height: 60px;
	}
}	

@media (max-width: 766px) {
	.hideOnMobile {
		display: none;	
	}	
}

/* iPhone 6Plus (landscape) ----------- */
@media (max-width: 736px) {
	
}

/* iPhone 6 (landscape) ----------- */
@media (max-width: 667px) {
	.logo {
		margin: 30px 0 30px 0;
	}
	.landing-text {
		margin-top: 20px;
	}
	.subscribe p {
		margin: 25px auto 15px;
	}
	.subscribe-form {
		margin: 20px auto 100px;
	}
	.cta h2 {
		margin-top: 70px;
	}
	.contattaci-cta {
		padding: 50px 0 100px;
	}
}

/* iPhone 5 (landscape) ----------- */
@media (max-width: 568px){
	#diploma, #recupero-anni-scolastici, #corsi-online, #indirizzi-di-studio {
		padding: 50px 0 70px;
	}
	#screenshot {
		padding-top: 70px;
	}	
	.screenshots {
		padding-top: 30px;
		padding-bottom: 70px;
	}
	#testi {
		padding: 70px 0 70px;
	}
	.testi-item .box .message {
		line-height: 25px;
		font-size: 18px;
	}
	.cta h2 {
		margin: 50px 0 20px;
	}
	.cta-text p {
		line-height: 1.5;	
	}	
}

/* iPhone 4 (landscape) ----------- */
@media (max-width: 480px) {
	h1{
		font-size: 2.3em;
	}
	.cta h2 {
		font-size: 30px;
	}
	.button-demo li {
		padding-bottom: 50px;
	}
	.navbar-default .navbar-brand {
		font-size: 14px;
	}
}

/* smart phone width: 360px ----------- */
@media (max-width: 360px) {
	h2 {
		font-size: 30px;
	}
	.video-header {
		margin: 30px 0 30px;
	}
	.navbar-default .navbar-brand {
		font-size: 13px;
		margin-top: 3px;	
	}
}

/* iPhone 4/5 (portrait) ----------- */
@media (max-width: 320px) {
	.cta h2 {
		margin: 70px 0 20px;
	}
	.table > thead > tr > th, 
	.table > tbody > tr > td { 
		padding: 20px 10px; 
	}
}

@media (min-width: 767px)  {
	.hideOnDesktop	{
		display: none;
		padding-top: 30px !important;	
	}

}

@media (min-width: 768px) and (max-width: 992px) {
	.navbar-default .navbar-nav > li > a {
		font-size: .83em !important;	
	}
	
	.mt-1 {
		margin-top: 1.2em;	
	}

}

@media (min-width: 992px) and (max-width: 1200px) {
	.navbar-default .navbar-nav > li > a {
		font-size: .83em !important;	
	}
	h2 {
		margin-top: 0px;	
	}

}