/* 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;
}

.properties-overlapping-search-box-homepage-spacer {
    width: 100%; 
    height: 1px; 
    float: left; 
    display: inline-block;
}

/* if max-width lower than 768px */
@media(max-width:767px) {
    #properties-search-box-homepage h1 {
        /*color: #D40000;*/
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    #properties-fluid-search-box-homepage h1 {
        /*color: #D40000;*/
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    #properties-overlapping-search-box-homepage h1 {
        /*color: #D40000;*/
        font-size: 20px;
        margin-bottom: 20px;
    }    
} 

/* Logo Adjustments */

/* if min-width at least 768px or more */
@media(min-width:768px) {
    .navbar-transparent {
        position: absolute;
        top: 0; /* 36px */
        left: 0;
        width: 100%;
        height: 180px;
        z-index: 3;

        box-shadow: none;
        border: none !important;
        background: linear-gradient(to bottom,rgba(0,0,0,.75) 0,rgba(0,0,0,0) 82%);
    }
    
    .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
        color: #D40000;
    }

    #properties-search-box-homepage h1 { 
        /*color: #D40000;*/
        font-size: 26px;
        margin-bottom: 30px;
    }

    #properties-fluid-search-box-homepage h1 { 
        /*color: #D40000;*/
        font-size: 26px;
        margin-bottom: 30px;
    }

    #properties-overlapping-search-box-homepage h1 { 
        /*color: #D40000;*/
        font-size: 26px;
        margin-bottom: 30px;
    }
}

#properties-fluid-search-box-homepage { 
    width: 100%;    
    min-height: 200px; 
    display: block;
    background-color: #f5f5f5;
    height: 100%;
    /*overflow: auto;  fix height */   
    
    text-align: left;
    margin-top: -30px !important;
    padding-top: 0px;
    margin-bottom: 20px;    
    padding-bottom: 0px;
    border-bottom: 1px solid #e6e6e6;
} 
#properties-fluid-search-box-homepage .well {
    box-shadow: none !important;
    border: none !important;
}



/* if min-width at least 1200px or more */
@media(min-width:1200px) {
    #properties-overlapping-search-box-homepage { 
        position: absolute;
        z-index: 5;
        top: 19em;
        width: 100%;
        height: auto;
        text-align: center;
    }
    
    .properties-overlapping-search-box-homepage-spacer {
        height: 70px; 
    }
}

/* if min-width at least 1300px or more */
@media(min-width:1300px) {
    #properties-overlapping-search-box-homepage { 
        position: absolute;
        z-index: 5;
        top: 21em;
        width: 100%;
        height: auto;
        text-align: center;
    }
    
    .properties-overlapping-search-box-homepage-spacer {
        height: 60px; 
    }
}

/* if min-width at least 1400px or more */
@media(min-width:1400px) {
    #properties-overlapping-search-box-homepage { 
        position: absolute;
        z-index: 5;
        top: 23em;
        width: 100%;
        height: auto;
        text-align: center;
    }
    .properties-overlapping-search-box-homepage-spacer {
        height: 60px; 
    }
}

/* if min-width at least 1500px or more */
@media(min-width:1500px) {
    #properties-overlapping-search-box-homepage { 
        position: absolute;
        z-index: 5;
        top: 26em;
        width: 100%;
        height: auto;
        text-align: center;
    }
    .properties-overlapping-search-box-homepage-spacer {
        height: 60px; 
    }
}

/* if min-width at least 1600px or more */
@media(min-width:1600px) {
    #properties-overlapping-search-box-homepage { 
        position: absolute;
        z-index: 5;
        top: 29em;
        width: 100%;
        height: auto;
        text-align: center;
    }
    .properties-overlapping-search-box-homepage-spacer {
        height: 60px; 
    }
}

/* if min-width at least 1700px or more */
@media(min-width:1700px) {
    #properties-overlapping-search-box-homepage { 
        position: absolute;
        z-index: 5;
        /*top: 570px;*/
        top: 32em;
        width: 100%;
        height: auto;
        text-align: center;
    }
    .properties-overlapping-search-box-homepage-spacer {
        height: 60px; 
    }
}

/* if min-width at least 1850px or more */
@media(min-width:1850px) {
    #properties-overlapping-search-box-homepage { 
        position: absolute;
        z-index: 5;
        /*top: 600px;*/
        top: 35em; /* 40em */
        width: 100%;
        height: auto;
        text-align: center;
    }
    
    .properties-overlapping-search-box-homepage-spacer {
        height: 80px; 
    }
}

/* if min-width at least 1200px or more */
@media(min-width:1200px) {
    #properties-overlapping-search-box-homepage {
        background: rgb(0,0,0);
        /*background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(204,204,204,0) 100%);*/
        /*background: linear-gradient(to bottom,rgba(0,0,0,.75) 0,rgba(0,0,0,0) 82%);*/
        /*background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7497199563419117) 30%, rgba(204,204,204,0) 100%);*/
        /*background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.50) 50%, rgba(204,204,204,0) 100%);*/
        background: none;
    }
    
    #properties-search-homepage .well {
        padding: 19px;
        margin-bottom: 20px;
        /*box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);*/
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.50);
        border: none;
    }

    #properties-search-homepage h1 {
        color: #fff;
        text-shadow: 2px 0px 2px rgba(0, 0, 0, 0.5);
        font-weight: 400;
    }
}

/* if max-width lower than 1200px */
@media(max-width:1199px) {
    #properties-overlapping-search-box-homepage {
        background-color: rgba(0, 0, 0, 0.75);
    }  
    #properties-search-homepage .well {
        background: none;
        box-shadow: none;
        border: none;
    }
    #properties-search-homepage h1 {
        color: #fff;
        text-shadow: 2px 0px 2px rgba(0, 0, 0, 0.5);
        font-weight: 400;
    }
}  

#homepage-content-fluid {
    width: 100%;
    min-height: 200px;
    display: block;
    background-color: #f5f5f5;
    padding: 19px;
}

#properties-search-homepage .btn-primary {
/*    color: #003569;
    background-color: #D40000;
    border-color: #003569;*/
}

#properties-search-homepage .btn-primary.active, 
#properties-search-homepage .btn-primary:active, 
#properties-search-homepage .btn-primary:focus, 
#properties-search-homepage .btn-primary:hover, 
#properties-search-homepage .open > .dropdown-toggle.btn-primary {
/*    color: #003569;
    background-color: #e5ca00;
    border-color: #003569;*/
}

#properties-search-homepage .form-control {
/*    background-color: #002A53;
    border: 1px solid #001020;
    color: #fff;*/
}

/* if max-width lower than 768px */
@media(max-width:767px) {
    #properties-search-homepage {
        margin-top: 0px;
    }    
}  

.carousel-control {
    /*color: #D40000;*/
    color: #fff;
}

.carousel-control:focus, .carousel-control:active, .carousel-control:hover {
    /*color: #003569;*/
    color: #D40000;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
}

.carousel-indicators .active {
    margin: 0;
    width: 14px;
    height: 14px;
    background-color: #D40000;
}

/* 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;
    }
    
    .navbar-nav li a {
        font-size: 18px;
        line-height: 50px;
        height: 50px;
        padding-top: 0;
        margin-top: 32px;
        margin-left: 3px;
        background-color: transparent;
        border: 1px solid transparent;
        border-radius: 0px;
        text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
    }
    
    .nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
        background-color: #e6e6e6;
        border-color: transparent !important;
    }

    ul.dropdown-menu li a {
        line-height: 35px;
        height: 35px;
        padding-top: 0;
        margin-top: 0px;
        margin-left: 0px;
        margin-right: 0px;
        background-color: transparent;
        border: 1px solid transparent;
        border-radius: 0px;
        text-shadow: none;
    }

    .error-page {
        line-height: 116px;
        height: 116px;
        padding-top: 10px;
    }
    
     /* Sub-menu */
    .dropdown-menu li a {
        line-height: 35px;
        height: 35px;
        padding-top: 0;
    }
    
    #wcmsnavbar-logo .navbar-nav li a:hover {
        /*box-shadow: 0 0 0 4px red inset;*/
        /*box-shadow: 0 0 4px red; */ /* efeito nas laterais */        
        box-shadow: 0 4px #D40000 inset; /* top */
        /*box-shadow: 0 4px red; */ /* bottom */
    }
    
    .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {
        /*box-shadow: 0 4px #D40000;*/  /*bottom */
        border-bottom: 4px solid #D40000;
    }

    /*
    .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;
        height: 80px !important;
    }    
    .navbar-brand img {
        max-height: 100%;
        width: auto;
        margin-top: 0px;
    }
}

/* EOF Logo Adjustments */  

.headerinfobar {
    width: 100%;
    min-height: 36px;
    padding-top: 6px;
    border: none;
    background-color: #1a1a1a;
    /*opacity: 0.75;*/
    background-repeat: no-repeat;
    /*border-bottom: 1px solid #333333; #D40000*/
    color: #fff;
}

.headerinfobar .container {
    /*padding-bottom: 6px;
    border-bottom: 1px solid #D40000;*/
}

/* 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: 50px;
}

.headerinfobar .mobile {
    margin-right: 50px;
}

.headerinfobar .email {
    margin-right: -15px;
}

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

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

.headerinfobar .contacts li a,
.headerinfobar .languages li a {
    color: #FFF;
}

.headerinfobar .contacts li a:hover,
.headerinfobar .languages li a:hover {
    color: #D40000;
}

.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);*/
        border-top: 1px solid #333333; /*#D40000*/
        padding-top: 5px;
        padding-bottom: 5px;
        display: block;
        text-align: center;
        color: #3B94D2;
    }
    .headerinfobar .languages .language-item {
        padding-bottom: 5px;
        text-align: center;
    }    
    .headerinfobar .phone {
        margin-right: 0px;
    }  
    .headerinfobar .mobile {
        margin-right: 0px;
    }   
    .headerinfobar .phone {
        margin-right: 0px;
    }     
}

#wcms-language > .list-inline li {
    padding-left: 0;
    list-style: none;
    margin-left: -5px;
}

#wcms-language > ul li:not(:last-of-type):after
{
    color: #ffffff;
    content: "|";
    padding-left: 10px;
    padding-right: 10px;
}

.navbar-default {
    border-bottom: 1px solid #333333; /*#D40000*/
}

.navbar-default .navbar-toggle {
    color: #fff;
}

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

#footer a {
  color: #888; /*#D40000*/
}

#footer a:hover {
  color: #D40000;
}

/* Address Column */
.footer-custom-address-column li i {
    float: left;
    margin-top: 3px;
}

.footer-custom-address-column li span {
    margin-left: 20px;
    display: block;
}
/* EOF Address Column */

.footer-custom-contacts-column li i {
    margin: 4px 0 0;
}

.footer-custom-contacts-column li p {
    margin-bottom: 5px;
}

.footer-custom a {
    color: #ffffff !important;
}

.footer-custom a:hover {
    color: #D40000 !important;
}

.footer-custom .footer-comp-book {
    float: right;
}

.navbar-inverse .navbar-toggle {
    color: #fff;
}

.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
    color: #fff;
    background-color: transparent;
}

.navbar-inverse .navbar-nav > li > a:focus, .navbar-inverse .navbar-nav > li > a:hover {
    color: #fff;
    background-color: transparent;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color: #ffffff;
    background-color: transparent;
    border-bottom: 2px solid #D40000;
}

#homepage-intro {
    width: 100%;
    min-height: 230px;
    display: block;
    margin-top: 0px;
    margin-bottom: 30px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    text-align: center;
    min-height: 240px;
    background: #F5F5F5; /* Well color */
    background-image: url('../../../../../images/data/misc/footer-bg.jpg');
    color: #fff;
}

#tabela-equipa a:not(.btn) {
    text-decoration: none;
}

#tabela-equipa a:not(.btn):hover {
    text-decoration: underline;
}

#homepage-intro h1 {
    color: #2780E3;
    padding-top: 20px;
    padding-bottom: 20px;
}

#home-recent-posts h2 {
    padding-bottom: 15px;
}

.home-grey-block {
	width: 100%;
	/*max-width: 615px;*/
	height: 100%;
	min-height: 372px;
	background-color: #ececec;
	padding: 15px;
	padding-left: 40px;
	padding-right: 40px;
	display: block;
	overflow: auto;
        margin-bottom: 10.5px;
}

.home-company-block {
	width: 100%;
	height: 100%;
	min-height: 80px;
	background-color: #ececec;
	margin-top: 15px;
	margin-bottom: 15px;
	padding: 20px;
	padding-top: 5px;
	display: block;
	overflow: auto;
}

.underline {
    position: relative;
    margin-bottom: 40px;
}

.underline:after {
    content:' ';
    position: absolute;
    display:block;
    width: 115px;
    margin: 20px 0 20px;
    border:1px solid #D40000;
    border-radius:4px;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
    -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
    -moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
    left: 50%;
    transform: translateX(-50%);    
}

/* if max-width lower than 768px */
@media(max-width:767px) {
    .footer-custom .footer-comp-book {
        content: ' ';
        clear: right;
        display: block;
        float: none;
        margin-left: auto;
        margin-right: auto;   
    }
    
    .footer-custom-address-column li p {
        text-align: center;
    }
    
    .footer-custom-address-column li i {
        float: none;
        margin-top: 3px;
        margin-left: 0px;
        margin-right: 3px;
    }
    
    .footer-custom-address-column li span {
        margin-left: 0px;
    }
    
    .footer-custom-contacts-column li p {
        margin-bottom: 5px;
        text-align: center;
    }
    
}

/* if max-width lower than 768px */
@media(max-width:767px) {
    h1.underline:after {
        margin: 5px 0 20px;
    } 
    h2.underline:after {
        margin: 5px 0 20px;
    }  
}

/* if max-width lower than 768px */
@media(max-width:767px) {
    .underline:after {
        top: 115%;
    }
}

/* Top and Bottom borders go out */
/* div.topBotomBordersOut a:before, div.topBotomBordersOut a:after */
div.topBotomBordersOut .navbar-nav > li > a:before, div.topBotomBordersOut .navbar-nav > li > a:after
{
    position: absolute;
    left: 0px;
    width: 100%;
    height: 2px;
    background: #FFF; /* #D40000 */
    content: "";
    opacity: 0;
    transition: all 0.3s;
}

/* div.topBotomBordersOut a:before */
div.topBotomBordersOut .navbar-nav > li > a:before
{
    top: 0px;
    transform: translateY(10px);
}

/* div.topBotomBordersOut a:after */
div.topBotomBordersOut .navbar-nav > li > a:after
{
    bottom: 0px;
    transform: translateY(-10px);
}

/*div.topBotomBordersOut a:hover:before, div.topBotomBordersOut a:hover:after*/
div.topBotomBordersOut .navbar-nav > li > a:hover:before, div.topBotomBordersOut .navbar-nav > li > a:hover:after
{
    opacity: 1;
    transform: translateY(0px);
}
/* if min-width at least 768px or more */
@media(min-width:768px) {
    /* Pull up  */
    div.pullUp .navbar-nav > li > a:before
    {
        position: absolute;
        width: 100%;
        height: 0px;
        left: 0px;
        bottom: 0px;
        content: '';
        background: #FFF;
        opacity: 0.3;
        transition: all 0.3s;
    }

    div.pullUp .navbar-nav > li > a:hover:before
    {
        height: 100%;
    }

    /* Pull Down  */
    div.pullDown .navbar-nav > li > a:before
    {
        position: absolute;
        width: 100%;
        height: 0px;
        left: 0px;
        top: 0px;
        content: '';
        background: #FFF;
        opacity: 0.3;
        transition: all 0.3s;
    }

    div.pullDown .navbar-nav > li > a:hover:before
    {
        height: 100%;
    }
}

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

/* Footer */
.footer-top {
    background-color: #F5F5F5; /* Well color */
    border-top: 1px solid #e6e6e6; /*#D40000*/
    border-bottom: 1px solid #010042; /*#D40000*/
    /*color: #A1A1A1;*/
    padding: 20px;
    margin-top: 20px;
}

.footer-top h3 {
	font-weight: 400;
}

.footer-top i {
    color: #D40000;
}

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

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

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

/* Address Column */
.footer-address-column li i {
    float: left;
    margin: 4px 0 0;
    color: #D40000;
}
/* 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: #999; /* 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;   
    }
}

a#up.up {
    color: #fff;
}

.container .up:hover {
    color: #D40000 !important;
}

.socialnetwork {
    display: inline-block; /* Fix for tooltip position */
    padding-left: 10px;
    padding-right: 10px;
}

a.socialnetwork .fa-square-o{
    color:transparent;
}

a.socialnetwork {
    color: #f5f5f5;
}

.socialnetwork:hover {
    color: #3B94D2;    
}

/* 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; }

#contact-form h3 {
}

#contact-form i {
    color: #D40000;
}

/* 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(24, 24, 24);
    background:rgba(24, 24, 24, 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: 20px;
}

.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: #1a1a1a;
    margin-bottom: 50px;
    font-weight: 400;
}

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

#property4grid .thumbnail:hover,
#property-list-view .thumbnail:hover {
    border: 1px solid #D40000;
    background-color: #f5f5f5 !important; /* well color */
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

#property4grid .caption {
    min-height: 140px;
    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: #4d4d4d;
    font-size: 15px;
    min-height: 63px;
    max-height: 63px;
    overflow: hidden;
    padding-bottom: 1px;
    text-align: center;
}

#property4grid .price i,
#property-list-view .price i {
    color: #D40000;
}

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

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

#property4grid h2 a,
#property4grid h3 a {
    color: #1a1a1a;
    text-decoration: none;
}

#property4grid h2 a i,
#property4grid h3 a i,
#property-list-view h2 a i,
#property-list-view h3 a i {
    color: #D40000 !important;
}

#property4grid h2 a:hover,
#property4grid h3 a:hover {
    color: #D40000;
    text-decoration: underline;
}

#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 */


#item-page-panel-heading,
#property-page-panel-heading {
    min-height: 85px;
}

#item-page-panel-footer,
#property-page-panel-footer {
    min-height: 65px;
}

/* 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: #1a1a1a;
    margin-bottom: 50px;
	font-weight: 400;
}

#home-recent-items h2 a {
    color: #333;
}

#home-recent-items h2 a:hover, #home-recent-items h2 a:active, #home-recent-items h2 a:focus {
    color: #D40000;
}

#home-recent-posts h2 a:hover, #home-recent-posts h2 a:active, #home-recent-posts h2 a:focus,
#home-recent-posts h3 a:hover, #home-recent-posts h3 a:active, #home-recent-posts h3 a:focus {
    color: #D40000;
}

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

#item4grid .thumbnail:hover,
#item-list-view .thumbnail:hover {
    border: 1px solid #D40000;
    background-color: #f5f5f5 !important; /* well color */
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

#item4grid .caption {
    min-height: 140px;
    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: 14px;
}

.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: #4d4d4d;
    font-size: 15px;
    min-height: 63px;
    max-height: 63px;    
    overflow: hidden;
    padding-bottom: 1px;
    text-align: center;
}

#item4grid .price i,
#item-list-view .price i {
    color: #D40000 !important;
}

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

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

#item4grid h2 a,
#item4grid h3 a {
    color: #1a1a1a;
    text-decoration: none;
}

#item4grid h2 a i,
#item4grid h3 a i,
#item-list-view h2 a i,
#item-list-view h3 a i {
    color: #D40000 !important;
}

#item4grid h2 a:hover,
#item4grid h3 a:hover {
    color: #D40000;
    text-decoration: underline;
}

#sent h2, #sent h3 {
	color: #fff;
}

#item-list-view .price {
    font-weight: bold;
}

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

#item-list-view h2 a,
#item-list-view h3 a{
    color: #1a1a1a;
}


#item-list-view h2 a:hover, #item-list-view h2 a:active, #item-list-view h2 a:focus,
#item-list-view h3 a:hover, #item-list-view h3 a:active, #item-list-view h3 a:focus{
    color: #D40000;
}
/* 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 #428bca;
    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.png") 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: 46px; 
    overflow: visible;    
}


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.gif) 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;
}

.media-body a {
	color: #1a1a1a;
}

.media-body a:hover, .media-body a:active, .media-body a:focus {
	color: #D40000;
}


.posts-title a {
	color: #1a1a1a !important;
}

.posts-title a:hover, .posts-title a:active, .posts-title a:focus {
	color: #D40000 !important;
}

/* Custom fix for human validation placeholder readability */
input[type="text"]#vh.form-control::placeholder {
    font-size: 13px !important;
}


.dark-bg {
    width: 100%;    
    min-height: 250px; 
    display: block;
    padding-top: 30px;
    background: transparent;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 0px;
    
    height: 100%;
    overflow: auto; /* fix height */  
}

#home-footer { 
    width: 100%;    
    min-height: 400px; 
    display: block;
    
    background: transparent;
    background-image: url("../../../../../images/data/design/home/home-footer.jpg");
    background-repeat: no-repeat;      
    background-attachment: scroll;
    background-position: center center;    
    background-size: cover;
    
    height: 100%;
    /*overflow: auto;  fix height */   
    
    text-align: left;
    margin-top: 20px;
    margin-bottom: -30px !important;
    padding-top: 0px;
    margin-bottom: 0px;    
    padding-bottom: 0px;
} 

#home-footer h1 {  
    color: #fff;
    text-shadow: 2px 0px 2px rgba(0, 0, 0, 0.5);
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}

#home-footer h2 {
    font-size: 26px;
    font-weight: normal;
    color: #fff;
    /*text-shadow: 2px 0px 2px rgba(0, 0, 0, 0.5);*/
}

#home-footer h3 {
    font-weight: normal;
    color: #fff;
    /*text-shadow: 2px 0px 2px rgba(0, 0, 0, 0.5);*/
}

#home-footer h4 {
    color: #fff;
    text-shadow: 2px 0px 2px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    /*padding-bottom: 20px;*/
}

#home-footer i {
    color: #D40000;
}

/* if max-width lower than 768px, Small Devices */
@media (max-width: 767px) {
    #home-footer {  
        text-align: center;
        margin-top: 0px;
        margin-bottom: 0px;
        background-image: url("../../../../../images/data/design/home/home-footer-sm.jpg");
        min-height: 1000px; 
    }    
}
