@import url(http://fonts.googleapis.com/css?family=Ubuntu+Condensed&subset=latin,cyrillic);
@font-face {
    font-family: 'm_brodyregular';
    src: url('/static/fonts/m-brody-webfont.eot');
    src: url('/static/fonts/m-brody-webfont.eot?#iefix') format('embedded-opentype'),
        url('/static/fonts/m-brody-webfont.woff2') format('woff2'),
        url('/static/fonts/m-brody-webfont.woff') format('woff'),
        url('/static/fonts/m-brody-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}
html {
    position: relative;
    min-height: 100%;
    }

body {
    margin-bottom: 100px;

}
.bg{
    position: absolute;
    top: 0px;
    width: 100%;
    height: 650px;
    background-image: url(/static/images/bg4.jpg);
    background-repeat: no-repeat;
    background-position: center 50px;
    background-size: cover;
    z-index: -1;
}
.indextext{
    margin-top: 217px
}
.longbutton { 
    display: block;
}
.fa {
    margin-right: 10px;
}

.features{

    margin-top: 10px;
    background-color: rgb(255, 255, 255);
}
.features .thumbnail { 

    border: none;
    background-color: transparent;
}
.features h3 { 
    font-family: 'Ubuntu Condensed', sans-serif;
}

.footer {
    padding-top: 20px;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;

}
.footer p{
    margin: 0px
}

.pagecenter {
    position: absolute;
    top: 379px;
}
.pagecontent {
    background-color: rgb(255, 255, 255);
    margin-top: 50px
}
.buttons{
    background-color: rgb(255, 255, 255);
    height: 97px;
    display: table;
}
.buttons .btn {
    border: 0px;
    border-radius: 0px;
    width: 125px;
    text-align: center;
    

}
.buttons span{
    display: table-cell;
    vertical-align: middle;
}
.newsbar .caption h3{
    font-family: 'Ubuntu Condensed', sans-serif;
    margin-bottom: -4px;
}
.newsbar .caption span {
    font-size: 12px;
    color: #777;
}
.newsbar .caption p {
    margin-top: 10px;

}

.contentheader {
    font-size: 50px;
    font-family: 'Ubuntu Condensed', sans-serif;
    color: #c40000;
    text-align: center;
    margin-bottom: 20px;

}

#header {
    font-size: 86px;
    color: #fff;
    font-family: m_brodyregular;
    text-shadow: 1px 1px 1px rgb(0, 0, 0);
    /* height: px;*/
    display: table-cell;
    vertical-align: middle;
}

.gall-thumb {
    padding: 10px;
}

.gall-thumb img {
    width: 100%;
}

.gall-thumb .fa {
    position: absolute;
    color: transparent;
    left: 40%;
    top: 0;
}

.gall-thumb a:hover .fa {
    text-shadow: 1px 0 2px rgba(0,0,0,0.2);
    color: #fff;
    top: 35%;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out; i
}

.title {
    font-family: 'Ubuntu Condensed', sans-serif;
    color: #c40000;
    font-size:40px
}

.nav .tel {
    font-size: 20px;
}

.newsbar {
    background-color: #f5f0ea;
    border: 0px;
    border-radius: 0px;
}
.newsbar .btn-primary {

    border: 0px;
    border-radius: 0px;
}

label {
margin-bottom: -5px;
}

.contacts span {
    margin: 15px;
}
.margin5{
    margin-bottom: 5px
}
article{
    padding: 0px 30px 30px 30px;
}
article p{
line-height: 22px;
    margin-bottom: 25px;
}
.navbar-brand {
font-family: m_brodyregular;
}
@media screen and (max-width:1199px) { /* for md */
     h2 {
        font-size: 18px !important;
      height: 70px;!important;
      }    
    .title {
        font-size: 39px !important;
    }
.buttons{
  
    height: 70px;!important;
    
    }
}
@media screen and (max-width:991px) { /* for sm */
    
      h2 {
    font-size: 18px !important;
   
      }    
    .buttons{
        height: 60px;!important;
        background-color: transparent

    }
     .title {
        font-size: 39px !important;
    }
     .tel {
        font-size: 18px !important;
    }
 
}
@media screen and (max-width:767px) { /* for xs */
      h2 {
    font-size: 20px !important;
    text-align: center;!important;
   
      }   
     .title {
     width: 100%;
     text-align: center;!important;
     } 
    .buttons{
        height: 60px;!important;
        width: 100%;
        background-color: transparent

    }
     .title {
        font-size: 30px !important;
    }
    .contentheader{
        font-size: 30px !important;
       
    }
    .navbar-fixed-top{
    position: relative;!important;
    margin: 0px;!important;
    }
    .contacts{
    margin: -30px;!important;
    }
    .pagecontent {
    margin-top: 0px;
    }
    
     }
        ul.navbar-nav > li:last-child>label {
        margin-right: 20px !important;
    }
}
