 
/*Bootstrap overrides*/

body {
    background-color: #fff;
    color: #333;
    font-family: tahoma,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

#page {
    padding-top: 50px;
}

a {
    color: black;
}
a:hover {
    color: #ED1B24;
}

img{
    width:auto;
    max-width:100%;
    height:auto;
}
.boxshadow {
    position: relative;
    -moz-box-shadow: 1px 2px 4px rgba(0, 0, 0,0.5);
    -webkit-box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
    box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
}

.icon {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    color: #EC1D27;
    text-decoration: none;
}

.icon i {
    height: 25px;
    width: 25px;
    line-height: 25px;
    background-color: gray;
    color: white !important;
    border-radius: 50%; /* future proofing */
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    -khtml-border-radius: 50%; /* for old Konqueror browsers */
}

/*=== Social Icons ===*/

.social-icons {
    list-style: none;
}
.social-icons li {
    float: left;
}
.social-icons li a {
    height: 35px;
    width: 35px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    color: #EC1D27;
    text-decoration: none;
}
.social-icons li a:hover {
    background-color: gray;
    color: white !important;
    border-radius: 50%; /* future proofing */
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    -khtml-border-radius: 50%; /* for old Konqueror browsers */
}
.social-icons li a:visited {
    color: #EC1D27;
}

/*=== Forms ===*/

.form-group + .form-group {
    margin-top: 8px !important;
}

fieldset legend {
    font-size: medium;
}

/*=== Jumbotron ===*/

.jumbotron {
    margin-bottom: 0 !important;
    min-height: 500px;
    position: relative;
}
.full-page-img {
    height: 100%;
    position: relative;
    width: 100%;
}
.background-cover {
    background-image: url(../images/background.jpg);
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.info-block {
    background-color: rgba(0%, 0%, 0%, .4);
    color: white;
    padding: 20px;
    font-size: 1.2em;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
}

.carousel {
    position: relative;
}

.carousel-caption {
    background-color: rgba(0%, 0%, 0%, .3);
    color: white;
    padding: 0px;
    bottom: 52px;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
}

.carousel-fade .carousel-inner .carousel-item {
    transition-property: opacity;
}

.carousel-fade .carousel-inner .carousel-item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    opacity: 0;
}

.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}

.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    left: 0;
    transform: translate3d(0, 0, 0);
}

.carousel-fade  .carousel-control {
    z-index: 2;
}

#services {
    background-color: #dbdbdb;
    padding-top: 20px;
    padding-bottom: 20px;
}
#services .section {
    min-height: 410px;
    padding: 35px;
}

.messageFlash{
    color: white;
    background-color: grey;    
}

.messageFlash h2 {
}

#promotion {
    display: block;
    min-height: 420px;
    padding-top: 40px;
}

#promotion #header {    
    margin-left: 150px;
}

#promotion .container {
    position: relative;
}

#promotion .imgOnSale {
    position: absolute;
    top: -15px;
    left: -15px;
    z-index: 2;
}

/*#promotion .promoImage {
    -webkit-box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.25);
}*/
#promotion .promoImage img {
    width: 100%;
}

.product-detail div {
    border-bottom: 1px solid #eee;
    padding: 5px 0 0 0;
}

#footer {
    font-size: medium;
    padding: 20px 0;
}

#legalStuff {
    font-size: smaller;
}

.fabric-category{
    margin-bottom: 50px;
}

/*=== SCROLL TO TOP ===*/
.scroll-top{
    cursor: pointer;
    display: none;
    position: absolute;
    right: 20px;
    bottom: 15px;
}

.clickable {
    cursor: pointer;
}

.card {
    margin-bottom: 2em;
}
.product .card:hover{
    border: 2px solid silver;
}

/* CURTAIN MENU */

/* The Overlay (background) */
.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */    
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 1050; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0,0); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 10%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.overlay a, .overlay {
    padding: 8px;
    padding-bottom: 10%;
    text-decoration: none;
    font-size: 1.2em;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
}
.overlay hr {
    border: 0;
    border-top: 1px solid rgba(255,255,255,.3);
    width: 80%;
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

.overlay #subNav{
    display: none;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
    position: absolute;
    top: 0px;
    right: 25px;
    font-size: 40px;
}

/* RESPONSIVE LAYOUT */

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

/*=== RESPONSIVE LAYOUT ===*/

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    body{
        padding-bottom: 160px;
    }
    .isDesktop {
        display: none;
    }
    .isMobile {
        display: inline-block;
    }
    .navbar-brand img {
        height: 40px; 
    }

    .tagline {
        font-size: 12px !important;
    }

    .jumbotron {
        min-height: 300px;
    }

    .background-cover {
        background-position: center;
    }   

    .info-block {
        display: none;
    }

    .carousel {
        top: 85px;
    }

    #services .section + .section {
        border-top: 2px solid #ED1B24;
    }

    #promotion .imgOnSale {
        width: 7rem;
    }
} 

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    body{
        padding-bottom: 160px;
    }
    .isDesktop {
        display: none;
    }
    .isMobile {
        display: inline-block;
    }

    .navbar-brand img {
        height: 40px; 
    }

    .background-cover {
        background-position: center;
    }

    .info-block {
        display: none;
    }

    .carousel {
        /*top: 50px;*/
    }
    .carousel-inner>.carousel-item>a>img, 
    .carousel-inner>.carousel-item>img, 
    .img-responsive, 
    .thumbnail a>img, 
    .thumbnail>img {
        margin: 0 auto;
        width: 60%;
    }

    #services .section + .section {
        border-top: 2px solid #ED1B24;
    }

} 

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    body{
        padding-bottom: 120px;
    }
    .isDesktop {
        display: none;
    }
    .isMobile {
        display: inline-block;
    }
    .navbar-brand img {
        height: 50px; 
    }

    .info-block {
        display: block;
    }

    .background-cover {
        background-position: center 80%;
    }

    .carousel {
        /*top: 80px;*/
    }
    .carousel-inner>.carousel-item>a>img, 
    .carousel-inner>.carousel-item>img, 
    .img-responsive, 
    .thumbnail a>img, 
    .thumbnail>img {
        width: 100%;
    }

    #services .section + .section {
        border-top: 2px solid #ED1B24;
    }

} 

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    body{
        padding-bottom: 150px;
    }
    .isDesktop {
        display: inline-block;
    }
    .isMobile {
        display: none;
    }

    .info-block {
        display: block;
    }

    .carousel {
        /*top: 100px;*/
    }

    .background-cover {
        background-position: center 80%;
    }

    #services .section + .section {
        border-top: none;
        border-left: 2px solid #ED1B24;
    }

} 

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {

    .info-block {
        display: block;
    }

    #services .section + .section {
        border-top: none;
        border-left: 2px solid #ED1B24;
    }

}