/*
 @Author: Marcin Halak
 @Email: Versoo <marcin@halak.pl>
 @www: http://halak.pl
 Copyright (c) 2015
*/
html, body {
    height: 100%;
    display: block;
}
body {
    background: #ececec;
}
/* Bootstrap Reset */
.nav > li > a:focus, .nav > li > a:hover {
    background: transparent;
    color: inherit;
}
.container {
    max-width: 870px;
}
.img-full {
    width: 100%;
}
/* Main */
.main-gray {
    max-width: 100%;
    overflow: hidden;
}

.transition {
    -webkit-transition: all 600ms linear;
    -moz-transition: all 600ms linear;
    -ms-transition: all 600ms linear;
    -o-transition: all 600ms linear;
    transition: all 600ms linear;
}
ol {
    padding-left: 19px;
}
ul {
    padding-left: 15px;
}

.content h1, .content h2, .content h3, .content h4 {
    line-height: 1.15em;
    margin-bottom: 1.1em;
    color: #000;
}

.content h1 {
    font-size: 22px;
}

.content h2 {
    font-size: 20px;
}

.content h3 {
    font-size: 18px;
}

.content h4 {
    font-size: 16px;
}

.content p {
    font-size: 14px;
    color: #000;
    line-height: 1.4em;
    margin-bottom: 16px;
}

/* Header */
.brang-logo {
    max-height: 100px;
    margin: 3% auto;
}

/* Menu */
.light-gray {
    background: #f8f8f8;
}

.top-menu {
    margin-bottom: 50px;
}

.top-menu .navbar {
    min-height: 0;
    margin-bottom: 0;
}

.navbar-toggle {
    border: 1px solid #000;
}

.navbar-toggle .icon-bar {
    color: #000;
    border: 1px solid #000;
}

.top-menu .navbar .navbar-nav {
    display: inline-block;
    float: none;
    vertical-align: top;
    text-transform: uppercase;
    color: #000;
}

.top-menu .navbar .navbar-nav a {
    color: #c7c7c7;
    font-size: 15px;
    font-weight: 300;
}

.top-menu .navbar .navbar-nav .current-menu-item a, .top-menu .navbar .navbar-nav a:hover, .top-menu .navbar .navbar-nav a:focus {
    color: #000;
}

.top-menu .navbar .navbar-collapse {
    text-align: center;
}

@media (min-width: 768px) {
    .top-menu .navbar .navbar-nav {
        display: inline-block;
        float: none;
        vertical-align: top;
    }

    .top-menu .navbar .navbar-collapse {
        text-align: center;
    }
}

/** Home **/
.home-big-logo {
    margin: 10% auto 10px;
    text-align: center;
}

.home-big-logo h1 {
    font-size: 20px;
}

.home-big-logo .big-logo {
    margin: 0 auto;
    display: block;
}

/** News **/
.news-row {
    width: 100%;
}
.news-thumb {
    margin: 5px auto 20px;
}
.news-single-thumb {
    margin: 45px auto 20px;
}
.post-box {
    margin: 0 0 20px 0;
    min-height: 185px;
}

.post-box .post-date {
    font-size: 16px;
    font-weight: 400;
    color: #000;
}

.post-box h3 {
    font-sie: 16px;
}

.post-box .post-index-cont {
    font-size: 12px;
}

.load-more-box {
    padding: 10px 0 20px;
}

.load-more-box .load-more .glyphicon {
    display: none;
}
.load-more-box .load-more.active .glyphicon {
    display: inline-block;
}
.read-more {
    font-size: 14px;
    color: #222222;
    margin-top: 10px;
    display: block;
}
/** Investments **/
.investment {
    margin-top: 25px;
    margin-bottom: 25px;
}

.investment a {
    text-decoration: none;
}

.investment-logo {
    display: block;
    height: 75px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    margin: 0 auto 20px auto;
    filter: grayscale(1);
}

.investment:hover .investment-logo {
    filter: grayscale(0);
}

.investment-desc {
    margin: 0 auto;
    min-height: 50px;
    font-size: 10px;
    font-weight: 600;
    color: #000;
}
@media(max-width: 520px) {
    .investment-desc {
        font-size: 13px;
    }
}

/*** Contact ***/

table.person {
    margin: 25px auto;
    width: 100%;
}
table.person td:first-child {
    max-width: 100px;
}
table.person td:first-child img {
    display: block;
    margin: 0 auto;
}
table.person td {
    vertical-align: bottom;
    padding: 0 5px;
}

    /*** Signle Post ***/
.single-post-content {
    margin: 0 -15px;
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;

    -webkit-column-gap: 15px;
    -moz-column-gap: 15px;
    column-gap: 15px;
}

/*** Footer ***/
.mrgroup-logo-fixed {
    width: 286px;
    height: 239px;
    position: fixed;
    bottom: 5px;
    left: -70px;
    background-image: url('../img/Herb.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: .6;
}

/*** Animation ***/
.rotate-animation {
    animation: animationFrames linear 4s;
    animation-iteration-count: infinite;
    transform-origin: 50% 50%;
    -webkit-animation: animationFrames linear 4s;
    -webkit-animation-iteration-count: infinite;
    -webkit-transform-origin: 50% 50%;
    -moz-animation: animationFrames linear 4s;
    -moz-animation-iteration-count: infinite;
    -moz-transform-origin: 50% 50%;
    -o-animation: animationFrames linear 4s;
    -o-animation-iteration-count: infinite;
    -o-transform-origin: 50% 50%;
    -ms-animation: animationFrames linear 4s;
    -ms-animation-iteration-count: infinite;
    -ms-transform-origin: 50% 50%;
}

@keyframes animationFrames {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@-moz-keyframes animationFrames {
    0% {
        -moz-transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes animationFrames {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@-o-keyframes animationFrames {
    0% {
        -o-transform: rotate(0deg);
    }
    100% {
        -o-transform: rotate(360deg);
    }
}

@-ms-keyframes animationFrames {
    0% {
        -ms-transform: rotate(0deg);
    }
    100% {
        -ms-transform: rotate(360deg);
    }
}