
@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Abel|Raleway');
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.ttf') format('truetype');
    }
/*
Document: stylesheet.css
Website: www.rossettiniassicurazioni.it
Author: Alessandra Sanson (alessandrasanson[at]live[dot]it)
*/



/* ====================================================================================================================
 * RESET                                                                                     
 * ====================================================================================================================*/
 
html, body, section, div, table, tr, td, th, header, nav, label, input, form, ul, li, ol, a, p, h1, h2, h3, h4, h5, h6, img, iframe, textarea, input, button {
    margin:0; padding:0; border-spacing:0; outline:0; border:none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    -ms-transition: all 0.6s;
    -o-transition: all 0.6s;
    transition: all 0.6s;}
    
h1, h2, h3, h4, h5, h6, th {font-weight:normal; }
a {color: inherit; text-decoration: none;}
ul {list-style:none;}
table {font-size:inherit; border-spacing:0; border-collapse:collapse;}  

::-moz-selection {
       background-color: #FF5617 /* colourorange */;
       color: #fff /* colourwhite */;
}

::selection {
       background-color: #FF5617 /* colourorange */;
       color: #fff /* colourwhite */;
}


/* ====================================================================================================================
 * GENERAL                                                                                      
 * ====================================================================================================================*/
 
html, body {width: 100%; height: 100%;
	  font-size:1em;
      font-family: Raleway, Lato, "Tiempos Text", Helvetica, sans-serif;
	  line-height:1.3;}
      
h1, h2, #header-menu li, .calltoaction_btn, #content h3 {font-family: Poppins, font122563, 'Abel', sans-serif;}

.grid_container {width:80%; max-width: 95%; margin-left:auto; margin-right:auto; overflow:hidden; border: 0px solid red}

.grid-1 {width: 8.333%;}
.grid-2 {width: 16.667%;}
.grid-3 {width: 25%;}
.grid-4 {width: 33.333%;}
.grid-5 {width: 41.667%;}
.grid-6 {width: 50%;}
.grid-7 {width: 58.333%;}
.grid-8 {width: 66.667%;}
.grid-9 {width: 75%;}
.grid-10 {width: 83.333%;}
.grid-11 {width: 91.667%;}
.grid-12 {width: 100%;}

[class*="grid-"] {
    padding: 0 20px;
    border: inherit;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    vertical-align:top;
    overflow:hidden;
    display:inline-block;
}
.grid_container img {
    width:100%;
}

.row {
    width:100%;
    clear:both;
}

.clearfix{
    content:"";
    clear:both;
    display:block;
}

h2 {font-size: 18px}
h3 {font-size:1em; margin-bottom:15px;}
p {font-size:1em; line-height:1.7; margin-bottom:0.6em}
p:last-child {margin-bottom:0}
td, th {font-size:1em}
#footer p, #top-bar {font-size:13px;}

a, #top-bar, #header, .nav-container, #name, #name h1, #name h2, #header-menu, #header-menu li a, #responsive-menu_btn { 
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    -ms-transition: all 0.6s;
    -o-transition: all 0.6s;
    transition: all 0.6s;
         } 


/* COLOURS:
   dark blue: #31343C
   orange: #ff5617;
   grey: #e2e2e2
   darktext: #777777 #5b5b5b
   greytext: #eceae6 #f6f5e7 #dbdbdb #e2e2e2;
   whitetext: #f7f7f7
*/
html, body, header {
      color:#5b5b5b /* colourdarktext */;
	  background-color:#fff /* colourwhite */;}
.section:nth-child(odd){
      background-color:#fff /* colourwhite*/;
         }
h1, h2, h3, h4 {
      color:#31343C /* colourdark */;}
      
#footer, #top-bar {background-color: #31343C /* colourdark */;  color:#f7f7f7 /* colourwhitetext */}
#footer {color:#e2e2e2 /* colourgrey */}
#footer h3 {color:#f7f7f7}

@media (max-width: 1029px) {
       #mainnav li {background-color: rgba(49,52,60,0.9)/* colourdark */;  color:#f7f7f7 /* colourwhitetext */}  
       #mainnav li:hover {background-color: rgba(49,52,60,0.7) /* colourdark */; }
}   

/* SECTION WITH GREY BACKGROUND */
.bg-grey, body#servizi .section:nth-child(even), .map iframe, #cover {
       background-color:#C4C5CC /* colourgrey */;
       color: #31343C /* colourdark */
}



/* SECTION WITH DARK BACKGROUND */
.section.bg-dark  {
        background:#31343C /* colourdark */;
        color: #f7f7f7 /* colourwhite */;
}
.section.bg-dark h2, .section.bg-dark h3 {
        color: inherit;
}



#footer a {color: #FFDDBF /* colourorange */}
#mainnav > ul > li:hover > a,
#mainnav ul li.active a {
  color: 
}
#footer a:hover, #top-bar a:hover {color: rgba(255,86,23,1) /* colourorange */}


.calltoaction_btn {
    display:block;
    margin:0 auto;
    margin-top:35px;
}
.calltoaction_btn a, .calltoaction_btn button, .calltoaction_btn input {
    background-color:#ff5617 /* colourorange */;
    color: #fff;
    padding: 18px 40px;
    font-size:13px;
    text-transform:uppercase;
    text-align:center;
    display:inline-block;
    -moz-border-radius: 4px; 
    -webkit-border-radius: 4px;
    border-radius:4px;
    cursor:pointer;
}

.calltoaction_btn.trans a {
    background-color:#31343C /* colourdark */;
    margin-right:20px

}

.calltoaction_btn a:hover, .calltoaction_btn button:hover {
    background-color: #FF8A5F /* colourorange-light */;

}
.calltoaction_btn.trans a:hover {
    background-color:#ff5617 /* colourorange */;

}



/* ====================================================================================================================
 * Header                                                                               
 * ====================================================================================================================*/
/*--------------- top-bar ---------------*/

#top-bar {
	width: 100%;
	max-width: 100%;
	height: 30px;
	z-index: 1000;
	position: fixed;
	clear: both;
	padding: 7px 0;
}

#top-bar.smaller {
	height: 0;
	padding: 0
}

#top-bar li {
	display: inline-block;
	margin-right: 40px;
	border: inherit;
}

#top-bar .socialmedia {
	float: right;
	margin-right: 0;
}

#top-bar .sociallink {
	margin-right: 0;
	border: inherit
}

#top-bar .sociallink:not(:first-child) {
	margin-left: 16px;
}

#top-bar .facebook-icon {
	padding-left: 16px;
	height: 16px;
	min-width: 16px;
	display: block;
	-webkit-background-size: 16px auto;
	-o-background-size: 16px auto;
	-moz-background-size: 16px auto;
	background-size: 16px auto;
	background-repeat: no-repeat;
	background-position: top left;
	background-image: url('../img/icons/facebook-icon_orange.svg')
}

#top-bar .twitter-icon {
	padding-left: 16px;
	height: 16px;
	min-width: 16px;
	display: block;
	-webkit-background-size: 16px auto;
	-o-background-size: 16px auto;
	-moz-background-size: 16px auto;
	background-size: 16px auto;
	background-repeat: no-repeat;
	background-position: top left;
	background-image: url('../img/icons/twitter-icon.svg');
}

#top-bar.smaller li {
	display: none;
	height: 0
}

#header {
	position: fixed;
	width: 100%;
	max-width: 100%;
	top: 30px;
	padding: 20px 0;
	z-index: 999;
	clear: both;
	-webkit-box-shadow: 0 4px 20px 4px rgba(40, 46, 68, 0.3);
	-moz-box-shadow: 0 4px 20px 4px rgba(40, 46, 68, 0.3);
	box-shadow: 0 4px 20px 4px rgba(40, 46, 68, 0.3);
}

#mainnav {
	position: relative;
}

/*--------------- logo-container ---------------*/

#logo-container, #logo, #name {
	border: inherit;
	display: inline-block;
	overflow: hidden;
	vertical-align: bottom;
}

#logo-container {
	position: relative;
	float: left;
	overflow: visible;
}

#logo {
	margin-right: 15px;
}

#logo img {
	height: 35px;
	width: auto !important;
}

#logo img.mobile {
	display: none
}

#name {
	text-align: right;
	display: none;
}

#name h1 {
	font-size: 22px;
	margin-bottom: 7px;
	font-family: Raleway, sans-serif;
}

#name h1 span {
	display: inline-block;
}

#name h1 span:nth-child(2) {
	text-transform: uppercase;
}

#name h1 span:first-letter {
	font-weight: bold !important;
}

#name h2 {
	font-size: 9px;
	letter-spacing: 3.1px;
	text-transform: uppercase;
	white-space: nowrap;
}



/*--------------- header-menu ---------------*/

#mainnav ul {
	display: inline-block;
	overflow: hidden;
	float: right;
	vertical-align: bottom;
}

#mainnav ul li, #mainnav ul li a, #mainnav #head-mobile {
	display: block;
	position: relative;
	overflow: hidden;
	border: inherit
}

#mainnav #head-mobile {
	display: none;
}

#mainnav>ul>li {
	float: left;
	text-transform: uppercase;
}

#mainnav>ul>li>a {
	padding: 14px 0;
	font-size: 14px;
}

#mainnav>ul>li+li {
	margin-left: 28px;
}

#mainnav>ul>li:hover, #mainnav ul li.active:hover, #mainnav ul li.active, #mainnav ul li.has-sub.active:hover {
	-webkit-transition: background .3s ease;
	-ms-transition: background .3s ease;
	transition: background .3s ease;
}

#mainnav>ul>li.has-sub>a {
	padding-right: 30px
}

#mainnav>ul>li.has-sub>a:after {
	position: absolute;
	top: 22px;
	right: 11px;
	width: 8px;
	height: 2px;
	display: block;
	content: ''
}

#mainnav>ul>li.has-sub>a:before {
	position: absolute;
	top: 19px;
	right: 14px;
	display: block;
	width: 2px;
	height: 8px;
	content: '';
	-webkit-transition: all .25s ease;
	-ms-transition: all .25s ease;
	transition: all .25s ease
}

#mainnav>ul>li.has-sub:hover>a:before {
	top: 23px;
	height: 0
}

#mainnav ul ul {
	position: absolute;
	left: -9999px
}

#mainnav ul ul li {
	height: 0;
	-webkit-transition: all .25s ease;
	-ms-transition: all .25s ease;
	transition: all .25s ease
}

#mainnav li:hover>ul {
	left: auto
}

#mainnav li:hover>ul>li {
	height: 35px
}

#mainnav ul ul ul {
	margin-left: 100%;
	top: 0
}

#mainnav ul ul li a {
	border-bottom: 1px solid rgba(150, 150, 150, 0.15);
	padding: 11px 15px;
	width: 170px;
	font-size: 12px;
}

#mainnav ul ul li:last-child>a, #mainnav ul ul li.last-item>a {
	border-bottom: 0
}

#mainnav ul ul li:hover>a, #mainnav ul ul li a:hover {
	color: #fff
}

#mainnav ul ul li.has-sub>a:after {
	position: absolute;
	top: 16px;
	right: 11px;
	width: 8px;
	height: 2px;
	display: block;
	background: #ddd;
	content: ''
}

#mainnav ul ul li.has-sub>a:before {
	position: absolute;
	top: 13px;
	right: 14px;
	display: block;
	width: 2px;
	height: 8px;
	background: #ddd;
	content: '';
	-webkit-transition: all .25s ease;
	-ms-transition: all .25s ease;
	transition: all .25s ease
}

#mainnav ul ul>li.has-sub:hover>a:before {
	top: 17px;
	height: 0
}

#mainnav ul ul li.has-sub:hover, #mainnav ul li.has-sub ul li.has-sub ul li:hover {
	background: #363636;
}

#mainnav ul ul ul li.active a {
	border-left: 1px solid #333
}

#mainnav>ul>li.has-sub>ul>li.active>a, #mainnav>ul ul>li.has-sub>ul>li.active>a {
	border-top: 1px solid #333
}

@media (min-width: 1030px) {
	#header-menu a:after {
		content: "";
		display: block;
		position: absolute;
		left: 50%;
		bottom: 0;
		margin-left: -15px;
		width: 30px;
		height: 2px;
		background: transparent;
		-webkit-transition: all .8s ease-in-out;
		-moz-transition: all .8s ease-in-out;
		-ms-transition: all .8s ease-in-out;
		-o-transition: all .8s ease-in-out;
		transition: all .7s ease-out;
	}
	#header-menu a:hover:after {
		background: #EF5B1D;
	}
	#header-menu a:hover, #header-menu a:active, #header-menu a.active {
		color: #EF5B1D;
	}
}
        










      
        
         
/* ====================================================================================================================
 * CONTENT                                                                             
 * ====================================================================================================================*/
#content {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	clear: both;
	position: relative;
}

.section {
	width: 100%;
	max-width: 100%;
	padding: 110px 0;
	overflow: hidden;
	clear: both;
	position: relative;
}

h2.section-title {
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 90px;
	font-weight: 600;
	font-size: 1.85em;
	border: inherit;
}

h2.section-title span {
	text-align: center;
	padding-bottom: 11px;
	position: relative
}

h2.section-title span:after {
	content: "";
	display: block;
	position: absolute;
	left: 50%;
	bottom: 0;

	width: 40px;
	height: 3px;
	background: #ff5617/* colourorange */;
    -webkit-transform: translate(-50%, 0);
	-moz-transform: translate(-50%, 0);
	-ms-transform: translate(-50%, 0);
	-o-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
	-webkit-transition: all .8s ease-out;
	-moz-transition: all .8s ease-out;
	-ms-transition: all .8s ease-out;
	-o-transition: all .8s ease-out;
	transition: all .8s ease-out;
}

/* ====================================================================================================================
 * COVER                                                                                      
 * ====================================================================================================================*/
#cover {
	max-width: 100%;
	height: 75%;
	overflow: scroll;
	position: relative;
	top: 0px;
	-webkit-background-size: cover;
	-o-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	overflow: hidden;
	clear: both;
}

#cover:before {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	content: "";
	background: rgba(49, 52, 69, 0.3)/* colourdark */;
}

.cover_caption {
	height: 100%;
	position: relative;
	padding-top: 115px;
	text-align: center;
	margin: 0 auto;
}

.cover_caption h1 {
	font-size: 40px;
	color: #fff/* colourwhite */;
	display: inline-block;
	text-transform: uppercase;
	position: absolute;
	top: 60%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	line-height: 1;
	text-align: center;
	border: inherit;
}

.cover_caption p {
	font-size: 27px;
	color: #fff/* colourwhite */;
	display: inline-block;
	position: absolute;
	top: 67%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
	border: inherit;
    font-style:italic;
}

.chisiamo_cover {
	background-image: url('../img/5.jpg');
	background-position: center;
}

.servizi_cover {
	background-image: url('../img/11.jpg');
	background-position: 50% 25%;
}
.compagnie_cover {
	background: url('../img/7.jpg') top right;
}
.rcavvocati_cover {
	background: url('../img/avvocati.jpg') 50% 0%;
}

.polizza-casa_cover {
    background-image: url('../img/polizza-casa.jpg');
    background-position:20% 0%
}

.videoconsulenza_cover {
    background-image: url('../img/videoconsulenza_cover.jpg');
    background-position:100% 10%;
    height: 65% !important;
}
        
        
/* ====================================================================================================================
 * HOME                                                                           
 * ====================================================================================================================*/
#home-main {
	height: 100%;
	padding: 0;
	background: url('../img/home.jpg') 43% 20% no-repeat;
	-webkit-background-size: cover;
	-o-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-attachment: fixed;
	color: #fff;
}

#home-main {
	height: 100%;
	padding: 0;
	background: url('../img/ufficio-Rossettini-asicurazioni.jpg') 0% 80% no-repeat;
	-webkit-background-size: cover;
	-o-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-attachment: fixed;
	color: #fff;
}

.bg, .bg-light {
	overflow: hidden;
	height: 100%;
	width: 100%;
	z-index: 2;
}

.bg:before, .bg-light:before {
	background: rgba(49, 52, 60, 0.35)/* colourdark */;
	z-index: 2;
	content: "";
	position: absolute;
	right: 0;
	left: 0;
	top: 0;
	bottom: 0;
}
.bg2:before {
	background: rgba(170, 0, 0, 0.09)/* colourdark */;
	z-index: 2;
	content: "";
	position: absolute;
	right: 0;
	left: 0;
	top: 0;
	bottom: 0;
}
.bg-light:before {
	background: rgba(196, 197, 204, 0.7)/* colourgrey */;
}




#home-main .grid_container {
	display: inline-block;
	position: absolute;
	top: 70%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	z-index: 4;
	text-align: left;
}

#home-main h1, .polizza-casa #content h2 {
	font-size: 40px;
	color: inherit;
	font-weight: bolder;
	text-transform: uppercase;
	border: inherit
}

#home-main h1 {
	font-size: 32px;
    margin-bottom: 20px
}

#home-main h1 span {
	color: #ff5617/* colourorange */
}

#home-main p, .subtitle {
	font-style: italic;
	font-size: 24px;
	border: inherit
}

.subtitle {
	margin-bottom:80px;
    text-align:center
}

#home-main p {
	font-size: 20px;
}
.slider {
	width: 100%;
	height: 100%;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	overflow: hidden;
	position: absolute;
	z-index: 3
}

.slider img {
	width: 100%;
}


.ssslide.third {
background: url('../img/ufficio-Rossettini-assicurazioni.jpg') 0% 80% no-repeat;
	-webkit-background-size: cover;
	-o-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-attachment: fixed;
	text-align: right;
}
.ssslide.first {
	background: url('../img/home.jpg') 43% 20% no-repeat;
	-webkit-background-size: cover;
	-o-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-attachment: fixed;
}

.ssslide.second {
	background: url('../img/andra-tutto-bene.jpg') 100% 20% no-repeat;
	-webkit-background-size: cover;
	-o-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-attachment: fixed;
}


.ssslide.third [class*="grid-"] {
	text-align: right !important;
	float: right !important
}

#home #chisiamo.section {
	padding: 0;
	background: url('../img/3.jpg') center center;
	background-size: cover;
}

#home #chisiamo .block {
	display: inline-block;
	float: right;
	width: 50% !important;
	padding: 80px 0;
	border: 0px solid red;
}

#home #chisiamo img {
	width: 100%
}







         
/* ====================================================================================================================
 * CONTENT                                                                         
 * ====================================================================================================================*/   
.text {
	border: inherit
}

.text p a {
	color: #fe5722/* colourorange */
}

.text.center {
	text-align: center;
}

.section.dark {
	-webkit-background-size: cover;
	-o-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-repeat: no-repeat;
	color: #f7f7f7;
	position: relative;
}

.section.dark .bg:before {
	background: rgba(49, 52, 60, 0.65)/* colourdark */;
}

.polizza-casa .section.dark .bg:before {
	background: rgba(49, 52, 60, 0.6)/* colourdark */;
}

.section.message {
	font-size: 1.2em;
}

.section.dark .grid_container {
	z-index: 3;
	position: relative
}

.section#news {
	background: url('../img/6.JPG') center center;
	-webkit-background-size: cover;
	-o-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-repeat: no-repeat;
}

.section#contattaci {
	background-image: url('../img/4.jpg');
	background-position: center center
}

#specialmessage {


}


#specialmessage li {
  list-style-type:disc;
  list-style-position:inside;
}

/* ====================================================================================================================
 * CHI SIAMO                                                                          
 * ====================================================================================================================*/   
.chisiamo .text {
	display: inline-block;
	margin: 0 auto;
}

.team-member {
	display:inline-block; float:left;
    margin-bottom:60px;
}
.team-member > div {
	display:inline-block;
	width: 30%;
}
.team-member .team-text {
	margin-right: 30px ;
    margin-bottom: 20px;
	margin-top: 20px;
	border-bottom: 1px solid #AB1818; width: 50%;
    float:left
}
.team-member .team-img{
	display:inline-block; 
	float:right; 
	width: 100%;
}
.team-member td:first-child {
	margin-right: 30px;
}

.team-member .name {
	padding-right: 10px;
	font-weight: bold;
	font-size: 100%;
}

.team-member .contact {
	font-size: 0.8em;
	padding-top: 5px
}

.chisiamo ul, .page ul {
	list-style-type: disc;
	list-style-position: outside;
	padding-left: 3em;
	font-size: 1em;
	line-height: 1.7;
	margin-bottom: 10px
}

.chisiamo ol li {
	list-style-position: outside;
	padding-left: 6em;
	font-size: 1em;
	line-height: 1.7;
	margin-bottom: 10px
}

.chisiamo ul li, .page ul li, .chisiamo ol li {
	padding-left: 0.5em
}

body#chi-siamo #content .section:first-child .text, body#avvocati #content .text {
	margin:0 auto;
    display:block
}

body#chi-siamo #content [class*="grid-"].img {
	float:right
		
}


/* ====================================================================================================================
 * SERVIZI                                                                        
 * ====================================================================================================================*/   
#home #servizi {
	background: #31343C/* colourdark */;
	color: #fff/* colourwhite */;
}

#home #servizi h2 {
	color: inherit
}

#home #servizi [class*="grid-"] {
	margin-bottom: 40px;
	float: left;
	width: 20%
}

#home #servizi .text {
	border: inherit;
}

#home #servizi p {
	display: block;
	border: inherit;
}

body#servizi .section:after {
	content: "";
	clear: both;
	with: 100%;
	height: 1px
}

body#servizi .text, body#servizi .img-placeholder {
	float: left;
}

body#servizi .section:nth-child(even) .text {
	float: right;
}

body#servizi #content .icon {
	margin-bottom: 30px
}



/* ====================================================================================================================
 * Home > COMPAGNIE                                                                     
 * ====================================================================================================================*/   

#compagnie .logos, #compagnie .text {
	border: inherit
}

.logos .company, .logos .img-placeholder, .logos a {
	overflow: hidden;
	border: inherit;
}

.logos.flex {
	display: -webkit-flex;
	display: -moz-flex;
	display: flex;
	-webkit-justify-content: space-between;
	-moz-justify-content: space-between;
	justify-content: space-between;
    align-content: flex-start;
}

.logos {
	margin-top: 100px;
    overflow:hidden;
}

body#home .logos .company {
	display: inline-block;
	margin: auto;
    margin-top:0;
}

body#home .logos .company:not(:last-child) {
	margin-right: 10%;
}

.logos .img-placeholder {
	float: left;
	height: 75px;
	border: none;
}

.img-placeholder.prima {
	height: 40px;
}
.img-placeholder.athora {
	height: 50px;
}

.logos .ams {
    display:block;
}
.logos .img-placeholder.am {
	height: 30px;
    margin-top:15px
}
.logos .img-placeholder.am:first-child {
	margin-right:10%;
}
.logos .img-placeholder.am:last-child {
    float:right;
}

body#home .logos .img-placeholder img {
	height: 100%;
	width: auto;
	float: left;
}

.logos .collab .img-placeholder {
	height: 50px;
	margin-bottom: 13px;
}

.logos p.collabTitle {
	clear: both;
}

body#compagnie .company {
    margin-bottom:100px;
    padding:20px;
    display:block;
    width:100%;
    position:relative;
    border:1px solid rgba(91,91,91,0.2) /* colourdarktext */;
    -moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 10px;
}

body#compagnie .company:nth-child(even) {
    float:right
}
body#compagnie .company .img-placeholder {
    margin:0 auto;
    margin-bottom:15px;
    height:75px;
    overflow:hidden;
    display:block;
    float:none;
}
body#compagnie .company .img-placeholder img{
    height:75px;
    width:auto;
    float:none;
    position: absolute;
	left: 50%;
	-webkit-transform: translate(-50%, 0);
	-moz-transform: translate(-50%, 0);
	-ms-transform: translate(-50%, 0);
	-o-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
}
body#compagnie .company .img-placeholder.prima img{
    height:60px;
}

body#compagnie .company .text {
    float:right;
    border:none;
    width:100%
}
body#compagnie .company h3 {
    font-weight:bold;
    font-family:Raleway, Lato, "Tiempos Text", Helvetica, sans-serif;
    text-align:center;
    margin:20px 0
}
body#compagnie .logos p.collabTitle {
    text-align:center;
    margin-bottom:20px
}

/* ====================================================================================================================
 * Home > CONVENZIONI                                                                       
 * ====================================================================================================================*/   
#home #convenzioni .grid_container {
	z-index: 3;
	position: relative;
}

#home #convenzioni .bg:before {
	background: rgba(247, 247, 247, 0.9)/* colourwhite */;
}

#convenzioni .company .img-placeholder.agsmaim img{
    width: 250px;
    height: auto;
}
        
/* ====================================================================================================================
 * CONTATTI                                                                         
 * ====================================================================================================================*/   
.contatti li {
	margin-bottom: 10px;
}

.contatti td, #contatti th {
	padding-bottom: 10px;
}

.contatti .text, #contatti .contact-form {
	display: inline-block;
    float:left;
}

.contatti .text {
	text-align: center
}

.contatti .contact-info {
	margin-bottom: 50px;
}

.opening-hours table td {
	vertical-align: top;
}

.opening-hours table th, .opening-hours table td:not(:last-child) {
	padding-right: 18px;
	text-align: left;
	vertical-align: top;
}

.opening-hours p {
	margin-bottom: 15px;
	display: block;
}

.opening-hours p:last-child {
	margin-bottom: 0;
}

.contatti .contact-form {
	float: left;
}

#contatti h3, #servizi h3 {
	margin-bottom: 20px
}

#home #contatti h3 {
	margin-top: 10px;
	margin-bottom: 30px;
	color: #ff5617/* colourorange */;
}

.section#GoogleMap {
	padding: 0
}

.map {
	width: 100%;
}

.map iframe {
	height: 500px;
	width: 100%;
	float: left;
	display: block;
}

body#contatti .map {
	max-width: 100%;
	height: 83%;
	overflow: scroll;
	position: relative;
	top: 0px;
	-webkit-background-size: cover;
	-o-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	overflow: hidden;
	clear: both;
}

body#contatti .map iframe {
	height: 100%
}

body#contatti #content [class*="grid-"]:first-child {
	text-align: left;
}

.section .icon {
	width: 80px;
	height: 80px;
	display: inline-block;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	border: 5px solid #e2e2e2/* colourgrey */;
	background: #e2e2e2/* colourgrey */;
	position: relative;
}

.section .icon img {
	width: 30px;
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

         
/*----------------------------------------------------------------------------------------------------------------------------------
Contact form
----------------------------------------------------------------------------------------------------------------------------------*/
input[type=text], textarea {
	width: 100%;
	max-width: 100%;
	padding: 15px;
	margin-bottom: 25px;
	border: 1px solid #e2e2e2/* colourgrey */;
	background: #e2e2e2/* colourgrey */;
	overflow: hidden;
	resize: none;
	font-family: inherit;
}

textarea {
	min-height: 150px;
}  

.videoconsulenza input[type=text], .videoconsulenza textarea {
	margin-bottom: 30px;

}   

input[type=checkbox] {
	display:inline-block;
    margin-right: 5px !important
}

.success, .error {
    margin-top:25px !important;
}
.error {
	color: #FF5617 /* colourorange */;
}
.success {
	font-weight: bold;
}

/* ====================================================================================================================
 * NEWS                                                                      
 * ====================================================================================================================*/   
#news [class*="grid-"] {
	background: rgba(49, 52, 60, 0.4)/* colourdark */;
	padding: 30px;
	min-height: 250px;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	border-radius: 15px;
}

#news [class*="grid-"]:nth-child(3) {
	float: right
}

#news [class*="grid-"] p:not(:first-child) {
	font-size: 16px !important
}

#news h3, #news h3 a {
	color: inherit;
	font-size: 1.1em;
	font-weight: bold
}

#news p {
	color: #e2e2e2/* colourgrey */
}


/* ====================================================================================================================
 * POLIZZA CASA                                                                       
 * ====================================================================================================================*/   
.polizza-casa #content [class*="grid-"].text {
	background: #FF5617/* coulourorange */;
	color: #fff/* colourwhite */;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	border-radius: 15px;
}

.polizza-casa #content .section.img:nth-child(even) .text {
	float:right;
}

.polizza-casa #content .section.img {
	padding-top: 200px;
	padding-bottom: 200px;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-o-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
}

body.polizza-casa .section.img .grid_container {
	z-index: 3;
	position: relative
}

.polizza-casa #content h2 {
	font-size: 35px;
	color: #FF5617/* colourorange */;
	margin-bottom: 15px;
}

.polizza-casa #content h2 span {
	color: #FF5617/* colourorange */;
}

.polizza-casa #content h3 {
	font-size: 20px;
}

.polizza-casa #content ul {
	list-style-type: disc;
	list-style-position: outside;
	padding: 20px;
	font-size: 1em;
	line-height: 1.7;
	margin-bottom: 10px
}

.polizza-casa #content ul li {
	padding-left: 0
}

.polizza-casa form {
	display: block;
	margin: 0 auto;
}
/*----------------------------------------------------------------------------------------------------------------------------------
Scroll to Top button
----------------------------------------------------------------------------------------------------------------------------------*/   
   
#scrolltoTop_btn {
	display: inline-block;
	background-color: #FF5617/* colourorange */;
	width: 50px;
	height: 50px;
	text-align: center;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	position: fixed;
	bottom: 30px;
	right: 30px;
	transition: background-color .8s, opacity .5s, visibility .5s;
	opacity: 0;
	visibility: hidden;
	z-index: 1000;
}

#scrolltoTop_btn:after {
	content: "\f077";
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	font-size: 2em;
	line-height: 50px;
	color: #fff/* colourwhite */;
}

#scrolltoTop_btn:hover {
	cursor: pointer;
	background-color: #FF8A5F/* colourorange-light */;
}

#scrolltoTop_btn:hover:after, #scrolltoTop_btn:active:after {}

#scrolltoTop_btn:active {
	background-color: #5b5b5b/* colourdarktext */;
}

#scrolltoTop_btn.show {
	opacity: 1;
	visibility: visible;
}



      
/* ====================================================================================================================
 * FOOTER                                                                                     
 * ====================================================================================================================*/

#footer {
	clear: both;
	width: 100%;
	max-width: 100%;
	padding-top: 90px;
	position: relative;
	overflow: hidden;
	z-index: 20;
}

#footer [class*="grid-"] {
	text-align: left;
	display: inline-block;
	float: left;
}

#footer h2 {
	font-size: 12px;
	margin-bottom: 20px;
}

#footer p {
	margin-bottom: 7px;
	line-height: 1.5
}

#footer li, #footer td, #footer th, #footer h3 {
	font-size: 13px;
	margin-bottom: 8px;
}
#footer li.allegato {
	display:inline-block;
    margin-right: 20px
}


#footer td, #footer th {
	padding-bottom: 8px;
}

#footer-logo {
	width: 55px;
	margin-right: 10px;
}

.location-icon, .email-icon, .telephone-icon, .fax-icon, .whatsapp-icon {
	padding-left: 25px;
	-webkit-background-size: 15px auto;
	-o-background-size: 15px auto;
	-moz-background-size: 15px auto;
	background-size: 15px auto;
	background-repeat: no-repeat;
	background-position: left
}

.location-icon {
	background-image: url('../img/icons/location-icon_orange.svg');
	background-position: 0 2px
}

.email-icon {
	background-image: url('../img/icons/email-icon_orange.svg')
}

.telephone-icon {
	background-image: url('../img/icons/telephone-icon_orange.svg')
}

.fax-icon {
	background-image: url('../img/icons/fax-icon_orange.svg')
}

.whatsapp-icon {
	background-image: url('../img/icons/whatsapp-icon.png');
}

.contatti .whatsapp-icon {
	background-image: url('../img/icons/whatsapp-icon.png');
    -webkit-background-size: 23px auto;
	-o-background-size: 23px auto;
	-moz-background-size: 23px auto;
	background-size: 23px auto;
}
#footer .socialmedia {
	float: right
}

#footer .sociallink:not(:first-child) {
	margin-left: 23px;
}

#footer .sociallink a {
	padding-left: 23px;
	height: 20px;
	min-width: 20px;
	display: inline-block;
	-webkit-background-size: 20px auto;
	-o-background-size: 20px auto;
	-moz-background-size: 20px auto;
	background-size: 20px auto;
	background-repeat: no-repeat;
	background-position: top left
}

#footer .facebook-icon {
	background-image: url('../img/icons/facebook-icon_orange.svg')
}

#footer .twitter-icon {
	background-image: url('../img/icons/twitter-icon.svg')
}

#footer .facebook-icon:hover, #top-bar .facebook-icon:hover {
	background-image: url('../img/icons/facebook-icon_white.svg')
}

#footer .twitter-icon:hover, #top-bar .twitter-icon:hover {
	background-image: url('../img/icons/twitter-icon_white.svg')
}

#footer-bottom {
	margin-top: 40px;
	border-top: 1px solid rgba(119, 119, 119, 0.4)/* colourdarktext */
	;
	padding-top: 30px;
	padding-bottom: 30px
}

#footer-bottom ul {
	width: 100%;
	border: inherit;
	border-top: none;
	position: relative
}

#footer-bottom li {
	display: inline-block;
	float: left;
	margin: 0;
	border: inherit;
	border-top: none;
}

#footerline1:after, #footerline2:after, #footerline3:after, #footerline4:after {
	content: "";
	margin: 0 20px;
	border-right: 1px solid rgba(119, 119, 119, 0.4) /* colourdarktext */
}



/* ====================================================================================================================
 * THANK-YOU PAGE                                                                                    
 * ====================================================================================================================*/

#thankyou-page .grid- {
	position: absolute;
	top: 45%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}

#thankyou-page .thankyou-message {
	margin-bottom: 30px;
}