:root {

    --primary-color: #FF0000;
  
  
  }

/* ============================================
		SEARCHBAR
=============================================*/

.search-wrapper { width: 175px; margin-left: 20px; }
.search-wrapper .search-bar { position: absolute; top: 48%; margin-top: -15px; right: 14vw; width: 100px; }
.search-wrapper input { width: 100%; font-size: .9rem; padding-left: 30px; color: #ffffff; transition: all 300ms linear; border: 1px solid var(--darkblue); background-color: var(--primary-color); }
.search-wrapper input::placeholder { color: #ffffff; padding-left: 6px; }
.search-wrapper .search-icon { font-size: .9rem; color: #ffffff; position: absolute; left: 14px; top: 6px; }
.search-wrapper .search-close { display: none; }
.search-wrapper .search-results-wrapper .search-bikes { margin-top: 10px; }
.search-wrapper .search-results-wrapper .products .card { height: 97%; }
.search-wrapper .search-results-wrapper .products .card .card-header { display: none; }
.search-wrapper .search-results-wrapper .products .card .card-image { max-width: 150px; margin: 10px auto 0 auto; }
.search-wrapper .search-results-wrapper .products .card .card-body { margin-top: -5px; }
.search-wrapper .search-results-wrapper .products .card .card-footer { line-height: 1.2; }
.search-wrapper .search-results-wrapper .products .card .card-footer .card-title h3 { font-size: 1rem; }
.search-wrapper .search-results-wrapper .products .card .card-footer .bike-price { font-size: 0.9rem; }
.search-wrapper .search-results-wrapper .products .card .card-footer .bike-instock span.stock { font-size: 0.9rem; }
.search-wrapper .search-results-wrapper .search-categories { font-size: 1rem; }
.search-wrapper .search-results-wrapper .search-categories h4 { margin-top: 0; text-transform: capitalize; }
.search-wrapper .search-results-wrapper .search-categories a { text-decoration: none; }
.search-wrapper .search-results-wrapper .search-pages { font-size: 1rem; }
.search-wrapper .search-results-wrapper .search-pages h4 { margin-top: 0; text-transform: capitalize; }
.search-wrapper .search-results-wrapper .search-pages a { text-decoration: none; }
.search-wrapper.open .search-bar { position: absolute; right: var(--half-space); width: var(--container-width); z-index: 2; border: 1px solid #ced4da; border-radius: 100px; }
.search-wrapper.open input { display: block; width: 100%; font-size: 1rem; padding-left: 50px; color: var(--primary-color); background-color: #ffffff; border: none; }
.search-wrapper.open input::placeholder { color: #999999; }
.search-wrapper.open .search-icon { font-size: 1.3rem; color: #999999; position: absolute; left: 20px; top: 6px; }
.search-wrapper.open .search-close { font-size: 1.3rem; color: #999999; position: absolute; right: 14px; top: 8px; }
.search-wrapper .search-results-wrapper { display: none; min-height: 20vh; }
.search-wrapper.open .search-results-wrapper { display: block; background: #fff; position: absolute; right: 12vw; top: 36%; width: 74%; margin-top: 10px; padding: 20px; padding-top: 12px; padding-bottom: 30px; border-radius: 18px; max-height: 90vh; overflow-y: auto; }
.search-results-wrapper .btn-sm { padding: 7px 14px; font-size: 0.9rem; }
.search-results-wrapper h6 { border-bottom: 1px solid #d8d8d8; font-weight: bold; margin-bottom: 10px; padding-bottom: 5px; }
.search-wrapper.open .search-close { display: block; }
.cursor-pointer { cursor: pointer; }


/* Custom */


.form-control:focus {box-shadow: none !important;}

.no-scroll { overflow: hidden; height: 100%; max-height: 100%; touch-action: none;}
.no-scroll::before { content: ''; position: fixed; top: 0; left: 0; height: 100%; width: 100vw; background-color: rgba(0, 0, 0, 0.6); z-index: 1002; touch-action: none;}

.no-scroll .main-logo img {filter: brightness(40%);}
.no-scroll .logo {pointer-events: none;}

.no-scroll .topbar::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 100vw; background-color: rgba(0, 0, 0, 0.6); z-index: 1;}
.no-scroll .topbar .hassearch {position: relative; z-index: 0;}

.no-scroll .topbar {position: relative; z-index: 1007; padding-top: 0; padding-bottom: 0; width: 100vw;}
.no-scroll .topbar .top-one,
.no-scroll .topbar .top-two,
.no-scroll .topbar .top-tree,
.no-scroll .topbar .top-four {opacity: 0;}

.no-scroll .topbar .navbar-toggler {opacity: 0;}

.no-scroll .topbar .top-search {display: flex; justify-content: end;}

.no-scroll .topbar .top-search .search-results-wrapper > em {width: 100%; display: block; text-align: center;}

.no-scroll .navbar-expand-lg {opacity: 0;}

.no-scroll .navbar.navbar-expand-lg.navbar-light.fixed-nav.nav-noview {z-index: 0;}
.no-scroll .nav-item {pointer-events: none;}
.no-scroll .nav-item ul {opacity: 0;}

.no-scroll .container-fluid.nav .navbar .navbar-nav .nav-item {opacity: 0;}

.no-scroll .fixed-nav .search-bar {display: none;}

.search-results-wrapper .row.bikes {border-top: 1px solid #F0F0F0; border-right: 0 solid #F0F0F0; }
.search-results-wrapper .row.products {border-top: 1px solid #F0F0F0; border-right: 0 solid #F0F0F0; }
.search-results-wrapper .search-left {border-right: 1px solid #F0F0F0; padding-right: 0;}
.search-results-wrapper .search-right {padding-top: 10px; padding-left: 0;}
.search-results-wrapper .search-right .right-col { padding-left: 0;}
.search-results-wrapper .search-right h4 { padding-left: 30px; padding-bottom: 8px; border-bottom: 1px solid #f0f0f0;}
.search-results-wrapper .search-right ul { padding-left: 30px;}

.search-results-wrapper::-webkit-scrollbar {width: 5px; }
.search-results-wrapper::-webkit-scrollbar-thumb {background: var(--primary-color); border-radius: 18px;}
.search-results-wrapper::-webkit-scrollbar-track {background: transparent; height: 80%;}
.search-results-wrapper::-webkit-scrollbar-track-piece:start { margin-top: 20px; }
.search-results-wrapper::-webkit-scrollbar-track-piece:end { margin-bottom: 20px;}

.search-results-wrapper {padding-bottom: 12px; text-transform: initial;}
.search-results-wrapper img { object-fit: contain; height: fit-content;}
.search-results-wrapper .card {display: flex; flex-direction: row; align-items: start; justify-content: space-between; border: none; height: 100%; margin-top: 12px; padding-top: 12px; padding-bottom: 12px; transition: all 0.5s;}
.search-results-wrapper .card:hover {box-shadow: 0 0 12px var(--primary-color);}
.search-results-wrapper .card.prod {padding: 12px;}
.search-results-wrapper .card .bike-sale-image {padding: 0 12px; width: 100%; display: flex; justify-content: center;}
.search-results-wrapper .card .bike-sale-detail {width: 100%; padding: 0 12px;}

.search-wrapper .search-bar { position: relative; top: 0; margin-top: 0; right: 0; width: 175px; }
.search-wrapper .search-bar a { background-color: var(--primary-color); padding-left: 35px; color: #ffffff;}

.search-wrapper.open .search-bar { top: 0; margin-top: 35px; right: 0; width: 60vw; }
.search-wrapper.open .search-results-wrapper {width: 60vw; right: 0; margin-top: 60px; line-height: 1.3;}
.search-wrapper.open .search-results-wrapper h4 { font-size: 23px; font-weight: 700; text-transform: uppercase; width: max-content;}
.search-wrapper.open .search-results-wrapper .bike-brand {color: var(--blue-color); font-size: 14px;}
.search-wrapper.open .search-results-wrapper h5 {font-weight: 700; font-size: 16px; margin-bottom: 0;}
.search-wrapper.open .search-results-wrapper strong {color: #000; font-size: 14px; font-weight: 700;}
.search-wrapper.open .search-results-wrapper em { font-weight: 700; font-style: normal; text-decoration: underline; color: var(--primary-color);}
.search-wrapper.open .search-results-wrapper .doc-subtitle {font-size: 14px !important;}
.search-wrapper.open .search-results-wrapper .bike-sale-km {font-size: 14px; color: #a7a7a7;}
.search-wrapper.open .search-results-wrapper .bike-sale-price {color: #000; font-size: 14px; text-wrap: nowrap;}

.search-results-wrapper .btn { font-size: 14px; color: var(--primary-color); text-transform: uppercase;}

/* sticky nav search */
.search-wrapper.no-text { width: fit-content; margin: 0;}
.search-wrapper.no-text .search-bar { width: fit-content;}
.search-wrapper.no-text .search-bar a {padding: 0px; width: 34px; height: 34px; display: flex; justify-content: center; align-items: center;} 

/* Bike's */
.search-wrapper.open .search-results-wrapper .row.bikes .bike-sale-detail { height: 100%; display: flex; flex-direction: column; justify-content: space-between;}

/* producten */
.search-results-wrapper .card.prod {flex-direction: column;}
.search-results-wrapper .card.prod .prod-top {width: 100%;}
.search-results-wrapper .card.prod .prod-top .bike-sale-detail {padding-top: 12px;}

/* Pagina's */
.search-wrapper .search-results-wrapper .search-pages ul li {list-style: none; display: flex; align-items: baseline; padding-bottom: 12px;}
.search-wrapper .search-results-wrapper .search-pages ul li::before {
    content: '';
    position: relative;
    background-image: url("/template/template-default/images/arrow-next.png"); background-size: cover; background-size: 17px 12px;
    width: 17px; height: 12px;  
    filter: brightness(0) saturate(100%) invert(76%) sepia(0%) saturate(0%) hue-rotate(51deg) brightness(90%) contrast(90%); 
}
.search-wrapper .search-results-wrapper .search-pages ul li a {font-weight: 500; font-size: 14px; color: var(--blue-color); padding-left: 15px; width: fit-content;}
.search-wrapper .search-results-wrapper .search-pages ul li a:hover {color: var(--primary-color);}

/* Categorieen */
.search-wrapper .search-results-wrapper .search-categories ul li {list-style: none; display: flex; align-items: baseline; padding-bottom: 12px;}
.search-wrapper .search-results-wrapper .search-categories ul li::before {
    content: '';
    position: relative;
    background-image: url("/template/template-default/images/arrow-next.png"); background-size: cover; background-size: 17px 12px;
    width: 17px; height: 12px;  
    filter: brightness(0) saturate(100%) invert(76%) sepia(0%) saturate(0%) hue-rotate(51deg) brightness(90%) contrast(90%); 
}
.search-wrapper .search-results-wrapper .search-categories ul li a {display: flex; padding-left: 15px; width: fit-content;}
.search-wrapper .search-results-wrapper .search-categories ul li a:hover {color: var(--primary-color);}


/* Top alleen zichtbare met dit template  */
.top-nosearch {display: none !important;}
.hassearch {display: block !important;}

/* === Responsive === */
/* max-width */

@media screen and (max-width: 1650px) {
    
    .search-results-wrapper .card img {max-height: 160px;}

    .no-scroll .topbar .hassearch {padding-top: 12px;}
    .no-scroll .topbar .hassearch .container > .row {position: relative;}
    
    .no-scroll .link-cutout.cutout-big,
    .no-scroll .main-logo img { transition: transform 0.5s; transform: translateY(-400px);}
    
    .no-scroll .topbar .top-one,
    .no-scroll .topbar .top-two,
    .no-scroll .topbar .top-three,
    .no-scroll .topbar .top-four {display: none;}

    .no-scroll .topbar .top-search { position: absolute; max-width: 100%; width: 100%;}

    .no-scroll .search-wrapper {width: 100%;}
    
    .search-wrapper.open .search-bar {margin-top: 30px;}
    .search-wrapper.open .search-results-wrapper {margin-top: 60px; max-height: calc(100vh - 54px);}

    .search-wrapper.open .search-bar,
    .search-wrapper.open .search-results-wrapper { width: var(--container-width); max-width: 1140px; left: 0;}

}

@media screen and (max-width: 1499px) {
    
    .search-results-wrapper img {max-height: 130px;}
    .search-results-wrapper h5 {font-size: 18px; margin-bottom: 0;}
}

@media screen and (max-width: 1440px) {

    .no-scroll .link-cutout.cutout-big,
    .no-scroll .main-logo img {transform: translateY(-300px);}

    
}

@media screen and (max-width: 1399px) {
    
    #productsrow.products > :nth-last-child(2) {display: none;}
    
    .no-scroll .link-cutout.cutout-big::before {height: 30vw; bottom: -1%; left: -3%;}
    
    .search-results-wrapper .card {flex-direction: column;}
    .search-results-wrapper .bike-brand {padding-top: 12px;}

}

@media screen and (max-width: 1199px) {

    .search-wrapper.open .search-bar {margin-top: 30px;}

   .no-scroll .navbar-light .navbar-toggler {opacity: 0;}

   .no-scroll .topbar {z-index: 9999;}
   .no-scroll .topbar::before {z-index: 0;}

}

@media screen and (max-width: 991px) { 


    .topbar .search-wrapper {display: none;}
    .no-scroll .topbar .search-wrapper {display: block;}
    .no-scroll .topbar .hassearch .top-search {width: 100%;}

    .search-wrapper.open .search-bar { top: 16px; margin-top: 30px;}
    /* .search-wrapper.open .search results-wrapper { position: fixed; top: 0; left: 0;}  */
    .search-wrapper.open .search-results-wrapper h4 { font-size: 20px; margin-top: 12px;} 
    .search-wrapper.open .search-results-wrapper .search-left {border-right: 0px; padding-right: 12px;}

    #productsrow.products > :nth-last-child(2) {display: none;}
    
    .topbar .hassearch .top-one {order: 1;}
    .topbar .hassearch .top-two {order: 2;}
    .topbar .hassearch .top-three {order: 5;}
    .topbar .hassearch .top-search {order: 0; margin-bottom: 12px; display: flex; justify-content: end;}
    .topbar .hassearch .top-four {order: 4;}

    .topbar .hassearch .search-container {display: flex; justify-content: end;}


    .search-results-wrapper .search-right {padding-left: 15px;}
    .search-results-wrapper .search-right .right-col {padding-left: 15px;}
    .search-results-wrapper .search-right h4 { padding-left: 15px; padding-right: 15px;}
    .search-results-wrapper .search-right ul { padding-left: 0px;}

}

@media screen and (max-width: 767px) { 
    
    #productsrow.products > :nth-last-child(2) {display: block;}

    .search-results-wrapper .card {flex-direction: row; justify-content: start;}
    .search-results-wrapper .card .bike-sale-image {max-width: 210px; width: 100%;}

    .search-wrapper.open .search-results-wrapper .row.bikes .bike-sale-detail {height: fit-content;}
    .search-wrapper.open .search-results-wrapper .row.products .bike-sale-detail {height: 100%; display: flex; justify-content: space-between; flex-direction: column;}

    .no-scroll .topbar {padding: 0;}

    .no-scroll .main-logo.big-header {opacity: 0;}
    .no-scroll .link-cutout.cutout-big {opacity: 0;}

    .no-scroll .search-wrapper.open .search-bar {width: 100%;}
    .no-scroll .search-wrapper.open .search-results-wrapper {max-height: 95vh;}
}


@media screen and (max-width: 575px) { 
    
    .no-scroll .topbar .hassearch .top-search .navbar-toggler,
    .no-scroll .topbar .block.availability {display: none;}
    .no-scroll .search-wrapper.open .search-bar {width: 90% !important; left: 5%; right: 5%;}

    
    .search-wrapper {margin-right: 12px;}
    .search-wrapper,
    .search-wrapper .search-bar { width: 240px; right: 12px}
    .search-wrapper input {padding: 0 18px;}
    .search-wrapper .search-icon {left: 11px;}
    .search-wrapper.open .search-bar {margin-top: 0;}

}

@media screen and (max-width: 479px) {  

    .search-results-wrapper .card {flex-direction: row; }
    .search-results-wrapper .card .bike-sale-image {max-width: 100%; display: flex; justify-content: center;}

    .no-scroll .topbar {padding: 0 15px;}
    .no-scroll .topbar .hassearch {margin: 0;}

    .no-scroll .search-wrapper.open .search-results-wrapper { margin-top: -12px; padding-top: 62px; padding-bottom: 150px; max-height: calc(100vh + 12px);}

}

/* min width */

@media screen and (min-width: 992px) { 

}

@media screen and (min-width: 1400px) {

    .col-xxl-3 {max-width: 25%;}

}

@media screen and (min-width: 1921px) {

    .search-wrapper.open .search-bar {max-width: 50vw;}
    .search-wrapper.open .search-results-wrapper {max-width: 50vw;}


}