﻿/* New Search results */

.search-results-input {
    border-bottom: 1px solid #E9E9E9;
    margin-bottom: 20px;
}

    /*.s-results-input-wrapper {
    background: #F1F1F1;
    padding: 30px 20px;
    margin-top: 15px;
}*/



    .search-results-input #custom-search-input {
        height: auto !important;
    }


.s-results-input-wrapper input.form-control.search-input {
    width: 100%;
    background: transparent;
    /*border-bottom: 1px solid #949494 !important;
    font-size: 1.86667em;
    height: auto;*/
}

.search-results-input .s-results-summary p {
    font-size: 16px !important;
    margin-bottom: 5px;
    display: block;
    /* padding: 0px!Important; */
    line-height: 1.5;
    padding: 12px 0px;
}


.search-results-input .s-results-summary {
    padding: 15px 0px;
    border-bottom: 1px solid #E9E9E9;
    margin-bottom: 40px;
}


.cms-results-item {
/*     border-bottom: 1px solid #e5e5e5; */
    margin-bottom: 15px;
    padding-bottom: 15px;
}


    .cms-results-item h3 {
        text-decoration: underline;
        color: #e20074 !important;
        display: inline-block;
        font-size: 17px;
        font-family: tele-groteskhalregular;
        margin-bottom: 15px !important;
    }

    .cms-results-item p {
		padding: 0px !important;
		font-size: 16px !important;
		margin-bottom: 15px;
		font-family: 'tele-groteskhalregular';
		line-height: 1;
		margin-top: 6px;
    }

    .cms-results-item a {
      color: #467bab;
    font-size: 12px;
    line-height: 1.2;
    overflow: hidden;
    height: 30px;
    display: block;
    }
	
	    .cms-results-item a:nth-child(1){
			height:38px;
		}

p.result-ttl {
    margin: 20px 0px 8px 0px;
}

.search-results-input .search-icon-static {
    position: absolute;
    top: 15px;
    right: 10px;
}

    .search-results-input .search-icon-static i {
        font-size: 28px;
    }

/*.search-results-input i.glyphicon.glyphicon-search {
    color: #666 !important;
    font-size: 26px !important;
}*/

.homepage-search-wrapper {
    margin-top: 10px;
}

    .homepage-search-wrapper #custom-search-input {
        height: 43px;
        margin-bottom: 0px;
    }


    .homepage-search-wrapper .cms-results-item {
        border: 0px;
        padding-bottom: 0px;
        margin-bottom: 8px;
    }

    .homepage-search-wrapper .hp-products-short.col-sm-6, .homepage-search-wrapper .hp-products-short.col-md-6,
    .homepage-search-wrapper .hp-cms-short.col-md-6, .homepage-search-wrapper .hp-cms-short .col-sm-12 {
        padding: 0px;
    }



.cms-resulst-item-bbt {
    border-bottom: 1px solid #E9E9E9;
    padding-bottom: 8px;
    height: 127px;
}

.homepage-search-wrapper .hp-cms-short a h3, .homepage-search-wrapper .hp-cms-short p {
    font-size: 16px !important;
    margin-bottom: 5px !important;
    font-family: tele-groteskhalregular;
    line-height: 1.2;
    height: 38px;
    overflow: hidden;
    display: block;
}

.homepage-search-wrapper .hp-cms-short a h3 {
    height: 37px;
    overflow: hidden;
}

.homepage-search-wrapper .hp-cms-short a {
    font-size: 14px !important;
    font-family: tele-groteskhalregular;
    height: 30px;
    overflow: hidden;
    display: block;
    position: relative;
    line-height: 1.2;
}

.cms-results-item.col-md-6, .cms-results-item.col-sm-6 {
    padding: 0px 8px;
}

@media (max-width: 767px) {
    .s-results-input-wrapper {
        margin-top: 25px;
    }

    .search-results-input .s-results-summary {
        padding: 0px 20px;
    }

    .search-homepage-short {
        margin-top: 89px;
        z-index: 1010;
        position: relative;
    }
}

.homepage-search-wrapper input.form-control.search-input,
.webshop-homepage input.form-control.search-input {
    border: 0px;
}



/* End of New Search results */

/* Custom search input */
div#custom-search-input.search-extended {
    background: transparent;
    border: 0px;
}

.search-extended .extended-results p {
    padding: 15px 15px 15px 15px;
    font-size: 18px;
    font-family: 'tele-groteskhalregular';
}

span.results-for {
    color: #e20074;
    font-family: 'tele-groteskhalregular';
}

#custom-search-input {
    position: relative;
    display: block;
    padding: 0px;
    border: solid 1px #e9e9e9;
    border-radius: 0px;
    background-color: #fbfbfb;
    margin-bottom: 10px;
    height: 43px;
}

    #custom-search-input input {
        /*border: 0;*/
        box-shadow: none;
        height: 41px;
            padding: 5px 34px 5px 15px;
    }

    #custom-search-input button {
        margin: 2px 0 0 0;
        background: none;
        box-shadow: none;
        border: 0;
        color: #666666;
        padding: 0 8px 0 10px;
        /*border-left: solid 1px #ccc;*/
    }

        #custom-search-input button:hover {
            border: 0;
            box-shadow: none;
            cursor: auto;
            /*border-left: solid 1px #ccc;*/
        }

    #custom-search-input .glyphicon-search {
        font-size: 16px;
        color: #ea499c;
    }

div#custom-search-input .input-group-btn {
    background: white;
}


div#custom-search-input button:focus {
    outline: none;
}

.s-results-input-wrapper .search-input {
    border: 1px solid #e5e5e5!important;
}




.search-fix-a .container.search-results-holder
{
    top: 42px;
    right: 0;
    position: absolute;
    border-top: 1px solid #E9E9E9;
	    z-index: 22222;
}

@media (min-width: 768px)
{
  .search-results-holder
  {
  width:100%;
}
}

@media screen and (min-width:767px) and (max-width:990px) {
   .search-results-holder {
		width: 750px;
	}
}


@media screen and (min-width:991px) and (max-width:1200px) {
   .search-results-holder {
		width: 970px!important;
	}
}




@media (max-width:767px) {
	.col-lg-7.col-md-7.col-sm-6.p0.search-fix-a {
		position: fixed;
		top: 100px;
		padding: 10px 10px 2px 10px!important;
		opacity:0;
		visibility:hidden;
		background: #ddd;
	}
	
	.col-lg-7.col-md-7.col-sm-6.p0.search-fix-a.open {
		visibility:visible;
		opacity:1;
	}
	
	.search-homepage-short {
		margin-top: 0; 
	}
	
/* 	.search-homepage-short .search-results-holder.container {
		display: none;
	} */
	
	.cms-results {
		padding:20px;
	}
	
	.hp-products-short .search-results-item,
	.hp-cms-short .cms-results-item	{
		display: none;
	}
	
	.hp-products-short .search-results-item:nth-child(1),
	.hp-products-short .search-results-item:nth-child(2),
	.hp-cms-short .cms-results-item:nth-child(1),
	.hp-cms-short .cms-results-item:nth-child(2)	{
		display: block;
	}
	
	.hp-products-short.col-xs-12 {
		padding: 0px;
	}
	
	.hp-products-short .search-results-item:nth-child(2) {
		margin-bottom:20px;
	}	

	.hp-products-short .product-item-img {
		width: 50px;
		height: 70px;
	}
	
	.hp-products-short .product-item img {
		max-height: 50px;
	}
	
	.hp-products-short .product-item {
		height: 80px;
	}
	
	.col-lg-7.col-md-7.col-sm-6.p0.search-fix-a {
		bottom: 0;
		background-color:#fff;
	}
	
	.search-homepage-short .search-results-holder.container {
		height: auto;
		overflow: auto;
		max-height: 300px;
	}
	
	
}




/* End of Custom search input */