@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800');

body {
	font-family: 'Open Sans', sans-serif;
}


/* Reset */

.container {
	max-width: 860px
}

.nomargin {
	margin: 0px!important;
}

label {
	color: #777;
}

p.text-danger {
	margin: 0px!important;
	font-size: 12px!important;
	color: #a94442!important;
}


/* Main navbar */

.navbar-main {
	height: 112px;
	position: relative;
	background-color: #1B1920;
	border-bottom: 1px solid #141318;
}

.navbar-background-logo {
	/*background-image: url("../../assets/images/mannena-bg2.png");
	background-position: top 0px right -50px;
	background-repeat: no-repeat;*/
}

@media (max-width:767px) {
	.navbar-background-logo {
		background-position: top 0px right -150px;
	}
}

.navbar-main #logo {
	-webkit-background-size: 100% auto;
	-moz-background-size: 100% auto;
	-o-background-size: 100% auto;
	background-size: 100% auto;
	background-image: url("../../assets/images/mannena-logo.png");
	background-repeat: no-repeat;
	background-position: center center;
	width: 92px;
	padding-top: 90px;
	margin: 10px auto 0 auto;
	display: block;
}


/* Sub navbar */

.navbar-sub {
	background-color: #27242F;
	border-radius: 0px;
	border: 0px;
	text-align: center;
	margin: 0px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.navbar-sub .navbar-nav {
	display:inline-block;
	float: none;
	vertical-align: top;
	width: 100%;
}

@media (min-width:767px) {
	.navbar-sub .navbar-nav>li {
		width: 20%;
	}
}

.navbar-sub .navbar-nav>li>a {
	padding: 0px 25px;
	background-color: transparent;
	color: #fff;
	text-transform: uppercase;
	position: relative;
	font-weight: 400;
}

.navbar-sub .navbar-nav>li>a:hover {
	background-color: transparent;
	color: #fff;
}

.navbar-sub .navbar-nav>li.active>a,
.navbar-sub .navbar-nav>li.active>a:hover {
	background-color: #27242F;
	color: #fff;
}

.navbar-sub .navbar-nav>li>a>span {
	display: block;
	height: 70px;
	line-height: 70px;
	border-bottom: 0px solid transparent;
	-webkit-transition : border 200ms ease-out;
	-moz-transition : border 200ms ease-out;
	-o-transition : border 200ms ease-out;
	transition : border 200ms ease-out;
}

.navbar-sub .navbar-nav>li:hover>a>span,
.navbar-sub .navbar-nav>li.active>a>span {
	border-bottom: 6px solid #A9A075;
}



/* Home slider */

.carousel {
	height: 540px;
}

.carousel-inner {
	height: 100%;
}

.carousel .item {
	background-size: cover;
	background-position: 50% 50%;
	width: 100%;
	height: 100%;
}

.carousel .item img,
.carousel .carousel-caption {
	visibility: hidden;
}




/* Main content */

.content-main {
	padding: 40px 0px;
	text-align: center;
	color: #fff;
}

.content-main h1 {
	margin-top: 40px;
	font-weight: 700;
	text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.9)
}

.content-main .lead {
	font-weight: 700;
	text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.9)
}



/* Sections */

section {
	background-color: #222;
	margin-bottom: 20px;
}

section.section-main {
	background-color: #fff;
	padding: 40px 0;
}

section.section-background-logo {
	/*background-image: url("../../assets/images/mannena-bg.png");
	background-position: top -172px right -50px;
	background-repeat: no-repeat;*/
}

@media (max-width:767px) {
	section.section-background-logo {
		background-position: top -172px right -150px;
	}
}

section.section-main h1 {
	color: #1B1920;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 1px;
	text-align: center;
	margin-top: 40px;
	margin-bottom: 40px;
	white-space: nowrap;
	overflow: hidden;
}

section.section-main h1::before {
	content: "";
	display: inline-block;;
	height: 1px;
	width: 200px;
	margin: 10px;
	background: #eee;
}

section.section-main h1::after {
	content: "";
	display: inline-block;;
	height: 1px;
	width: 200px;
	margin: 10px;
	background: #eee;
}

@media (max-width:543px) {
	section.section-main h1 {
		font-size: 30px;
		margin-top: 0px;
		margin-bottom: 20px;
	}
	section.section-main h1::before,
	section.section-main h1::after {
		display: none;
	}
}

@media (min-width:544px) and (max-width: 767px) {
	section.section-main h1 {
		font-size: 32px;
		margin-top: 0px;
		margin-bottom: 20px;
	}
	section.section-main h1::before,
	section.section-main h1::after {
		width: 50px!important;
	}
}

section.section-main p {
	color: #777;
	font-size: 18px;
	font-weight: 200;
	margin-bottom: 40px;
	line-height: 28px;
}

@media (max-width:767px) {
	section.section-main p {
		color: #555;
		font-weight: 400;
		font-size: 20px;
	}
}

body.page-home section.home-banner {
	background-image: url("../../assets/images/mirto_bg.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 300px;
}

footer {
	padding-top: 40px;
	background-color: #27242F;
}

#footer-excerpt {
	color: #fff;
	opacity: 0.8;
}

#footer-excerpt h3 {
	font-size: 18px;
	margin-top: 0px;
}

#footer-excerpt p {
	font-size: 14px;
}

@media (max-width:767px) {
	footer {
		font-size: 18px;
	}
}

footer .copy {
	background-color: #27242F;
	color: #bbb;
	padding: 20px 0;
	border-top: 1px solid #1B1920;
	margin-top: 40px;
	font-size: 12px;
	font-weight: 200;
	text-align: center; 
}

footer a {
	color: #fff;
	line-height: 24px;
	opacity: 0.6;
}

@media (max-width:767px) {
	footer #footer-excerpt {
		border-bottom: 1px solid #1B1920;
		padding-bottom: 20px;
		margin-bottom: 20px;
	}
	footer .copy {
		margin-top: 20px;
	}
	footer a {
		line-height: 40px;
	}
}

footer a:hover {
	color: #fff;
	text-decoration: underline;
}



/* Hamburger button */
.navbar-toggle {
	border: none;
	background: transparent !important;
}

.navbar-toggle:hover {
	background: transparent !important;
}

.navbar-toggle .icon-bar {
	width: 22px;
	transition: all 0.2s;
}

.navbar-toggle .top-bar {
	transform: rotate(45deg);
	transform-origin: 10% 10%;
}

.navbar-toggle .middle-bar {
	opacity: 0;
}

.navbar-toggle .bottom-bar {
	transform: rotate(-45deg);
	transform-origin: 10% 90%;
}

.navbar-toggle.collapsed .top-bar {
	transform: rotate(0);
}

.navbar-toggle.collapsed .middle-bar {
	opacity: 1;
}

.navbar-toggle.collapsed .bottom-bar {
	transform: rotate(0);
}



/* Misc */

#map {
	height: 240px;
}

.margin-top-40 {
	margin-top: 40px;
}

@media (max-width:480px) {
	.cta.first {
		margin-bottom: 20px;
	}
}




/* Cta button */

.cta {
	display: inline-block;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-ms-touch-action: manipulation;
		touch-action: manipulation;
	cursor: pointer;
	-webkit-user-select: none;
		-moz-user-select: none;
			-ms-user-select: none;
		user-select: none;
	background-image: none;
	padding: 10px 40px;
	border: 2px solid transparent;
	border-radius: 25px;
	background-color:#5cb85c;
	color: #ffffff;
}

.cta:hover {
	border-color: #398439;
	color: #ffffff;
	text-decoration: none;
}
