﻿body
{

background: url(../images/body.gif) repeat-x center top #797979;
    padding-top:0px;
    
}

h2
{
    color: #000;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
    padding:20px 0px;
}
/*h3
{
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
}*/
.cd-tabs{width:100% !important;}

.container p, .cd-tabs-content li.tabcontent, .container ul li, .text {
    color: #333;
    font-size:15px;
    line-height:25px;
    /*font: 400 15px/25px; 'Open Sans', sans-serif;*/
}
p.breadcrumbs span.grey a,p.breadcrumbs span.grey b
{
    color:#333;
    /*font: 400 14px/30px 'Open Sans Light', sans-serif;*/
    text-decoration:none;
}
p.breadcrumbs span.grey b
{
    font-weight:bold;
}

.container.withmenu .categorycontent
{
    float:right;
    width:690px;
}

.container.withmenu .categorymenu
{
    float:left;
    width: 200px;
}
.container.withmenu .categorymenu ul
{
    list-style-type: none;
    margin:20px 0px 0px 0px;
    padding-left:0px;
}
.container.withmenu .categorymenu ul li:before
{
    content:'- ';
    color: red;
}
.container.withmenu .categorymenu ul li a
{
    color:#333;
    text-decoration:none;
    /*font: 400 14px/25px 'Open Sans Semibold', sans-serif*/
}

h3 span { 
    color:#333;
    text-transform:none;
	padding:0px;
    /*font: 400 40px/45px 'Lato Light', sans-serif*/
}
h4 span { 
    color:#333;
    text-transform:none;
	padding:0px;
    /*font: 400 20px/25px 'Lato Light', sans-serif*/
}
.categorymenu h3
{
    /*font: 400 16px/25px 'Open Sans Bold', sans-serif;*/
    text-transform:uppercase;
    margin-top: 55px;
}

.index .categorymenu.webshop h3
{
    margin-top:25px;
}

.container.withmenu .categorymenu.webshop 
{
    /*border-right: solid 1px #efefef;*/
	width: 160px;
}

h2.title
{
    padding-top:30px;
    padding-bottom:45px;
    text-align:center;
}
.ui-dialog h2.title
{
    padding:0px !important;
}
.categorycontent .breadcrumbs
{
    margin-left:-256px;
}
.categorycontent h1
{
    color:#333;
 /*   font: 400 25px/55px 'Lato Black', sans-serif;*/
}

.categorycontent h2.title
{
    padding: 0px 0px 20px 0px
}
h2.title span
{
    color:#000;
    text-transform:uppercase;
    /*font: 400 23px/50px 'Lato black', sans-serif;*/
    margin: 0 auto;
    border-bottom:solid 2px #d01414;
    padding-bottom:10px;
}


h3.title
{
    clear:both;
    margin: 40px 0px 20px 0px;
    border-bottom: 1px solid #333;
}
h3.title span
{
    text-decoration: none;
    color: #333;
    /*font: 400 16px/25px 'Open Sans Bold', sans-serif;*/
    text-transform: uppercase;
    vertical-align: middle;
}




#wrapper{}
#header-contact-container{overflow: visible; transition: all 0.3s ease 0s; position: relative; width:100%; }
#header-contacts{ text-transform: none; overflow: hidden;   }
#header-container,.content-container,#footer-container{width: 100%;   z-index: 4;}
#header{padding: 0px; margin: auto; transition: all 0.5s ease 0s;}
#wrapper.boxed #header-contacts{background: #000;  }
.header-contact li, .header-contact span {
    float: left;
    list-style-type: none;
    color: #FFF !important
}
.header-contact a{opacity: 1; transition: all 0.3s; color: #FFF; /*font-family: Open Sans;*/text-decoration: none;  font-size: 14px;}
.header-contact a:hover{color: #fff;}

#footer-container .content
{
    background:url(/images/footer_bg.gif);
}


#header {
    max-width:1024px;
    /*padding: 5px 10px; */
    transition: all 0.5s ease 0s;
    background:#fff;
 }
.clearfix {
    display: block;
}

#logoWrapper
{
    padding:18px;
    float:left;
    width:300px;
}

#searchWrapper
{
    float:right;
    background:#555;
    margin-right:18px;
    margin-top:30px;
    width:250px;
}




#searchWrapper input[type="text"]
{
border: solid 1px #555;
height: 25px;
color: #333;
/*font: 400 19px/25px 'Open Sans', sans-serif;*/
width: 86%;
}

#searchWrapper a
{
    border:solid 1px #555;
    background-color:#555;
    text-decoration:none;
    color:#fff;
    width:27px;
    text-align:center;
    height:20px;
}


#navigation-container{ padding: 0px 0px;  max-width:1024px; position: relative; background: #fff; z-index: 100; margin:0 auto;height:40px; }
#navigation-container #nav
{

}

.content, #footer,#wrapper.boxed  #header-contacts, #contact-footer
{
    width:auto;
    max-width:1024px;
    margin: 0 auto; 
    padding: 5px 10px; 
    position: relative;
}
.content
{
    background:#fff;
    padding: 0px 0px 0px 0px;
    max-width:1024px;
}

.content .frontpageLeftColumn {width: 615px; float:left;}
.content .frontpageRightColumn {width: 285px; float:right;}
.content .frontpageRightColumn img {max-width: 285px;}
#contact-footer
{
    
    padding: 40px;
    color:#fff;   
}

#contact-footer h3
{
    /*font: 400 14px/25px 'Open Sans Bold', sans-serif;*/
    text-transform:uppercase;
}


#contact-footer dl
{
}

    #contact-footer dl dt
    {
        /*font: 400 14px/25px 'Open Sans Light', sans-serif;*/
        clear:both;
        float:left;
        min-width:60px;
        text-align:left;
    }
    #contact-footer dl.openinghours dt
    {
        /*font: 400 14px/25px 'Open Sans Light', sans-serif;*/
        clear:both;
        float:left;
        min-width:125px;
        text-align:left;
    }

    #contact-footer dl dd
    {
     /*   font: 400 14px/25px 'Open Sans Semibold', sans-serif;*/
    float:left;
    }

    #contact-footer .columns-three .column:first-child
    {
        padding-right:40px;
    }
    #contact-footer .columns-three .column:last-child
    {
        width:250px;
    }

#footer{
    background:#000;
    padding: 10px 40px;
}
#footer ul
{
    width:100%;
    margin-left:0px;
}
#footer ul li
{
    float:left;
    list-style-type: none;
    padding-right:10px;
    padding-bottom: 0px;
    color:#fff;
    /*font: 700 10px/13px 'Open Sans Bold', sans-serif;*/
}
#footer ul li a
{
    color:#fff;
    text-decoration:none;
    
}
    #footer ul li a, #footer ul li a span
    {
        /*font: 700 10px/13px 'Open Sans Bold', sans-serif;*/
    }
#footer ul li.last
{
    float:right; 
        
}

.content .container {
    padding: 20px;
    /*    padding: 20px 40px 20px 40px;*/
}

.columns-two,.columns-three
{
    width:100%;
}

.columns-three .column
{
    max-width:33%;
    float:left;
    text-align:left;
}
.columns-two .column
{
    max-width:50%;
    float:left;
}
#offertDialog .columns-two .column
{
 }
.grey1
{
    background:#dedcdc;
}
.grey2
{
    background:#e8e6e6;
}
#newsletterregistermin
{
    text-align:center;
}

#newsletterregistercontent .columns-three .column
{
    /*width:245px;*/
}
#newsletterregistercontent .columns-three .column p
{
    /*width:245px;*/
}
#newsletterregistermin .columns-three .column  input[type="text"]
{
    border:solid 1px #666;
    height: 32px;
    width:280px;
}

.submitWrapper
{
    background:#666;
    width:316px;
    /*line-height:29px;*/
    height:36px;
}

    #newsletterregistermin .columns-three .column  .submitWrapper input[type="text"]
    {
        width:270px;
    }

.submitWrapper a
{
    border:solid 1px #666;
    background-color:#666;
    text-decoration:none;
    color:#fff;
    padding:5px 5px;
}

#slider {
    height: 366px !Important;
}
#slider img{height:366px !Important;
border-radius: 0px !important;
}
.nivo-controlNav
{
    margin-top:0px !important;
}
.cd-tabs-content li.tabcontent.relations .productitem {
min-height:auto !important;
}
    .cd-tabs-content li.tabcontent.relations .productitem .img  {
        width:200px;
        padding:10px;
        float:left;
    }
	.cd-tabs-content li.tabcontent.relations .productitem .info  {
        
        padding:10px;
        float:left;
    }
	
	.cd-tabs-content li.tabcontent.relations .productitem  p{
        width:400px;
	}
	.cd-tabs-content li.tabcontent.relations .productitem:nth-child(2n+1){
	}
    .cd-tabs-content li.tabcontent.relations .dark_row:nth-child(2n){
	}
	.cd-tabs-content li.tabcontent.relations .productitem .img {
    }
	.cd-tabs-content li.tabcontent.relations .productitem img {
        max-width:200px;
	}
	.cd-tabs-content li.tabcontent.relations .columns-two{
		float:right;
	}
	.cd-tabs-content li.tabcontent.relations .columns-two .column {
		float: left;
	}
	.cd-tabs-content li.tabcontent.relations .columns-two .column.productitem  {
	
	}

.cd-tabs-content li.tabcontent.media .imagelist li {
    width:150px;
    }
    .cd-tabs-content li.tabcontent.media .imagelist li img {
        width: 150px;
        
        min-height:150px;
    }

@media (min-width:769px ) and (max-width:1024px){
    #newsletterregistermin .columns-three .column  .submitWrapper input[type="text"]
    {
        width:205px;
    }
  #slider,#slider img {
    height: 263px !Important;

}

    div.nivo-caption
    {
        left: 0px !important;
        padding:5px;
    }
    .nivo-controlNav
    {
        left: 77% !important;
        margin-top:0px !important;
    }
	#contact-footer .columns-three .column{
		max-width:30%;
		
	}
	#contact-footer .columns-three .column:first-child {
		padding-right: 25px;
	}
	#contact-footer .columns-three .column:nth-child(2) {
		padding-right: 25px;
	}
	#contact-footer .columns-three .column:last-child {
		padding-right: 0px;
	}
	
	
	.productitem  {
		
	}
	.productitem  p{
		padding-right:20px;
		width:200px;
	}
	.productitem .img {
		width: 200px;
		height:200px;
		min-height:200px !Important;
	}
	.productitem img {
		width: 200px !important;
		height:200px !important;
	}
	
	.newsitem p {
		padding-right: 15px !important;
	}
.content .container.withmenu{
	padding: 20px !important;
}
	.container.withmenu .categorycontent {
		width: 755px;
	}

	.categorycontent .breadcrumbs {
	  margin-left: -233px;
	}
	#searchWrapper input[type="text"] {
	  width: 80%;
	}
	
	#newsletterregistermin .columns-three .column input[type="text"] {
		width: 190px;
	}
	
	#newsletterregistermin .submitWrapper {
		width: 250px;
	}

	
	
}

@media (min-width:569px ) and (max-width:768px)
{
    
    #newsletterregistermin .columns-three .column  .submitWrapper input[type="text"]
    {
        width:275px;
    }
     #slider,#slider img{
    height: 238px !Important;

}

    div.nivo-caption
    {
        left: 0px !important;
    }
    .nivo-controlNav
    {
        left: 75% !important;
        margin-top:0px !important;
    }

    .content .frontpageLeftColumn {
        width: 400px;
        float: left;
    }
    #logoWrapper
    {
        padding: 18px 0px;
    }

    .categorymenu
    {
        display: none;
    }

    .categorycontent .breadcrumbs
    {
        margin-left: 0px;
    }

    .columns_2
    {
       /* float: none;

        width: 100%;*/
    }

    .column
    {
       /* float: none;
        width: 100%;
    
           clear: left;*/
           max-width:100% !important;
    }
    .movieitem
    {
        width:100% !important;
    }
    .movieitem p
{
    width:100% !important;
}
    .container.withmenu .categorycontent
    {
        float: none;
        width: 100%;
    }

    .cd-tabs-navigation {
        width: 120px !important;
    }
        .cd-tabs-navigation li {
            border-bottom: solid 1px #000;
        }
    .cd-tabs-navigation a {
        width:120px !important;
        height:40px !important;
        padding-top:20px !important;
    }
    .cd-tabs-content {
        margin-left: 120px !important;
    }
    .cd-tabs-content li.tabcontent {
        padding: 0em 0em 3em 1em !important;
    }
        .cd-tabs-content li.tabcontent.relations .productitem {
            max-width: 254px !important;
        }
    
}
@media (min-width:320px ) and (max-width:568px)
{
    .newslettermodal {
        width: 95% !important;
    }
    #newsletter {
        overflow:auto;
        padding:0;
    }

    
    #newsletterregistermin .columns-three .column .submitWrapper input[type="text"] {
        width: 250px;
    }
    #slider,#slider img{
    height: 134px !Important;

}

    div.nivo-caption
    {
        left: 0px !important;
        padding:0px;
    }
    div.nivo-caption h3
    {
        font-size:15px;
    }
    .nivo-controlNav
    {
        left: 55% !important;
        margin-top:0px !important;
    }

    #main-menu li.webshop {display:none;
    }
    .content .container {
        padding: 10px !important;
    }
    .content .frontpageLeftColumn {
        width: 320px;
        text-align:center;
        float:none;
    }
    .content .frontpageRightColumn {
        width: 320px;
        text-align:center;
        float:none;
    }
    #searchWrapper input[type="text"] {
        width: 80%!important;
    }
    #logoWrapper
    {
        padding: 18px !important;
        width: 300px !important;
        float:none !important;
    }
        #logoWrapper img {
            height:22px !important;
        }

    .categorymenu
    {
        display: none;
    }

    .categorycontent .breadcrumbs
    {
        margin-left: 0px;
    }

    .columns_2
    {
       /* float: none;

        width: 100%;*/
    }

    .column
    {
       /* float: none;
        width: 100%;
    
           clear: left;*/
           max-width:100% !important;
    }
    .movieitem
    {
        width:100% !important;
    }
    .movieitem p
{
    width:100% !important;
}
    .container.withmenu .categorycontent
    {
        float: none;
        width: 100%;
    }

    .cd-tabs-navigation {
        width: 100% !important;
    }
        .cd-tabs-navigation li {
            float:none !important;
        }
        .cd-tabs-navigation a{
            width: 100% !important;
            height: 40px !important;
            padding-top: 20px !important;
            border-bottom: solid 1px #000;
        }

    .cd-tabs-navigation-mobile {
        width: 100% !important;
        padding: 20px 0 !important;
        border: none !important;
        border-bottom: solid 1px #000;
    }
        .cd-tabs-navigation-mobile li select {
            width: 100% !important;
        }
        .cd-tabs-navigation-mobile li label {
            /*font: 400 16px/25px 'Open Sans Bold', sans-serif;*/
        }
    .cd-tabs-content {
    }
        .cd-tabs-content li.tabcontent {
            /*    padding: 0em 0em 3em 1em !important;*/
        }
        .cd-tabs-content li.tabcontent.relations .productitem p{
            width: 100%
        }

    #footer {
        padding: 10px 20px;
    }
    #footer ul li.last {
        padding-top: 20px;
    }
}

.movieitem
{
    text-align:center;
    width:440px;
}
.movieitem h3
{
    padding-left:5px;
    color: #333;
    text-transform: uppercase;
    font: 400 28px/1 'Lato Light', sans-serif;
    text-align:left;
    margin: 40px 0 25px 0;
}
.movieitem p
{
    padding:5px;
    text-align:left;
    width:370px;
}

.movieitem:first-child
{
    padding-right:30px;
}

.productitem
{
    min-height:200px;
    text-align:center;
}
    .productitem img
    {
        width:244px;
        margin:0 auto;
    }
    .productitem .img
    {
    /*    min-height:244px;*/
                margin: 0 auto;
            }
.productitem h3
{
    color: #000;
    text-transform: uppercase;
    font: 400 16px/25px 'Lato Black', sans-serif;
    text-align:left;
}
.productitem p
{
    text-align:left;
    width: 276px;
    padding-right:30px;
}
    .productitem:last-child
    {
        padding-right:0px;
    }

.newsitem
{
    min-height:100px;
}
.newsitem span.red
{
    color:#d01414;
    padding-left:5px;
    /*font: 300 12px/1 'Open sans', sans-serif;*/
}
.newsitem p
{
    padding:5px 65px 5px 0px;
}
.center
{
    text-align:center;
}

#main-menu a
{
    /*font: 400 15px/15px 'Open Sans Bold', sans-serif;*/
}

#CheckoutForm input[type="text"],
#CheckoutForm select,
#webshoplogin .column input[type="text"],
#webshoplogin .column select,
#webshoplogin .column input[type="password"],
#changePasswordForm .columns-three .column input[type="text"],
#changePasswordForm .columns-three .column input[type="password"],
.cd-tabs-navigation-mobile select
{
    border: solid 1px #666;
    height: 32px;
}

.buttoncolumn
{
    line-height:88px;
}

@media (min-width:380px)
{
    .show-xs
    {
        display: none;
    }

    .hide-xs
    {
        display: block;
    }
}
@media (max-width:380px)
{
    .show-xs
    {
        display:block;
    }
    .hide-xs
    {
        display:none;
    }
    .cd-tabs-content li.tabcontent
    {
        padding-left: 0px !Important;
        padding-right: 0px !Important;
    }
}


@media (max-width:768px) {
    .hidden-lg-up {
        display: block;
    }

    .show-lg-up {
        display: none;
    }
}
@media (min-width:768px) {
    .hidden-lg-up {
        display:none;
    }
    .show-lg-up {
        display: block;
    }
}
@media (min-width: 992px) {

    .d-lg-flex {
        display:flex !important;
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
    }
}


.blogItems .half-post-entry:nth-child(odd){
    background-color: #f8f9fa !important;
}
.half-post-entry {
    padding: 10px;
}

.half-post-entry a:after {
    content: "\00BB";
}

.half-post-entry .img-bg, .half-post-entry .contents {
    width: 50%;
}

@media (max-width: 991.98px) {
    .half-post-entry .img-bg, .half-post-entry .contents {
        width: 100%;
        height: 300px;
    }
}

.half-post-entry .img-bg {
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.half-post-entry .contents {
    padding: 50px;
    height: auto;
}

@media (max-width: 991.98px) {
    .half-post-entry .img-bg, .half-post-entry .contents {
        width: 100%;
        height: 200px;
    }
    .half-post-entry {
        padding: 0px;
    }
    .half-post-entry .contents {
        padding: 30px;
    }
}
.alert-dark {
    color: #383d41;
    background-color: #e2e3e5;
    border-color: #d6d8db;
}

.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}


/** The Magic **/
.btn-breadcrumb .btn:not(:last-child):after {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-left: 10px solid white;
    position: absolute;
    top: 50%;
    margin-top: -17px;
    left: 100%;
    z-index: 3;
}

.btn-breadcrumb .btn:not(:last-child):before {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-left: 10px solid rgb(173, 173, 173);
    position: absolute;
    top: 50%;
    margin-top: -17px;
    margin-left: 1px;
    left: 100%;
    z-index: 3;
}

/** The Spacing **/
.btn-breadcrumb .btn {
    padding: 6px 12px 6px 24px;
}

    .btn-breadcrumb .btn:first-child {
        padding: 6px 6px 6px 10px;
    }

    .btn-breadcrumb .btn:last-child {
        padding: 6px 18px 6px 24px;
    }

    /** Default button **/
    .btn-breadcrumb .btn.btn-default:not(:last-child):after {
        border-left: 10px solid #fff;
    }

    .btn-breadcrumb .btn.btn-default:not(:last-child):before {
        border-left: 10px solid #ccc;
    }

    .btn-breadcrumb .btn.btn-default:hover:not(:last-child):after {
        border-left: 10px solid #ebebeb;
    }

    .btn-breadcrumb .btn.btn-default:hover:not(:last-child):before {
        border-left: 10px solid #adadad;
    }

.text-right {
    text-align:right !important;
}


ul#breadcrumbs li {
line-height:1rem;
}

/* ========================================
   Breadcrumbs - compact, red
   ======================================== */
.breadcrumb-nav {
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
}
.breadcrumb-link,
.breadcrumb-link:hover,
.breadcrumb-link:focus {
    color: #D01414;
}
.breadcrumb-current {
    color: #D01414;
}
.breadcrumb-sep {
    color: #999;
    font-size: 0.75em;
}
#breadcrumbs .dropdown-toggle::after {
    font-size: 0.7em;
    vertical-align: middle;
}
@media (max-width: 767.98px) {
    #breadcrumbs {
        justify-content: center;
    }
}

/* ========================================
   Product hero image
   ======================================== */
.product-hero-img {
    max-height: 350px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
@media (max-width: 767.98px) {
    .product-hero-img {
        max-height: 250px;
    }
}

/* ========================================
   Product tabs - connected look
   ======================================== */
.product-tabs .nav-tabs {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 0;
    padding-left: 0;
    margin-left:0;
}

    .product-tabs .nav-tabs .nav-item {
        padding-bottom: 0px;
    }

    
.product-tabs .nav-tabs .nav-link {
    color: #555;
    border: 1px solid transparent;
    border-bottom: none;
    margin-bottom: -1px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
}
.product-tabs .nav-tabs .nav-link:hover {
    color: #D01414;
    border-color: #dee2e6 #dee2e6 #fff;
    background: #fafafa;
}
.product-tabs .nav-tabs .nav-link.active {
    color: #D01414;
    font-weight: 600;
    background: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}
.product-tab-content {
    border: 1px solid #dee2e6;
    border-top: none;
    background: #fff;
    padding: 1.25rem;
    min-height: 100px;
}

/* Print-only headings */
.print {
    display: none;
}
@media print {
    .print {
        display: block;
    }
}

/* ========================================
   Variant table
   ======================================== */
.variant-table thead th {
    background: #2c2c2c;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    border: none;
}
.variant-table tbody td {
    padding: 0.5rem 0.75rem;
    vertical-align: middle;
    font-size: 0.875rem;
}
.variant-table tbody tr {
    border-left: 3px solid transparent;
}
.variant-table tbody tr:hover {
    background-color: #f8f0f0;
    border-left-color: #D01414;
}
@media (max-width: 767.98px) {
    .variant-table thead th:nth-child(2),
    .variant-table tbody td:nth-child(2) {
        display: none;
    }
    .variant-table thead th:nth-child(5),
    .variant-table tbody td:nth-child(5) {
        display: none;
    }
    .variant-table thead th,
    .variant-table tbody td {
        padding: 0.4rem 0.35rem;
        font-size: 0.8rem;
    }
    .variant-table tbody td:first-child {
        white-space: normal;
        min-width: 80px;
    }
}

/* ========================================
   Product zoom button
   ======================================== */
.product-zoom-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(255,255,255,0.85);
    color: #555;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.product-zoom-btn:hover {
    background: #fff;
    color: #D01414;
}

/* ========================================
   Relations (Passar till)
   ======================================== */
#relations .row {
    align-items: stretch;
}
#relations .col-md-6 {
    display: flex;
}
#relations .col-md-6 > .card {
    width: 100%;
}
@media (max-width: 767.98px) {
    #relations .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ========================================
   Cart counter in nav - white text on dark bg
   ======================================== */
#main-menu .webshop #cartcount,
#main-menu .webshop #cartcount span,
#main-menu .webshop > .fa,
#main-menu .webshop > span {
    color: #fff !important;
}

/* ========================================
   jQuery UI dialog overrides (Bootstrap 5 look)
   ======================================== */
.ui-dialog {
    border: none !important;
    border-radius: 8px;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.25);
    padding: 0 !important;
    font-family: inherit;
    z-index: 10010 !important;
}
.ui-dialog .ui-dialog-titlebar {
    background: #fff;
    border: none;
    border-bottom: 1px solid #dee2e6;
    border-radius: 8px 8px 0 0;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}
.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close {
    background: none;
    border: none;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 28px;
    height: 28px;
    padding: 0;
    opacity: 0.5;
    cursor: pointer;
}
.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close:hover {
    opacity: 1;
}
.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close .ui-icon {
    background-image: none;
    text-indent: 0;
    margin: 0;
    position: static;
}
.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close .ui-icon::before {
    content: "\00d7";
    font-size: 1.5rem;
    line-height: 1;
    color: #333;
}
.ui-dialog .ui-dialog-content {
    padding: 1.25rem !important;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
}
.ui-dialog .ui-dialog-buttonpane {
    border-top: 1px solid #dee2e6;
    padding: 0.75rem 1.25rem;
    margin: 0;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    float: right;
}
.ui-dialog .ui-dialog-buttonpane button {
    background: #333;
    color: #fff;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 6px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.ui-dialog .ui-dialog-buttonpane button:first-child {
    background: #28a745;
    border-color: #28a745;
}
.ui-dialog .ui-dialog-buttonpane button:last-child:not(:first-child) {
    background: #fff;
    color: #333;
    border-color: #ced4da;
}
.ui-dialog .ui-dialog-buttonpane button:hover {
    opacity: 0.85;
}
.ui-widget-overlay {
    background: rgba(0,0,0,0.5) !important;
    opacity: 1 !important;
}

/* ========================================
   User menu dropdown (profile icon)
   ======================================== */
#usermenu {
    min-width: 220px;
}
.usermenu-greeting {
    padding: 4px 0 2px;
}
.usermenu-links {
    display: flex;
    flex-direction: column;
}
.usermenu-link {
    display: block;
    padding: 6px 0;
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: color 0.15s;
}
.usermenu-link:hover {
    color: #D01414;
}
.usermenu-link i {
    width: 18px;
    text-align: center;
    color: #999;
}
.usermenu-link:hover i {
    color: #D01414;
}

/* ========================================
   Mobile cart icon & badge
   ======================================== */
.mobile-cart-icon {
    text-decoration: none;
    line-height: 1;
}
.mobile-cart-badge {
    font-size: 0.6rem;
    padding: 2px 5px;
    min-width: 18px;
}
.menu-cart-mobile a {
    color: #fff !important;
    font-size: 16px;
}

/* ========================================
   Cart added notification (mobile toast)
   ======================================== */
#cart-toast {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #28a745;
    color: #fff;
    text-align: center;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}
#cart-toast.show {
    transform: translateY(0);
}
#cart-toast a {
    color: #fff;
    text-decoration: underline;
    margin-left: 10px;
}

/* ========================================
   Mini-cart dropdown styling
   ======================================== */
#minicart {
    min-width: 280px;
    max-width: 320px;
    padding: 0;
}
#minicart h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}
/* Product items */
.minicart-items {
    margin-bottom: 0.75rem;
}
.minicart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}
.minicart-item:last-child {
    border-bottom: none;
}
.minicart-link {
    text-decoration: none;
    color: #333;
    flex: 1;
    min-width: 0;
}
.minicart-link:hover {
    color: #D01414;
}
.minicart-name {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.minicart-sku {
    display: block;
    font-size: 0.72rem;
    color: #999;
    margin-top: 1px;
}
.minicart-price {
    font-size: 0.82rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    margin-left: 12px;
    padding-top: 1px;
}
/* Total row */
.minicart-total {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-top: 2px solid #333;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
}
.minicart-total-price {
    white-space: nowrap;
}
/* Checkout button */
.minicart-checkout {
    display: block;
    text-align: center;
    background: #D01414;
    color: #fff !important;
    padding: 10px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: background 0.2s;
}
.minicart-checkout:hover {
    background: #b01010;
    color: #fff !important;
}
/* Empty cart */
.minicart-empty {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
    text-align: center;
    padding: 1rem 0;
}

/* ========================================
   Quantity input - fixed dimensions
   ======================================== */
.variant-table input.qty,
.variant-table input[type="number"].form-control {
    width: 60px !important;
    min-width: 60px;
    max-width: 60px;
    height: 31px;
    padding: 0.2rem 0.4rem;
    text-align: center;
    -moz-appearance: textfield;
}
.variant-table input[type="number"]::-webkit-outer-spin-button,
.variant-table input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ========================================

/* ========================================
   Legacy class overrides for Bootstrap 5
   (cart list, login/register partials)
   ======================================== */
table.grid {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}
table.grid th {
    background: #2c2c2c;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
    text-align: left;
}
table.grid td {
    padding: 0.5rem 0.75rem;
    vertical-align: middle;
    font-size: 0.875rem;
    border-bottom: 1px solid #eee;
}
table.grid .dark_row td {
    background: #f8f9fa;
}
table.grid td.price {
    text-align: right;
    white-space: nowrap;
    font-weight: 500;
}
table.grid td.imgCol {
    width: 80px;
}
table.grid td.imgCol img {
    max-width: 70px;
    border-radius: 4px;
}
table.grid td a.link_content {
    text-decoration: none;
    color: #333;
}
table.grid td a.link_content:hover {
    color: #D01414;
}
table.grid td a.link_content h3 {
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
    text-transform: none;
}
table.grid td a.link_content p.nomargin {
    margin: 0;
    font-size: 0.8rem;
    color: #888;
}
table.grid td input.qty {
    width: 50px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px;
    font-size: 0.85rem;
}
table.grid td a.deletebutton {
    color: #dc3545;
    font-weight: bold;
    text-decoration: none;
}
table.grid td a.deletebutton:hover {
    color: #b02a37;
}
@media (max-width: 767.98px) {
    table.grid td.imgCol {
        display: none;
    }
    table.grid td {
        padding: 0.35rem 0.4rem;
        font-size: 0.8rem;
    }
}

/* Legacy buttons in partials */
a.greenbutton,
a.greybutton {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    cursor: pointer;
}
a.greenbutton {
    background: #D01414;
    color: #fff !important;
}
a.greenbutton:hover {
    background: #b01010;
}
a.greenbutton span {
    color: #fff;
}
a.greybutton {
    background: #666;
    color: #fff !important;
}
a.greybutton:hover {
    background: #555;
}
a.greybutton span {
    color: #fff;
}

/* Legacy form layout classes */
.columns-two,
.columns-three {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.columns-two .column {
    flex: 1 1 45%;
    min-width: 200px;
    max-width: 100%;
    float: none;
}
.columns-three .column {
    flex: 1 1 30%;
    min-width: 150px;
    max-width: 100%;
    float: none;
}
.columns-three .column.buttoncolumn {
    display: flex;
    align-items: center;
}
@media (max-width: 767.98px) {
    .columns-two .column,
    .columns-three .column {
        flex: 1 1 100%;
    }
}

/* Old form controls (checkout partials) */
.editor-label {
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}
.editor-field {
    margin-bottom: 0.25rem;
}
.editor-field input,
.editor-field select {
    width: 100%;
    padding: 0.35rem 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.875rem;
}
.editor-field input.postalcode {
    width: 30%;
    display: inline-block;
}
.editor-field input:disabled {
    background: #e9ecef;
    color: #6c757d;
}
input.normal,
select.normal {
    width: 100%;
    padding: 0.35rem 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 0.875rem;
}

/* Old login partial tab/box styling */
.box_top2, .box_bottom, .box_bottom div { display: none; }
.box_rep, .box_rep2 { display: block; }
.box_content { padding: 0; }
.tabcontent.hide { display: none; }
.tabcontent { padding: 1rem 0; }
.bottomMargin { margin-bottom: 1rem; }

/* ========================================
   Webshop login/register tabs
   ======================================== */
#webshopLoginTabs {
    border-bottom: 1px solid #dee2e6;
    margin-left: 0;
}

#webshopLoginTabs .nav-item {
    padding-bottom: 0px;
}


#webshopLoginTabs .nav-link {
    color: #666;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid transparent;
    border-bottom: none;
    padding: 0.6rem 1.25rem;
}
#webshopLoginTabs .nav-link:hover {
    color: #333;
    border-color: #e9ecef #e9ecef transparent;
}
#webshopLoginTabs .nav-link.active {
    color: #333;
    background: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}
#webshopLoginTabContent > .tab-pane > .card.border-top-0 {
    border-top: none !important;
    border-radius: 0 0 0.375rem 0.375rem;
}
.rounded-top-0 {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}