#wrapper {
    width: 970px;
    margin: 0 auto;
    position: relative;
}
#header-right {
    text-align: right
}
.skype-mod {
    text-align: right;
}
.skype-mod .skype {
    display: inline-block;
    float: none;
}
.container {
    width: 100%;
}

.nav>li>a {
    border-radius: 6px;
    background-color: #f5f5f5;
    font-size: 14px;
    color: #68615d;
}
.nav>li>a.active,
.nav>li>a:focus, .nav>li>a:hover {
    color: #fff;
    background-color: #68615d;
}
.nav-main>li>a.active {
    background-color: #00978C;
    color: #fff;
}

.nav-footer>li {
    text-align: center;
    vertical-align: middle;
    line-height: 80px;
    height: 80px;
}
.nav-footer>li>a {
    padding: 10px 15px;
    border-radius: 6px;
    background: #F5F5F5;
    margin-left: 4px;
    margin-right: 4px;
    font-size: 18px;
}

.nav-footer>li>a.logo:focus, .nav-footer>li>a.logo:hover {
    background: #F5F5F5;
}
.nav-footer .envelope
{
    background-image: url(../i/envelope.png);
    background-repeat: no-repeat;
    background-position: 50% 40px;
    text-indent: -9999px;
}
.nav-footer .map
{
    background-image: url(../i/marker.png);
    background-repeat: no-repeat;
    background-position: 50% 30px;
    text-indent: -9999px;
}
.nav-footer .feedback{
    text-decoration: none;
    color: #68615D;
    background: #F5F5F5 url(../i/comments_hover.png) no-repeat 20px center;
    -webkit-transition: background-color 0.25s ease-in-out;
    -moz-transition: background-color 0.25s ease-in-out;
    -o-transition: background-color 0.25s ease-in-out;
    transition: background-color 0.25s ease-in-out;

    min-width: 170px;
}
h1 {
    font-size: 25px;
    color: #68615D;
}
.content h1 {
    margin-top: 0px;
}
.content {
    margin-top: 20px;
    margin-bottom: 20px;
}
.review {
    border-top: 1px dotted #CCCCCC;
}
.review-item {
    border-top: 1px dotted #CCCCCC;
    padding-top: 10px;
}
.review-item:nth-child(even) {
    background: #fafafa;
}


.content .mail{
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 59px;
    background-image: url(../i/mail_k.png);
    background-repeat: no-repeat;
    background-position: left center;
    width: 100%;
    margin: 0;
    line-height: 20px;
    float: left;
}

.content .adresa{
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 59px;
    background-image: url(../i/karta_k.png);
    background-repeat: no-repeat;
    background-position: 12px center;
    float: left;
}

.content .phone{
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 59px;
    background-image: url(../i/telephone_k.png);
    background-repeat: no-repeat;
    background-position: left center;
    width: 100%;
    margin: 0;
    line-height: 20px;
    float: left;
}

.content .name{
    padding-top: 10px;
    padding-left: 59px;
    height: 33px;
    color: #68615D;
    font-size: 18px;
    background-image: url(../i/corp.png);
    background-repeat: no-repeat;
    width: 100%;
    margin: 0;
    line-height: 20px;
    float: left;

}

.content .description{
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 59px;
    min-height: 33px;
    font-size: 13px;
    background-image: url(../i/button_info.png);
    background-repeat: no-repeat;
    background-position: left center;
    width: 100%;
    margin: 0;
    line-height: 20px;
    float: left;
}
p.bg-success {
    padding: 15px;
    margin-top: 10px;
}


#logo a {
    display: inline-block;
    width: 665px;
    height: 88px;
    text-indent: -9999px;
    background-image: url(../i/logo.png);
    background-repeat: no-repeat;
    background-size: 65%;
}

.review-date {
    color: #2991d6;
    font-size: 12px;
    font-style: italic;
}
.review-name {
    font-size: 15px;
    color: #444;
}
.review-message {
    font-size: 13px;
    margin: 4px 0 10px;
}
.review-message blockquote {

    font-size: 13px;
    padding: 5px 10px;
    margin: 0;
}

@media (max-width: 970px) {
    #logo a {
        background-image: url(../i/logo_sm.png);
        width: 100%;
        height: 80px;
        background-size: contain;
    }
    #wrapper {
        width: auto;
    }
    .nav li {
        margin-bottom: 5px;
    }
    .nav-footer li {
        margin-bottom: 25px;
    }
}
@media (max-width: 992px) {
    .under_footer,
    .nav-pills,
    .content {
        padding-left: 10px;
        padding-right: 10px;
    }
    .container.content {
        padding-left: 20px;
        padding-right: 20px;
    }
    .main_img {
        text-align: center;
    }
    #logo,
    .skype-mod,
    #header-right {
        text-align: center;
    }
    #header-right {
        margin-top: 20px;
    }
}
@media (max-width: 320px) {
    .g-recaptcha{
        max-width: 280px;
        width: 280px;
        overflow: hidden;
    }
}