/* Global Styles ----------------- */
body {
    margin: 0px;
    position: relative;
    background-color: #f8f8f8;
    font-family: 'Noto Serif', serif;
}
@media (max-width: 767px) {
    body {
        padding: 0px;
    }
    .container {
        padding-left: 25px;
        padding-right: 25px;
    }
}
.fa {
    padding: 10px;
    color: #d0d0d0;
}
a:hover,
a:active,
a:focus {
    outline: none;
    border: none;
    text-decoration: none;
}
.alert {
    display: none;
}
#quote-success,
#quote-fail {
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 15px;
}
#send-area {
    margin-right: 15px;
}
/* Nav ------------------------- */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    margin: auto;
    float: none;
    position: absolute;
    margin-top: 30px;
    border-radius: 0px;
    margin-bottom: 0px;
    left: 0;
    right: 0;
    display: block;
    width: 700px;
    z-index: 10;
    border-radius: 20px;
}
.navbar-collapse > ul.navbar-nav {
    text-align: center;
    float: none;
    margin: auto;
    margin-bottom: -10px;
}
.navbar-collapse {
    text-align: center;
    margin: auto;
}
.navbar-collapse ul.navbar-nav li a {
    color: #fb0007;
    text-align: center;
    float: none;
    font-size: 1.18em;
    margin: auto;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: -1px;
}
.navbar-collapse ul.navbar-nav li a:hover {
        border-top: 5px solid #fb0007;
        background-color: inherit;
        padding-top: 10px;
        opacity: .7;
        margin-top: -1px;
}
.navbar-toggle {
    margin-top: 12px;
}
.navbar-toggle .icon-bar {
    background-color: #fb0007;
}
@media (max-width: 767px) {
    .navbar {
        width: 100%;
        border-radius: 0px;
    }
    .navbar-collapse ul.navbar-nav li a:hover {
        border-top: none;
        background-color: inherit;
        padding-top: 10px;
        opacity: 1;
    }
    .navbar-collapse {
        width: 100%;
        margin: auto;
    }
}
@media (min-width: 768px) {
    #tab2 {
        margin-right: 110px;
    }
    #tab3 {
        margin-left: 110px;
    }
}
#logo {
    width: 130px;
    padding: 5px;
    margin: auto;
    float: none;
    position: relative;
    display: block;
    z-index: 100;
    margin-top: 0px;
    margin-bottom: -120px;
}
#logo2 {
    display: none;
}
#menu {
    display: none;
}
@media (max-width: 767px) {
    .navbar-collapse > ul.navbar-nav {
        margin-top: 25px;
        margin-bottom: 20px;
    }
    #logo {
        display: none;
    }
    #logo2 {
    width: 80px;
    padding: 5px;
    float: none;
    position: relative;
    display: block;
    z-index: 100;
    margin-top: 0px;
    margin-left: 5px;
    margin-bottom: -95px;
    }
    #menu {
        display: inline;
        margin-right: 18px;
        margin-top: -16px;
        margin-bottom: 4px;
        float: right;
        padding: 2px;
        font-size: .9em;
        color: #fb0007;
    }
}
/* Header ----------------------- */
header {
    height: 500px;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-position: center;
}
#header-home {
    background-image: url(../img/bg.jpg);
}
#header-about {
    background-image: url(../img/bg1.jpg);
}
#header-jobs {
    background-image: url(../img/bg3.jpg);
}
#header-contact {
    background-image: url(../img/bg4.jpg);
}
h1 {
    padding: 50px;
    margin-top: 180px;
    text-align: center;
    color: #f2f2f2;
    text-shadow: 1px 1px 20px #000;
}
#quote {
    margin-top: -60px;
    margin-bottom: 50px;
    width: 100%;
    text-align: center;
    color: #fff;
    height: 60px;
    padding: 12px;
    font-size: 2em;
    background-color: rgba(251, 0, 7, .6);
}
#quote:hover {
    background-color: rgba(251, 0, 7, .9);
}
.btn-link:hover,
.btn-link:active,
.btn-link:focus {
    text-decoration: none;
}
@media (max-width: 767px) {
    h1 {
        font-size: 1.9em;
    }
    #quote {
        font-size: 1.4em;
        padding-top: 19px;
    }
}
/* Modal Window ----------------------- */
.modal-dialog {
    z-index: 100000;
}
.modal-content .modal-send {
    text-align: right;
    display: block;
    float: none;
    margin-top: 15px;
}
.modal-content .btn-primary {
    background-color: #fb0007;
    border-color: #fb0007;
}
#textarea {
    margin-left: 15px;
    margin-right: 15px;
}
textarea.form-control {
    display: inline;
}
/* Main ----------------------- */
section#home {
    margin-bottom: 50px;
    margin-top: 80px;
}
section .articles {
    background-color: #fff;
    text-align: center;
    border: 2px solid #fb0007;
    padding: 0px;
    margin-bottom: 40px;
}
section .row{
    padding: 20px 0px 20px 0px;
}
section .fa {
    padding: 20px;
    padding-bottom: 0px;
}
section h3 {
    padding: 20px;
    padding-bottom: 10px;
}
.articles p {
    padding: 20px;
    margin-bottom: 20px;
}
section .article-btn {
    background-color: inherit;
    border: none;
    border-top: 1px solid #fb0007;
    color: #fb0007;
    font-size: 1.2em;
    width: 100%;
    padding: 10px;
}
section .article-btn:hover {
    background-color: #fb0007;
    color: #fff;
}
@media (max-width: 767px) {
    section h3 {
        font-size: 1.4em;
    }
    section .article-btn {
        font-size: 1em;
    }
}

/* About ----------------------- */
.fa-about {
    margin: auto;
    text-align: center;
    display: block;
}
#about {
    margin-bottom: 50px;
}
/* Contact ----------------------- */
.map-wrap {
    border: 1px solid #a5a5a5;
    margin-bottom: 20px;
}
.send {
    background-color: #fb0007;
    color: #fff;
    border-color: #fb0007;
    float: right;
}
.send:hover,
.send:active,
.send:focus {
    opacity: .7;
    background-color: #fb0007;
    color: #fff;
    border-color: #fb0007;
}
.address {
    text-align: center;
}
.contact-info {
    text-align: center;
    margin-top: -50px;
    background-color: #ededed;
    border-bottom: 1px solid #a2a2a2;
}
.info-wrap {
    display: inline-block;
    width: 49%;
    padding: 15px;
}
.contact-info .fa {
    color: #4e4e4e;
    padding: 5px;
}
a span.info {
    padding: 5px;
    color: #4e4e4e;
}
.contact-info a:hover {
    text-decoration: none;
}
.contact-info a:hover > .info-wrap .fa,
.contact-info a:active > .info-wrap .fa,
.contact-info a:focus > .info-wrap .fa,
.contact-info a:hover > .info-wrap .info,
.contact-info a:active > .info-wrap .info, 
.contact-info a:focus > .info-wrap .info {
    color: #fb0007;
    text-decoration: none;
}
#vr {
    width: 1px;
    height: 45px;
    display: inline-block;
    position: absolute;
    background-color: #a2a2a2;
    margin-top: 12px;
}

@media (max-width: 580px) {
    .info-wrap {
        display: block;
        width: 100%;
    }
    #vr {
        width: 50%;
        height: 1px;
        display: block;
        margin: auto;
        position: relative;
    }
}
/* Jobs ----------------------- */
.file {
    text-align: center;
    margin-bottom: 50px;
}
.file .fa {
    display: block;
    padding: 20px;
    color: #fb0007;
}
.file a {
    text-decoration: none;
    color: #4e4e4e;
    font-size: 1.2em;
}
.file a:hover,
.file a:active,
.file a:focus {
    color: #fb0007;
}
.file a:hover > .fa {
    opacity: .7;
}
/* Footer ----------------------- */
footer {
    background-color: #4e4e4e;
    padding: 0px;
    text-align: center;
    color: #f8f8f8;
}
.footer-content {
    margin-bottom: 20px;
}
footer h4 {
    padding: 10px;
    margin-top: 20px;
}
.footer-nav {
    list-style: none;
    padding: 0px;
}
.footer-nav li a {
    text-align: center;
    float: none;
    display: block;
    padding: 5px;
    color: inherit;
}
.footer-nav li a:hover {
    text-decoration: underline;
}
footer .social a .fa:hover,
footer .social a .fa:active,
footer .social a .fa:focus {
    color: #fff;
}
.copyright {
    background-color: #313131;
    padding: 20px;
    color: #f8f8f8;
    text-align: left;
}
#footer-email a,
#footer-phone a {
    color: inherit;
}
#footer-email a:hover,
#footer-phone a:hover {
    text-decoration: underline;
}
#copyright {
    padding: 10px;
    margin-top: 60px;
}
#my-link {
    color: inherit;
    display: inline-block;
}
#my-link:hover {
    color: #fff;
    text-decoration: underline;
}
@media (max-width: 530px) {
    .copyright {
        text-align: center;
    }
    .footer-content {
        text-align: center;
    }
    .footer-nav li a {
        text-align: center;
    }
    .social {
    text-align: center;
    }
    footer .col-xs-6 {
        padding: 0px;
    }
    footer .container {
        padding: 10px;
        margin: 0px;
    }
}