body {
    background-image: url("../img/fon.jpg");
    min-width: 300px;
}

.page-header {
    margin-top: 0px;
}

.page-header h2 {
    margin-top: 0;
}

.main-content {
    overflow: hidden;
    padding-left: 15px;
    padding-right: 15px;
}

.sidebar {
    width: 244px;
    float: right;
}

.left-perfo-border {
    border-left-width: 2px;
    border-left-style: solid;
    border-left-color: #eee;
    padding-left: 22px;
}

@media (max-width: 650px) {
    .sidebar {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
    .left-perfo-border{
        border: none;
    }
}

.footer {
    clear: both;
}

.caret {
    border-left-width: 6px;
    border-right-width: 6px;
    border-top-width: 8px;
}

a.caret-before {
    padding-right: 5px !important;
}

a.caret-after {
    border-left-width: 1px;
    border-left-color: #9d9d9d;
    /* border-left-style: solid; */
    padding-top: 21px !important;
    padding-bottom: 21px !important;
    padding-left: 5px !important;
}

.active>a:hover {
    color: #000 !important;
}

.active.open>a.caret-after {
    background-color: #f8f4ff !important;
}

.open>a.caret-after {
    background-color: transparent !important;
}

.right-perfo-border {
    padding-right: 22px;
}


/*scroll buttons*/

.go-up,
.go-down {
    display: none;
    position: fixed;
    /*позиционирование*/
    z-index: 9999;
    /*поверх все элементов на странице*/
    right: 1%;
    /*положение на странице, если слева - left*/
    background: #4F4F4F;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    color: #fff;
    text-align: center;
    font: normal normal 46px/46px sans-serif;
    text-shadow: 0 1px 2px #000;
    opacity: .5;
    padding: 6px;
    margin-bottom: 5px;
    width: 60px;
    height: 60px;
}

.go-up {
    bottom: 70px;
}

.go-down {
    bottom: 10px;
}

.go-down:hover,
.go-up:hover {
    opacity: 1;
    box-shadow: 0 5px 0.5em -1px #666;
}

.full-width {
    width: 100%;
}

.carousel p {
    font-size: 3vmin;
}

.carousel h1 {
    font-size: 4vmin;
}

.carousel-caption {
    padding-top: 0;
    bottom: 0;
}

.carousel-indicators {
    bottom: 0;
    margin-bottom: 0;
}

.main-container img {
    max-width: 100%;
}

.article-description {
    font-size: 12pt;
    color: #000000;
}

.article-content {
    font-size: 14pt;
    color: #000000;
}

.sub-menu-container {
    margin-top: -11px;
}

.sub-menu-item {
    float: left;
}

.sub-menu-item-text {
    width: 120px;
    height: 60px;
    overflow: auto;
    white-space: normal;
    padding: 5px !important;
    text-align: center;
}

.sub-menu-item.active a {
    background: #f57575;
    color: #000;
    font-weight: bold;
}

.sub-menu-item a {
    background: #eee5e5;
    text-decoration: none;
    outline: none;
    display: inline-block;
    padding: 5px 30px;
    margin: 0px 5px;
    position: relative;
    overflow: hidden;
    border: 2px solid #e5c5c5;
    border-radius: 8px;
    font-family: 'Verdana', sans-serif;
    color: #dc134c;
    transition: .2s ease-in-out;
}

.sub-menu-item a:before {
    content: "";
    background: linear-gradient(90deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .5));
    height: 50px;
    width: 50px;
    position: absolute;
    top: -8px;
    left: -75px;
    transform: skewX(-45deg);
}

.sub-menu-item a:hover {
    background: #e5c5c5;
    color: #000;
    font-weight: bold;
}

.sub-menu-item a:hover:before {
    left: 150px;
    transition: .5s ease-in-out;
}


/* Paging */

.navigation {
    color: #636363;
    border: 0px;
    font-family: tahoma;
}

.navigation a:link,
.navigation a:visited,
.navigation a:active {
    display: inside;
    text-decoration: none;
    color: #FFF;
    background-color: #13739B;
    border: 1px solid #e1e1e3;
    padding: 3px 12px;
    font-size: 22px
}

.navigation a:hover {
    background-color: #24323B;
    color: #ffffff;
    border-color: #e1e1e3;
}

.navigation span {
    text-decoration: none;
    background-color: #24323B;
    padding: 3px 12px;
    border: 1px solid #e1e1e3;
    color: #fff;
    font-size: 22px;
}

.navigation span.nav_ext {
    border: none;
    background: transparent;
}

.anchor-offset{
    margin-top: -70px; padding-top: 70px;
}

h3.comments-header{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 16pt;
    color: #800000;
}

.reviews-container{
    margin-top: -21px;
    max-height: 450px;
    padding-right: 17px;
    overflow-x: auto;
    border-color: rgb(238, 238, 238);
    border-style: solid;
    border-width: 1px;
}

.review-item{
    clear: both;
    margin-left: 15px;
}

.review-item + .review-item{
    padding-top: 10px;
}

.review-image{
    float: left;
    width: 150px;
    margin-right: 10px;
}

.review-text{
    font-size: 12pt;
    color: #000;
}

/* Put carousel items in center */
.carousel .item img{
    margin-left: auto;
    margin-right: auto;
}

.no-margin{
    margin: 0;
}

.top-header{  
    position: fixed;
    margin: 0;
    border: 0;
    background-color: rgba(123, 50, 50, .75);
    display: flex;
}

.top-logo{  
    padding: 0 5px 0 35px; 
}

.top-menu{  
    position: relative;
    width: 100%;
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    background-color: transparent;
    border-bottom-color: #cccccc;
}

.top-menu>ul{
    display: flex;
    margin-left: auto;
    margin-right: auto;
}  

.top-menu>.navbar-nav>li{
    float: none;
    display: flex;
    white-space: nowrap;
}

.search-box-container {
    width: 175px;
    margin-left: auto;
}

.navbar-brand{
    padding-left: 0;
    padding-right: 0; 
}
