/* Sticky footer */
html {
    height: 100%;
}

body, #wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #333;
}

#content {
    padding: 40px 0;
}

#inner-headline, header {
    flex: 0 0 auto;
}

#content {
    flex: 1 0 auto;
}

footer {
    flex: 0 0 auto;
}

/* Other code */

#inner-headline div > h1 {
    font-size: 24px;
}

.dropdown-menu {
    z-index: 2000;
}

.pointer {
    cursor: pointer;
}

#map {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    transform: translateZ(0px);
    background-color: rgb(229, 227, 223);
    margin-top: -60px;
}

#parallax5 {
    background-image: url(../img/parallax/5.jpg);
}

ul.meta-post li a,
ul.meta-post li {
    color: #999;
    font-size: 12px;
    font-weight: 600;
}

ul.cat li.active a {
    text-decoration: underline;
    font-weight: bold;
}

.nav > li > a:hover, .nav > li > a:focus {
    color: inherit;
}

ul.meta-post li {
    margin: 0 5px 0 0;
}

.partners-img {
    margin: 0 0 0 -10px;
    padding: 0;
    list-style: none;
    overflow: hidden;
}

.partners-img li {
    float: left;
    margin: 0 0 10px 10px;
}

.partners-img li a {
    position: relative;
    display: inline-block;
}

.partners-img li a img {
    border: 1px solid #c9c9c9;
    background-color: #fff;
}

@media (max-width: 767px) {
    a.logo {
        background: none !important;
        padding: 0 15px 15px !important;
    }
}

@media (max-width: 350px) {
    a.logo {
        font-size: 18px !important;
    }
}

.media-heading {
    line-height: 1.3em;
}

h1, h2, .widget h5, .navbar-default .navbar-brand {
    color: #6D9C91 !important;
}

a.logo {
    font-size: 20px;
    padding: 15px 15px 15px 55px;
    margin-top: 0;
    background: url(../img/logo_resi.svg) 0 10px no-repeat;
}

a.logo img {
    position: relative;
    float: left;
    padding-right: 10px;
    top: -5px;
}

a.logo span {
    display: block;
    font-weight: normal;
    font-size: 12px;
}

ul.recent li h6 a {
    font-size: 12px;
}

.media-heading a {
    color: #353535;
}

.media-heading a:hover {
    color: inherit;
}

header > .top {
    padding: 20px 0 10px;
}

.sb-search-input {
    width: 100%;
    /*border: 1px solid #6D9C91;*/
    /*border-top-left-radius: 2px;*/
    /*border-bottom-left-radius: 2px;*/
}

.sb-search.sb-search-open .sb-icon-search {
    background-color: #6D9C91;
}

header .navbar .nav > li > a {
    border-bottom: 3px solid transparent;
}

.navbar-brand {
    letter-spacing: inherit;
}

/* Boxs */

.boxes {
    margin-top: 10px;

}

.boxes .align-center {
    text-align: center;
    background-color: #fff;
    color: #000;
    padding: 10px;
    margin-top: 10px;
}

.boxes .align-center h4 {
    height: 2em;
    font-size: 16px;
}

.boxes .align-center:hover {
    -webkit-box-shadow: 1px 2px 2px 4px rgba(204, 204, 204, 1);
    -moz-box-shadow: 1px 2px 2px 4px rgba(204, 204, 204, 1);
    box-shadow: 1px 2px 2px 4px rgba(204, 204, 204, 1);
}

.boxes .align-center .icon {
    margin-top: 30px;
    margin-bottom: 30px;
    color: #6D9C91;
}

.boxes .align-center .icon img {
    width: 90px;
}

.boxes .align-center p {
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: small;
}

.bottom-article {
    padding: 0 0 10px 0;
}

.start-event {
    width: 50px;
    float: left;
    font-size: 10px;
    line-height: 10px;
    color: #fff;
    padding: 7px 0;
    margin: 0 1.5em 0 0;
    text-align: center;
    border-radius: 3px;
    text-transform: uppercase;
}

.start-event span {
    display: block;
    font-size: 20px;
    line-height: 26px;
}

.btn-theme:focus {
    color: #fff;
}

/* Structure leadership profiles */

.leadership .profile-item {
    border: 1px solid #e6e6e6;
    padding: 9px 9px 16px 9px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    text-align: center;
}

.leadership .profile-item .pic {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.leadership .profile-item .pic img {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-bottom: 0 !important;
}

.leadership .profile-item .profile-info {
    margin-top: 15px;
}

.leadership .profile-item .profile-info .profile-name {
    font-size: 14px;
    line-height: 1.2em;
    margin: 0;
}

.leadership.media {
    margin-bottom: 2em;
}

.leadership-divider {
    display: block;
    margin: 9px 0;
    width: 50px;
    height: 2px;
}

.leadership .profile-item .profile-info .divider {
    display: block;
    margin: 9px auto;
    width: 50px;
    height: 2px;
}

.leadership .profile-item .profile-info p {
    font-size: 12px;
    line-height: 15px;
    margin-bottom: 12px;
    color: #595959;
}

#content .front-tab-content img {
    margin-bottom: 0px;
}

.post-wrap {
    position: relative;
    margin-bottom: 14px;
}

.post-wrap .featured-media {
    width: 105px;
    /*height: 77px;*/
    height: auto;
    float: left;
    margin-bottom: 0;
    margin-right: 1em;
    min-height: 24px;
    position: relative;
    overflow: hidden;
}

.post-wrap a .image-container {
    height: 77px;
    background-color: #343334;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

article.post-item {
    border-bottom: none;
}

article.post-item h5 {
    margin-top: 0;
    margin-bottom: .2em;
}

.no-padding {
    padding: 0 !important;
}

.no-margin {
    margin: 0 !important;
}

.post-heading h3 {
    line-height: 1.4;
}

.post-heading h3 .label {
    font-size: small;
}

.label-theme {
    border: 1px solid #6D9C91;
    background: #6D9C91;
}

/* Responsive image http://stackoverflow.com/questions/11736363/responsive-images-with-css */
#content article img,
#content .row.page img {
    max-width: 100% !important;
    height: auto;
    display: block;
}

/**
 * Tree view
 * http://cssdeck.com/labs/pure-css-tree-menu-framework?utm_source=bypeople
 * ------------------------------
 */
.tree,
.tree ul {
    margin: 0 0 0 1em; /* indentation */
    padding: 0;
    list-style: none;
    color: #ccc;
    position: relative;
}

.tree ul {
    margin-left: .5em
}

/* (indentation/2) */

.tree:before,
.tree ul:before {
    content: "";
    display: block;
    width: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    border-left: 1px solid;
}

.tree li {
    margin: 0;
    padding: 0 1.5em; /* indentation + .5em */
    line-height: 2em; /* default list item's `line-height` */
    font-weight: bold;
    position: relative;
}

.tree li:before {
    content: "";
    display: block;
    width: 10px; /* same with indentation */
    height: 0;
    border-top: 1px solid;
    margin-top: -1px; /* border top width */
    position: absolute;
    top: 1em; /* (line-height/2) */
    left: 0;
}

.tree li:last-child:before {
    background: white; /* same with body background */
    height: auto;
    top: 1em; /* (line-height/2) */
    bottom: 0;
}

.partner-links .partner-img {
    height: 60px;
}

.active-lang {
    text-decoration: underline;
}

.useful-links-img {
    background-color: #EEEEEE;
    width: 260px;
}

.before-header {
    border-bottom: 1px solid #ddd;
    background: #f7f7f7;
    padding: 10px 0;
}

.before-header .top-language {
    margin-top: 5px;
}

.before-header .row {
    margin-bottom: inherit;
}

.cbp-caption img {
    margin-left: auto;
    margin-right: auto;
}

.a2a_menu a, .a2a_menu a:visited {
    color: inherit !important;
}

.post-thumb {
    margin-right: 1em;
    width: 100px;
    height: 100px;
    background-size: cover;
}

article img.pull-left, article .align-left {
    margin: 0px 15px 15px 0;
}

.glyphicon {
    font-size: 90%;
}

#content img {
    margin-bottom: 1em;
}

.tab-content > .tab-pane {
    padding: 40px 20px 19px;
}

.post-details div.label {
    line-height: 3;
}

.widget li h6 {
    line-height: 1.4;
}

article {
    margin-bottom: 30px;
    padding-bottom: 10px;
}

article .post-heading h3 a {
    font-weight: 700;
    color: #6D9C91;
    position: relative;
    text-decoration: none;

    background-image: linear-gradient(#fff 50%, #6D9C91 50%);
    background-repeat: repeat-x;
    background-position: 0 99px;
    background-size: 4px 4px;
}

article .post-heading h3.h4 a:hover {
    color: #6D9C91;
    background-position: 0 17px;
}

article .post-heading h3 a:hover {
    color: #6D9C91;
    background-position: 0 25px;
}

article .post-heading h3 a:visited {
    color: #95b9b0;
}

.widget ul.recent li {
    margin-bottom: 5px;
}

#front-tab .tab-pane .label.label-theme {
    margin-bottom: 5px;
}

ul.meta-post li.label-theme {
    padding: .2em .6em .3em;
    color: #FFF;
}

.post-details h5 a {
    line-height: 1.4;
}

.widget ul.recent li {
    display: block;
}

.sb-icon-search {
    font-family: 'Glyphicons Halflings';
}

.sb-icon-search:before {
    content: "\e003";
}

ul.social-network li {
    margin: 0;
}
