html,
body {
    height: 100%;
}
ul{
    list-style-image: url("logo/sqpurple.gif");
}
.ul-spec{
    list-style:none;
}


#lightbox .modal-content {
    display: inline-block;
    text-align: center;
}

#lightbox .close {
    opacity: 1;
    color: rgb(255, 255, 255);
    background-color: rgb(25, 25, 25);
    padding: 5px 8px;
    border-radius: 30px;
    border: 2px solid rgb(255, 255, 255);
    position: absolute;
    top: -15px;
    right: -55px;

    z-index:1032;
}


.undercategory{
   color:red;
}
.sidebar-right {
     display: flex;
    justify-content: space-around;
    /*flex-wrap: wrap;*/

    flex-flow: row-reverse wrap;

}
.sidebar-first-child{
    display:inline-flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.sidebar-last-child {
    display:inline-flex;

    justify-content: flex-end;

}
/*.sidebar-product-right{*/
    /*float: right;*/
/*}*/

.navbar-inverse {
    border: inherit;
    background-color:#af0731;
   /* border-color: inherit;*/
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}
.container {
    width: 90%;
}
.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}
.homepage-carousel {
    margin-top: 51px;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}
.img-png{
    position:relative;
    margin: 20px;
    width: 100px;
    height: 90px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

.navbar-inverse .navbar-nav > li > a {
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
    color: #000;
    background-color: transparent;
}
.navbar-inverse .navbar-nav > li > a:hover{
    background: rgb(255, 255, 255); /* Fall-back for browsers that don't
                                    support rgba */
    background: rgba(255, 255, 255, .5);
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
    color:#797979;
    font-size: 13px;
    background-color: inherit;
}
.navbar-inverse .navbar-nav > .active > a:hover{
    background: rgb(255, 255, 255); /* Fall-back for browsers that don't
                                    support rgba */
    background: rgba(255, 255, 255, .5);
}
.navbar-shadow{
    box-shadow:0 10px 20px -12px rgba(0,0,0,0.42), 0 3px 20px 0 rgba(0,0,0,0.12), 0 8px 10px -5px rgba(0,0,0,0.2);
}


.page-index{
    margin-top: 100px;
}

.item-row{
    padding: 3px 3px 20px 3px ;
}
.social-icons {
    /*float: right;*/
    margin-top:-5px ;
    padding-bottom: 5px;
}

.social-icon {
    width: 32px;
    height: auto;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

#landing-banner {
    color: #fff;
    width: 100%;
    position: relative;
    padding-top: 0;
    height: 50rem;

}
#landing-label {
    color: #fff;
    width: 100%;
    position: relative;
    padding-top: 0;
    height: 20rem;
    border-radius: 5px;
}
.contact {
    padding-top: 70px;
}
.about {
    padding-top: 70px;
}

.landing-banner-caption {
    margin-top: 5rem;
    font-weight: bold;
}

.landing-banner-caption > h1 {
    font-weight: 500;
    margin-bottom: 3rem;
}

.landing-banner-caption > p {
    padding: 4rem;
}
.text-caption {
    text-align: justify;
    color: rgba(43, 41, 34, 0.48);
    margin-top: 5rem;
    margin-bottom: 5rem;
    font-weight: bold;
    font-size: 2.5em;
}
.text-caption > p {
     padding: 4rem;
 }
.text-caption:hover {
    font-size: 2.6em;
}
.text-detail{
    color: #655e4e;
    font-size: 16px;
    padding: 10px;
    text-indent: 10px;
}
.text-title{
    color: rgba(0, 0, 0, 0.63);
    text-shadow: 2px 1px rgba(0, 0, 0, 0.2);
    font-weight:bold;
    font-size: 40px;
    /*text-indent: 50px;*/
}
.text-title:hover{
    color: #3f3a3d;
    text-shadow: 2px 1px rgba(0, 0, 0, 0.33);
}
.text-title-product{
    color: #bf3321;
    text-shadow: 2px 1px #6d0f0d;
    font-weight:bold;
    font-size: 40px;

}
.text-body{
    padding: 10px 10px 10px 10px;
    border-radius: 10px;
    background-color:rgba(0,0,0,0.03) ;
}
.align-text{
    margin-left:250px;
}

.label-custom{
    font-size: 13px;
    color:white;
    background-color: #a9471f;
}

/*.block-bottom{*/
    /*margin-bottom: 100%;*/
/*}*/

.back-view{

    border-top: thick solid #a90001;
    padding: 10px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    /*background-color: rgba(255,255,255,0.5);*/
}

.text-products {
    position: absolute;
    z-index: 1;
    top: 55px;
    left:50px;
    width: 70%;
    color: #ffffff;
    text-underline: none;
    text-align: center;

    font-weight: bold;
    font-size: 2.5em;
}


/*.text-products:hover {
    font-size: 2.6em;
    text-decoration: none;
}*/

.items-space{

    border: solid 2px rgba(150,145,148,0.2);
    margin:2px;
    border-radius: 10px;
    padding: 2px;
    max-width: 100%;
}


 #product-box:hover{

   /* border-color:  rgba(150,145,148,0.2);*/
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);

}
.products-item{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    flex:auto;
}
.news-listing{

    margin-bottom: 4%;
    padding: 10px;
    border:inherit;
}

.news-listing > p {
    font-size: 20px;
    font-weight: bold;
    color: #af0731;
}
#text-back{
    /*background-color: rgba(175,7,49,0.2);*/
    border: inherit;
    border-radius:20px;
    padding:20px;
}
#news{

    margin-top:-40px;
    padding-left:40px;
    border: inherit;
    border-radius:7px;
    background-color: rgba(191, 51, 33, 0.23);
}
.news-close {
    margin-top:-40px;
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=20);
    opacity: .2;
}
.news-close:hover{
    color: rgb(150, 145, 148);
}

.btn-banner{
    width:160px;
    height:45px;
    /*background-color:rgba(255, 255, 255, 0.8);*/
    border: solid 3px rgba(237, 234, 231, 0.9);
    color: rgba(237, 234, 231, 0.9);
    font-size: 20px;
    font-weight: bold;
}
.btn-banner:hover{
    border: solid 3px rgba(237, 234, 231, 0.5);
    color: rgba(237, 234, 231, 0.5);
    }
.category-product{
    display: inline;
    flex-flow: row wrap;
    letter-spacing: 0.25rem;


}
.category-product > ul{

    text-align: center;
    font-size: 20px;
    list-style-type:none;

}
.category-product > ul > a{
   color: rgba(0, 0, 0, 0.4);
   text-decoration: none;
}
.category-product > ul > a:hover{
    color: rgba(0, 0, 0, 0.6);

}
.category-product > ul > a > li{
    display: inline;
}
.map-row{
  float: right;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    left: 60%;
    top: 60%;
    width: 35%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */

}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: rgba(167, 169, 164, 0.8);
    margin: auto;
    padding-top : 30px; /* Location of the box */
    padding-bottom : 30px; /* Location of the box */
font-size: 20px;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: #3f3a3d;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-body {padding: 2px 16px;}




@media (min-width: 1200px) {

    .item-row{
        margin: 10px;
    }
 /*   .landing-banner-caption {
        width: 50%;
    }*/

    .landing-banner-caption > h1 {
        font-weight: normal;
        font-size: 5rem;
        letter-spacing: 0.1rem;
        margin: 0;
    }

    .landing-banner-caption > p {
        font-size: 2.5em;
        letter-spacing: 0.1em;
        line-height: 1.1em;
        padding-left: 30%;
        padding-right: 10%;
    }
    .text-caption > p {
        font-size: 2.5em;
        letter-spacing: 0.1em;
        line-height: 1.1em;
        padding-left: 30%;
        padding-right: 10%;
    }


}

@media (min-width: 1600px) {

    .landing-banner-caption > h1 {
        font-weight: normal;
        font-size: 7rem;
        letter-spacing: 0.1rem;
        margin: 0;
    }

    .landing-banner-caption > p {
        font-size: 2.5em;
        letter-spacing: 0.144em;
        line-height: 1.1em;
        margin: 3.5rem 0 0;
        padding-left: 30%;
        padding-right: 10%;
    }
    .text-caption > p {
        font-size: 2.5em;
        letter-spacing: 0.144em;
        line-height: 1.1em;
        margin: 3.5rem 0 0;
        padding-left: 30%;
        padding-right: 10%;
    }
}

@media screen and (min-width: 768px) and (max-width: 1128px) {

    .carousel-caption {
        /*top: 5%;*/
        left: 1rem;
        right: 1rem;
    }

    .landing-banner-caption > p {
        font-size: 3rem;
    }

    .landing-banner-caption > h1 {
        font-size: 3.5rem;
        letter-spacing: 0.5rem;
        margin-top: 0;
    }

    .landing-banner-caption {
        width: unset;
    }
    .text-caption > p {
        font-size: 3rem;
    }
    .text-caption {
        width: unset;
    }
}

@media (min-width: 1127px) and (max-width: 1199px) {


    .landing-banner-caption > h1 {
        font-weight: normal;
        font-size: 5rem;
        letter-spacing: 0.1rem;
        margin: 0;
    }

    .landing-banner-caption > p {
        font-size: 2.5em;
        letter-spacing: 0.1em;
        line-height: 1.1em;
        padding-left: 30%;
        padding-right: 10%;
    }

    .text-caption > p {
        font-size: 2.5em;
        letter-spacing: 0.1em;
        line-height: 1.1em;
        padding-left: 30%;
        padding-right: 10%;
    }

}

@media only screen and (max-width: 767px) {
    .modal {
        left: auto;
        top: auto;
        width: auto; /* Full width */
        height: auto; /* Full height */
    }
    #image-gallery-image{
        width: 100%;
        height: 100%;
    }
    /*.align-text{*/
        /*margin-left: 0;*/
    /*}*/
    .block-bottom{
        margin-bottom:auto;
    }
    .landing-banner-caption {
        width: 100%;
        text-align: center;
        margin-top: unset;
    }
    .text-caption {
        /*width: 100%;*/
        text-align: justify;
        margin-top: unset;
    }

    .landing-banner-caption > p {
        font-size: 3rem;
    }
    .text-caption > p {
        font-size: 3rem;
    }

    .landing-banner-caption > h1 {
        letter-spacing: 0.15rem;
        margin: unset;
        font-size: 4rem;
    }

}
/*.carousel-inner {*/
    /*position: fixed;*/

/*}*/
/*.body-content{*/
    /*background-color: white;*/
    /*border-top: 2px solid #514d43;*/
    /*margin-top: 500px;*/
/*}*/

