/* Global */
.fancybox-close {
    border:0 !important;
}

.subform {
    text-align:center;
}
pre {
    -webkit-overflow-scrolling: touch;
    background: #f8f8f8;
    border-radius: 6px;
    border: solid 1px #e5e5e5;
    font-family: monospace;
    font-size: 0.9em;
    line-height: 1.75em;
    margin: 0 0 2em 0;
    overflow-x: auto;
    padding: 1em 1.5em;
}
.timestamp {
    font-size: 0.8em;
}

.restricted .bg-success,
.restricted .bg-danger {
    padding: 15px;
    font-size: 0.9em;
    color:#111;
}

/* Iframe */
.intrinsic-container {
    position: relative;
    height: 0;
    overflow: hidden;
    width:100%;
    min-height:400px;
}
 
/* 16x9 Aspect Ratio */
.intrinsic-container-16x9 {
  padding-bottom: 56.25%;
}
 
/* 4x3 Aspect Ratio */
.intrinsic-container-4x3 {
  padding-bottom: 75%;
}
 
.intrinsic-container iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Carousel */
.moveone .control {
    padding-left:15px;
    padding-right:15px;
}
.moveone .control div {
    border-bottom:2px solid #ddd;
    text-align:right;
    padding-bottom:5px;
    margin-bottom:25px;
}
.moveone .control .right {
    margin-left: 3px;
}
.moveone .control a {
    color:#ddd !important;
}
.moveone .control a:hover,
.moveone .control a:focus {
    color:#ccc !important;
}

.moveone .cloneditem-1,
.moveone .cloneditem-2,
.moveone .cloneditem-3 {
    display: none;
}
@media all and (min-width: 768px) {
    .moveone .carousel-inner > .active.left,
    .moveone .carousel-inner > .prev {
        left: -50%;
    }
    .moveone .carousel-inner > .active.right,
    .moveone .carousel-inner > .next {
        left: 50%;
    }
    .moveone .carousel-inner > .left,
    .moveone .carousel-inner > .prev.right,
    .moveone .carousel-inner > .active {
        left: 0;
    }
    .moveone .carousel-inner .cloneditem-1 {
        display: block;
    }
}
@media all and (min-width: 768px) and (transform-3d), all and (min-width: 768px) and (-webkit-transform-3d) {
  .moveone .carousel-inner > .item.active.right,
  .moveone .carousel-inner > .item.next {
    -webkit-transform: translate3d(50%, 0, 0);
            transform: translate3d(50%, 0, 0);
    left: 0;
  }
  .moveone .carousel-inner > .item.active.left,
  .moveone .carousel-inner > .item.prev {
    -webkit-transform: translate3d(-50%, 0, 0);
            transform: translate3d(-50%, 0, 0);
    left: 0;
  }
  .moveone .carousel-inner > .item.left,
  .moveone .carousel-inner > .item.prev.right,
  .moveone .carousel-inner > .item.active {
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
    left: 0;
  }
}
@media all and (min-width: 992px) {
    .moveone .carousel-inner > .active.left,
    .moveone .carousel-inner > .prev {
        left: -25%;
    }
    .moveone .carousel-inner > .active.right,
        .moveone .carousel-inner > .next {
        left: 25%;
    }
    .moveone .carousel-inner > .left,
    .moveone .carousel-inner > .prev.right,
    .moveone .carousel-inner > .active {
        left: 0;
    }
    .moveone .carousel-inner .cloneditem-2,
    .moveone .carousel-inner .cloneditem-3 {
        display: block;
    }
}
@media all and (min-width: 992px) and (transform-3d), all and (min-width: 992px) and (-webkit-transform-3d) {
    .moveone .carousel-inner > .item.active.right,
    .moveone .carousel-inner > .item.next {
        -webkit-transform: translate3d(25%, 0, 0);
                transform: translate3d(25%, 0, 0);
        left: 0;
    }
    .moveone .carousel-inner > .item.active.left,
    .moveone .carousel-inner > .item.prev {
        -webkit-transform: translate3d(-25%, 0, 0);
                transform: translate3d(-25%, 0, 0);
        left: 0;
    }
    .moveone .carousel-inner > .item.left,
    .moveone .carousel-inner > .item.prev.right,
    .moveone .carousel-inner > .item.active {
        -webkit-transform: translate3d(0, 0, 0);
                transform: translate3d(0, 0, 0);
        left: 0;
    }
}

/* Teasers */
.teaserslist {
    text-align: center;
}
.teaserslist i {
    margin-bottom:0.5em;
}
.teaserslist h3 {
    margin-bottom:0.2em;
    font-size: 1.5em;
}
.teaserslist a {
    text-decoration:none !important;
    border-bottom:1px dotted #999;
}

/* Form */
input[type="checkbox"],
input[type="radio"] {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    display: block;
    float: left;
    margin-right: -2em;
    opacity: 0;
    width: 1em;
    z-index: -1;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
    text-decoration: none;
    color: #646464;
    cursor: pointer;
    display: inline-block;
    font-size: 1em;
    font-weight: 300;
    padding-left: 2.4em;
    padding-right: 0.75em;
    position: relative;
}

input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Brands", "Font Awesome 5 free";
    font-style: normal;
    font-weight: normal;
    text-transform: none !important;
}

input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
    background: #fafafa;
    border: solid 1px rgba(144, 144, 144, 0.25);
    content: '';
    display: inline-block;
    height: 1.65em;
    left: 0;
    line-height: 1.58125em;
    position: absolute;
    text-align: center;
    top: 0;
    width: 1.65em;
}

input[type="checkbox"]:checked + label:before,
input[type="radio"]:checked + label:before {
    background: #999;
    border-color: #999;
    color: #fff;
    content: '\f00c';
}

input[type="checkbox"] + label:before {
    border-radius: 0.5em;
}

input[type="radio"] + label:before {
    border-radius: 100%;
}
.custom {
    margin-top:5px;
}

/* Crop */
.crop,
.crop-news,
.crop-portfolio,
.crop-portfolio-open {
  position: relative;
  margin-bottom:20px;
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.crop-news {
  display:inline-block;
  height: 250px;
}
.crop-portfolio {
  margin-bottom:0;
  height: 250px;
}
.crop-portfolio-open {
  display:inline-block;
  margin-bottom:0;
  height: 200px;
  border: 0 !important;
}
.crop img,
.crop-news img,
.crop-portfolio img,
.crop-portfolio-open img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
}
.crop img.portrait,
.crop-news img.portrait,
.crop-portfolio img.portrait,
.crop-portfolio-open img.portrait{
  width: 100%;
  height: auto;
}

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

    .crop-portfolio {
      height: 200px !important;
    }
    .portfolio-list .tc-opacity,
    .portfolio-list .tc-links {
        height:210px !important;
    }

}

/* Shop */
.payment {
    padding-bottom: 10px !important;
}
#options-list {
    padding-top:10px;
    margin-bottom:30px;
    width:290px;
}
#options-list h3 {
    margin:0 0 15px !important; 
    padding:0 0 5px !important;
    border-bottom:1px solid #333;
}
#options-list .form-group {
    margin-bottom:10px;
}

#carousel-shop .crop,
#articles-list .crop {
    margin-bottom:0;
}
#carousel-shop .thumbnail .caption,
#articles-list .thumbnail .caption {
    padding-top:30px;
}
#carousel-shop .thumbnail .price,
#articles-list .thumbnail .price {
    padding-bottom:32px;
}
#carousel-shop .thumbnail,
#articles-list .thumbnail {
    color:inherit;
}
#carousel-shop .thumbnail a,
#articles-list .thumbnail a  {
    color:inherit !important;
    text-decoration:none !important;
    outline:none;
}
#carousel-shop .thumbnail a:hover,
#articles-list .thumbnail a:hover {
    opacity:0.9;
}
#carousel-shop .thumbnail h4,
#articles-list .thumbnail h4 {
    font-size: 1.4em;
    margin-bottom: 0.5em;
}
.loading {
    background:url('../img/loading.gif') center center no-repeat;
}
input[type="text"].add_item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0;
    box-shadow: none;
    color: #333;
    font-size: 14pt;
    float: left;
    height: 37px;
    margin: 1px 6px 0 0;
    text-align: center;
    width: 50px;
    padding:4px;
    font-weight:700;
}
.shop ul.list-group {
    margin-left:0 !important;
    padding-left:0 !important;
}
.shop .badge, .shop .list-group-item.active > .badge {
    margin-top:4px;
    background:#777;
    color:#fff;
}
.shop .list-group-item {
    color:#555 !important;
}
.shop .list-group-item:hover {
    background:rgba(188,202,206,0.15);
    cursor:pointer;
}
.shop .list-group-item.active, .shop .list-group-item.active:focus, .shop .list-group-item.active:hover {
    background:rgba(188,202,206,0.30);
    border-color:#ddd;      
}
.shop .list-group-item {
    border-top:0;
    margin-top: 1px;
}
.shop .list-group-item:first-child {
    border-top:1px solid #ddd;
}
.shop #articles-list {
    min-height:100px;
    width:100%;
}
.shop img {
    margin-bottom:15px;
}
.shop .price {
    padding:9px;
}
.shop-open .price {
    margin-bottom:2em;
}
.shop .price div.big-price,
.shop-open .price div.big-price {
    color:#111;
    font-size: 1.6em;
    line-height: 1.3em;
    font-weight: 700;
}
.shop-open .price div.big-price {
    font-size: 2em;
}
.shop .price div.through,
.shop-open .price div.through {
    text-decoration: line-through;
}
.shop .button.special {
    margin:15px 0 15px 9px;
}
.shop-login {
    margin-bottom:2em;
}
#nav i {
    margin-right:5px;
}
#basket-list {
    width:100%;
    min-height:100px;
}
#basket-list input[type="text"].add_item {
    font-size: 11pt;
    height: 29px;
    margin: -3px 6px 0 0;
    width: 42px;
    padding:4px;
}
#basket-list i {
    margin-left:5px;
    font-size:13pt;
    cursor:pointer;
    color:#777;
}
#basket-list .table > tbody > tr > td {
    padding: 16px 8px 12px;
}
#basket-list .dl-horizontal dt {
    float:left;
    width:200px;
}
#basket-list .dl-horizontal dt {
    float:left;
    width:200px;
}
@media screen and (max-width: 980px) {    
    #basket-list .dl-horizontal dt {
        float:left;
        width:190px;
    } 
    #basket-list dl {
        max-width:310px !important;
    }
    .modal {
        padding:0 !important;
    }
}
#basket-list .dl-horizontal dd {
    float:left;
    margin-left:20px;
}
#basket-list .free-shipping {
    font-size:0.9em;
}
#basket-list .ship_all_first {
    margin-top:15px;
}
#basket-list .ship_all {
    font-size:0.8em;
    line-height:1.6em;
}
#basket-list .table > tbody > tr.empty {
    background:none;
    border:0;
}
#new-customer h3,
#identification h3 {
    margin-bottom:0;
}
.lost-password {
    margin-top:12px;
}
.lost-password a {
    color:#ccc;
    font-size:0.9em;
    text-decoration:none;
}
.lost-password a:hover {
    color:#999 !important;
}
.identification .bg-success,
.identification .bg-danger,
.guest-alert {
    padding: 15px;
    font-size: 0.9em;
    color:#111;
}
.guest-alert {
    margin-bottom:2em;
}

.flash {
  -moz-animation: flash 1s ease-out;
  -moz-animation-iteration-count: 1;

  -webkit-animation: flash 1s ease-out;
  -webkit-animation-iteration-count: 1;

  -ms-animation: flash 1s ease-out;
  -ms-animation-iteration-count: 1;
}

@-webkit-keyframes flash {
    0% { background-color: none; }
    50% { background-color: #fbf8b2; }
    100% { background-color: none; }
}

@-moz-keyframes flash {
    0% { background-color: none; }
    50% { background-color: #fbf8b2; }
    100% { background-color: none; }
}

@-ms-keyframes flash {
    0% { background-color: none; }
    50% { background-color: #fbf8b2; }
    100% { background-color: none; }
}
.validation-total,
.validation-shipping,
.validation-subtotal,
.validation-form {
    width:100%;
}
.validation-total {
    margin-top:1em;
}
.validation-subtotal {
    color:#333;
    font-size:22px;
    margin-top:10px;
    font-weight:bold;

}
.validation-form h3 {
    margin-top:30px;
    border-top:1px solid #ddd;
    color:#333;
    padding:25px 0 0;
}
.validation-form h4 {
    color:#333;
    padding:20px 0 0;
}
.validation-form .radio div {
    margin-bottom:15px;
}
.validation-form .radio {
    margin-top:0;
}
.pickup {
    margin-top:25px;
}
.other-fields {
    margin-bottom:40px;
}
.modal-dialog {
    margin-top:100px;   
}

#paymentForm #card_number {
    background-image: url(images/images.png);
    background-position: 10px -111px;
    background-size: 120px 361px;
    background-repeat: no-repeat;
    padding-left: 64px;
}
#paymentForm #card_number.visa,
#paymentForm #card_number.valid.visa {
    background-position: 10px -153px;
}
#paymentForm #card_number.visa_electron,
#paymentForm #card_number.valid.visa_electron {
    background-position: 10px -195px;
}
#paymentForm #card_number.mastercard,
#paymentForm #card_number.valid.mastercard {
    background-position: 10px -237px;
}
#paymentForm #card_number.maestro,
#paymentForm #card_number.valid.maestro {
    background-position: 10px -279px;
}
#paymentForm #card_number.discover,
#paymentForm #card_number.valid.discover {
    background-position:10px2px -321px;
}

@media screen and (max-width: 1680px) { 

    #paymentForm #card_number {
        background-position: 10px -117px;
    }
    #paymentForm #card_number.visa,
    #paymentForm #card_number.valid.visa {
        background-position: 10px -160px;
    }
    #paymentForm #card_number.visa_electron,
    #paymentForm #card_number.valid.visa_electron {
        background-position: 10px -202px;
    }
    #paymentForm #card_number.mastercard,
    #paymentForm #card_number.valid.mastercard {
        background-position: 10px -244px;
    }
    #paymentForm #card_number.maestro,
    #paymentForm #card_number.valid.maestro {
        background-position: 10px -286px;
    }
    #paymentForm #card_number.discover,
    #paymentForm #card_number.valid.discover {
        background-position:10px2px -328px;
    }

}
#bt-dropin {
    margin-bottom:40px;
}

/* News */
.news-list h3 {
    font-weight: 400;
}
.news-list .date {
    font-size:0.9em;
}

/* Captcha */
.realperson-challenge {
    display: block;
    color: #000;
    margin-top:1em !important;
}
#captcha {
    width: 300px;
    margin: 5px auto 0;
}
@media screen and (max-width: 768px) {
    #captcha {
        width: 100%;
    }
}
.realperson-text {
    font-family: "Courier New",monospace !important;
    font-size: 6px;
    font-weight: bold;
    letter-spacing: -1px;
    line-height: 3px;
    text-align: center;
}
.realperson-regen {
    padding-top: 4px;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
}
.realperson-disabled {
    opacity: 0.5;
    filter: Alpha(Opacity=50);
}
.realperson-disabled .realperson-regen {
    cursor: default;
}

/* Map */
#map {  
    width:100%;
    height:400px;  
    line-height: 1.4;
    color:#333;
}
section.map-area {
    margin-bottom:0;
}

/* Nav-pills */
.nav-pills {
    margin-left:0 !important;
    margin-bottom:2.5em !important;
    padding-left:0 !important;
}
.nav-pills > li > a {
    color:#787878 !important;
}
.nav-pills > li.active > a, 
.nav-pills > li > a:focus, 
.nav-pills > li > a:hover {
    background:#ededed !important;
    color:#454545 !important;
}
.portfolio-list .tab-content ,
.portfolio-fancylist .tab-content {
    width:100%;   
}

/* Portfolio */
.portfolio-open-list div {
    padding-top:0;
}
.portfolio-open img {
    margin-bottom:2em;
}
.portfolio-open .button {
    margin-bottom:3.5em;
}
.portfolio-open-list hr {
    margin: 0em 0 1em !important;
}
.portfolio-list,
.portfolio-fancylist {
    padding:0 0 2em;
    text-shadow: none;
}
.portfolio-list h3 {
    border-bottom:1px solid #ddd;
    margin:0;
    padding:0 0 5px;
}
.portfolio-list .page-header {
    margin-top:0;
}
.portfolio-open-list .p-content,
.portfolio-list .p-content {
    padding: 4px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    display:inline-block;
    width:100%;
}
.portfolio-open-list .p-content {
    margin:1em 0;
    height:210px;
}
.portfolio-fancylist article {
    box-shadow: 0 0.05em 0.15em 0 rgba(0, 0, 0, 0.05);
}
.portfolio-fancylist article header {
    background: #fff;
    margin: 0;
    padding: 1em 0 1em 0;
    font-size: 0.8em;
}
.portfolio-fancylist article header h3 {
    font-size: 1em;
}
.portfolio-fancylist .in-content {
    display: none;
}
.fancybox-content {
    position: absolute; 
    z-index: 99999;
    bottom: 20px;
    height: auto;
    margin:0 5%;
    background: #fff;
    padding:20px;
    width: 90%;
    font-size:14px;
    line-height:20px;
}
@media screen and (max-width: 768px) {

    .fancybox-content {
        font-size:12px;
        bottom: -80px; 
    }

}
.fancybox-content h4 {
    margin:0;
    font-size:14px;
    font-weight:700;

}
.fancybox-content a {
    border:0; 
    cursor: pointer;
}   
.fancybox-content p {
    margin-bottom:15px;
}
.fancybox-content p:last-of-type {
    margin:0;
}
.portfolio-list .tc-in {
    position:relative;
    margin:0;
}
.portfolio-list .tc-in a {
    color:#eee;
}
.portfolio-list .tc-opacity,
.portfolio-list .tc-links {
    position:absolute;
    top:0;left:0;
    width:100%;
    height:260px;
}
.portfolio-list .tc-opacity {
    background:#000;
    opacity:0;
    z-index:1;
    transition: all ease 0.2s;
    -webkit-transition: all ease 0.2s;
    -moz-transition: all ease 0.2s;
    -ms-transition: all ease 0.2s;
}
.portfolio-list .tc-in:hover .tc-opacity {
    opacity:.4;
}
.portfolio-list .tc-links {
    opacity:0;
    z-index:2;
    transition: all ease 0.2s;
    -webkit-transition: all ease 0.2s;
    -moz-transition: all ease 0.2s;
    -ms-transition: all ease 0.2s;
    text-align: center;
}
.portfolio-list .tc-in:hover .tc-links {
    opacity:1;
}
.portfolio-list .tc-links:before {
    content: ' ';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}
.portfolio-list .tc-links span {
    vertical-align: middle;
    /*display: inline-block; */
    color:#eee;
    font-size:0.9em;

    position:absolute;
    text-align: center;
    top:20%;
    left:2%;
    width:96%;
}
.portfolio-list > * {
    padding-top: 2em !important;
}

@media (min-width:1200px) {
    #articles-list .col-md-4 {
        width: 32%;
    }
}

@media (min-width:992px) and (max-width:1199px) {
    #articles-list .col-md-4 {
        width: 32%;
    }
}

@media (min-width:768px) and (max-width:991px) {
    #articles-list .col-sm-6 {
        width: 47%;
    }
}

@media (max-width:767px) {
    #articles-list .col-xs-12 {
        width: 100%;
    }
}

a#back2Top {
    width: 1em;
    line-height: 1em;
    overflow: hidden;
    z-index: 999;
    display: none;
    cursor: pointer;
    position: fixed;
    bottom: 1em;
    right: 0.2em;
    background-color: transparent;
    color: #888888!important;
    text-align: center;
    font-size: 4em;
    text-decoration: none;
    border: 0;
    opacity: 0.3;
    outline: none!important;
}
a#back2Top:hover, a#back2Top:active, a#back2Top:visited , a#back2Top:hover:before {
    opacity: 1;
    color: #888888!important;
}

#basketLink{
    overflow: hidden;
    position:fixed;
    right:0;
    top:200px;
    padding-left:30px;
    padding-top:5px;
    padding-bottom:5px;
    border-top:solid;
    border-bottom:solid;
    border-left:solid;
    border-right:none;
    border-width:1px;
    border-color:lightgrey;
    border-radius: 15px 0 0 15px;
    background-color: white;
    opacity:0.7;
    z-index: 999;
    display: none;
}

#basketLink a{
    position:relative;
    right:20px;
    font-size:50px;
    color: #646464!important;
}

#basketLink a:hover {
    color:#777 !important;
}

#basketLink .badge {    
    right: -10px;
    position: absolute;
    background-color:red;
}