/* CSS Document */
@import url("css/font-awesome.min.css");
@import url("http://fonts.googleapis.com/css?family=Raleway:100,200,300,500,600,700,800,900");

* {
	margin:0;
	padding:0;
}

body {
	background: #0f1116;
	color: #555555;
	font-family: 'Raleway', sans-serif;
	font-weight: 300;
	line-height: 1.65em;
}

#wrapper {
	overflow:auto;
}

#wrapper-inner {
	background: url(images/bg.jpg) no-repeat center top;
	min-height:1000px;
	background-size:cover;

}


header {
    position: relative;
    top: 0;
    left: 0;
    background: #0F1116;
    color: #fff;
    padding: 1.25em 1.25em 1.25em 1.25em;
}

/* Logo */

	#logo {
		font-size: 1.2em;
		cursor: default;
	}

	#logo h1 {
		display: inline-block;
		text-transform: uppercase;
		font-size: 12pt;
		font-family: 'aaargh';
	}
	
	h1 {
		font-weight: 700;
		
	}
	
	h1 a {
		text-decoration:none;
		color:#FFF;
		font-size: 14pt;
	}
	
	span {
    	color: #555555;
    	font-size: 12pt;
    	font-weight: 300;
    
	}

/* Navigation */

	#nav {
		position: absolute;
		right: 0;
		top: 0;
		cursor: default;
	}

	#nav ul li {
		display: inline-block;
		padding: 1.25em 1.25em;
	}

	#nav ul li a {
		-moz-transition: color 0.35s ease-in-out;
		-webkit-transition: color 0.35s ease-in-out;
		-o-transition: color 0.35s ease-in-out;
		-ms-transition: color 0.35s ease-in-out;
		transition: color 0.35s ease-in-out;
		display: inline-block;
		color: #ddd;
		color: rgba(255, 255, 255, 0.75);
		text-decoration: none;
	}

	#nav ul li a:hover {
		color: #fff;
	}
	

/* banner */


#banner {
    text-align: center;
    color: #fff;
    padding: 6em 13%;
    margin-bottom: 6em;
}

#banner p {
    font-size: 1.75em;
    line-height: 1.75em;
	margin-bottom: 1.75em;
}

#wrapper a:link, #wrapper a:hover, #wrapper a:visited  {
	color:#FFFFFF;
	text-decoration:underline;

}

#wrapper a:link.button, footer input[type="submit"].button {
    padding: 0.75em 1.5em;
    font-size: 1.2em;
	-moz-transition: background-color 0.35s ease-in-out;
	-webkit-transition: background-color 0.35s ease-in-out;
	-o-transition: background-color 0.35s ease-in-out;
	-ms-transition: background-color 0.35s ease-in-out;
	transition: background-color 0.35s ease-in-out;
	background: #d84780;
	border-radius: 6px;
	border: 0;
	cursor: pointer;
	display: inline-block;
	padding: 0.75em 1.5em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 600;
}

#wrapper a:link.medium footer input[type="submit"].medium {
	padding: 0.80em 2em;
    font-size: 1.6em;
}

#banner a:link.button:hover, footer input[type="submit"].button:hover {
	background: #e1719d;
}


/* content */

.container {
	margin:0 auto;
	width:90%;
}

#content .row article.item {
	width:30%;
	margin-left:3.333333%;
	margin-bottom:40px;
}

.caption {
    padding: 3em 2em;
    background: #FFF;
    text-align: center;
    border-radius: 0px 0px 6px 6px;
	
}

.caption p {
	margin-bottom:30px;
}

#content .item .image {
	display:block;
	
}

#content .item img.responsive {
	width:100%;
	display:block;
}

.row > * {
	float:left;
}

.row {
	margin-left:-3%;
	
}


/* services */

#services .row article.item {
	width:39%;
	margin-bottom:40px;
	margin-left:3%;
}

#services h3 {
    margin-bottom: 0.80em;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 2em;
    color: #FFF;
}

#services .row article.item {
    padding: 3em 0em 3em 8%;
    border-top: solid 1px rgba(255, 255, 255, 0.2);
}

#services .row:first-child .item {
	border:none;
}

/* fontawesome */
#services .row article.item  {
    position:relative;
}    
#services article.item i {
    color:white;
    left:0px;
    position:absolute;
    top:0.80em;
	font-size:5vw; /* viewport width relative size, support good but needs fallback */
 }
 
 .clearer {
	 clear:both;
}

/* footer */

footer .headline {
	padding-bottom: 3em;
    text-transform: uppercase;
	text-align:center;
}

footer .headline h2 {
	line-height: 1em;
    font-weight: 800;
    font-size: 2.8em;
}

footer .byline {
    display: block;
    margin: 0.50em 0 0 0;
    padding: 0 0 0.5em 0;
    letter-spacing: 1px;
    font-size: 1.3em;
    font-weight: 300;
}

footer {
    padding: 6em 0 0 0;
    background: #d84780;
    color: white;
}

input, textarea {
	margin-bottom:20px;
}

input[type="text"], textarea {
	line-height: 1.5em;
	background: white;
    color: #555555;
    border: none;
    display: block;
    outline: 0;
    padding: 1em 2%;
    text-decoration: none;
    width: 96%;
    border-radius: 6px;
	font-size:12pt;
}

textarea {
	min-height: 14em;
}

form {
	width:70%;
	margin:0 auto;
}

footer input[type="submit"].button {
	border:1px solid #FFF;
	color:#FFF;
	margin:0 auto;
	display:block;
	line-height:1.6em;
}

#wrapper header a:link, #wrapper header a:hover, #wrapper header a:visited  {
	text-decoration:none;

}

.copyright {
    color: #ddd;
    color: rgba(255, 255, 255, 0.2) !important;
    text-align: center;
    display: block;
    padding: 3em 0em;
	background: #0f1116;
	margin-top:3em;
}

.copyright a {
    text-decoration: none;
    color: #ddd;
    color: rgba(255, 255, 255, 0.4) !important;
}

ul.icons {
	cursor: default;
	text-align: center;
	margin-top:2em;
}

ul.icons li {
	display: inline-block;
	padding: 0em 0.20em;
}

ul.icons li:first-child {
	padding-left: 0;
}

ul.icons li span {
	display: none;
}

ul.icons li a {
	display: inline-block;
	color: #828282;
	width: 30px;
	height: 30px;
	text-align: center;
}


ul.icons li a:before {
	display: inline-block;
	border: 1px solid #828282;
	width: 2em;
	height: 2em;
	line-height: 2em;
	font-size: 1em;
	color: #828282;
	border-radius: 100%;
	text-align: center;
}

/* MOBILE */
/*----- Toggle Button -----*/
.toggle-nav {
    display:none;
}


@media screen and (max-width: 768px) {
    #nav {
        position:relative;
    }
 
 	#nav ul.active {
       display:none;
    }
    
	#nav ul {
        width:100%;
        position:absolute;
        top:120%;
        left:0px;
        padding:10px 4px;
        box-shadow:0px 1px 1px rgba(0,0,0,0.15);
        border-radius:3px;
        background:#000;
    }
    
    #nav ul li {
		display: block;
		padding: 1.25em 1.25em;
	}
	
	header {
    	padding: 1.25em 0;
	}
	
	#logo span {
		display:none;
	}
	
	#logo {
		text-align:center;
	}
	
	#content .row article.item, #services .row article.item {
    	width: 100%;
    	margin-left: 0;
	}
	
	.row > * {
    	float: none;
	}
	
	#services .row article.item {
    	padding: 3em 0em;
	}
	
	#wrapper a:link.button {
		width:75%;
	}
	
	.row {
		margin-left:0;
	}
	
	form {
		width:90%;
	}
	
	.toggle-nav {
    	display:block;
    	position:absolute;
        top:30%;
        left:5%;
        font-size:2em; 
	}
 
 }

/*RESPONSIVE TYPOGRAPHY */

html {
	font-size:100%;
}

#logo {
	font-size: 1.2em;
}

#logo h1 {
	font-size: 1em;
}

#logo h1 a {
	font-size: 1.6em; /* 1rem e' piu' piccolo rispetto a 1em che in questo caso equivale a 1.2em */
}

#logo span {
	font-size: 1.2em;
}

#nav ul li a {
	font-size: 1.2em;
}


.caption p {
	font-size:1.2rem;
}

.copyright a {font-size:1.2rem;}


@media screen and (max-width: 992px) {
	html {
		font-size:75%;
	}
	#wrapper a:link.button, footer input[type="submit"].button {
		font-size:1.6em;
	}
	#services h3 {font-size:2.6rem; line-height: 3rem;}
	#services p {font-size:1.6rem; line-height: 2rem;}
	
}

@media screen and (max-width: 768px) {
	html {
		font-size: 60%;
	}
	
	#wrapper a:link.button, footer input[type="submit"].button {
		font-size:3em;
	}
	
	.caption p {
		font-size:1.6rem;
		line-height:2rem;
	}
	#services article.item i {top:1rem;}
	

}
 
 