html, body {
    background-color: #FFF;
    color: #313f4f;
    font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    width: 100%;
    height: 100%;
}

/* Typography */

.btn {
    border-radius: 0px;
}

.btn-kurs-default {
    background-color: #313f4f;
    color: #FFF;
    text-transform: uppercase;
}

.btn-kurs-default:hover {
    background-color: #F00;
    color: #AAA;
    text-transform: uppercase;
}

.form-control {
  height: 34px;
  padding: 6px 12px;
  font-size: 1em;
  line-height: 1.42857143;
  color: #FFF;
  background-color: #2e3a44;
  border: 0px none;
  border-radius: 0;
  -webkit-box-shadow: inset 0 0px 0px rgba(0, 0, 0, .075);
          box-shadow: inset 0 0px 0px rgba(0, 0, 0, .075);
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
       -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
          transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.form-control:focus {
  border: 0px none;
  outline: 0;
  -webkit-box-shadow: inset 0 0px 0px rgba(0,0,0,.075), 0 0 0px rgba(102, 175, 233, .6);
          box-shadow: inset 0 0px 0px rgba(0,0,0,.075), 0 0 0px rgba(102, 175, 233, .6);
}
.form-control::-moz-placeholder {
  color: #999;
  opacity: 1;
}
.form-control:-ms-input-placeholder {
  color: #999;
}
.form-control::-webkit-input-placeholder {
  color: #999;
}
.form-control::-ms-expand {
  background-color: transparent;
  border: 0;
}

.header-border {
    padding: 15px;
    border-bottom: 3px solid #F00;
    text-align: right;
    display: inline-block;
    width: 95%;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 2.125em;
    margin: 40px 0px 40px 0px;
}

@media(min-width:768px) {
    
    body {
        font-size: 16px;
    }
    
    .header-border {
        margin-top: 110px;
        width: 60%;
    }
}

/* navigation */

.navbar {
    background-color: #313f4f;
    color: #FFF;
}

.navbar-fixed-top .navbar-brand {
    width: 120px;
}

.navbar-fixed-top .navbar-brand img{
    width: 100%;
    height: auto;
}

ul.navbar-nav > li > a {
    color: #FFF;
    font-size: 1em;
    text-transform: uppercase;
    padding: 15px;
}

.navbar-toggle {
    font-size: 1.2em;
    margin: 0px;
}

ul.navbar-nav > li.active > a,
ul.navbar-nav > li > a:hover,
ul.navbar-nav > li > a:focus {
    background-color: #F00;
}

@media(min-width: 979px) {    
    .navbar-fixed-top .navbar-brand {
        display: none;
        width: 220px;
        margin: 16px;
        padding-left: 20px;
    }
}
    
@media(min-width: 1080px) {     
    ul.navbar-nav > li > a {
        padding: 50px 15px 40px 15px;
        font-size: 1em;
        margin: 0px;
    }
}
@media(min-width: 768px) and (max-width: 979px) {  
    .navbar-fixed-top .navbar-brand {
        display: none;
        width: 120px;
        margin: 30px 12px;
        padding-left: 20px;
    }
}
    
@media(min-width: 768px) and (max-width: 1080px) { 
    ul.navbar-nav > li > a {
        padding: 50px 8px 40px 8px;
        font-size: 0.9em;
        margin: 0px;
    }
}

/* cover */

#cover {
    background: url(../img/background.jpg) no-repeat bottom center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    display: table;
    padding: 100px 0;
    text-align: center;
    width: 100%;
}

#cover .cover-inner {
    display: table-cell;
    vertical-align: middle;
    /*padding: 0 12%;*/
}

#cover .logo {
    width: 100%;
    height: auto;
}

#cover .news-arrow {
    display: block;
    margin: 0 auto;
    bottom: 0px;
    width: 5%;
    max-width: 40px;
}
#cover .news-arrow > img {
    width: 100%;
}

@media (min-width: 768px) { 
    #cover {
        height: 100%;
    }
    
    #cover .cover-inner {
        padding: 0 12%;
    }
}

/* news */

.info-icon {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-image: url(../img/svg/KURS_web-11.svg);
    background-size: 100% 100%;
    margin: -12px 15px -12px 0;
}

#news {
    margin-bottom: 20px;    
}

.news_big, .news_small {
    margin-bottom: 10px;
}

.news_small .news_article,
.news_small .news_img_holder {
    display: inline-block;
    vertical-align: top;
}

.news_small .news_img_holder {
/*    position: relative;
    float: left;*/
    width: 28%;
}

.news_small .news_content,
.news_small .news_header,
.news_small .news_footer {}

.news_small .news_article {
    /*margin-left: 30%;*/
    width: 68%;
    margin-left: 2%;
}

.news_small .news_footer {
    border-top: 1px solid #67717d;
    padding: 4px
}

.news_big a h1,
.news_small a h1 {
    margin: 0;
    padding: 0 0 10px;
    font-size: 1.375em;
    font-weight: 700;
    color: #313f4f;
}

.news_big a h1 {
    margin-top: 10px;
}

.news_img_holder img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .news { clear: both; }
}

/* about */

#about {
    background-color: #313f4f;
    background-image: url(../img/svg/KURS_web-09.svg);
    color: #FFF;
    font-size: 1.375em;
    padding: 80px 0 75px 0;
}

#about .logo {
    margin: 0 0 55px 0;
}

@media (min-width: 768px) { 
    #about {
        padding-top: 125px;
    }
}

/* writers */

#writers {
    padding-bottom: 65px;
}

.writers-info {
    font-size: 1.375em;
    margin-bottom: 65px;
}

.owl-carousel-left {
    width: 20px;
    margin-right: -20px;
    float: left;
    height: 100%;
    z-index: 9000;
    color: #fff;
}

.owl-carousel-left a {
    /*color: #fff;*/
}

.owl-carousel-right {
    width: 20px;
    margin-left: -20px;
}

.slide {
    height: auto;
}

.slide-info {
    position: absolute;
    bottom: 0px;
    color: #FFF;
    font-weight: 700;
    padding: 10px;
    text-shadow: 1px 1px 2px black;
}

.slide-info * {
    padding: 2px;
    margin: 0px;
}

.slide-info h4{
    font-weight: 700;
    text-transform: uppercase;
}

/* gallery */

#gallery {
    background-color: #e9e9ea;
    padding-bottom: 60px;
}

/* grid */
.widget-gallery-col-12, .widget-gallery-col-11, .widget-gallery-col-10, .widget-gallery-col-9, .widget-gallery-col-8, 
.widget-gallery-col-7, .widget-gallery-col-6, .widget-gallery-col-5, .widget-gallery-col-4, .widget-gallery-col-3, 
.widget-gallery-col-2, .widget-gallery-col-1 { 
    float: left;
    width: 100%; 
    overflow: hidden;
}

@media (min-width: 768px) {
 /*@media (min-width: 992px) { */
    .widget-gallery-col-12 { width: 100%; }
    .widget-gallery-col-11 { width: 91.66666667%; }
    .widget-gallery-col-10 { width: 83.33333333%; }
    .widget-gallery-col-9 { width: 75%; }
    .widget-gallery-col-8 { width: 66.66666667%; }
    .widget-gallery-col-7 { width: 58.33333333%; }
    .widget-gallery-col-6 { width: 50%; }
    .widget-gallery-col-5 { width: 41.66666667%; }
    .widget-gallery-col-4 { width: 33.33333333%; }
    .widget-gallery-col-3 { width: 25%; }
    .widget-gallery-col-2 { width: 16.66666667%; }
    .widget-gallery-col-1 { width: 8.33333333%; }
}

/* gallery style */

.widget-gallery-style-full,
.widget-gallery-style-half {
    height: 250px;
}

@media (min-width: 768px) {  
    .widget-gallery-style-full { height: 410px; }
    .widget-gallery-style-half { height: 200px; }
}

@media (min-width: 992px) {  
    .widget-gallery-style-full { height: 610px; }
    .widget-gallery-style-half { height: 300px; }
}

/* */

.widget-gallery-container {
    float: left;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    padding: 10px 5px 0 5px;
    padding-bottom: 0px;
}

.widget-gallery-container-first {
    padding-bottom: 0px;
}

.widget-gallery-container-left {
    padding-left: 0px;
}

@media (min-width: 768px) { 
    .widget-gallery-container { 
        padding: 10px 5px 0 5px;
    }
    
    .widget-gallery-container-first {
        padding-bottom: 0px;
    }
}

.widget-gallery-img {
    position: relative;
    float: left;
    width: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.widget-gallery-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(100% - 30px);
    color: #fff;
    z-index: 1;
    padding: 10px 15px;
    font-weight: 700;
    /*background-color: rgba(0, 0, 0, 0.5)*/
}

.widget-gallery-title a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.loadmore-parent { padding-top: 30px; clear: both;}

.loadmore:hover { cursor: pointer; }

#loadmore-gallery { color: #FFF; }
#loadmore-news { color: #c8cacb; }

/* firends */

#friends h2 {
    padding: 15px;
    display: inline-block;
    font-weight: 700;
    font-size: 2.125em;
    margin: 40px 0px 40px 0px;
    width: 100%;
    text-transform: uppercase;
    text-align: center;
}

#friends img {
    margin: 15px;
    display: inline-block; 
    vertical-align: middle;
    height: auto
}

#friends .friends-holder {
    max-width: 950px; 
    margin:0px auto
}


@media(min-width:768px) {
    
    body {
        font-size: 16px;
    }
    
    #friends h2 {
        margin-top: 110px;
    }
}

/* map */

#map {
  width: 100%;
  height: 200px;
  margin-top: 0px;
}

@media (min-width: 767px) {
    #map {
        height: 400px;
    }
}

/* footer */

#contact {
    background-color: #141920;
    color: #FFF;
    font-size: 1em;
    font-weight: 400;
    padding-top: 85px;
    padding-bottom: 40px;
}

#contact h4 {
    text-transform: uppercase;
    font-weight: 700;
    padding-bottom: 15px;
}

#contact input,
#contact submit,
#contact textarea {
    font-weight: 400;
}

.has-error .help-block {
    color: #FFF;
}

.credits {
    color: #313f4f;
    font-size: 0.875em;
    font-weight: 400;
    margin-top: 80px;
    text-align: center;
}

.credits a {
    text-decoration: underline;
    color: #313f4f;
}

.btn-send {
    color: #FFF;
    background-color: #2e3a44;
}

.btn-send:hover {
    color: #FFF;
    background-color: #F00;
    cursor: pointer;
}

/* writer & article */

#writer, #article {
    padding-top: 50px;
    height: auto;
}


#writer .header, 
#article .header {
    background-image: url(../img/svg/KURS_web-12.svg);
    background-color: #dedfe0;
    margin-bottom: 85px;
}

#writer .header img,
#article .header img {
    margin: 20px 0 -20px 0;
    width: 100%
}

#writer .header .name {
    font-size: 2.125em;
    font-weight: 700;
}

#writer h1, #writer h4,
#article h1, #article h4 {
    font-weight: 700;
    text-transform: uppercase;
}

#writer h4, 
#article h4 {
    font-size: 2.125em;
}

.sidebar-inner {
    padding: 0;
    text-align: center;
}

.sidebar-inner ul {
    margin: 0;
    padding: 0;
}

.sidebar-inner ul li {
    list-style: none;  
    text-transform: uppercase;
    margin: 2px;
    padding: 2px;
}

#writer .sidebar-inner h4,
#article .sidebar-inner h4 {
    margin-top: 0px;
    font-size: 1em;
}

#writer .content {
    padding-bottom: 20px;
}

@media (min-width: 768px) { 
    #writer, #article {
        padding-top: 110px;
    }
    
    #writer .name {
        margin-top: 120px;
    }
    
    #writer .content,
    #article .content {
        padding-bottom: 108px;
    }
    
    .sidebar-inner {
        text-align: left;
        border-left: 1px solid #000;
        padding: 0 0 0 20px;
    }
}

.article-sidebar {
    text-align: left;
    margin-bottom: 20px;
}

.article-header {
}

.article-header h2 {
    font-weight: 700;
    font-size: 1.375em;
    color: #313f4f;
}

.article-content {
    
}

.article-footer {
    border-top: 1px solid #000;
    padding: 6px 0;
    font-size: 0.75em
}