﻿@media screen and (min-width: 320px) and (max-width: 480px)
body, html{
    height: 100%;
    width: 100%;
}
.container-fluid {
    width: 100%;
    padding: 0px;
    margin: 0px auto 0px auto;
}
.container {
    width: 100%;
    max-width: 2000px;
	background-color:#FFFFFF;
    font-family: 'News Cycle', sans-serif;
    font-size: 16px;
    line-height: 28px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #6b6b6b;
	position: relative;
}

/*-----------titoli---------------*/
h1 {
    margin: 0px 0 10px 0;
    position: relative;
    font-family: 'News Cycle', sans-serif;
    font-weight: 400;
    color: #28697f;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
}
h2 {
    margin: 80px 0 50px 0;
    position: relative;
    font-family: 'News Cycle', sans-serif;
    font-weight: 400;
    color: #29a6d3;
    text-align: center;
	text-transform: uppercase;
}
h3 {
    padding: 0 0 5px 0;
    border-bottom: 2px solid #909090;
    font-family: 'News Cycle', sans-serif;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #292929;
}

/*---------------colori-----------*/
a {
    color: #28697f;
    text-decoration: none;
}
a:hover {
    color: #28697f;
}

.blue {
    color: #28697f;
}
.white{
    color: #FFFFFF;
}
/*---------------linee righe e colonne-----------*/
hr.dashed {
    padding: 20px 0 20px 0;
	margin-bottom: 50px;
    border: 0px;
    border-bottom: 1px dashed #29a6d3;
}
hr.dashed2 {
    padding: 0px 0 0 0;
    border: 0px;
    border-bottom: 1px dashed #29a6d3;
}
.row {
    margin:auto;
	font-size: 20px;
	text-align:center;
}
col-md-7 {

	text-align:left;
}

/*---------------paragrafi-----------*/
p {
        text-align: left;
		padding-bottom: 20px;
}
span.grassetto{
        font-weight: 600;
}






/* Sticky footer styles
-------------------------------------------------- */

section:before {
    content: "\a\a\a";
    white-space: pre;
}

h1:after {
    content: "\a\a";
    white-space: pre;
}

.text-company {
    color: #36b7ef;
}


/*--------------------navigazione---------------------*/

img.icone {
	position: absolute;
    left: 10px;
}
img.logo_piccolo {
    height: 59px;
	position: absolute;
    top: 20px;
    right: 10px;
}

img.logo {
    display: none;
}
.navbar {
    width: 100%;
	min-height: 105px;
    background: #28697f;
	color: #ffffff;
	text-align:left;
    border-bottom: none;
    transition: background-color linear 0.5s;
	font-family: 'Alegreya Sans', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 16px;
    transition: background-color linear 0.8s;
	padding-top: -10px;
}
.navbar-brand {
	width: 50%;
	position:relative;
	text-align:right;
	float:left;
	display:block;
	white-space: normal;
    text-align: right;
    word-break: break-all;
}

.navbar-nav > li > a:focus{
    color: #28697f;
}
.navbar  .navbar-nav > li > a:hover{
    background-color: #FFFFFF;
    color: #28697f;
}
.navbar  .navbar-toggle:hover,
.navbar  .navbar-toggle:focus {
    background-color: #ffffff;
}
.navbar  .navbar-toggle .icon-bar{
    background-color: #FFFFFF;
}
.navbar .navbar-nav > li > a {
    color: #FFFFFF;
}

.navbar  .navbar-nav > li > a.hover {
    background-color: #FFFFFF;
    color: #28697f;
}
.nav-item a {
    transition: background-color linear 0.5s;
}
.nav-item-hover, .nav-item a:hover {
    background-color: #FFFFFF;
    color: #28697f !important;
}



/*---------------------home-------------------------*/
@media only screen and (max-width: 360px) {

    html {
        font-size: 16px;
    }
}

#home {
    height:auto;
	background-image:url(../images/footer_home.png);
    background-attachment: scroll;
    background-position: -800px 700px;
    background-repeat: no-repeat;
    background-size: cover;
	-moz-background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
	    overflow: hidden;
    position: relative;
	margin-top: 20px;

}
.introduzione {
        width: 80%;
        padding: 0px 30px 0 30px;
    }
	.p {
        width: 80%;
        padding: 0px 30px 0 30px;
    }

.footerhome {
	font-family: News Cycle;
	font-size: 15px;
	text-align: right;
	width: 100%;
	color:white;
	letter-spacing: 0.16em;
	background-color: transparent;
	padding: -10px 50px 50px 30px;
	margin-top: 0px;
    clear: both;
  	float:right;
}





/*---------------------chi siamo-------------------------*/
#aboutUs{
    height: auto;
	width: 100%;
	font-size:21px;
    margin: auto;
    padding: 0px 0px 100px 0px;


}
.title {
    margin: 0px 0 10px 0;
    position: relative;
    font-family: 'News Cycle', sans-serif;
    font-weight: 400;
    color: #29a6d3;
    letter-spacing: 2px;
    text-align: left;
    text-transform: uppercase;
}
.titlesmall  {
	margin: 0px 0 10px 0;
    position: relative;
    font-family: 'News Cycle', sans-serif;
	font-size: 20px;
    font-weight: 400;
    color: #29a6d3;
    letter-spacing: 1px;
    text-align: left;
    text-transform: uppercase;

}
span.subtitle {
	font-family: News Cycle;
	text-align: left;
	font-weight:700px;
	font-style:italic;
	color:#29a6d3;

}
span.subtitlesmal {
	font-family: News Cycle;
	text-align: left;
	font-weight:200px;
	color:#000000;
}

.imgsx {
	text-align: center;


	}
	.col-md-3 {
	text-align: left;
	margin: 20px 0px 10px 5px;
	}
	.col-md-8 {
	text-align: left;

	}
	.txtabout {
	font-size:21px;
	padding-left: 10px;
	padding-right: 10px;
}

.flex {
  max-width: 100%;

}

/*---------------------portfolio-------------------------*/
#portfolio{
	width: 100%;
    height: auto;
    background-color:#28697f;
	font-size:21px;
    margin: auto;
    padding: 0px 5px px -5px;
	overflow: auto;
   }
   .color{
    color:#ffffff;
   }
   .txtportfolio {
	padding-left: -20px;
	padding-right: 20px;
}

   /*---------------------contacts-------------------------*/
#contacts{
	height: auto;
	width: 100%;
	font-size:21px;
    margin: auto;
    padding: 0px 0px 0px 0px;
	overflow: auto;
	background-color: #333232;
   }
   .form{
	font-size:16px;
    margin: auto;
   }
   label{
	font-size:16px;
	color:#ffffff;
    margin: auto;
   }
      /*---------------------footer-------------------------*/
.footer{
	min-height: 300px;
	width: 100%;
    margin: auto;
	text-align:center;
    padding: 50px 0px 0px 0px;
	background-color:#28697f;
	   }
.textfooter{
	font-family: News Cycle;
	font-size: 15px;
	letter-spacing: 0.1em;
	color:#FFFFFF;
	}
