/* 
    Created on : 9-ago-2017, 12.22.11
    Author     : Lorenzo Lombardi - AFB Net
*/

/*
 * Globals
 */
.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}
.col-xs-15 {
    width: 20%;
    float: left;
}
.navbar-right .navbar-toggle{
    border-color: #ddd!important;
}
.sr-only {
    position: absolute!important;
    width: 1px!important;
    height: 1px!important;
    padding: 0!important;
    margin: -1px!important;
    overflow: hidden!important;
    clip: rect(0,0,0,0)!important;
    border: 0!important;
}
.navbar-right .navbar-toggle .icon-bar {
    background-color: #888!important;
}

body, html, div, p, a, ul, li, nav {
  font-family: "OpenSans", Helvetica, Arial, sans-serif;
  color: #555;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  margin-top: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  color: #333;
}
.flexbox-container{
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
}
.flexbox{
    flex:1;
}

/*
 * Override Bootstrap's default container.
 */

@media (min-width: 1200px) {
    .container {
        width: 970px;
    }
}

.fixed-menu{
    position: fixed!important;
    /*top:0px;*/
    display: inline-block;
    width: 100%;
    z-index:9999;
}
.shadow-menu{
    -webkit-box-shadow: 0px 1px 3px 4px rgba(0,0,0,.3);
    box-shadow: 0px 1px 3px 4px rgba(0,0,0,.3);
}
/*
 * Masthead for nav
 */

.blog-masthead {
  /*background-color: #428bca;*/
  background-color: #fff;
/*  -webkit-box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);
          box-shadow: inset 0 -2px 5px rgba(0,0,0,.1);*/
    position:relative;
    /*position: fixed;*/
    /*display: inline-block;*/
    /*width: 100%;*/
}
.theme-default .nivoSlider{
    margin-bottom:0px!important;
}
div.blog-nav{
    position:relative!important;
}
nav.blog-nav{
    float: right;
}
nav.blog-nav > div{
    /*border:1px solid red;*/
}
nav.blog-nav > div > ul > li{
    font-family: "OpenSans", "Verdana";
    /*position: relative;*/
    display: inline-block;
    padding: 10px;
    font-weight: 500;
    color: #00a3b4;
}
nav.blog-nav > div > ul > li a:link,
nav.blog-nav > div > ul > li a:visited,
.navbar-nav>li>a{
    color: #00a3b4;
}
nav.blog-nav > div > ul > li a:hover,
nav.blog-nav > div > ul > li a:focus {
  /*color: #fff;*/
  text-decoration: underline;
  color: #00a3b4;
}

/* logo*/
.adir-logo{
    /*max-width:100px;*/
    margin-top: 0px;
    margin-left: 100px;
    position:absolute;
    z-index:999;
}
.adir-logo a{
    padding:0px;
}
.adir-log img{
    width:100px!important;
}
/*header*/
.blog-head-menu{
    background-color: #fff;
    position:absolute;
    z-index: 900;
    width: 100%;
    margin-top: 10px;
}
.home-slider .featured img{
    width:100%;
    height: auto;
}
/* HOME PAGE */
div.home-boxes div.col-sm-15:hover{
    opacity: 0.7;
    filter: alpha(opacity=70);
    cursor: pointer;
}
.home-slider{
    /*position: absolute;*/
    margin-top: 0px;
}
.home-page-content{
    /*position:absolute;*/
    /*top:310px;*/
}
.home-boxes > div{
    padding:10px 15px;
    color: #fff;
    min-height: 100px;
}
.home-box-title{
    padding-top: 10px;
}
.home-box-title-icon{
    margin-left:10px;
}
.home-box-title-text{
    text-transform: uppercase;
    margin-left:5px;
    margin-top: 5px;
    color: #fff;
    font-size:15px;
    font-weight: bold;
}
.home-box-text{
    color: #fff;
    font-size:1.2rem;
    padding:15px 12px;
    text-align: justify;
}
.home-bg-sky{
    background-repeat: no-repeat!important;
    /*height: 500px;*/
    background-position:0% 50%!important;
    background-size:25%!important;
    background-color:#fafafa!important;
    height: fit-content!important;
    height: intrinsic;           /* Safari/WebKit uses a non-standard name */
    height: -moz-max-content;    /* Firefox/Gecko */
    height: -webkit-max-content; /* Chrome */
}
.preventivo-left{
    padding:6%!important;
    min-height: 330px;
    max-height: 330px;
    color:#fff;
}
.prev-form-container{
    max-width: 440px;
    border: 1px solid #d9d9d9;
    margin: 50px 50px;
    box-shadow: 0 0 10px #ccc;
    padding: 4rem 5% 50px 5%;
    background-color: #fff;
    min-height: 440px;
}
.prev-form-container .prev-submit-off{
    background-color: #dadada !important;
    border-radius: 0px;
    color: #ccc;
    padding: 10px 20px;
}
.prev-form-container .prev-submit-on{
    background-color: #2B7876 !important;
    color: #fff !important;
}
#prev-submit {
    color: #000;!important
}
#prev-submit:hover {
    color: #fafafa;!important
}
.home-sinistro > div{
    padding: 0px;
    margin: 0px;
    color: #fff;
}
.sinistro-left{
    padding:6%!important;
    min-height: 330px;
    max-height: 330px;
    color:#fff;
}
.sinistro-left h2,.sinistro-left p{
    color: #fff;
}
.sinistro-right{
    min-height: 330px;
    max-height: 330px;
    background-size: cover!important;
    background-repeat: no-repeat!important;
}
.sinistro-left > button{
    border-radius: 0px;
}
.home-news-loop .glyphicon{
    font-size: 12px;
}
.home-news-loop > div{
    /*border: 1px solid #dedede;*/
    padding: 1%;
}
.home-news-loop div.row > div{
    /*padding:1% 0px;*/
}
.home-news-loop div.row > div.loop-thumb-container{
    line-height: 200px;
    text-align: center;
}
.home-news-loop div.row > div > div.loop-thumb{
    /*padding:10px;*/
    height: 200px;
    overflow: hidden;
}
/* Nav links */
.blog-nav-item {
  position: relative;
  display: inline-block;
  padding: 10px;
  font-weight: 500;
  color: #cdddeb;
}
.blog-nav-item:hover,
.blog-nav-item:focus {
  color: #fff;
  text-decoration: none;
}
/* COMMON */
.common-content{
    padding-top: 90px;
}
/* Active state gets a caret at the bottom */
.blog-nav .active {
  color: #fff;
}
.blog-nav .active:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -5px;
  vertical-align: middle;
  content: " ";
  border-right: 5px solid transparent;
  border-bottom: 5px solid;
  border-left: 5px solid transparent;
}


/*
 * Blog name and description
 */

.blog-header {
  padding-top: 20px;
  padding-bottom: 20px;
}
.blog-title {
  margin-top: 30px;
  margin-bottom: 0;
  font-size: 60px;
  font-weight: normal;
}
.blog-description {
  font-size: 20px;
  color: #999;
}


/*
 * Main column and sidebar layout
 */

.blog-main {
  font-size: 18px;
  line-height: 1.5;
}

/* Sidebar modules for boxing content */
.sidebar-module {
  padding: 15px;
  margin: 0 -15px 15px;
}
.sidebar-module-inset {
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
}
.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
  margin-bottom: 0;
}


/* Pagination */
.pager {
  margin-bottom: 60px;
  text-align: left;
}
.pager > li > a {
  width: 140px;
  padding: 10px 20px;
  text-align: center;
  border-radius: 30px;
}


/*
 * Blog posts
 */

.blog-post {
  margin-bottom: 60px;
}
.blog-post-title {
  margin-bottom: 5px;
  font-size: 40px;
}
.blog-post-meta {
  margin-bottom: 20px;
  color: #999;
}


/*
 * Footer
 */

.blog-footer {
  padding: 40px 0;
  color: #e7e8e8;
  text-align: center;
  background-color: #034170;
  /*border-top: 1px solid #e5e5e5;*/
}
.blog-footer p, .blog-footer a {
  color: #e7e8e8;
}
.blog-footer p:last-child {
  margin-bottom: 0;
}
.blog-footer > div > ul.menu > li{
    display:inline-block;
    width:19%;
    border-left: 1px solid #e7e8e8;
}
.blog-footer .footer-disclaimer{
    padding-left: 9%;
    padding-top: 3%;
}
/* Footer per la colonna destra*/
.blog-footer .footer-disclaimer{
    padding-right: 9%;
    padding-top: 3%;
}
.blog-footer > div > ul.menu > li:first-child {
    border-left:0px;
}
div.skyline-footer{
    padding-left:0px!important;
    padding-right:0px!important;
}
img.skyline-footer{
    max-width:100%;
}

/* COLORS */
.bg-green1{
    background-color: #039ba9;
}
.bg-green2{
    background-color: #0385a8;
}
.bg-blue1{
    background-color: #0464ad;
}
.bg-blue2{
    background-color: #035492;
}
.bg-blue3{
    background-color: #034170;
}
.cl-green1{
    color: #039ba9;
}
.cl-green2{
    color: #0385a8;
}
.cl-blue1{
    color: #0464ad;
}
.cl-blue2{
    color: #035492;
}
.cl-blue3{
    color: #034170;
}
.cl-grey1{
    color: #dfe2e7;
}
.cl-grey2{
     color: #dcdcdc;
}
.cl-grey3{
    color: #727070;
}
.cl-white{
    color: #fff;
}
.cl-red{
    color: #ff0000;
}
/* SPACING */
.space-20{
    height: 20px;
}
.space-50{
    height: 50px;
}

/*CSS contenitori*/


.row-fluid {
        width: 100%;
        
}

.row-table {
    display: table-row;
        margin: 20px 0;
      
}
.cella {
    display: table-cell;
    border: solid;
    vertical-align: middle;
    border-width: 0
}
.padding {
    padding: 25px;
    box-sizing: border-box
}
.w50 {
    width: 25%;
}
.w100{
    width: 50%;
}

.bg {
    background-color: white
}
.img1{
    background: url(/wp-content/uploads/2017/09/auto1.png) ;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.img2{
    background: url(/wp-content/uploads/2017/09/casa1.png) ;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.img3{
    background: url(/wp-content/uploads/2017/09/persona.png) ;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.img4{
    background: url(/wp-content/uploads/2017/09/civile.png)  ;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    
}
.barra{
    border-top: 5px solid black;
}

.span {
    width: 48.71795%;
}
.item {
    border-top: 5px solid;
}


.tabella{
   display: table;
    margin-bottom: 0;
    border-collapse: collapse;
    float: left;
    margin-left: 20px; 
    margin-right: 50px
}
.tabella1{
   display: table;
    margin-bottom: 0;
    border-collapse: collapse;
    float: left;
    margin-left: 50px; 
    margin-right: 20px
}

.cella .bottone{
    position: relative;
    display: inline-block;
    padding: 10px;
    width: 130px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    background-color: #039ba9;
    color: #fafafa;
}

.cella .bottone1{
    position: relative;
    display: inline-block;
    padding: 10px;
    width: 130px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    background-color: #034170;
    color: #fafafa;
}

.bottone:hover{
    background-color: #034170;
    
}

.bottone1:hover{
    background-color: #039ba9;
    
}
.mar{
    margin-top: 25px;
    margin-bottom: 40px;
}

.grigio{
    background-color: #fafafa;
}
.bottone{
    position: relative;
    display: inline-block;
    padding: 10px;
    width: 230px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    background-color: #039ba9;
    color: #fafafa;
}
.bottone1{
    position: relative;
    display: inline-block;
    padding: 10px;
    width: 230px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    background-color: #034170;
    color: #fafafa;
}

.mar1{
    margin-right: 15px;
}

.line{
    min-height: 30px; 
    line-height: 30px; 
    background-color: #f4f4f4; 
    text-align: center; 
    color: #006bb7;
}

.home-box-text1{
    color: #fff;
    font-size: 13px;
    padding-top:15px;
    padding-left:10px;
    text-align: left;
}


.contenitore1{
    width: 100%;
}

.cella11{
    height: 70px;
    width: auto;
}

.padding2{
    padding: 15px 20px;
}

.menu-prova-sidebar-container{
	border-right: 5px solid;
	height: auto;
	color: #034170;
}
                               
.menu-prova-sidebar-container a{
	color:#039ba9;
}
#menu-prova-sidebar .menu-item-object-page a:hover{
	color:#034170;
}
                
#menu-prova-sidebar li{
	list-style-type: none; 
	padding: 10px;
	border-top: 1px solid #f2f2f2;
	margin-right: 20px;
	margin-top: 10px;
}
#menu-prova-sidebar a:hover {
	color: #034170;
	text-decoration: none;
}
                            
#menu-item-1357{
	border-top: none !important;
}
                            
#menu-prova-sidebar .current_page_item a{
		color: #034170 ;
}

.btn {
	color: #333 ;
	font-size: 15px;
}
.btn:hover {
	color: #fafafa ;
}

.rounded{
	display: none;
}

.news ul{
	list-style-type:none;
}
.news ul a{
	color: #034170;
	display: block;
}
.news ul .post-date  {
	color: #039ba9;
	display: block;
}
.news ul li{
	border-bottom: 1px solid #f2f2f2;
	padding: 12px;
}

@media (max-width: 950px){
    .nn{
        display: none;
    }
}
@media (max-width: 850px) {
    .adir-logo{
        margin-left:10px!important;
    }
    .home-boxes .col-sm-15{
        min-height: 212px;
        /*min-height: 300px;*/
    }
}
@media (max-width: 844px) {
    .home-news-loop div.row > div > div.loop-thumb{
		overflow: hidden;
	}
}

@media (max-width: 768px) {

	#menu-top-header{
		font-size: 80%;
	}
	
	.navbar{
		margin-bottom: initial!important;
	}
	.navbar-brand>img{
		width: 79px!important;
	}
    .flexbox-container{
        /*display: initial;*/
		display: block;
        overflow: initial;
    }
    .flexbox{
        flex:0;
    }
    .blog-footer > div > ul.menu{
        -webkit-padding-start: 0px!important; /* Chrome fix */
    }
    .blog-footer > div > ul.menu > li{
        display:block;
        width: 100%;
        text-align:center;
        padding: 20px 0px;
        border-left: 0px!important;
        border-right: 0px!important;
        margin-bottom: 10px;
    }
    .blog-footer .footer-disclaimer{
        text-align: center!important;
        width: 100%;
        padding:10%!important;
    }
    .preventivo-right{
        /*text-align: center;*/
		padding-left:initial !important;
		padding-right:initial !important;
    }
    .preventivo-right img{
        display:initial;
    }
}
@media (max-width: 767px){
	.home-boxes .col-sm-15{
        min-height: 110px;
    }
	.prev-form-container{
		margin: 50px 5px;
	}
	.preventivo-left{
		min-height: 460px!important;
	}
	.footer-disclaimer{
		font-size: 12px;
	}
}
@media (max-width: 360px) {
	#menu-top-header{
		font-size: 70%;
	}
}
@media (max-width: 320px) {
	#menu-top-header{
		font-size: 65%;
	}
}
@media (min-width: 768px) {
    .col-sm-15 {
        width: 20%;
        float: left;
    }
	.blog-head-menu .navbar-right{
        margin-right: 30px!important;
        padding-top: 6px;
        margin-bottom: 4px!important;
    }
}
@media (min-width: 975px) {
	.home-news-loop div.row > div > div.loop-thumb{
		width: 300px ;
	}
}
@media (min-width: 992px) {
    .col-md-15 {
        width: 20%;
        float: left;
    }
}
@media (min-width: 1200px) {
    .col-lg-15 {
        width: 20%;
        float: left;
    }
}

@media (min-width: 768px) {
		@media (max-width: 974px) {
		.home-news-loop div.row > div > div.loop-thumb{
			width: 230px ;
		}
	}
}
/* seemed to fix IE glitch, but it does not.... TO REVIEW*/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	.home-bg-sky{
		height: initial!important;
	}
}