/* root styles 
------------------------------------*/

body {
    padding-top: 52px;
    background: url(../img/debut_light.png);
    line-height: 1.6em;
    font-family: 'Open Sans', sans-serif;
}

li {
    line-height: 1.6em;
}


/* Typography
-------------------------------------*/

p {
    margin-bottom: 20px;
}

a {
    color: #8C0000;
    transition: all 0.2s ease-out 0s;
}

a:active,
a:visited {
    color: #8C0000;
    transition: all 0.2s ease-out 0s;
}

a:hover {
    color: #8C0000;
}

a.btn {
    color: #fff;
}

.banner h1 {
    font-size: 54px;
    line-height: 64px;
    text-transform: uppercase;
    margin-top: 0;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)
}

h2.section-heading {
    text-align: center;
    border-bottom: 2px solid #8C0000;
    margin-bottom: 40px;
    margin-top: -26px;
    padding: 0;
}

h2.section-heading span {
    position: relative;
    top: 20px;
    background: url(../img/debut_light.png);
    padding: 0 10px;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Droid Serif', serif;
    font-weight: normal;
    margin-top: 0;
}

h5 {
    font-size: 16px;
}


/* General layout
-------------------------------------*/

header {
    background: #860101;
    padding: 0;
    position: fixed;
    top: 0;
    z-index: 500;
    width: 100%;
}

.full-width-container {
    padding: 4em 0;
}

img.office-img {
    border-radius: 500px;
    -webkit-box-shadow: inset 0px 0px 30px 30px rgba(0, 0, 0, 1);
    box-shadow: inset 0px 0px 30px 30px rgba(0, 0, 0, 1);
}

a.logo {
    display: block;
    width: 125px;
    height: 25px;
    background: url(../img/logo.png) no-repeat;
    text-indent: -9999px;
    overflow: hidden;
    margin-top: 13px;
}

.header-phone-number {
    color: #fff;
    font-size: 1.1em;
    /*  float: right; */
    margin: 15px 40px 0 0
}

.header-phone-number a {
    color: #fff;
}

.header-phone-number span {
    font-size: 0.7em;
    margin-right: 5px;
}

a.mobile-nav-toggle {
    display: none;
}


/* Banner
-------------------------------------*/

.banner {
    background: #8c0000 url(../img/banner-bg.jpg);
    color: #fff;
    position: relative;
    font-size: 1.2em;
    line-height: 1.4em;
    padding-bottom: 3em;
}

.banner.full-width-container {
    padding-top: 4.5em;
    padding-bottom: 3.5em;
}

.banner .btn {
    margin: 20px 0 0 0;
}

.banner-overlay {
    background: url(../img/fill.png);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.banner .carousel {
    line-height: inherit;
    position: static;
    /* makes the nav arrows get positioned relative to window rather than carousel wrapper */
}

.banner .carousel-control {
    border: none;
    background: #000;
    margin-top: 0;
}

.banner .flexslider {
    background: none;
    border: none;
    margin: 0;
    border: none;
    box-shadow: none;
}

.banner a,
.banner a:visited .banner a:active {
    color: #f39e9e;
}

.banner a:hover {
    text-decoration: underline;
}

.banner .btn,
.banner .btn:visited,
.banner .btn:active {
    color: #fff;
}

.banner .btn:hover {
    text-decoration: none;
}

.flex-control-nav {
    bottom: -65px;
    display: none;
}

.flex-direction-nav .flex-next {
    background-position: 0 bottom;
    right: -70px;
}

.flex-direction-nav .flex-prev {
    left: -70px;
}

.flex-direction-nav a {
    background: url("../img/controls.png") no-repeat scroll 0 0 transparent;
    cursor: pointer;
    display: block;
    height: 50px;
    width: 42px;
    margin: -20px 0 0;
    opacity: 0;
    position: absolute;
    text-indent: -9999px;
    top: 50%;
    opacity: 0.6;
}

.flexslider:hover .flex-next {
    opacity: 1;
    right: -70px;
}

.flexslider:hover .flex-prev {
    opacity: 1;
    left: -70px;
}

.flexslider:hover .flex-next:hover,
.flexslider:hover .flex-prev:hover {
    opacity: 1;
}

.flex-control-nav li {
    margin: 0 2px;
}

.flex-control-paging li a {
    border-radius: 50%;
    background: #8c0000;
    width: 10px;
    height: 10px;
    opacity: 1;
}

.flex-control-paging li a:hover {
    background: #fff;
}

.flex-control-paging li a.flex-active {
    background: #fff;
}


/* Navigation
-------------------------------------*/

nav ul {
    float: right;
    margin: 0;
}

nav ul li {
    display: inline;
    margin: 0px;
    float: left;
}

nav a {
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
    padding: 15px 20px;
    font-size: 12px;
    font-family: 'Droid Serif', serif;
}

nav a:hover {
    background: #9c0b0b;
}

nav a:hover,
nav a:visited {
    color: #fff;
    text-decoration: none;
    outline: none;
}

nav a.active {
    background: #8c0000 url(../img/banner-bg.jpg);
    color: #fff;
    outline: none;
}

nav ul li.dropdown:hover>ul.dropdown-menu {
    display: block;
}


/* Testimonial section
-------------------------------------*/

.client-testimonials {
    background: #1d1d1d;
    color: #fff;
    position: relative;
    background-image: url(../img/city2.jpg);
    background-attachment: fixed;
    background-position: center bottom;
    background-size: cover !important;
}

.client-testimonials .flexslider {
    background: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    border: none;
}

.client-testimonials blockquote p {
    font-size: 1em;
    line-height: 1.4em;
    margin-bottom: 8px;
}

.client-testimonials blockquote {
    background: transparent;
    font-size: 1.4em;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 45px;
    margin: 0;
}

.client-testimonials blockquote i {
    color: #fff;
    font-size: 1.2em;
    top: 5px;
}

.client-testimonials blockquote small {
    color: #fff;
    font-size: 0.75em;
}


/* The team
-------------------------------------*/

.our-team {}

.our-team h3 {
    margin: 0px;
}

.contact-icons {
    text-align: center;
}

.contact-icons a {
    display: inline-block;
    color: #8C0000;
    text-decoration: none;
    margin: 0px 0px 0 3px;
    font-size: 14px;
}

.contact-icons a:hover {
    color: #000;
}

.our-team .row {
    margin-top: 0.8em;
    margin-bottom: 0.8em;
}


/* History
-------------------------------------*/

.our-history {
    background: #fff;
    position: relative;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.our-history .icon-flag {
    margin-right: 10px;
    color: #8C0000;
}

.our-history .container {
    z-index: 100;
    position: relative;
}


/* CTA (call to action) Row
-------------------------------------*/

.cta-row {
    background: #1d1d1d;
    color: #fff;
    position: relative;
    background-image: url(../img/city2.jpg);
    background-attachment: fixed;
    background-position: center bottom;
    background-size: cover !important;
}

.cta-row blockquote {
    background: none;
    color: #fff;
    margin-top: 17px;
}

.cta-row blockquote p {
    font-size: 1.8em;
    line-height: 1.2em;
}

.cta-row blockquote small {
    color: #fff;
    font-size: 1.2em;
    margin-top: 10px;
}

.cta-row img {
    position: relative;
    z-index: 100;
}


/* Contact
-------------------------------------*/

.contact-col-wrapper {
    padding: 2em;
    background: #fff;
    margin: 1em 0;
    border-radius: 3px;
    overflow: hidden;
    min-height: 380px;
    border: 1px solid #ededed;
}

.quick-contact-details {
    min-height: 0;
    font-size: 1.4em;
}

.quick-contact-details a:hover {
    text-decoration: none;
}

.quick-contact-details i {
    color: #ddd;
    margin-right: 10px;
}

.form-left {
    float: left;
    width: 48%;
    margin: 0 2% 0 0;
}

.form-right {
    float: left;
    width: 48%;
    margin: 0 0 0 2%;
}

.form-left input,
.form-right input {
    width: 92%;
}

form textarea.full-width {
    width: 96%;
    padding-left: 2%;
    padding-right: 2%;
}

#contact-form {
    margin: 0;
}

#contact-form #submit {
    margin: 0;
    padding: 10px 25px;
    margin-bottom: 0;
    font-size: 18px;
}

#contact-map {
    float: left;
    width: 280px;
    height: 300px;
    margin: 0 30px 30px 0;
}


/* Client logos
-------------------------------------*/

ul.client-logos {
    float: left;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
    position: relative;
    z-index: 100;
}

ul.client-logos li {
    margin: 0 20px;
    display: inline;
}

ul.client-logos li img {
    margin: 10px 0;
}

ul.client-logos h2 {
    font-size: 14px;
    display: inline;
}


/* Footer styles
-------------------------------------*/

footer {
    background: #860101;
    text-align: center;
    color: #fff;
}

footer.full-width-container {
    padding-bottom: 0em;
    padding-top: 1.5em;
}

footer a,
footer a:active,
footer a:visited {
    color: #f39e9e;
    transition: none;
}

.footer a:hover {
    color: #f39e9e;
}


/* Helper styles
-------------------------------------*/

.banner-background {
    background: #1d1d1d;
    color: #fff;
    position: relative;
    background-image: url(../img/city2.jpg);
    background-attachment: fixed;
    background-position: center bottom;
    background-size: cover !important;
}

.row img {
    max-width: 100%;
}

.btn-upper {
    text-transform: uppercase;
    padding: 10px 30px;
    font-weight: bold;
}

.btn-upper span {
    text-transform: none;
    font-size: 12px;
    display: block;
    margin: 5px 0 0 0;
    font-weight: normal;
}

.img-left {
    float: left;
    margin: 0 20px 20px 0;
}

.img-right {
    float: right;
    margin: 0 0 20px 20px;
}

.column-center {
    text-align: center;
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16/9 ratio */
    padding-top: 30px;
    /* IE6 workaround*/
    height: 0;
    overflow: hidden;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.center {
    text-align: center
}

.lead-center {
    text-align: center;
}

.lead {
    max-width: 700px;
    text-align: center;
    margin: 0 auto 2em auto;
}

.contact-highlight {
    font-size: 1.2em;
    color: #8C0000;
    margin-right: 20px;
    margin: 0 20px;
}

.dark .contact-highlight {
    color: #fff;
}

.dark .contact-highlight a {
    color: #fff;
}

ul.blog-sidebar {
    list-style: none;
    margin: 0 0 2em 0;
}

ul.blog-sidebar li {
    border-bottom: 1px solid #ddd;
    margin-bottom: 0.4em;
    padding-bottom: 0.4em;
}

.assistive {
    text-indent: -9999px;
    position: absolute;
    line-height: 0;
    font-size: 0;
}

ul.sub-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #ededed;
    border-radius: 3px;
}

ul.sub-menu li:first-child a {
    border-radius: 3px 3px 0 0;
}

ul.sub-menu li:last-child a {
    border-radius: 0 0 3px 3px;
}

ul.sub-menu li a {
    padding: 12px 20px;
    display: block;
    background: #fefefe;
    border-bottom: 1px solid #f8f8f8;
    transition: all 0.2s ease-out 0s;
}

ul.sub-menu li a.active {
    background: #860101;
    color: #fff;
}

ul.sub-menu li a:hover {
    text-decoration: none;
    background: #860101;
    color: #fff;
}

ul.unstyled {
    list-style: none;
    margin: 0;
}


/* content fade javascript */

.js .content-fade-panel {
    display: none;
}

.content-fade-panel#pi {
    /* show the first panel by using the id */
    display: block;
}


/* social icons */

ul.social-icons {
    display: block;
    margin-top: 30px;
}

ul.social-icons li {
    display: inline;
}

ul.social-icons li a {
    font-size: 1.4em;
    color: #000;
}

ul.social-icons li a:hover {
    text-decoration: none;
    color: #9c0b0b;
}


/* contact form */

#sending-message {
    display: none;
    margin: 15px 0 0 0;
}


/* Forms
-----------------------------------------*/


/* bootstrap does most of the work here. Just override when needed */

.form-horizontal .control-label {
    width: 100px;
    text-align: left;
    font-size: 1em;
}

.form-horizontal .controls {
    margin-left: 120px;
}

label.error {
    color: #8C0000;
    font-weight: normal;
    font-size: 0.8em;
}


/* Bootstrap overides
-----------------------------------------*/

.accordion-heading {
    background: url("../img/header-bg.jpg") repeat scroll 0 0 #8C0000;
    border-radius: 2px;
}

.accordion-heading a {
    color: #fff;
}

.accordion-heading a:hover {
    text-decoration: none;
    color: #fff;
}

.accordion-inner {
    background: #fff;
}

.btn {
    font-family: 'PT Sans Narrow', helvetica, arial, sans-serif;
    font-size: 16px;
    border-radius: 2px;
    border: none;
    transition: all 0.2s ease-out 0s;
}

.btn:hover {
    background-position: 0;
}

.btn-success:hover {
    background: #51b251;
}

.btn-large {
    font-size: 20px;
    padding: 1.2em 3em;
}

.btn-large span {
    font-size: 16px;
    margin-top: 0;
}

blockquote {
    background: #fff;
    padding: 1em;
    border-left: none;
    position: relative;
    padding-left: 30px;
}

blockquote i {
    position: absolute;
    top: 20px;
    left: 0;
}

blockquote .icon-quote-left {
    margin-right: 5px;
    color: #8C0000;
}

blockquote.light {
    background: #fefefe;
    padding: 1em;
    border-left: none;
    position: relative;
    padding-left: 50px;
    border-radius: 3px;
    margin: 30px 0 0 0;
}

blockquote.light i {
    position: absolute;
    top: 20px;
    left: 20px;
}

blockquote.light .icon-quote-left {
    margin-right: 5px;
    color: #8C0000;
}

textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
    border: 1px solid #e6e6e6;
    color: #676767;
    box-shadow: none;
    padding: 10px 4%;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
    box-shadow: none;
    border: 1px solid #d4d4d4;
    color: #000;
}


/* dropdown menu */

.dropdown-menu {
    border: none;
    background: #8C0000 url(../img/header-bg.jpg);
    border-bottom: 1px solid #850303;
    padding-top: 0;
    padding-bottom: 0;
    border-radius: 3px;
}

nav .dropdown-menu li {
    display: block;
    float: none;
    padding: 0;
}

nav .dropdown-menu li a {
    color: #fff;
    padding: 9px 10px;
}

nav .dropdown-menu li.divider {
    padding: 0;
}

.dropdown-menu li>a:hover,
.dropdown-menu li>a:focus,
.dropdown-submenu:hover>a {
    color: #ffffff;
    text-decoration: none;
    background-color: #9c0b0b;
    background-image: none;
}

.dropdown-menu li>a:first-child:hover {
    border-radius: 3px 3px 0 0;
}


/* tabs */

.nav-tabs>.active>a,
.nav-tabs>.active>a:hover {
    color: #fff;
    cursor: default;
    background: #8C0000;
    border: 1px solid #8C0000;
    border-bottom-color: transparent;
    outline: none;
}


/* Media queries
-----------------------------------------*/


/* anything not widescreen */

@media only screen and (max-width: 1199px) {
    #contact-map {
        width: 260px;
        height: 280px;
        margin: 0 20px 20px 0;
    }
}


/* iPads (landscape)  */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    .flex-direction-nav a {
        background-size: 50%;
        height: 33px;
    }
    .flex-direction-nav .flex-next {
        top: 50%;
        right: -40px;
    }
    .flex-direction-nav .flex-prev {
        top: 50%;
        left: -35px;
    }
    .flexslider:hover .flex-next {
        right: -40px;
    }
    .flexslider:hover .flex-prev {
        left: -35px;
    }
}


/* any mobile device */

@media (max-width: 979px) {
    body {
        padding-top: 50px;
    }
    .header-phone-number {
        font-size: 1em;
        margin-right: 20px;
    }
    .embed-container {
        margin-bottom: 30px;
    }
    .cta-row blockquote {
        margin-top: 0;
    }
    ul.social-icons {
        margin-left: 0;
        margin-bottom: 0;
    }
    .banner img.office-img {
        max-width: 200px !important;
        /* for smaller images in the banner slider, make sure scale to sensible size */
        margin: 0 auto 30px auto;
    }
    .flex-direction-nav {
        display: none;
    }
}


/* tablet portrait */

@media (min-width: 768px) and (max-width: 979px) {
    .flex-direction-nav {
        display: none;
    }
}


/* mobiles and small tablet (portrait) */

@media (max-width: 767px) {
    body {
        padding-right: 0px;
        padding-left: 0px;
        padding-top: 110px;
    }
    .banner {
        text-align: center;
    }
    header .logo {
        margin: 30px auto;
        display: block;
    }
    .header-phone-number {
        display: none;
    }
    nav ul {
        float: none;
        text-align: center;
    }
    nav ul li {
        float: none;
    }
    .flex-direction-nav {
        display: none;
    }
    .full-width-container {
        padding-right: 20px;
        padding-left: 20px;
    }
    /* testimonials */
    .client-testimonials li blockquote {
        margin: 10px 0;
    }
    /* our team */
    #our-team .image-frame-circle {
        max-width: 200px;
        margin: 10px auto;
    }
    #our-team .span3 {
        text-align: center;
    }
    /* client logos */
    ul.client-logos li {
        display: block;
        margin: 10px 0;
    }
    /* sub menu */
    ul.sub-menu li {
        text-align: center;
    }
    ul.sub-menu {
        margin-bottom: 30px;
    }
    /* cta tow */
    .cta-row .image-frame-circle {
        max-width: 200px;
        margin: 20px auto;
    }
    /* contact section */
    .contact-highlight {
        display: block;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 30px;
    }
    .img-right,
    .img-left {
        float: none;
        margin: 20px 0;
    }
    /* header and nav */
    .banner h1 {
        font-size: 34px;
        line-height: 44px;
    }
    header .logo {
        float: left;
        margin: 10px;
    }
    header .logo-wrapper {
        overflow: hidden;
    }
    .nav-wrapper {
        display: none;
    }
    nav ul li {
        display: block;
        text-align: center;
    }
    nav a {
        display: block;
    }
    a.mobile-nav-toggle,
    a.mobile-nav-toggle:visited,
    a.mobile-nav-toggle:hover {
        display: inline-block;
        color: #fff;
        text-decoration: none;
        float: right;
        margin: 10px;
    }
    a.mobile-nav-toggle i {
        font-size: 22px;
    }
    /* contact section */
    .contact-col-wrapper {
        padding: 1em;
    }
    .contact-highlight {
        margin: 10px 0;
    }
    .contact-highlight i {
        display: block;
        text-align: center;
    }
    .form-left,
    .form-right {
        width: 100%;
        margin: 0;
    }
    #contact-map {
        width: 220px;
        height: 240px;
    }
}