/* ========================
GLOBAL
======================== */
body {
    font-family: 'Heebo', sans-serif;
    background: #ffffff;
    font-weight: 300;
    font-size: 16px;
}

h1 {
    font-size: 2em
}

h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 1.3em
}

h4 {
    font-size: 1.2em
}

h5 {}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Heebo', sans-serif;
    font-weight: 400;
}

h2 span.minor {
    font-size: .7em !important;
    color: grey;
    text-transform: uppercase;
}

p {
    color: #636e72;
    font-family: 'Heebo', sans-serif;
    font-weight: 300;
    line-height: 1.8em;
}

.plus {
    font-size: 1.2em;
    text-align: center;
}


a {
    color: #cf3d2a;
    text-decoration: none;
}

a:hover {
    color: #cf3d2a;
}


img {
    width: 100%;
}

.mobile_tablet {
    display: none;
}


/* HEADER */

.accentbar {
    width: 100%;
    padding: 5px 0px;
    background-color: #cf3d2a;
    color: #ffffff;
    font-size: .8em;
    text-transform: uppercase;
    text-align: center;
}



/* ========================
 NAVIGATION
======================== */

#logo {
    margin-top: 18px;
    width: 180px;
}

.nav_bar {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #cf3d2a;
    z-index: 1000;
}

.nav_bar ul {
    margin: 0px;
    padding: 0px;
    text-align: right;
}

.nav_bar li {
    list-style: none;
    display: inline-block;
}

.nav_bar ul li a {
    display: block;
    padding: 30px 15px 20px 15px;
}

a.active {
    border-bottom: 4px solid #cf3d2a;
}

/* ========================
 HERO FEATURE
======================== */

.hero {
    background-image: url("/img/fabric2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 500px
}

/* ========================
 SECTION
======================== */

section {
    padding: 120px 0px;
}

section#contactus {
    padding: 50px 0px;
}

section#contact {
    padding: 0px 0px;
}

section#selection {
    background: #f6f6f6;
}




/* ========================
 ABOUT
======================== */

section#about {
    padding: 100px 0px 0px 0px;
}

#about h2 {
    margin-bottom: 20px;
}

#img_about {
    width: 100%;
}

#img-store1 {
    background-image: url("/img/store-exterior.jpg");
    background-position: center;
    background-size: cover;
}

#img-store2 {
    background-image: url("/img/overseasfabrics_owners.jpg");
    background-position: center;
    background-size: cover;

}

#img-store3 {
    background-image: url("/img/fblikes.jpg");
    background-position: center;
    background-size: cover;
}

#img-store4 {
    background-image: url("/img/broadcloth2.jpg");
    background-position: -15px;
    background-repeat: no-repeat;
    background-size: cover;
}

@media only screen and (max-width: 768px) {
    .desktop_only {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .mobile_tablet {
        display: block;
    }
}

/* VALUES */

.values {
    text-align: center;
    padding: 80px 0px;
}

.values h3 {
    margin-bottom: 50px;
}

#icon_flag,
#icon_pricecut,
#icon_service {
    height: 100px;
    margin-bottom: 20px;
}

@media only screen and (max-width: 650px) {
    .values h3 {
        margin-bottom: 30px;
    }

    .values p {
        padding: 10px 50px 40px 50px;
    }
}

/* ========================
 DIVIDER
======================== */

#divider-1 {
    height: 150px;
    background-image: url("/img/backgrounds/background-fabric-stripes.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#divider-2 {
    height: 150px;
    background-image: url("/img/backgrounds/background-fabric_solids.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


/* ========================
 SELECTION
======================== */

.selection_img {
    height: 210px;
    background-size: cover;
    background-position: center;
}

.selection_overlay {
    padding: 50px 0px;
}

#img-selection-fabric {
    background-image: url("/img/selection/fabric.jpg");
}

#img-selection-quilting {
    background-image: url("/img/selection/quilting.jpg");
}

#img-selection-upholstery {
    background-image: url("/img/selection/outdoor.jpg");
}

#img-selection-notions {
    background-image: url("/img/selection/notions.jpg");
}

#img-selection-foam {
    background-image: url("/img/selection/foam.jpg");
}

#img-selection-special {
    background-image: url("/img/selection/bridal.jpg");
}

.tile {
    background: #ffffff;
}

.tile h3 {
    text-align: center;
    margin: 20px 40px;
    padding: 15px;
    font-size: 2em;
    font-weight: 300;
    text-transform: uppercase;
    background-color: rgba(255, 255, 255, 0.8);
}

.tile h3.minor {
    font-size: 1.6em;
}

.tile p {
    padding: 18px 20px;
    text-align: center;
}


@media only screen and (max-width: 768px) {
    .tile h3 {
        font-size: 1.5em;
        margin: 20px 10px;
    }

    .tile h3.minor {
        font-size: 1.2em;
        margin: 20px 10px;
    }
}

@media only screen and (max-width: 650px) {
    .tile p {
        font-size: 14px;
    }
}

/* ========================
 INSTAGEAM FEED
======================== */

#instagram {
    padding: 80px 0px;
}

#pixlee_container {
    max-height: 265px;
    overflow: hidden;
}


@media only screen and (min-width: 992px) and (max-width: 1199px) {
    #pixlee_container {
        max-height: 220px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    #pixlee_container {
        max-height: 165px;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    #pixlee_container {
        max-height: 255px;
    }
}

@media only screen and (max-width: 575px) {
    #instagram {
        padding: 40px 0px;
    }

    #pixlee_container {
        width: 450px;
        max-height: 225px;
        margin: auto;
    }
}

/* ========================
 VISIT US
======================== */

.contact_info {
    padding: 50px 0px;
}

@media only screen and (min-width: 992px) {
    .contact_info {
        padding: 60px;
        padding-right: 0px;
        padding-left: 80px;
    }
}

@media only screen and (max-width: 767px) {
    .contact_info {
        padding-left: 50px;
    }
}

.contact_info p {
    margin-bottom: 30px;
}

#icon-contact {
    width: 15px;
    padding-bottom: 5px;
    margin-right: 10px;
}

.icon_socialmedia {
    width: 30px;
    margin-right: 10px;
}

/*Store Hours*/
#store_hours {
    font-size: .9em;
}


/*CONTACT US*/

.contact_us {
    padding: 0px 50px;
}

#responsetime {
    font-size: .8em;
    line-height: 1.5em;
    margin-top: 15px;
    margin-bottom: 20px;
}


/* ========================
 CONTACT FORM
======================== */



#contact_form {
    position: fixed;
    top: 0px;
    left: 50%;
    margin-left: -300px;
    width: 600px;
    height: 100%;
    z-index: 500;
    display: none;
}

#contact_overlay {
    position: fixed;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 400;
    display: none;
}

#contact_form .form_container {
    width: 600px;
    margin: auto;
    background-color: white;
    padding: 40px 20px;
}

@media only screen and (max-width: 610px) {
    #contact_form .form_container {
        margin-top: 50px;
        width: 90%;
    }

    #contact_form {
        width: 95%;
            left: 50%;
    margin-left: -50%;
    }
}

#icon_cancel {
    position: relative;
    top: -20px;
    float: right;
    width: 30px;
    cursor: pointer;
}

#contact_form .comment {
    font-size: .8em;
}

form#contact-form {
    margin-top: 30px;
}

#contact-form label {
    display: none;
}

.text-muted {
    font-size: .8em;
}

#contact-form .btn {
    padding: 0.375rem 0.75rem;
    font-size: .7rem;
    margin: 0px;
}

#contact-form .btn-success,
#contact-form .btn-send {
    background-color: #cf3d2a;
    border-color: #cf3d2a;
    border-radius: 80px;
}

#contact-form .btn-send {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
}

#contact-form .help-block.with-errors {
    font-size: .7em;
    color: #ff5050;
    margin-top: 5px;
}

.form-control {
    font-weight: 300;
    border-top: none;
    border-left: none;
    border-right: none;
    border-radius: 0px;
}

textarea.form-control {
    border: solid 1px #ced4da !important;
}

.form-control::placeholder {
    font-size: .9em;
    color: grey;
}

.alert-success {
    color: grey;
    background-color: #ffbeb9;
    border-color: none;
}



/* ========================
 GOOGLE MAP
======================== */

.mapouter {
    text-align: right;
    height: 300px;
    width: 100%;
    z-index: 100;
}

.gmap_canvas {
    overflow: hidden;
    background: none !important;
    height: 300px;
    width: 100%;
}

@media only screen and (min-width:992px) {

    .mapouter {
        position: relative;
        top: -520px;
        margin-bottom: -510px;
        text-align: right;
        height: 530px;
        width: 50%;
    }

    .gmap_canvas {
        overflow: hidden;
        background: none !important;
        height: 530px;
        width: 100%;
    }

}


/* ========================
 FOOTER
======================== */

.footer {
    background-image: url("/img/backgrounds/denim.png");
    background-repeat: repeat;
    color: white;
    height: 100px;
}
