/* Sticky footer styles */
html {
  position: relative;
  min-height: 101%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 80px;
}

a {
  -webkit-transition: 300ms;
  -moz-transition: 300ms;
  -o-transition: 300ms;
  transition: 300ms;
}

.btn {
  transition: all 0.3s ease 0s;
}

/* Logo Adjustments */

/* if min-width at least 768px or more */
@media(min-width:768px) {
    .navbar-brand img {
        max-height: 100px;
        width: auto;
    }
    
    .navbar-brand,
    .navbar-nav li a {
        line-height: 116px;
        height: 116px;
        padding-top: 0;
    }
     /* Sub-menu */
    .dropdown-menu li a {
        line-height: 35px;
        height: 35px;
        padding-top: 0;
    }

    /*
    .navbar-static-top .nav {
        padding: 15px 0;
    } 
    */
    .navbar-static-top .navbar-brand {
        /* padding: 10px 0; */
        padding: 0px;
    }
    
}

/* if max-width lower than 768px */
@media(max-width:767px) {
    .navbar-static-top .navbar-brand {
        padding: 3px 10px;
    }    
    .navbar-brand img {
        max-height: 100%;
        width: auto;
    }
}

/* EOF Logo Adjustments */

.headerinfobar {
    width: 100%;
    background-color: #122240;
    min-height: 36px;
    min-height: 36px;
    padding-top: 6px;
    padding-bottom: 6px;
    border-bottom: 2px solid #821313;
    color: #fff;
}

/* if max-width lower than 768px */
@media (max-width: 767px) {
    .headerinfobar .contacts, 
    .headerinfobar .languages {
        overflow: hidden;
        text-align: center;
        width: 100%;
    }
}

/* correct tooltip position */
.headerinfobar .languages li a {
    display: inline-block;
}

.headerinfobar .phone {
    margin-right: 30px;
}

.headerinfobar ul {
    margin-bottom: 0px;
}

.headerinfobar .contacts i {
    color: #AE1911;
}

.headerinfobar .contacts li a {
    color: #fff;
}

.headerinfobar .contacts li.active {
    color: #fff;
}

/* if max-width lower than 768px */
@media (max-width: 767px) {
    .headerinfobar .contacts,
    .headerinfobar .languages {
        /*float: none !important;*/
        text-align: center;
        margin-left: 0px;
        margin-right: 0px;
    }
    .headerinfobar .contacts .contact-item {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 5px;
        padding-bottom: 5px;
        display: block;
        text-align: center;
    }
    .headerinfobar .languages .language-item {
        padding-bottom: 5px;
        text-align: center;
    }    
    .headerinfobar .phone {
        margin-right: 0px;
    }   
}

#stores {
    display: block;
    width: 100%;    
    
    min-height: 550px; /*500px*/ 
    height: auto;
    overflow: auto; /* fix height */  
    
    margin-top: 0px;
    margin-bottom: 20px;
    padding-top: 75px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;

    background: transparent;
    background-image: url("../../../../../images/data/misc/lojas-bg.jpg");
    background-repeat: repeat-y;      
    background-position: top center;  
}

.store {
    display: block;
    width: 100%;    
    
    min-height: 210px; /*500px*/ 
    max-width: 362px;
    height: auto;
    overflow: auto; /* fix height */ 
    
    border: 3px solid #e95611;
    
    margin-bottom: 20px;
    
    background: #fff;
    background-image: url("../../../../../images/data/misc/store-logo.jpg");
    background-repeat: no-repeat;      
    background-position: top center;   
    
    font-size: 14px;
    padding: 15px;
    padding-top: 30px;
}

.store a:hover {
  color: #e95611;
}

.store h2 {
  font-size: 48px;
}


#footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 80px;
  /*background-color: #f5f5f5;*/
}

/* Footer */
.footer-top {
    /*background: #323B44;*/
    /*border-bottom: 1px solid #414f5a;*/
    /*color: #A1A1A1;*/
    background: #FFFDF4; /* Well color */
    border-top: 1px solid #ffce0e;
    border-bottom: 1px solid #ffd42a;
    /*color: #A1A1A1;*/
    padding: 20px;
    margin-top: 20px;
}

.footer-custom {
    min-height: 190px;
    height: auto;
    background-color: #FFFDF4;
    border-top: 1px solid #ffce0e;
    border-bottom: 1px solid #ffce0e; 
    padding: 0px;
    font-size: 14px;
    font-weight: normal;
}

.footer-custom .email { padding-top: 32px; }
.footer-custom .phone { padding-top: 32px; }
.footer-custom .leaf {     
    background-image: url('../../../../../images/data/uploads/wcms/footer/petinga.png');
/*    background-position: bottom right 60px;*/
    background-position: center right;
    background-repeat: no-repeat; 
    height: 190px;
    overflow: hidden;

}

.footer-custom i { color: #ffce0e; margin-right: 5px; }
.footer-custom i.mobile { color: #ffce0e; margin-left: 3px; margin-right: 7px; }
.footer-custom a { color: #333; }
.footer-custom a:hover { color: #e95611; }
.footer-custom li.address { margin-left: 16px; }
.footer-custom li.gps { margin-left: 20px; }


/* if max-width lower than 970px */
@media(max-width:970px) {
    .footer-custom ul { padding-top: 20px; }
    .footer-custom {text-align: center; font-size: 16px;}
    .footer-custom .email { padding-top: 10px; padding-bottom: 20px; }
    .footer-custom .phone { padding-top: 20px; }  
    .footer-custom i { color: #ffce0e; margin-right: 5px; }
    
    .footer-custom .leaf {     
        background-image: url('../../../../../images/data/uploads/wcms/footer/petinga.png');
        background-position: top center;
        background-repeat: no-repeat; 
        height: 100px;
        margin-top: 10px;
        margin-bottom: 25px;
        overflow: hidden;

    }

}

.footer-bottom {
    background: #FFF; /* Nav active */
    /*color: #888;*/
    padding: 2px 0px 20px;
}

.footer-bottom .text-muted a {
    color: #ffce0e;
}

.footer-bottom .text-muted a:hover {
    color: #e95611;
}

/* Address Column */
.footer-address-column li i {
    float: left;
    margin: 4px 0 0;
    color: #ffd42a;
    /*text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);*/
}
/* Address Column */
.footer-address-column li p {
    margin-left: 20px;
}

#f_h_p {
    display:none;
}

.bs-checkbox,.bs-radio {
    position:relative;
    display:block;
    min-height:20px;
    margin-top:10px;
    margin-bottom:10px;
}

.bs-checkbox label,.bs-radio label {
    padding-left:0;
    margin-bottom:0;
    font-weight:400;
    cursor:pointer;
}

.bs-checkbox label:after,.bs-radio label:after {
    content:'';
    display:table;
    clear:both;
}

.bs-checkbox .cr,.bs-radio .cr {
    position:relative;
    display:inline-block;
    border:1px solid #a9a9a9;
    border-radius:.25em;
    width:1.3em;
    height:1.3em;
    float:left;
    margin-right:.5em;
}

.bs-radio .cr {
    border-radius:50%;
}

.bs-checkbox .cr .cr-icon,.bs-radio .cr .cr-icon {
    position:absolute;
    font-size:.8em;
    line-height:0;
    top:50%;
    left:20%;
}

.bs-radio .cr .cr-icon {
    margin-left:.04em;
}

.bs-checkbox label input[type=checkbox],.bs-radio label input[type=radio] {
    display:none;
}

.bs-checkbox label input[type=checkbox]+.cr>.cr-icon,.bs-radio label input[type=radio]+.cr>.cr-icon {
    transform:scale(3) rotateZ(-20deg);
    opacity:0;
    transition:all .3s ease-in;
}

.bs-checkbox label input[type=checkbox]:checked+.cr>.cr-icon,.bs-radio label input[type=radio]:checked+.cr>.cr-icon {
    transform:scale(1) rotateZ(0);
    opacity:1;
}

.bs-checkbox label input[type=checkbox]:disabled+.cr,.bs-radio label input[type=radio]:disabled+.cr {
    opacity:.5;
}

/* Set the margin here in order to center text in the container */
.container .up {
    /*
    float: right;
    width: 50px;
    height: 50px;
    */
    width: 3em;
    height: 3em;
    margin: 0px 5px;
    cursor: pointer;
    color: #ffce0e; /* text-muted */
    float: right;
}

/* if max-width lower than 768px */
@media(max-width:767px) {
    .container .up {
        content: ' ';
        clear: right;
        display: block;
        float: none;
        margin-left: auto;
        margin-right: auto;   
    }
}

.container .up:hover {
    color: #e95611;
}

.socialnetwork {
    display: inline-block; /* Fix for tooltip position */
}

/*.container .up {
    float: right;
    opacity: 0.6;
    width: 32px;
    height: 32px;
    margin: 20px 0px 0px 20px;
    background: url('../img/arrow_up.png') no-repeat scroll center center transparent;
    cursor: pointer;
}*/


/* Set the margin here in order to center text in the container */
.container .credit {
  margin: 20px 0px 0px;
}

@media screen and (max-width: 768px) {
    .credit {
       text-align: center;
    }
    .fa-stack-1x,
    .fa-stack-2x {
        left: 0;
    }
}

/* Set a larger min-width for Switch */
.has-switch.switch-longer {
  min-width: 150px;
}

/* glyphicon color */
.icon-white, .icon-white a {
  color: #fff;
}

.icon-green, .icon-green a {
  color: green;
}

.icon-red, .icon-red a {
  color: red;
}

/* change breadcrumb separator/divider */
.breadcrumb > li + li:before {
  padding: 0 5px;
  color: #cccccc;
  content: "\00bb"; /*/\00a0*/
}

/* Set the max width for brand-thumb */
.brand_thumb {
  max-width: 200px;
}

/* Set vertical align for tables like brand listing */
.table tbody>tr>td.vert-align
{
    vertical-align: middle;
}

/* Responsive only in Width */
embed, iframe, object, video {
    max-width: 100%;
    border: 0px;
}

/* Set distance for page div that sould have content loaded via content manager */
.content-page {
    margin-top: 20px;
    margin-bottom: 10px;    
}

.content-page img {
    max-width: 100%; 
    height: auto;
} 

.content-video {
    position: relative;
    padding-top: 22px; /* The padding-top value is set to 25 pixels to allow space for the chrome - this is specific to YouTube videos. */
    padding-bottom: 57.25%; /* aspect ratio 16:9 added by default for wider "widescreen" video, check nowidescreen for not widescreen */
    height: 0;
    margin-bottom: 16px;
    overflow: hidden;
}
 
.content-video.nowidescreen { padding-bottom: 67.5%; } /* aspect ratio 4:3 add nowidescreen to class in code for nowidescreen code */
.content-video.vimeo { padding-top: 0; } /* if its vimeo video no padding-top needed unlike youtube, just add vimeo class in code */
 
.content-video iframe,
.content-video object,
.content-video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (max-device-width: 800px), only screen and (device-width: 1024px) and (device-height: 600px), only screen and (width: 1280px) and (orientation: landscape), only screen and (device-width: 800px), only screen and (max-width: 767px) {
    .content-video { padding-top: 0; }
}

/* google map */
#map{
    display: block;
    width: 100%;
    height: 450px;
    margin: 0 auto;
    /*margin-top:-40px;*/
}

#map img {
    max-width:inherit !important;
}

#map-info {
    /*width: 350px;*/
     max-width: 280px;
     min-width: 200px;
     max-height: 450px;
     min-height: 100px;
}

#map-info img {
    float: left !important;
    margin-right: 10px;
    margin-bottom: 10px;
}

#sent { display: none; }

/* Set padding contact column in contacts */
.contact_col_phone {
    padding-left: 28px;  
}

/* Set padding contact column in contacts */
.contact_col_address {
    padding-left: 28px;  
}

.contact_col_mobile {
    padding-left: 28px;  
}

/* Set padding contact column in contacts */
.contact_col_timetable {
    padding-left: 28px;  
}

/* Set padding contact column in contacts */
.contact_col_email {
    padding-left: 32px;  
}

/* Set bottom margin for carousel-holder (homepage) */
.carousel-holder {
    margin-bottom: 30px;
}

/* Control search box */
/* Medium devices Desktops ( < 992px) */
/* if max-width lower than 993px */
@media (max-width: 992px) { 
  .sidebar-post-search-box {
    display: none;
  }
}

/* Control search box */
/* Medium devices Desktops ( ≥ 992px) */
/* if min-width above than 991px */
@media (min-width: 992px) { 
  .top-post-search-box {
    display: none;
  }  
}

/* label settings */
.has-ribbon{
	position:relative
}

.has-ribbon>img{
	position:relative;
	z-index:0
}

.has-ribbon:after,.has-ribbon:before{
	display:inline-block;
	position:absolute;
	/*top:50%;*/
        top:15px;
	left:-6px;
	z-index:10
}

.has-ribbon:after{
	content:attr(data-text);
	min-width:40px;
	color:#fff;
	background-color:#f6682b;
	padding:2px 6px;
	border-radius:0 1px 1px 2px;
	-webkit-box-shadow:inset -1px 1px 2px rgba(255,255,255,0.3), inset 0 -1px 3px rgba(0,0,0,0.25);
	box-shadow:inset -1px 1px 2px rgba(255,255,255,0.3), inset 0 -1px 3px rgba(0,0,0,0.25)
}

.has-ribbon:before{
	content:"";
	width:0;
	height:0;
	margin-top:-10px;
	border-width:0 6px 10px 0;
	border-style:solid;
	border-color:#dc4f12 transparent;
	border-width:0 0 10px 6px
}

.has-ribbon.has-ribbon-right:after,.has-ribbon.has-ribbon-right:before{
	right:-6px;
	left:auto
}

.has-ribbon.has-ribbon-right:after{
	border-radius:1px 0 2px 1px;
	padding-right:8px
}

.has-ribbon.has-ribbon-right:before{
	border-width:0 6px 10px 0
}

/* SOLD */
.has-ribbon-sold{
	position:relative
}

.has-ribbon-sold>img{
	position:relative;
	z-index:0
}

.has-ribbon-sold:after,.has-ribbon-sold:before{
	display:inline-block;
	position:absolute;
	/*top:50%;*/
        top:15px;
	left:-6px;
	z-index:10
}

.has-ribbon-sold:after{
	content:attr(data-text);
	min-width:40px;
	color:#fff;
	background-color:#ec0000;
	padding:2px 6px;
	border-radius:0 1px 1px 2px;
	-webkit-box-shadow:inset -1px 1px 2px rgba(255,255,255,0.3), inset 0 -1px 3px rgba(0,0,0,0.25);
	box-shadow:inset -1px 1px 2px rgba(255,255,255,0.3), inset 0 -1px 3px rgba(0,0,0,0.25)
}

.has-ribbon-sold:before{
	content:"";
	width:0;
	height:0;
	margin-top:-10px;
	border-width:0 6px 10px 0;
	border-style:solid;
	border-color:#ba0303 transparent;
	border-width:0 0 10px 6px
}

.has-ribbon-sold.has-ribbon-right:after,.has-ribbon-sold.has-ribbon-right:before{
	right:-6px;
	left:auto
}

.has-ribbon-sold.has-ribbon-right:after{
	border-radius:1px 0 2px 1px;
	padding-right:8px
}

.has-ribbon-sold.has-ribbon-right:before{
	border-width:0 6px 10px 0
}

/* Homepage Opportunities */
#owl-homepage .item{
    margin: 10px;
}
#owl-homepage .item img{
    display: block;
    width: 100%;
    height: auto;
}


/* reviews-carousel */
#reviews-carousel .review-slider-item ul {
    height: 100%;
    /*min-height:190px;*/        
}

#reviews-carousel .carousel-indicators li {
    border-color:#999;
    background-color:#ccc;
}

#reviews-carousel .carousel-indicators .active {
    /* default carousel-indicators settings */
    width: 12px;
    height: 12px;
    margin: 0px;
    background-color: #FFF;
}

#reviews-carousel .review-slider-item.active {
  -webkit-transition: 300ms;
  -moz-transition: 300ms;
  -o-transition: 300ms;
  transition: 300ms;
}

#reviews-carousel .carousel-indicators {
  bottom: -30px !important;
}

/* Small devices (tablets, up to 768px) */
/* if max-width lower than 768px */
@media (max-width: 767px) { 
    
    /* Make the indicators larger for easier clicking with fingers/thumb on mobile */
    
    #reviews-carousel .carousel-indicators {
        bottom: -30px !important;  
    }
    #reviews-carousel .carousel-indicators li {
        display: inline-block;
        margin: 0px 5px;
        width: 12px;
        height: 12px;
    }
    #reviews-carousel .carousel-indicators li.active {
        margin: 0px 5px;
        width: 14px;
        height: 14px;
    }
}


/* wcmsbannerslider-noshadow */
#wcmsbannerslider-noshadow .carousel-control.right {
    left: auto;
    right: 0px;
    background-image: none;
}

#wcmsbannerslider-noshadow .carousel-control.left {
    background-image: none;
}

/* Albums */
.album-thumbnail {
    position:relative;
    overflow:hidden;
}

/* snipp_caption_hover_effect */ 
.album-caption {
    position:absolute;
    top:-100%;
    right:0;
    overflow:hidden; 
    background:rgb(42, 42, 42);
    background:rgba(42, 42, 42, 0.65);    
    width:100%;
    height:100%;
    padding:2%;
    text-align:center;
    color:#fff !important;
    z-index:2;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

/* for circle rounded effect */
.thumbnail-trans {
    display: block;
    padding: 4px;
    margin-bottom: 20px;
    line-height: 1.42857;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.2s ease-in-out 0s;
}

.album-caption-trans {
    position:absolute;
    top:-100%;
    right:0;
    overflow:hidden; 
    background: transparent;   
    width:100%;
    height:100%;
    padding:2%;
    text-align:center;
    color:#fff !important;
    z-index:2;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

/* EOF for circle rounded effect */

.album-thumbnail:hover .caption {
    top:0%;
}

.album-caption h2,
.album-caption h3,
.album-caption h4 {
    margin-bottom: 15px;
    color:#fff !important;
    font-size: 24px;
}

.album-caption h5 {
    margin-bottom: 5px;
    color:#fff !important;
}

.album-hover-icon {
    position:absolute; 
    top: 40%;
    left: 0;
    width: 100%;
    height: 100%;
}


.col-sm-5cols{
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

/* if min-width above than 767px */
@media (min-width: 768px) {
.col-sm-5cols {
        width: 20%;
        float: left;
    }
}

.col-sm-7cols{
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

/* if min-width above than 767px */
@media (min-width: 768px) {
.col-sm-7cols {
        width: 14.25%;
        float: left;
    }
}

.col-sm-8cols{
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

/* if min-width above than 767px */
@media (min-width: 768px) {
.col-sm-8cols {
        width: 12.5%;
        float: left;
    }
}

/* properties */
/* random name id selector */
div[id^="property-carousel-generic-"] {
    border-radius: 4px 4px 4px 4px;
    overflow: hidden;
}

#home-properties-services h2 {
    /* color: #428bca; */
    margin-top: 35px;
    margin-bottom: 35px;
}

#home-recent-properties {
    margin-bottom: 20px;    
}

#home-recent-properties h2 {
    /* color: #428bca; */
    margin-bottom: 20px;
}

#property4grid .thumbnail {
    border: 1px solid #dddddd;
    /*background-color: #dddddd !important;*/
}

#property4grid .thumbnail:hover {
    border: 1px solid #428bca;
    background-color: #f5f5f5 !important; /* well color */
}

#property4grid .caption {
    min-height: 115px;
    text-align: center;
}

#property4grid .price {
    /* color: #428bca; */
    /* font-size: 16px; */
    white-space: nowrap;
    overflow: hidden;
    padding-bottom: 1px;
    text-align: center;
    font-weight: bold;    
}

#property4grid .excerpt {
    /*color: #333333;*/
    font-size: 14px;
    min-height: 63px;
    max-height: 63px;    
    overflow: hidden;
    padding-bottom: 1px;
    text-align: center;
}

#property4grid hr {
    width: 35%;
    margin-top: 3px;
    margin-bottom: 3px;
    border-top: 1px dashed #333333;    
}

#property4grid h2,
#property4grid h3 {
    font-size: 15px;
    /*white-space: nowrap;*/
    overflow: hidden;
    padding-bottom: 1px;
    text-align: center;
    font-weight: bold;
    min-height: 50px;
    max-height: 50px;
    margin-top: 10px;
    margin-bottom: 5px;    
}

#property4grid h2 a,
#property4grid h3 a {
    /*color: #428bca;*/ /* default theme color or not */
    text-decoration: none;
}

#property4grid h2 a:hover,
#property4grid h3 a:hover {
    /*color: #428bca;*/ /* default theme color or not */
    text-decoration: none;
}

#property-list-view .price {
    font-weight: bold;
    /*color: #428bca;*/
}

#property-list-view h2,
#property-list-view h3 {
    font-size: 24px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* property */

/* catalogue */
/* random name id selector */
div[id^="item-carousel-generic-"] {
    border-radius: 4px 4px 4px 4px;
    overflow: hidden;
}

#home-recent-items {
    margin-bottom: 20px;    
}

#home-recent-items h2 {
    /*color: #428bca;*/ /* default theme color or not */
    margin-bottom: 20px;
}

#item4grid .thumbnail {
    border: 1px solid #dddddd;
    /*background-color: #dddddd !important;*/
}

#item4grid .thumbnail:hover {
    border: 1px solid #ffd42a;
    background-color: #f5f5f5 !important; /* well color */
}

#item4grid .caption {
    min-height: 180px;
    text-align: center;
}

#item4grid .price {
    /*color: #428bca;*/
    /*font-size: 16px;*/
    white-space: nowrap;
    overflow: hidden;
    padding-bottom: 1px;
    text-align: center;
    font-weight: bold;    
}

.pageprice {
    /*color: #428bca;*/
    font-size: 24px;
    white-space: nowrap;
    overflow: hidden;
    margin-top: 7px;
}

.ref {
    font-size: 13px;
    margin-top: 6px;
}

/* Small devices (tablets, up to 768px) */
/* if max-width lower than 768px */
@media (max-width: 767px) { 
    .ref {
        display: block;
    } 
}

/* over-that */
@media(min-width:769px) {
    .ref {
        float: right;
    }    
}

#item4grid .excerpt {
    /*color: #333333;*/
    font-size: 14px;
    min-height: 63px;
    max-height: 63px;    
    overflow: hidden;
    padding-bottom: 1px;
    text-align: center;
}

#item4grid hr {
    width: 35%;
    margin-top: 3px;
    margin-bottom: 3px;
    border-top: 1px dashed #333333;    
}

#item4grid h2,
#item4grid h3 {
    font-size: 15px;
    /*white-space: nowrap;*/
    overflow: hidden;
    padding-bottom: 1px;
    text-align: center;
    font-weight: bold;
    min-height: 35px;
    max-height: 35px;
    margin-top: 10px;
    margin-bottom: 5px;    
}

#item4grid h2 a,
#item4grid h3 a {
    /*color: #428bca;*/ /* default theme color or not */
    text-decoration: none;
}

#item4grid h2 a:hover,
#item4grid h3 a:hover {
    /*color: #2a6496;*/ /* default theme color or not */
    text-decoration: underline;
}

#item-list-view .price {
    font-weight: bold;
    /*color: #428bca;*/
}

#item-list-view h2,
#item-list-view h3 {
    font-size: 24px;
    margin-top: 10px;
    margin-bottom: 10px;
}
/* catalogue */

/* used in pagination for example to reset top-margin */
.no-margin-top {
    margin-top: 0px;
    padding-top: 0px;
}
.no-margin-bottom {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

/* wcmsnec */
#home-recent-wcmsnec {
    margin-bottom: 20px;    
}

#home-recent-wcmsnec h2 {
    /*color: #428bca;*/ /* default theme color or not */
    margin-bottom: 20px;
}

#wcmsnec-grid .thumbnail {
    border: 1px solid #dddddd;
    /*background-color: #dddddd !important;*/
}

#wcmsnec-grid .thumbnail:hover {
    border: 1px solid #ffd42a;
    background-color: #f5f5f5 !important; /* well color */
}

#wcmsnec-grid .caption {
    min-height: 140px;
    text-align: center;
}

/* Small devices (tablets, up to 768px) */
/* if max-width lower than 768px */
@media (max-width: 767px) { 

}

/* over-that */
@media(min-width:769px) {
  
}

#wcmsnec-grid .excerpt {
    /*color: #333333;*/
    font-size: 14px;
    min-height: 63px;
    max-height: 63px;    
    overflow: hidden;
    padding-bottom: 1px;
    text-align: center;
}

#wcmsnec-grid hr {
    width: 35%;
    margin-top: 3px;
    margin-bottom: 3px;
    border-top: 1px dashed #333333;    
}

#wcmsnec-grid h2,
#wcmsnec-grid h3 {
    font-size: 18px;
    /*white-space: nowrap;*/
    overflow: hidden;
    padding-bottom: 1px;
    text-align: center;
    font-weight: bold;
    min-height: 62px;
    max-height: 62px;
    margin-top: 10px;
    margin-bottom: 5px;    
}

#wcmsnec-grid h2 a,
#wcmsnec-grid h3 a {
    /*color: #428bca;*/ /* default theme color or not */
    text-decoration: none;
}

#wcmsnec-grid h2 a:hover,
#wcmsnec-grid h3 a:hover {
    /*color: #2a6496;*/ /* default theme color or not */
    text-decoration: underline;
}

#wcmsnec-list h2,
#wcmsnec-list h3 {
    font-size: 24px;
    margin-top: 10px;
    margin-bottom: 10px;
}
/* wcmsnec */

#home-services {
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 4em 0px 0px;
    background: transparent url("../img/home-services.html") no-repeat scroll center center / cover;
    min-height: 375px;
    color: #333333;
    text-align: center;
    overflow: hidden;   
}

#home-reviews {
    margin-top: 15px;
    margin-bottom: 15px;
    color: #333333;
    text-align: center;   
}

#home-reviews h2, #home-reviews h3 {
    /*color: #428bca;*/  
}

#home-reviews p {
    /*color: #333333;*/  
}

/* Small devices (tablets, up to 768px) */
/* if max-width lower than 768px */
@media (max-width: 767px) { 
    /* hide indicators in small devices */
    ol.carousel-indicators { visibility: hidden; }
    .carousel-indicators li { visibility: hidden; }
}

/* Small devices (tablets, up to 768px) */
/* if max-width lower than 768px */
@media (max-width: 767px) { 
    /* hide indicators in small devices */
    #reviews-carousel ol.carousel-indicators { visibility: visible; }
    #reviews-carousel .carousel-indicators li { visibility: visible; }        
}



@media only screen and (min-width: 800px) {
    #no-more-tables thead {
        background-color: #f5f5f5;   
    }
    
    #no-more-tables table {
        margin-bottom: 20px;   
    }    
}


@media only screen and (max-width: 800px) {
    
    /* Force table to not be like tables anymore */
	#no-more-tables table, 
	#no-more-tables thead, 
	#no-more-tables tbody, 
	#no-more-tables th, 
	#no-more-tables td, 
	#no-more-tables tr { 
		display: block; 
	}
        
        #no-more-tables table {
            margin-bottom: 20px;   
        }          
 
	/* Hide table headers (but not display: none;, for accessibility) */
	#no-more-tables thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
 
	#no-more-tables tr { border: 1px solid #ccc; }
 
	#no-more-tables td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
		white-space: normal;
		text-align:left;
	}
 
	#no-more-tables td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
		text-align:left;
		font-weight: bold;
	}
        
        #no-more-tables .table-bordered {
            border: 0px !important;
        }
        
	/*
	Label the data
	*/
	#no-more-tables td:before { content: attr(data-title); }
}

td.numeric, th.numeric {
    text-align: center;
}

.addthis {
    margin-top: 5px; 
    margin-bottom: 5px; 
    height: 36px; 
    overflow: hidden;    
}


img:not([src]):not([srcset]) {
  visibility: hidden;
}

/* fade image in after load */
.lazyload,
.lazyloading {
    max-width: 100%;
    height: auto;
    filter: alpha(opacity=50); /* For IE8 and earlier */
    opacity: 0.5;
}
.lazyloaded {
    filter: alpha(opacity=100); /* For IE8 and earlier */
	opacity: 1;
	transition: opacity 400ms;
}

.lazyload_spinner {
  background: #f7f7f7;
}

.lazyloading_spinner {
  background: #f7f7f7 url(loader.html) no-repeat center;
  min-height: 60px;
}

.media:first-child {
    margin-top: 0;
}
.media, .media-body {
    overflow: hidden;
    zoom: 1;
}
.media {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
}

.media-body, .media-left, .media-right {
    display: table-cell;
    vertical-align: top;
}
.media-left, .media > .pull-left {
    padding-right: 10px;
}

.media-body, .media-left, .media-right {
    display: table-cell;
    vertical-align: top;
}

.media-left a.thumbnail {margin-bottom: 1px !important;}
.media-object.img-thumbnail{min-width:88px;height:45px;}  /* for usage without a href with class=thumbnail */ 
.media-object.img-responsive{min-width:80px;height:45px;} /* for usage with an a href with class=thumbnail */ 

.media-body {
    width: 10000px;
}
.media, .media-body {
    overflow: hidden;
    zoom: 1;
}
