/*
Theme Name: Openstrap
Theme URI: http://www.opencodez.com/free-themes/openstrap
Author: Opencodez Team
Author URI: http://www.opencodez.com
Description: The Openstrap theme for WordPress developed on top of Twitter Bootstrap Framework 3.0. The theme is fully responsive and can be viewed on any device. Openstrap theme provides 6 different layouts for posts and pages, 11 widget areas, 3 strategic menu locations, nicely designed and customizable footer with its own widgets. In addition to this the theme comes with pre-installed widgets for Google Custom Search Engine, Social Icon Box and Front Page Marketing Text unit. Openstrap provides 4 beautiful color schemes to choose from. Use any color theme that is suitable to your need.
Version: 1.0.9
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: light, orange, white, one-column, two-columns, three-columns, right-sidebar,left-sidebar, responsive-layout, custom-background, custom-header, custom-menu, featured-images, flexible-header, full-width-template, post-formats, sticky-post, theme-options, translation-ready, custom-colors
Text Domain: openstrap
*/

/*  Copyright 2013 Opencodez.
Openstrap WordPress theme, Copyright (C) 2013 OPENCODEZ.COM
Openstrap WordPress theme is licensed under the GPL.

The license for this software can also likely be found here:
http://www.gnu.org/licenses/gpl-3.0.html
*/


/*Theme CSS*/

#bodychild{	
	max-width: 100%;
	margin:0 auto;
	padding:0;
	background: #fff;	
}

.tagcloud{
margin:0px 30px 0px 30px;
}

/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  /* Negative indent footer by its height */
  #margin: 0 auto -70px;
  /* Pad bottom by footer height */
  padding: 0 0 30px;
}
/* SUCCESS STORIES FIX del 4 agosto*/
#filters {
	margin:1%;
	padding:0;
	list-style:none;
}
#filters li {
	float:left;
}
#filters li span {
	display: block;
	padding:5px 20px;		
	text-decoration:none;
	color:#666;
	cursor: pointer;
}
#filters li span.active {
	background: #C20E0D;
	color:#fff;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
#portfoliolist .portfolio {
	width:30%;
	margin:1%;
	display:none;
	float:left;
	border:1px solid #CCC;
	padding:0px 4px 0px 4px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	/*overflow:hidden;*/
}
.portfolio-wrapper {
	overflow:hidden;
	position: relative !important;
	background: #fff;
	cursor:pointer;
	margin:0px;
	padding:0px;
	height: 350px;
}
.portfolio .portfolio-wrapper img {
	width:100%;
	height:auto;
	position: relative;
	margin:4px 0px 4px 0px;
	padding:0px;
}
.portfolio .text {
	margin-top:15px;
	min-height:110px;
}
.portfolio .text a.title {
	display:block;
	width:100%;
	text-align:center;	
	font-size:1.0em;
	font-weight:normal;
}
	

/* NEWS ARCHIVE FIX del 4 agosto*/

ul.display-posts-listing{
	
}
ul.display-posts-listing li.listing-item{
	list-style-type:none;
	margin-bottom:5px;
}
ul.display-posts-listing li.listing-item a.title{
	font-size:1.2em;
	display:block;
	
}
ul.display-posts-listing li.listing-item .date{
	font-size:0.8em;
	color:#999;
}

/* FIX BREADCRUMBS */

ol.breadcrumb{
	font-size:0.9em;
	background:none;
	margin:10px 0px 0px 0px;
}

/* ADDED SOCIAL BOX del 31/07/2014 */
.rt-social-buttons{
	right:5px;
	position:fixed;
	top:250px;
	padding:10px;
	z-index:100;
	border-radius:4px;
	-webkit-backface-visibility:hidden;
	background:#E9E9E9;
}
.rt-social-buttons .social-button{
	display:block;
	margin:auto;
	text-align:center;
	width:30px;
	height:30px;
	line-height:30px;
	border-radius:3px;
	-webkit-transition:all 0.2s ease-out;
	-moz-transition:all 0.2s ease-out;
	-o-transition:all 0.2s ease-out;
	transition:all 0.2s ease-out;
	}
.rt-social-buttons .rt-social-text{
	display:block;
	font-size:10px;
	text-align:center;
	line-height:0;
	margin-bottom:20px;
}
/* FIX LOCAL MENU IN PAGE/POST TEMPLATE 31/07/2014 */
ul.localmenu{
	margin-top:20px;
	margin-bottom:50px;
}
ul.localmenu li{
	list-style-type:none;
}
ul.localmenu li.active a{
	color:#FFF;
	background:#C20E0D;
	
}


/* FIX PHOTOGALLERY TEMPLATE del 28/07/14 */
#photogallery .box{
	margin-top:15px;
}
#photogallery .box img{
	width:255px;
	height:190px;
}

#photogallery .box h3{
	font-size:1.4em;
	font-weight:normal;
	min-height:60px;
}
.centered{
    margin: 0 auto;
}

/* FIX PROMO SECTION del 18/07/14 */

#promo-section{
	text-align: center;
	padding-top:15px;
	padding-bottom:15px;
}

#promo-section .col-md-4{
	background:#ECECEC;
	min-height:250px;
}
#promo-section .col-md-4 img{
	margin:0px;
	padding:0px;
}

#promo-section h4{
	display:none;
}
#promo-section h2{
	font-size: 25px !important;
	text-align:center;
	font-weight: none;
	color: #2e2e2e;
	margin-left:25%;
	margin-right:25%;
}
#teaser-section{
	margin-top:15px;
}
#teaser-section .widget_posts-by-cat h4.front-page-widget-title,
#teaser-section .widget-easy-twitter-feed-widget-container h4.front-page-widget-title{
	font-size: 18px !important;
	text-align:center;
	text-transform: uppercase;
	font-weight: none;
	color: #2e2e2e;
	border-bottom: 6px solid #165377;
	padding-bottom:5px;
	margin-left:25%;
	margin-right:25%;
}

#youtube_responsive-2 h4.front-page-widget-title{
	font-size:1.4em;
	font-weight:normal;
	text-align:left;
}

.widget_posts-by-cat h3.cat-title a {
	font-size:1.4em;
	font-weight:normal;
	margin:0px;
	padding:0px;
}
.widget_posts-by-cat p {
	font-size:1em;
	font-weight:normal;
	margin:0px;
	padding:0px;
	color:#666;
}
.widget_posts-by-cat p  a{
	font-size:1em;
	color:#900;
	text-decoration:none;
}


/* FIX Local navigation 
#sidebar ul li.page_item{
	list-style-type:none;
}
#sidebar ul li.page_item a{
	display:block;
	padding-left:10px;
}
#sidebar ul li.current_page_item a{
	color:#C20E0D;
	font-weight:bold;
}
#sidebar ul li.page_item.current_page_item a:hover{
	background:#FFF;
	color:#C20E0D;
	text-decoration:none;	
}
#sidebar ul li.current_page_item a:before{
	content:"\00bb   "; 

}
#sidebar ul li.page_item a:hover{
	background:#C20E0D;
	color:#FFF;
	text-decoration:none;
}*/


/* MAIN STYLE */

p {
font-size: 14px;
margin-bottom: 10px;
}

.entry-title{
	padding:5px;
	color:#165377 !important;
	font-size: 1.8em !important;
/*	text-transform: uppercase;*/
	margin-bottom:1.2em;
	margin-left:10px;
}


.post-meta {   
  padding-bottom: 3px;
  margin-bottom: 10px; 
  font-size: 13px;  
  #border-bottom: 1px solid #ddd;    
}
.post-meta a {  
    font-size: 13px; 
}

hr.post-meta-hr {
  margin-top: 10px;
  margin-bottom: 10px;
  border: 0;
  border-top: 1px solid #ddd;
}

.post_date, .post_comment {
margin-left:4px;
}

.full-width {
  max-width: 100%; 
}

.featured-img {
	float:left; 
	padding-right:20px;
	padding-bottom:10px;
}

.textwidget {
	font-size: 15px
	#line-height: 1.0;
}

.widget {
	margin-bottom:20px;	
}
.sidebar-right, .sidebar-left, .site-content,.entry-content, .entry-meta , article, span, a {
	word-wrap: break-word;
}

.entry-meta {
	clear: both;
	margin-bottom:10px;	
	}

#sidebar .widget-title{
	font-size: 16px;
	line-height: 1.0;
	font-weight: bold;
	text-transform: uppercase;
	color:#333;
	padding-left: 20px;
	border-bottom: solid #333 2px
}

.widget-title {
	font-size: 16px;
	line-height: 1.0;
	font-weight: bold;
	text-transform: uppercase;
	color: #ffffff;
	padding-left: 20px;
	border-bottom: solid #FFFFFF 2px;
}

h4.widget-title:after{
    /*border-bottom:1px solid gray;*/
    display: block;
    margin: 0.5em 25% 0 0;
    content: " ";
}

.widget ul, .widget ol, .widget dl {
  padding:0;
  margin: 0;
  font-size: 14px;
}

.footer-widget ul, .footer-widget ol, .footer-widget dl {
  padding:0;
  margin-left: 20px;
}

#wp-calendar table{
	text-align:center;
	
}

.widget ul li, .footer-widget ul li {
	list-style: none;
	#display: block;
	line-height: 1.75;
	margin-left: 10px;
	margin-right: 10px;

}

.cat-tag-info,  .author-link{
	font-size: 13px;
}
.post_cats {
	padding-bottom:5px;
}

.commentlist .link-avatar{
padding-right:8px;
}

.commentlist ul.children{
padding-top:10px;
}

.reply {
	font-size: 12px;
}

h3 small {
font-size: 12px;
}

.commentlist .media-heading{
font-size: 14px;
}

article.comment {
padding-top:5px;
padding-left:5px;
}

.site-header {
	#height:152px;
}

.logo-row{
#margin-bottom:20px;
#max-height:68px;
height:68px;
max-height:68px;
padding-top:0px;
margin-left: -30px;
}

#header-top {
	font-size: 11px;
	height: 23px;
	max-height: 23px;		
}

#header-top > .container {
height: 23px;
max-height: 23px;
}

#header-top a:hover, a:focus {
#color: #165377;
text-decoration: underline;
}

#header-top a {
#color: #2e2e2e;
text-decoration: none;
}

#header-top-container {
padding-top: 3px;
}

.header-widget {   
	display: table-cell !important;
}

.header-widget #searchform {
	padding-top:25px;
}

.header-widget #cse-search-box {
	padding-top:25px;
}

.header-widget .social-icon-box-inner {
	padding-top:30px;
}

.social-icon-box-inner ul li a{
	text-decoration:none;	
}

/* Set the fixed height of the footer here */
#footer {
  background-color: #165377;
}

#footer > .container {
  padding-left: 15px;
  padding-right: 15px;
}
.container .credit {
  font-size: 14px;
  color:#ffffff;
  margin-bottom:20px;
  float:none !important;
}

.container .brand-note {
  font-size: 14px;
  color:#ffffff;
}

.container .credit a{
  font-size: 14px;
  color:#ffffff;
}

#wp-calendar{
  color:#ffffff;
  margin-left:20px;
}

#wp-calendar caption{
  background-color: #C10202;
  padding:5px;  
  margin-bottom:5px;
}

#wp-calendar tfoot{
  background-color: #103E59;
  padding:5px;  
  margin-bottom:5px;
  color:#ffffff !important;
}

#wp-calendar tfoot a{
  color:#ffffff !important;
  margin-left:10px;
}

#wp-calendar tbody a{
  color:#ffffff !important;
  text-decoration:underline;
}

.footer-widget a{
  color:#ffffff !important;
}

.footer-widget a:hover, a:active{
  color:#ffffff !important;
  text-decoration:underline;
}



.footer-nav {
	padding-top: 30px;
    	font-size: 13px;	
	text-align: center;
}

#extended-footer {  
  background-color: #165377;  
  color:#ffffff;
  padding-top:15px;
  padding-bottom:15px;
}

.footer-widget-title {
font-size: 15px;
line-height: 1.0;
font-weight: bold;
text-transform: uppercase;
color: #eee;
margin-left:20px;
background-color: #021E32;
padding: 10px;
}

h1.footer-widget-title:after{
    border-bottom:1px solid #666;
    display: block;
    margin: 0.5em 25% 0 0;
    content: " ";
}

.front-page-widget-title {
font-size: 25px;
/*line-height: 1.0;*/
text-align:center;
font-weight: none;
text-transform: none;
color: #2e2e2e;
}

h2 {
font-size: 14px !important;
text-align:center;
font-weight: none;
text-transform: uppercase !important;
color: #2e2e2e;
border-bottom: 6px solid #165377;
padding-bottom:10px;
margin-left:25%;
margin-right:25%;
}

h3 {
font-size: 16px !important;
text-align:left;
font-weight: none ;
text-transform: none !important;
color: #2e2e2e;
}

.comment-reply-title, .logged-in-as{
margin-left:10px;
}

.front-page-widget-title a{
text-decoration: none;
color: #2e2e2e;
}

.front-page-widget-title a:hover, a:focus{
text-decoration: underline;
color: #2e2e2e;
}

h1.front-page-widget-title:after{
    display: block;
    margin: 0.5em 40% 0 0;
    content: " ";
}

.front-page-blurb h1 {
	text-shadow: 0px 1px 1px #eee;
}

.front-page-blurb .lead {
	font-style:italic
}
hr.style-eight {
    
    color: #ffffff;

}
/*hr.style-eight {
    padding: 0;
    border: none;
    border-top: medium double #333;
    color: #333;
    text-align: center;
	padding-bottom:15px;
}
hr.style-eight:after {
	font-family: FontAwesome;
content: "\f188" ;
    display: inline-block;
    position: relative; 
    top: -0.7em;  
    font-size: 1.5em;
    padding: 0 0.25em;
    background: white;
}*/


.pagination-centered {
	text-align: center;
}

/*For Submit Button in Comment*/

input[type="submit"] {
display: inline-block;
padding: 8px 12px;
margin-bottom: 0;
font-size: 14px;
font-weight: normal;
line-height: 1.428571429;
text-align: center;
white-space: nowrap;
vertical-align: middle;
cursor: pointer;
border: 1px solid transparent;
border-radius: 4px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
}

/* Front Page CSS */

.slider {
margin-bottom: 0px;
}

.carousel-control .icon-prev-c, .carousel-control .icon-next-c 
{
	position: absolute;
	top: 40%;
	left: 50%;
	z-index: 5;
	display: inline-block;
	font-size: 35px;
}

/* Responsive images */
.entry-content img,
.comment-content img,
.widget img {
	max-width: 100%;
	margin-top: 10px;
	margin-bottom: 20px; /* Fluid images for posts, comments, and widgets */
}
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
img.size-full,
img.size-large,
img.header-image,
img.wp-post-image {
	max-width: 100%;
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

/* Images */

.resizeimg {
min-width: 150px !important;
min-height: 150px !important;
}

.alignleft {
	float: left;
}
.alignright {
	float: right;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignleft {
	margin: 12px 24px 12px 0;
	margin: 0.857142857rem 1.714285714rem 0.857142857rem 0;
}
img.alignright {
	margin: 12px 0 12px 24px;
	margin: 0.857142857rem 0 0.857142857rem 1.714285714rem;
}
img.aligncenter {
	margin-top: 12px;
	margin-top: 0.857142857rem;
	margin-bottom: 12px;
	margin-bottom: 0.857142857rem;
}


.wp-caption {
	max-width: 100%; /* Keep wide captions from overflowing their container. */
	padding: 4px;
}
.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
	/*font-style: italic;*/
	font-size: 12px;
	line-height: 2;
	color: #505050;
}
img.wp-smiley,
.rsswidget img {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.entry-content dl.gallery-item {
	margin: 0;
}

.entry-content p {
	margin-right: 10px;
}

.entry-content{
	margin-left: 10px;
}

.gallery-item a,
.gallery-caption {
	width: 90%;
}
.gallery-item a {
	display: block;
}
.gallery-caption a {
	display: inline;
}
.gallery-columns-1 .gallery-item a {
	max-width: 100%;
	width: auto;
}
.gallery .gallery-icon img {
	height: auto;
	max-width: 90%;
	padding: 5%;
}
.gallery-columns-1 .gallery-icon img {
	padding: 3%;
}

/* Make sure videos and embeds fit their containers. */
embed,
iframe,
object,
video {
	max-width: 100%;
}

.frontpage-widget-inner-text img {
 box-shadow:0 0px 0px rgba(0, 0, 0, 0);
}
h1 a:hover,
h1 a:focus,
h2 a:hover,
h2 a:focus {
  text-decoration: none;
}

.readmore{
  color: #165377;
  text-decoration: underline;  
}

/* Required to pass theme checke. Atleast need to keep them empty. */
.sticky{
}

.bypostauthor{
}

.popular-posts ul {
	list-style-type: none;
}
.popular-posts ul li:before {
	font-family: FontAwesome;
	list-style-type: none;
	content: "\f138  \0020";
	#color: #dd4814;
}

.widget_categories ul, .widget_recent_entries ul {
	list-style-type: none;
}
.widget_categories ul li:before, .widget_recent_entries ul li:before {
	font-family: FontAwesome;
	list-style-type: none;
	content: "\f0a9  \0020";
	#color: #dd4814;
}

.header-contact {
color: #fff;
}

.header-contact span {
margin-right:5px;
}

/*Bootstrap Multilevel Menu*/

.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
/*.dropdown-submenu:hover>.dropdown-menu{display:block;}*/
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:hover>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}

/* search input field */
input[type=search] {
	background: #ffffffurl(../img/search-icon.png) no-repeat center;
	border: solid 1px #ccc;
	#padding: 9px 10px 9px 27px;
	padding-left:35px;
	width: 320px;
	height: 37px;
	-webkit-border-radius: 10em;
	-moz-border-radius: 10em;
	border-radius: 10em;	
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	transition: all .5s;
	top : 4px;
}
input[type=search]:focus {
	width: 320px;
	background-color: #fff;
	outline: none;
}

/* placeholder */
input:-moz-placeholder {
	color: transparent;
}
input::-webkit-input-placeholder {
	color: transparent;
}

#topbar-search-sm input[type=search] {
	margin-top:4px;
}

.navbar-toggle {
	float:left;
	margin-left: 15px;
}

.navbar-search-sm {
margin-right:30px;
}


/* Hide WP Stats Smily at bottom of page */
img#wpstats{display:none}



/* Optin Dark Style*/

#optin_dark {
	background: #333;
	#border: 1px solid #111;
	color: #fff;
	padding: 35px 30px;
	padding-bottom:20px;
	padding-top:20px;
	border-radius: 3px;
	
}
#optin_dark input {
	border: 1px solid #111;
	font-size: 15px;
	margin-bottom: 10px;
	padding: 8px 10px;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	box-shadow: 0 2px 2px #111;
	-moz-box-shadow: 0 2px 2px #111;
	-webkit-box-shadow: 0 2px 2px #111;
	-webkit-transition: all 0.25s linear;
	-moz-transition: all 0.25s linear;
	transition: all 0.25s linear;		
	width: 100%;
}
#optin_dark input.email { color: #999; background: #fff url(images/optin/email.png) no-repeat 10px center; padding-left: 35px }
#optin_dark input.name { color: #999; background: #fff url(images/optin/name.png) no-repeat 10px center; padding-left: 35px }
#optin_dark input[type="submit"] {
	background: #f15123;
	border: 1px solid #111;
	color: #fff;
	cursor: pointer;
	font-size: 18px;
	font-weight: bold;
	padding: 8px 0;
	text-shadow: -1px -1px #3a060a;
	width: 100%;

}
#optin_dark input[type="submit"]:hover { color: #fff; background: #0079a1;}

#optin_dark h4 {
color: #fff;
text-align: center;
padding-left: 8px;
padding: 5px 10px;
text-transform: uppercase;
font-weight:600;
}

#optin_dark span { 
background: url(images/optin/lock.png) no-repeat center left; 
clear:both;
padding-left: 20px;
font-size: 13px;
text-align: center;
}


/* Optin Light Style*/

#optin_light {
	background: #efefef;
	border: 1px solid #ccc;
	padding: 35px 30px;
	padding-top:20px;
	padding-bottom:20px;
	border-radius: 3px;
}

#optin_light input {
	background: #fff;
	border: 1px solid #ccc;
	font-size: 15px;
	margin-bottom: 10px;
	padding: 8px 10px;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	box-shadow: 0 2px 2px #ddd;
	-moz-box-shadow: 0 2px 2px #ddd;
	-webkit-box-shadow: 0 2px 2px #ddd;
	width: 100%;
}
#optin_light input.name { color: #999; background: #fff url(images/optin/name.png) no-repeat 10px center; padding-left: 35px }
#optin_light input.email { color: #999; background: #fff url(images/optin/email.png) no-repeat 10px center; padding-left: 35px }
#optin_light input[type="submit"] {
	background: #217b30 url(images/optin/green.png) repeat-x top;
	border: 1px solid #137725;
	color: #fff;
	cursor: pointer;
	font-size: 18px;
	font-weight: bold;
	padding: 8px 0;
	text-shadow: -1px -1px #1c5d28;
	width: 100%;
}
#optin_light input[type="submit"]:hover { color: #c6ffd1 }

#optin_light h4 {
text-align: center;
padding-left: 8px;
padding: 5px 10px;
text-transform: uppercase;
font-weight:600;
}

#optin_light span { 
background: url(images/optin/lock.png) no-repeat center left; 
clear:both;
padding-left: 20px;
font-size: 13px;
text-align: center;
}
.visuallyhidden {
	display: none;

}
.tabs {
	padding: 0;
	width: 100%;
	position: relative;
	display: block;
	margin-top:20px;
}
.tabs > li {
	list-style: none;
	display: inline;
	/*float: left;*/
	margin-left: 0px;	
}
.tabs > li:first-child {
	margin-left: 0;
}
.tabs > li > a {
	display: inline-block;
	text-transform: uppercase;
	color: white;
	background-color: #021e32;
	text-align: center;
	font-size: 1em; 
	line-height: 1;
	font-weight: bold;
	min-height: 2.1em;
	padding: 1em .5%;
	vertical-align: middle;
	
}
.tabs > li > a:hover, 
.tabs > li > a:focus,
.tabs > li > a.active {
	background-color: #c10202;
	color: #ffffff;
}
.tabs.two > li > a {
	width: 48.5%;
}
.tabs.three > li > a {
	width: 38%;
}
.tabs.four > li > a {
	width: 23.8%;
}
.tabs.five > li > a {
	width: 18.6%;
}
.tabs.six > li > a {
	width: 15.5%;
}
.tabs.seven > li > a {
	width: 13.1%;
}
.tabs.eight > li > a {
	width: 11.3%;
}
.tabs.nine > li > a {
	width: 9.9%;
}
.tabs.ten > li > a {
	width: 9.5%;
}
.tabs.eleven > li > a {
	width: 8.5%;
}
.tabs.twelve > li > a {
	width: 8%;
}

.tab-content {
  display: none; /* to fix */
  padding: 1em 1em 1em 1em;
  float: left;
  overflow: hidden; 
  background-color: white;
  margin-bottom: 2em;
  width: 70%;
}
.no-js .tab-content {
  display: block; /* to fix */
}

.accordion{
  margin-bottom: 1em;
  margin-left:10px;
}

h3.accordion-title{
  padding:10px;
  font-weight:normal;
  font-size:1.6em;
  color:#333;
  margin-top: -1em;
  margin-right: 40px;
  border-bottom:3px solid #CCC;
  line-height:1.2em;
  cursor:pointer;
  cursor:hand;
 /* background:#172835 url('../img/accordion-icon.jpg') no-repeat right top ; */
 }

h3.accordion-title:after{
    display:inline;
	float:right;
    content: "\00bb";
}

/*.accordion-title open{
  background: url('../img/search-icon.png') no-repeat right top ; 
}*/

.accordion-content {
  padding: 1em;
  margin-top:-10px;
  margin-bottom:10px;
  background-color: #EAEAEA;
  color:#333333;
  margin-right: 40px;
  
}

/*bootstrap*/
hr {
    margin-top: 20px;
    margin-bottom:0;
    border-right: 0px none;
    border-width: 1px 0px 0px;
    border-style: solid none none;
    border-color: #ffffff -moz-use-text-color -moz-use-text-color;
    -moz-border-top-colors: none;
    -moz-border-right-colors: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    border-image: none;
}

.navbar-inverse {
    background-color: #165377;
    border-radius: 5px;
    margin-bottom:5px;
}

.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
  color: #ffffff;
  background-color: #172835;
}

.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    color: #FFF;
    background-color: #172835;
}

.col-md-4 {
    width: 33.3333%;
    padding-left: 0;
    padding-right: 20px;
    margin-right: 0px;
}

.btn-primary {
    color: #FFF;
    background-color: #165377;
    border-color: #165377;
    float: right;
}

.btn-primary:hover {
	background-color: #246287 !important;
}

.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
    width: 90%;
    margin-left: 30px;
}

.form-group {
    margin-bottom: 15px;
    margin-left: 10px;
}

.carousel-caption h1 {
    font-size: 30px !important;
    margin-top: 10px;
    margin-left:0;
}

.carousel-caption {
    position: absolute;
    top: 283px;
    left: 0px;
    z-index: 10;
    color: #FFF;
    text-align: left;
    background-color: rgba(33, 39, 47, 0.9);
    box-shadow: none !important;
}

.bottom-line {
	border-bottom:solid #bdbdbd 1px; 
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open .dropdown-toggle.btn-primary {
    color: #FFF;
    background-color: #165377;
    border-color: #165377;
}

.panel-default > .panel-heading {
    color: #333;
    background-color: #F5F5F5;
    border-color: #DDD;
    padding-right: 30px;
    padding-left: 30px;
}

.thumbnail {
    display: block;
    height: 300px !important;
    max-width: 100%;
    padding: 4px;
    line-height: 1.42857;
    background-color: #FFF;
    border: 1px solid #DDD;
    border-radius: 4px;
    transition: all 0.2s ease-in-out 0s;
}

#photogallery .box img {
    width: auto !important;
    height: auto !important;
}

table {
    max-width: 100%;
    background-color: transparent;
}

td {
 padding-right:10px;
vertical-align: top;

}

.tre-colonne {
 width: 33% !important;
}

.due-colonne {
 width: 50% !important;
}

.quattro-colonne {
 width: 25% !important;
}

blockquote {
    padding: 10px 20px;
    margin: 0px 0px 20px;
    border: 3px solid #F2B748;
    border-radius: 10px;
    background-color: #fff7e9;
}

/*fine bootstrap*/


@media only screen and (max-width: 75em) { 

  .tabs > li { 
  	margin-left: 0;
  	overflow: auto;
  }
    .tabs > li > a { 
  	margin-bottom: 2px;
  	font-size: 1em;
  	min-height: 0;
  }  

}

@media only screen and (max-width: 70em) { 
	.tabs > li > a {
		font-size: .7em;
	}
	  .tab-content { 
  	margin-bottom: 2px; float: none;
	margin-left:10px;
	display: none; /* to fix */
	padding: 1em 1em 1em 1em;
	float: left;
	overflow: hidden; 
	background-color: white;
	margin-bottom: 2em;
	width: 95%;
	}
}
@media only screen and (max-width: 58em) { 
  .tabs { 
  	display: block;
  }
  .tabs > li { 
  	display: block; 
  	margin-left: 0;
  	overflow: auto;
  }
  .tabs > li > a { 
  	display: block;
  	margin-bottom: 2px;
  	font-size: 1em;
  	width: auto!important;
  	min-height: 0;
  }  
  .tab-content { 
  	margin-bottom: 2px; float: none;
	margin-left:10px;
	}
	
	.tab-content img { 
  	max-width:100%;
	}
.col-md-4 {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 0px;
}
}

#content-pagine-interne .tabs h4 {
	font-size: 1.2em;
	font-weight: bold;
	color: #3c5d6b;
	margin-bottom: 1em;
	margin-top: 2em;
}
#content-pagine-interne .tabs h2 + h3 {
	margin-top: 0;
}
.tabs li p {
	font-size: 1em;
}
.item-list li a {
	font-size: 1em;
	text-decoration:underline;
	color:#505050;
}
.item-list img {
	margin-top:1em;
}
.item-list li a:hover {
	color:#920120;
}
.tabs p {
	font-size: 0.75em;
}

@media (min-width: 1280px) {
	.slider {
	margin-bottom: 0px;
	/*max-width:1024px;*/
	max-height:650px;
	overflow:hidden;
	}
	.slider img {
	width:100%;
	}
	.carousel-caption {
    position: absolute;
    top: 283px;
    left: 0px;
padding-left: 20px;
padding-bottom: 10px;
padding-right: 20px;
}
.carousel-indicators {
    position: absolute;
    top: 420px;
    left: 50%;
}
	}
	
@media (min-width: 1024px) {
	.slider {
	margin-bottom: 0px;
	/*max-width:1024px;*/
	}
		.slider img {
	width:100%;
	}
	}
	
@media (max-width: 991px) {
    .navbar-header {
        float: none;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
	
	.navbar-search-sm {
		margin-right: 0px;
	}
.col-md-4 {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 0px;
}	

}
@media (max-width: 900px) {

	.carousel-caption {
    position: absolute;
    top: 250px;
    left: 0px;
padding-left: 20px;
padding-bottom: 10px;
padding-right: 20px;
}
.col-md-4 {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 0px;
}
}

@media (max-width: 830px) { 

	.carousel-caption {
    position: absolute;
    top: 210px;
    left: 0px;
padding-left: 20px;
padding-bottom: 10px;
padding-right: 20px;
}
.col-md-4 {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 0px;
}
}

.carousel-indicators {
	/*display:none;*/
}
.carousel-control { display: none;
}

/* Landscape phone to portrait tablet */
@media (max-width: 767px) { 
.navbar-form {
 padding: 0px;
 border:0px;
-webkit-box-shadow: inset 0 0px 0 rgba(255, 255, 255, 0.1), 0 0px 0 rgba(255, 255, 255, 0.1);
box-shadow: inset 0 0px 0 rgba(255, 255, 255, 0.1), 0 0px 0 rgba(255, 255, 255, 0.1);
}
.navbar-search-sm {
	margin-right: 30px;
}
	.carousel-caption {
    position: absolute;
    top: 250px;
    left: 0px;
padding-left: 20px;
padding-bottom: 10px;
padding-right: 20px;

}
.col-md-4 {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    margin-right: 0px;
}
}

.invisible {
visibility: hidden;
}
#portfoliolist {
display:flex;
flex-wrap: wrap;
flex-direction: row;
}
#portfoliolist .title {
	text-align: center;
padding: 20px;
}
#portfoliolist .listing-item {
    display: flex;
    flex: 1 1 200px;
    padding: 10px;
    flex-direction: column;
    align-items: center;
    border: 1px solid #e2e2e2;
    margin: 10px;
    box-shadow: 0px 2px 3px #ccc;
}
#portfoliolist:after {
  content: "";
  flex: auto;
}
.entry-content img {
    margin-bottom: 20px;
}

.noBordersPlease {
margin-bottom: 0 !important;}
.noBordersPlease img{margin-bottom: 0 !important;margin-top: 0 !important;}
.noBordersPlease td{
	border-top:0 !important;
}

@media (max-width: 900px) { 
#myModal .modal-dialog {
	width:100% !important;
	}
}
