/* CSS Document / SITE STRUCTURE */

body {
    margin: 0;
    background: url(/img/background.jpg) repeat-x;
}

p, td, div {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

a {
    text-decoration: underline;
    color: black;
}

a:hover {
    color: #EBAA1C;
    text-decoration: underline;
}

/*----------structure-----------*/

#top-head {
    height: 21px;
    background: url(/img/head%5Btop%5D.jpg);
}

#body {
    width: 978px;
    background-color: #FFF;
    border-left: 1px solid #CCC;
    border-right: 1px solid #CCC;
    padding: 0px 10px 0px 10px;
    text-align: left;
}

#foot {
    font-size: 11px;
    padding-left: 20px;
    padding-right: 20px;
    color:#FFF;
}

#mainbox {
    background: url(/img/box%5Bmain%5D.jpg) no-repeat;
    padding: 10px;
}

p, td, div {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

h1 {
    color: #EBAA1C;
    font-size: 2.3em;
    font-weight: bold;
    margin: 0;
}

h2 {
    color: #3A3A3A;
    font-size: 1.2em;
    background: #ffffff;
    background: -moz-linear-gradient(top, #ffffff 0%, #f4f4f4 57%);
    background: -webkit-linear-gradient(top, #ffffff 0%, #f4f4f4 57%);
    background: linear-gradient(to bottom, #ffffff 0%, #f4f4f4 57%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f4f4f4', GradientType=0);
    border: 1px solid #f2f2f2;
    border-radius: 7px;
    padding: 10px;
}

h2 a {
    text-decoration: none;
}

ul.no-items {
    list-style: none;
}

ul.no-items li {
    list-style: none;
}

ul.no-items li a {
    text-decoration: none;
}

.product-image {
    max-height: 500px;
}

.category-image {
    display: block;
    max-width:100%;
    max-height:192px;
    vertical-align: middle;
    width: auto;
    height: auto;
    margin: auto;
}

.category-image-box {
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    text-align: center;
    width: 100%;
}

#structure {
    margin: 10px;
    padding: 10px;
}

#location {
    font-size: 14px;
    color: #3A3A3A;
}

#location a {
    color: #3A3A3A;
    text-decoration: none;
}

#location a:hover {
    color: #3A3A3A;
    text-decoration: underline;
}

.graybar {
    background: url(/img/bar%5B1%5D.jpg);
    font-size: 14px;
    font-weight: bold;
    color: #3A3A3A;
    text-align: left;
    padding-left: 6px;
}

.box {
    background: url(/img/box%5Bcentral%5D.jpg);
    font-size: 11px;
    padding-left: 6px;
    color: #3A3A3A;
}

#cat a {
    text-decoration: none;
}

#cat a:hover {
    text-decoration: underline;
}

#subcat {
    font-size: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
    text-align: center;
}

#subcat a {
    text-decoration: none;
}

#subcat a:hover {
    text-decoration: underline;
}

.fieldtext {
    background-image: url(/img/box.jpg);
    width: 200px;;
    height: 25px;
    font-size: 11px;
    color: #3A3A3A;
    text-align: center;
    vertical-align: middle;
    padding-top: 5px;
    margin-top: 10px;
}

.field {
    background-image: url(/img/bgborder.jpg);
    width: 190px;
    height: 160px;
    padding: 5px;
}

.textfield {
    padding: 10px;
    text-align: justify;
    height: 91px;
}

#abovefoot {
    background-image: url(/img/abovefoot.jpg);
    height: 200px;
    padding-left: 10px;
    padding-right: 10px;

}

.description {
    background: url(/img/bar%5B1%5D.jpg);
    font-size: 14px;
    padding-left: 6px;
    color: #3A3A3A;
    text-align: left;
}

/***********Contact formular***************/

.contacttxt {
    font-size: 13px;
    color: #3A3A3A;
}

.contacttextfield {
    margin: 0;
    font-size: 16px;
}

.nav-bar {
    background: #5b5b5b; /* Old browsers */
    background: -moz-linear-gradient(top, #5b5b5b 1%, #6c6c6c 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #5b5b5b 1%, #6c6c6c 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #5b5b5b 1%, #6c6c6c 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5b5b5b', endColorstr='#6c6c6c', GradientType=0); /* IE6-9 */

    border-bottom-left-radius: 7px 7px;
    border-bottom-right-radius: 7px 7px;
}

.navbar {
    padding: 5px;
}

.nav-bar .nav-item {
    font-size: 1.1em;
    text-align: center;
    position: relative;
}

.nav-bar .nav-item a, .navbar-light .navbar-nav .nav-link {
    color: white;
    text-decoration: none;
}

.nav-bar .nav-item a:hover, .navbar-light .navbar-nav .nav-link:hover {
    color: white;
    text-decoration: none;
}

.nav-tabs .nav-item .nav-link {
    text-decoration: none;
    font-size: 1.1em;
}

.nav-tabs .nav-item .nav-link:hover {
    text-decoration: none;
}

.nav-bar .nav-item .triangle {
    width: 0;
    height: 0;
    border-style: ridge;
    border-width: 0 20px 20px 0;
    border-color: transparent #ebaa1a;
    line-height: 0px;
    position: absolute;
    right: 0;
    top: 0;
}

.navbar-toggler {
    background-color: #ebaa1a;
}

.navbar-light .navbar-toggler {
    color: white;
}

.navbar-expand-md .navbar-nav .dropdown-menu .dropdown-item {
    color: #5b5b5b;
}

.navbar-expand-md .navbar-nav .dropdown-menu .dropdown-item .product-img {
    width: 110px;
    margin-right: 10px;
}

.featurette-divider {
    margin: 50px 0;
}

.btn-primary {
    color: #fff;
    text-decoration: none;
    background-color: #ebaa1a;
    border-color: #fab01c;
}

.btn-primary:hover {
    color: #fff;
    text-decoration: none;
    background-color: #fab01c;
    border-color: #ebaa1a;
}

.icon-circle-md {
    display: inline-block;
    border-radius: 50% !important;
    background-color: #ebaa1a;
    color: white;
    font-size: 25px;
    width: 50px;
    height: 50px;
    margin: auto;
    text-align: center;
    vertical-align: middle;
    line-height: 50px;
}

.icon-circle-md svg {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.container-box {
    border-radius: 6px;
    border: 1px solid #ccc;
    padding-top: 20px;
    padding-bottom: 15px;
}

.brandcrumb {
    margin: 15px auto;
}

.table-div {
    display: table;
    height: 100%;
    width: 100%;
}

.row-div {
    display: table-cell;
    vertical-align: middle;
}

.height-100p {
    height: 100%;
}

.width-100p {
    width: 100%;
}

.width-80p {
    width: 80%;
}

.input-group-text {
    background-color: #f2f2f2;
}

.input-group > .input-group-prepend > .input-group-text {
    width: 100px;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 160px; /* Margin bottom by footer height */
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 130px; /* Set the fixed height of the footer here */
    line-height: 30px; /* Vertically center the text there */
    background-color: #3c3c3c;
    color: white;
}

.footer a {
    color: white;
}

/* equal card height */
.row-equal > div[class*='col-'] {
    display: flex;
    flex: 1 0 auto;
}

.row-equal .card {
    width: 100%;
}

/* ensure equal card height inside carousel */
.carousel-inner > .row-equal.active,
.carousel-inner > .row-equal.next,
.carousel-inner > .row-equal.prev {
    display: flex;
}

/* prevent flicker during transition */
.carousel-inner > .row-equal.active.left,
.carousel-inner > .row-equal.active.right {
    opacity: 0.5;
    display: flex;
}

.carousel-caption {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 7px;
    position: absolute;
    left: inherit;
    right: 6%;
    width: 280px;
    font-size: 0.9em;
}

.carousel-caption p {
    color: #3c3c3c;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: transparent;
}

.btn-primary:not([disabled]):not(.disabled).active, .btn-primary:not([disabled]):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
    background-color: #EBAA1C;
    border: 1px solid #EBAA1C;
}

/* control image height */
.card-img-top-250 {
    text-align: center;
    padding: 5px;
    height: 200px;
    overflow: hidden;
}

.card-img-top-250 .img-fluid {
    max-height: 100%;
}

.card a {
    text-decoration: none;
}

.card:hover {
    border: 1px solid #EBAA1C;
}

.card-block {
    height: 140px;
    padding: 5px;
}

#home {
    padding: 30px 0;
}

.card-block .title {
    color: #EBAA1C;
    font-size: 1.3em;
    font-weight: bold;
    margin: 0;
}

.hovereffect {
    width: 100%;
    /*height: 100%;*/
    float: left;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: default;
    border-radius: 7px;
}

.hovereffect .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    -webkit-transition: all 0.4s cubic-bezier(0.88, -0.99, 0, 1.81);
    transition: all 0.4s cubic-bezier(0.88, -0.99, 0, 1.81);
}

.hovereffect:hover .overlay {
    /*background-color: rgba(235, 170, 28, 0.3);*/
}

.hovereffect img {
    display: block;
    position: relative;
}

.hovereffect:hover h2 {
    -webkit-transform: translateY(5px);
    -ms-transform: translateY(5px);
    transform: translateY(5px);
}

.hovereffect a.info {
    opacity: 0;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
    color: #666666;
    border: 4px solid #666666;
    border-radius: 50%;
    filter: alpha(opacity=0);
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 0.4s cubic-bezier(0.88, -0.99, 0, 1.81);
    transition: all 0.4s cubic-bezier(0.88, -0.99, 0, 1.81);
    font-weight: normal;
    font-size: 2.3em;
    padding: 30px;
    background-color: white;
}

.hovereffect h2 {
    opacity: 0;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    position: relative;
    font-size: 17px;
    padding: 10px;
    margin: 10px;
    background: rgba(0, 0, 0, 0.6);
    -webkit-transform: translateY(45px);
    -ms-transform: translateY(45px);
    transform: translateY(45px);
    -webkit-transition: all 0.4s cubic-bezier(0.88, -0.99, 0, 1.81);
    transition: all 0.4s cubic-bezier(0.88, -0.99, 0, 1.81);
}

.hovereffect:hover a.info {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.hovereffect:hover h2 {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.hovereffect a.info:hover {
    box-shadow: 0 0 5px white;
}

.carousel-indicators {
    bottom: 0;
}

.carousel-indicators .active {
    background-color: #ebaa1c;
}

.carousel-indicators li {
    background-color: #5e5e5e;
    cursor: pointer;
}

.carousel-control-next:hover, .carousel-control-prev:hover {
    background: -moz-linear-gradient(left, rgba(229,229,229,0) 0%, rgba(229,229,229,0.14) 14%, rgba(235,170,28,1) 100%);
    background: -webkit-linear-gradient(left, rgba(229,229,229,0) 0%,rgba(229,229,229,0.14) 14%,rgba(235,170,28,1) 100%);
    background: linear-gradient(to right, rgba(229,229,229,0) 0%,rgba(229,229,229,0.14) 14%,rgba(235,170,28,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00e5e5e5', endColorstr='#ebaa1c',GradientType=1 );
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    color: #ebaa1c;
}

.breadcrumb {
    background: white;
    padding: 4px 10px;
    font-size: 0.9em;
    border: 1px solid #ced4da;
}

@media (min-width: 1200px) {
    .category-image {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
    }
}

@media (min-width: 768px) {
    .navbar-expand-md .navbar-nav .dropdown-menu {
        position: absolute;
        z-index: 40000;
    }

    .absolute-bottom {
        position: absolute;
        bottom: 0;
    }

    .category-image-box {
        position: relative;
        min-height: 192px;
    }
}

@media (max-width: 768px) {
    .category-image-box {
        margin-bottom: 20px;
    }

    .card {
        margin-bottom: 10px;
    }

    .tas-logo {
        height: 100px;
    }

    .navbar-expand-md .navbar-nav .dropdown-menu .dropdown-item .product-img {
        width: 55px;
        margin-right: 10px;
    }
}
