body {
    color: #605f5f;
    font-family: Arial, Helvetica, sans-serif;
}

.fb-button {
    padding-top: 10px;
}

.page-header {
    background: url('../img/header_bg.gif') repeat-x scroll #222222;
    margin-top: 0px !important;
    padding-bottom: 0px;
    margin-bottom: 0px !important;
    border-bottom: 0px !important;
}

.page-footer {
    margin-top: 15px;
    background: #DFDFDF;
    padding: 10px 0 20px 0;
    font-size: 11px;
    color: #737373;
}

.page-sub-header {
    background: url('../img/slider_bg.gif') repeat-x scroll #1E1E1E;
    height: 38px;
}

#logo {
    width: 180px;
    height: 130px;
    background: url('../img/logo.png') no-repeat;
}

.nav {
    padding-top: 60px;
}

#menu .nav a {
    color: white;
    border-right: solid 1px #525252;
    font-size: 11px;
    text-transform: uppercase;
    text-align: center;
}

#menu li {
    padding-left: 0px;
    padding-right: 0px;
}

.nav li:last-child a {
    border-right: 0;
}

.nav li.active a,
.nav a:hover {
    text-decoration: underline !important;
    background-color: transparent !important;

}

.home-promo-bg {
    background: url('../img/slider_bg.gif') repeat-x scroll #1E1E1E;
    padding-top: 15px;
    padding-bottom: 30px;
    margin-bottom: 15px;
}

.home-promo-bg .thumbnail {
    border: 0;
    border-radius: 0;
    background-color: transparent;
}

#promo_video {
    height: 400px;
    border: 1px solid red;
}

@media (min-width: 768px) {
    .home-block {
        border: 1px solid #ececec;
    }
}

@media (max-width: 768px) {
    .home-block .thumbnail {
        border: 1px solid transparent !important;
    }
}

.home-block h2 {
    color: #171717;
    padding: 10px;
    font-size: 18px;
    margin: 0px;

}

.home-block p {
    color: #605f5f;
    line-height: 1.8em;
    font-size: 12px;
    padding: 5px 10px 5px 10px;
    text-align: justify;
}

@media (min-width: 768px) {
    .prices {
        background: url('../img/prices_400.png') no-repeat top right;
        height: 400px;
    }
}

.contacts p,
.portfolio p,
.prices p {
    text-align: justify;
}

h1 {
    color: #212121;
    padding: 15px 5px 15px 5px;
    font-size: 36px;
    margin-bottom: 20px;
    border-bottom: #d7d7d7 solid 1px;
}

.portfolio .item > div {
    margin-bottom: 15px;
}

.portfolio .item .thumbnail {
    margin-bottom: 5px;
}

.portfolio .item h3 {
    color: #171717;
    font-size: 14px;
    font-weight: bold;
    padding: 0px 10px 10px 0;
    margin-top: 0px;
}

@media (max-width: 767px) {
    .item img {
        width: 100%;
    }

    .portfolio .item > div {
        margin-bottom: 30px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .item:nth-child(3n+1) {
        clear: both;
    }
}

@media (min-width: 992px) {

    .item:nth-child(4n+1) {
        clear: both;
    }
}
