/**
 * Custom CSS designed to meet the design requirements of 'reparatiiparbrizeiasi.ro'
 * This css will override the default css from styles.css
 *
 */

.logo-fixed {
    /*border: 3px solid #8F8F8F;*/
    border: 3px solid #333;
    border-left: none;
    border-radius: 3px;
    background: #fff;
    position: fixed;
    top: 1%;
    left: 0;
    z-index: 9999;
    padding: 4px;
}

.logo {
    height: 71px;
    overflow: hidden;
}

    .logo img {
        height: 94px;
        top: -42px;
        position: relative;
        left: -12px;
    }

/* Reduces the header height */

body {
    margin-top: 70px;
}

.navbar-brand {
    padding-top: 5.5px;
    padding-bottom: 5.5px;
}

.site-header .navbar-toggle {
    padding-top: 5px;
    padding-bottom: 5px;
}

@media (min-width: 768px) {
    .nav-menu ul li a {
        padding: 22px 15px;
    }
}

/* End - Reduces the header height */

/* Moves the blue info-box to the left */
.blue-box {
    left: inherit;
}

@media (min-width: 768px) {
    .blue-box {
        right: 0;
    }
}
/* End - Moves the blue info-box to the left */

/* Moves the text on the slider to the right */
.flex-caption {
    right: inherit;
    top: 70%;
}

    .flex-caption h2 {
        font-size: 64px;
    }

    .flex-caption p {
        font-size: 32px;
    }

@media (min-width: 1350px) {
    #slide01 .flex-caption h2 {
        font-size: 80px;
        position: relative;
        top: -100px;
    }

    #slide01 .flex-caption p {
        font-size: 30px;
        position: relative;
        top: -100px;
    }
}

.flex-caption-left {
    text-align: left;
    right: inherit;
    left: 5%;
}

@media (max-width: 767px) {
    .flex-caption h2 {
        font-size: 54px;
    }

    .flex-caption p {
        font-size: 27px;
    }

    .flex-caption-left h2 {
        font-size: 44px;
    }

    .flex-caption-left p {
        font-size: 22px;
    }

    .flex-caption-left {
        left: 0;
    }
}

@media (min-width: 768px) {
    .flex-caption {
        right: 28%;
    }
}

@media (min-width: 1024px) {
    .flex-caption {
        right: 30%;
    }
}

@media (min-width: 1280px) {
    .flex-caption {
        right: 28%;
    }
}

/* End - Moves the text on the slider to the right */

.white-box-small {
    min-height: 250px;
}

/* Set the figures size to 82x82 */
.service-col figure {
    height: 82px;
    width: 82px;
}

.service-col {
    height: auto !important;
}

.service-section .panel-title {
    font-size: 20px;
}

/* End - Set the figures size to 82x82 */

.beforeandafter-section.blog-section .blog-thumb img {
    max-height: 223px;
    margin-top: 2%;
}

.news-section.blog-section .blog-thumb img {
    height: 100%;
    max-height: 236px;
    overflow-y: hidden;
}

.blog-section .inner {
    min-height: 360px;
}

.nav-menu ul {
    margin-left: 0;
}

    .nav-menu ul li > a {
        text-decoration: none !important;
    }

.col-partner {
    margin-top: 1%;
    margin-right: 3%;
    background-color: white;
}

@media (min-width: 768px) and (min-width: 992px) {
    .site-navigation {
        width: 78%;
    }
}

#promo {
    height: 170px;
    width: 170px;
    background-color: #F9C937;
    position: absolute;
    z-index: 1029;
    bottom: 5px;
    right: 165px;
    text-align: center;
    padding-top: 54px;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
    white-space: pre;
    display: none;
}

@media (max-width: 767px) {
    #promo {
        bottom: -90px;
        left: 5px;
        right: inherit;
    }
}


@media (max-width: 500px) {
    #promo {
        height: 120px;
        width: 120px;
        font-size: 16px;
        padding-top: 35px;
        bottom: -50px;
    }
}

.circle {
    position: relative;
    display: inline-block;
    width: 400px;
    height: 0;
    padding: 200px 0;
    -ms-border-radius: 200px;
    border-radius: 200px;
    /* Just making it pretty */
    background: #F9C937;
    color: white;
    font-size: 32px;
    text-align: center;
}

.circle-message {
    position: relative;
    top: -105px;
    white-space: pre-line;
}

    .circle-message small {
        font-size: 20px;
        line-height: 0.5;
    }

#dialog-circle .modal-dialog {
    width: 400px;
}

#dialog-circle .modal-content {
    background: none;
    border: none;
    -ms-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -ms-box-shadow: none;
    box-shadow: none;
}

@media (min-width: 768px) {
    .modal-dialog {
        margin: 10% auto;
    }
}