html,
body {
    height: 100%;
    font-size: 16px;
    font-family: 'Lato', Arial, sans-serif;
}


.navbar .navbar-nav > li > a{
    color: #fff;
}






.wrap {
    min-height: 100%;
    height: auto;
    background-color: #EEE;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 0px 15px 20px;
}

.footer {
    background: #21252B;
    min-height: 60px;
    padding-top: 20px;
    color: #fff;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.navbar{
    margin-bottom: 0;
}
.navbar{
    background-color: #1BBC9D;
}

.nav > li > a:hover, .nav > li > a:focus{
    background: none;
}
.nav .open > a, .nav .open > a:hover, .nav .open > a:focus{
    background: none;
}

nav.top_main{
    background-color: #fff;
    height: 65px;
    padding: 5px 0;
}

nav.topper a{
    color: #fff;
    font-size: 18px;
    position: relative;
    float: left;
    display: table-cell;
    left: 0px;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
}
nav.topper a:hover{
    left: 28px;
}




.navbar .navbar-toggle {
    border: 0;
    margin-top: 20px;
    background-color: #0196E6;
    color: #fff;
}



.news_image{
    width: 100%;
}



@media (min-width: 768px) {
    .nav > li {
        position: static;
        display: block;
    }
    nav.topper{
        height: 60px;
        position: relative;
        padding: 6px 0;
        background: linear-gradient(135deg,#2F94DA 36% ,#FFF  34% );
        margin-bottom: 20px;
    }

    .header-title{
        float: left;
        margin-left: 134px;
        margin-top: 10px;
        position: relative;
        vertical-align: top;
        display: table-cell;
    }
    .header-title h1 {
        color: #2F94DA;
        margin: 0;
        font-size: 24px;

    }
    .navbar-right {
        float: right !important;
        margin-right: -15px;
        width: 90%;
    }

    .guestbook_username{
        float: left;
    }
    .guestbook_date{
        float: right;
    }

    .main_text{
        font-size: 22px;
        margin-left: 52px;
        float: left;
        margin-top: 10px;
    }
    .way_title{
        font-size: 18px;
        margin-top: 15px;
        padding: 6px;
        color: rgba(0, 0, 0, 0.62);
    }
    .way_title:after{
        content: "";
        height: 1px;
        display: block;
        margin-top: 5px;
        width: 100%;
        background: rgba(0, 0, 0, 0.17);
    }
    .post_image {
        height: 280px;
        background-position: 50% 50%;
        margin-bottom: 20px;
        margin-top: -20px;
        background-size: cover;
    }

}

@media (max-width: 1500px) {
    nav.topper {
        height: 60px;
        position: relative;
        padding: 6px 0;
        background: linear-gradient(135deg,#2F94DA 32% ,#FFF 32% );
        margin-bottom: 20px;
    }
     .main_text{
        font-size: 18px;
    }
}
@media (max-width: 1700px) {
    nav.topper {
        height: 60px;
        position: relative;
        padding: 6px 0;
        background: linear-gradient(135deg,#2F94DA 32% ,#FFF 32% );
        margin-bottom: 20px;
    }
}
@media (max-width: 1250px) {
    nav.topper {
        height: 60px;
        position: relative;
        padding: 6px 0;
        background: linear-gradient(135deg,#2F94DA 31% ,#FFF 29% );
        margin-bottom: 20px;
    }
     .main_text{
        font-size: 17px;
    }
}
@media (max-width: 1050px) {
   
     .main_text{
        font-size: 15px;
    }
}



@media (max-width: 767px) {
    .navbar-collapse {
        background: #4E4E4E;
    }

    nav.topper{
        position: relative;
        padding: 6px 0;
        display: inline-table;
        background: #2F94DA;
        width: 100%;
        margin-bottom: 20px;
    }




    .header-title{
        position: relative;
        min-width: 238px;
        display: inline-block;
        margin-top: 22px;
    }
    .header-title h1 {
        color: #fff;
        margin: 0;
        font-size: 24px;

    }

    .guestbook_username{
        float: none;
        display: inline-block;
    }
    .guestbook_date{
        float: none;
        display: inline-block;
        margin-top: 10px;
    }

    .main_text{
        font-size: 11px;
        margin-left: 120px;
    }
    .way_title{
        font-size: 17px;
        margin-top: 15px;
        color: #fff;
    }
    .post_image {
        height: 150px;
        background-position: 50% 50%;
        margin-top: -20px;
        margin-bottom: 20px;
        background-size: cover;
    }

    .news_preview_image {
        display: block !important;
        width: 100% !important;
    }
    .news_preview_content {
        display: table-cell;
        vertical-align: middle;
        padding: 20px;
    }
    .news_preview_body{
        height: auto !important;
    }

}

hr {
    border-top: 2px solid rgba(125, 125, 125, 0.21);
}


.navbar .navbar-nav > li > a {
    font-size: 18px;
    border-top: 4px solid transparent;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
    padding-top: 25px;
}
.navbar .navbar-nav > li > a:hover {
    border-top: 4px solid #FFFFFF;
    color: #F2FBFF;
}
.navbar .navbar-nav > li > a.active {
    border-top: 4px solid #FFFFFF;
}


.subway_title{
    font-size: 15px;
    display: block;
    padding: 6px 6px;
    /* border-radius: 3px; */
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.subway_title:hover {
    background-color: rgba(55,58,65,0.07);
}
.subway_title.active {
    background-color: rgba(55,58,65,0.07);
}
a.subway_title {
    text-decoration: none;
}

.toper_list_item{
    text-align: left;
    display: table;
}

.panel-primary > .panel-heading{
    background-color: #2F94DA;
    border-radius: 0;
    border: 0;
}

.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 0px !important;
    border-radius: 0;
}


.logo{
    background: url("../images/gerbkk_b.png");
    width: 105px;
    height: 130px;
    z-index: 1011;
    position: relative;
    opacity: 1;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.logo:hover{
    -webkit-filter: saturate(120%);
}



.modal_center{

    margin: 20px auto;
    display: block;
}

.kk{
    float: left;
}

.messages_table{
    display: table;
}

.messages .col-lg-4{

}

.content{
    padding: 15px;
    background-color: #fff;
    overflow: hidden;
}

blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 17.5px;
    background: rgba(76, 175, 80, 0.14);
    border-left: 5px solid #45AFE8;
}

a{
    color: #2F94DA;
}
p{
    color: #636363;
}

.btn{
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.news_preview{
    background-color: #fff;
    margin-bottom: 20px;
}

.news_preview_image{
    display: table-cell;
    vertical-align: middle;
    position: relative;
    width: 262px;
    background-color: #1BBC9D;
}

.news_preview_image img{
    opacity: 1;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.news_preview_image:hover{
    -webkit-filter: saturate(150%);
}
.news_preview_content{
    display: table-cell;
    vertical-align: middle;
    position: relative;
    padding: 10px 15px;
}
.news_preview_date{
    margin: 10px 0;
}
.news_preview_body{
    height: 70px;
    overflow: hidden;
}

.breadcrumb {
    padding: 8px 15px;
    margin-bottom: 20px;
    list-style: none;
    background-color: #fff;
    border-radius: 0;
}

.navbar-toggle .icon-bar + .icon-bar {
    background-color: #fff;
}
.navbar-toggle .icon-bar{
    background-color: #fff;
}



.guestbook_item{
    background: #fff;
    margin-bottom: 20px;
}

.guestbook_meta{
    margin: 15px 10px 15px 0;
    position: relative;
    display: block;
}

.guestbook_item p{
    border-left: 3px solid #1BBC9D;
    padding: 15px;
    background-color: rgba(238, 238, 238, 0.25);
}

.btn-success {
    color: #fff;
    background-color: #1BBC9D;
    border-color: transparent;
}
.btn-success:hover {
    color: #fff;
    background-color: #19a385;
    border-color: transparent;
}
.btn-success:focus, .btn-success.focus {
    color: #fff;
    background-color: #19a385;
    border-color: transparent;
}

.panel-primary {
    border-color: transparent;
}

.content img{
    max-width: 100%;
}


span.razdel {
    width: 100%;
    position: relative;
    display: inline-block;
    font-size: 22px;
    text-align: center;
    text-transform: uppercase;
    padding: 15px;
    color: #fff;
    background-color: #1BBC9D;
}

table {
    border: 1px solid #ddd;
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}
table > tbody > tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}
table > tbody > tr:hover {
    background-color: #f5f5f5;
}

table > tbody > tr > td{
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border: 1px solid #ddd;
}


.ie-navbar-right{
    float: right !important;
    margin-right: -15px;
}
.ie-navbar-nav{
    margin: 0;
}
.ie-nav{
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.ie-nav > li {
    position: static;
    display: block;
    float: left;
}
.ie-nav > li > a {
    position: relative;
    display: block;
    padding: 10px 15px;
    padding-bottom: 15px;
}

.ie-navbar-nav > li > a {
     font-size: 18px;
     border-top: 4px solid transparent;
     -webkit-transition: all 0.2s;
     -moz-transition: all 0.2s;
     -ms-transition: all 0.2s;
     -o-transition: all 0.2s;
     color: #fff;
     transition: all 0.2s;
     padding-top: 25px;
 }
.ie-navbar-nav > li:hover > a {
    border-top: 4px solid #fff;
}
