﻿body {
    font-family: 'Open-Sans' sans-serif;
    /*padding-top: 80px;*/
}

.navbar {
    margin-bottom: 0px;
    padding: 30px 15px;
    background-color: #333;
    border-color: #ddd;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

@media (max-width: 400px) {
    .navbar-header {
        position: relative;
    }

    .navbar img {
        position: absolute;
        top: 0;
        bottom: 0;
        margin: auto;
        width: 70%;
        }
}

.navbar-inverse .navbar-nav > li > a {
    color: #bbb;
}

.cbp-af-header-shrink {
    padding-top: 1px;
    padding-bottom: 12px;
    opacity: 0.9;
}

.fill-screen {
    /*width: 1024px !important;*/
    background-size: cover;
    background-position: center;
}

.title-row {
    position: relative;
    min-height: 300px;
}

.title-image {
    position: absolute;
    padding: 20px;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

.title-image-mcp {
    position: absolute;
    padding: 20px;
    top: 70%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
}

.down-button {
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
}

/*.down-button i {
    color: white;
}*/

.right{
    margin-right: 0px;
}
.text-banner {
    text-align: center;
    margin: 20px 20px 40px 20px;
}

.text-banner h1 {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 44px;
    color: #292929;
    margin-top: 10px;
    margin-bottom: 15px;
}

.text-banner h2 {
    color: #292929;
    margin-top: 40px;
}

.text-banner p {
    font-size: 16px;
    /*margin-bottom: 40px;*/
}

.info-text-banner {
    text-align: left;
    margin: 20px 20px 40px 20px;
}

.info-text-banner h1 {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    text-align: center;
    font-size: 44px;
    color: #292929;
    margin-top: 10px;
    margin-bottom: 15px;
}

.info-text-banner h2 {
    color: #292929;
    margin-top: 40px;
}

.info-text-banner h4 {
    /*font-family: 'Libre Baskerville', serif;
    font-style: italic;*/
    color: #292929;
    font-size: 18px;
    }
.info-text-banner p {
    font-size: 16px;
    margin-bottom: 20px;
}

.work-element {
    text-align: center;
}

.work-element img {
    /*width: 100%;
    height: 100%;*/
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 6px 6px 8px #777;
    margin: 0 auto;
}
.thumbnail {
    margin-right: 0px;
}

.contact-us {
    margin: 50px;
    text-align: center;
}

.fixed-attachment {
    background-attachment: fixed;

}

@media (max-width: 1024px) {
    .fixed-attachment {
    background-attachment: scroll;
  }
}

footer {
    background-color: #333;
    color: #bbb;
    padding: 20px;
    text-align: center; 
}

footer ul li {
    display: inline-block;
}

footer a:link, footer a:visited, footer a:hover, footer a:active {
    color: #bbb;
}

li {
    list-style: outside none none;
}

.back {
    height: 100px !important;
    /*background-color: #f7484e;*/
    background-color: #292929;
}

.red {
    /*height: 110px !important;*/
    height: 150px !important;
    background-color: #f7484e;
   
}

.red h1 {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    text-align: center;
    font-size: 44px;
    color: white;
    padding-top: 30px;
    margin-bottom: 15px;
}
.red h4, .red a {
    font-size: 18px;
    color: white;
    text-align: center;
}

.btn-default {
    margin-top: 20px;
   
}

.btn-primary {
    background-color: #808080;
    border-color: #808080;
    color: #fff;
    margin-top: 20px;
   
}

.btn-primary.focus, .btn-primary:hover {
    background-color: #bbb;
    border-color: #bbb;
    color: #fff;
}

.infogr {
    height: 500px;
}

.container-xs-height {
    display: table;
    padding-left: 0px;
    padding-right: 0px;
}

.row-xs-height {
    display: table-row;
}

.col-xs-height {
    display: table-cell;
    float:none;
}

@media (min-width: 768px) {
    .container-sm-height {
        display: table;
        padding-left: 0px;
        padding-right: 0px;
    }
    .row-sm-height {
        display: table-row;
    }

    .col-sm-height {
        display: table-cell;
        float:none;
    }
}

@media (min-width: 992px) {
    .container-md-height {
        display: table;
        padding-left: 0px;
        padding-right: 0px;
    }
    .row-md-height {
        display: table-row;
    }

    .col-md-height {
        display: table-cell;
        float:none;
    }
}

@media (min-width: 1200px) {
    .container-lg-height {
        display: table;
        padding-left: 0px;
        padding-right: 0px;
    }
    .row-lg-height {
        display: table-row;
    }

    .col-lg-height {
        display: table-cell;
        float:none;
    }
}


@media screen and (max-width: 720px) {
    .text-banner h1, .info-text-banner h1, .red h1 {
                font-size: 2em;
            }

            h1 {
                font-size: 1.5em;
            }
             
            h2 {
                font-size: 1.5em;
            }

            h3 {
                font-size: 1.3em;
            }
            
       }

@media (max-width: 823px) {
    .flash {
        display: none;
    }
}