/*fixing responsive layout issues with header logo, search and shopping cart layout*/
@media(min-width: 1200px)
{
  .kluchko-header-texts .kluchko-xslogo-space,
  .xslogo 
  {
	width: 23% !important;
  }
  .kluchko-header-texts .kluchko-images
  {
      width: 76% !important;
  }
	.kluchko-header-texts
	{
		padding-top: 35px !important;
		margin-bottom: -89px !important;
		margin-left: 23px !important;
		margin-right: -13px !important;
	}
  #logo img
  {
    max-width: 109% !important;
  }
  div.top-search.col-lg-8
  {
    width: 58% !important;
  }
  div.top-search.col-lg-8 #search .input-lg 
  {
	width: 72% !important;
  }
  div.top-search.col-lg-10
  {
    width: 77% !important;
  }
  div.top-search.col-lg-10 #search .input-lg 
  {
	width: 75% !important;
  }
  div.top-search
  {
    padding-left: 3%;
	margin-top: 92px;
  }
  #header-cart
  {
	width: 10% !important;
	margin-top: 80px;
  }
  .middel-header
  {
    margin-bottom: -6px;
  }
}

@media(min-width: 992px) and (max-width: 1199.98px)
{
  .kluchko-header-texts .kluchko-xslogo-space,
  .xslogo 
  {
      width: 22.5% !important;
  }
  .kluchko-header-texts .kluchko-images
  {
      width: 76.4% !important;
  }
	.kluchko-header-texts
	{
		padding-top: 25px !important;
		margin-bottom: -68px !important;
		margin-left: 20px !important;
		margin-right: -23px !important;
	}
	.kluchko-header-texts-left
	{
		width: 164px !important;
		height: 42px !important;
	}
	.kluchko-header-texts-right
	{
		width: 456px !important;
		height: 42px !important;
	}
	.kluchko-header-texts-full
	{
		/*full size: 1067x78 px*/
		width: 620px !important;	
		height: 45px !important;
	}
  #logo img 
  {
    max-width: 113% !important;
  }
  div.top-search.col-lg-8
  {
    width: 56% !important;
  }
  div.top-search.col-lg-8 #search .input-lg 
  {
    width: 65% !important;
  }
  div.top-search.col-lg-10
  {
    width: 77% !important;
  }
  div.top-search.col-lg-10 #search .input-lg 
  {
	width: 73% !important;
  }
  div.top-search
  {
    padding-left: 3%;
	margin-top: 70px;
  }
  #header-cart
  {
	width: 10% !important;
	margin-top: 58px;
  }
  .middel-header 
  {
    margin-bottom: -6px;
  }
}

@media(max-width: 991.98px)
{/*a value of `991px` apparently fails to match the media query at 991px, allegedly because sub-pixel rounding??? or some other obscure phenomenon?*/
  .kluchko-header-texts .kluchko-xslogo-space,
  .xslogo 
  {
      width: 30% !important;
  }
  .kluchko-header-texts .kluchko-images
  {
      width: 68.4% !important;
  }
	.kluchko-header-texts
	{
        padding-top: 49px !important;
        margin-bottom: -78px !important;
        margin-left: 2px !important;
        margin-right: -23px !important;
	}
	.kluchko-header-texts-left
	{
		width: 103px !important;
		height: 27px !important;
	}
	.kluchko-header-texts-right
	{
		width: 285px !important;
		height: 26px;
	}
	.kluchko-header-texts-full
	{
		/*full size: 1067x78 px*/
		width: 620px !important;	
		height: 28px !important;
		margin-top: -28px !important;
	}
  #logo img 
  {
    max-width: 113% !important;
  }
  div.top-search.col-lg-8
  {
    width: 43% !important;
  }
  div.top-search.col-lg-8 #search .input-lg 
  {
    width: 86% !important;
  }
  div.top-search.col-lg-10
  {
    width: 70% !important;
  }
  div.top-search.col-lg-10 #search .input-lg 
  {
	width: 89% !important;
  }
  div.top-search
  {
    padding-left: 3%;
	margin-top: 84px;
  }
  #header-cart
  {
	width: 10% !important;
	margin-top: 73px;
  }
  .middel-header 
  {
    margin-bottom: -6px;
  }
  #column-left
  {
	  display: none !important;
  }
  #content.col-md-9
  {
      width: 100% !important;
  }
}

@media(max-width: 767.98px)
{
   #logo img
   {
	border-radius: 5px !important;
   }
  .kluchko-header-texts
  {
	  display: none;
  }
  div.top-search.col-lg-8
  {
	width: 52% !important;
  }
  div.top-search.col-lg-10
  {
    width: 80% !important;
  }
  div.top-search
  {
	padding-left: 2%;
	margin-top: 41px;
  }
  div.top-search.col-lg-8 #search .input-lg,
  div.top-search.col-lg-10 #search .input-lg
  {
     width: calc(100% - 50px) !important;
  }
  #header-cart
  {
	width: 10% !important;
	margin-top: 33px;
  }
  .middel-header 
  {
    margin-bottom: 25px;
  }
}

@media(max-width: 650px)
{
	div.top-search.col-lg-8,
	div.top-search.col-lg-10
	{
		width: 100% !important;
		padding-left: 0.75em;
		margin-top: 3px;
	}
	#search .input-lg
	{
		width: calc(100% - 50px) !important;
	}
	#header-cart
	{
		flex-basis: 100%;
		display: flex;
		justify-content: flex-end;
		margin-top: -194px;
	}
}
@media(max-width: 575px)
{
  .middel-header 
  {
    margin-bottom: 0px;
  }
}
.middel-header 
{
  position: relative;
  padding: 0;
  z-index: 9999;
  margin-top: -14px;
}

#top
{
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.header-social
{
  margin-top: -4px;
}

.kluchko-header-texts-left
{
	float: left;
}
.kluchko-header-texts-right
{
	float: right;
}

#logo img
{
	border-radius: 5px 5px 0 0;
}

.inspire-search .show-all-results
{
	margin-bottom: 15px;
}

.kluchko-header-texts-full
{
    margin-bottom: -5px;
    margin-top: -5px;	
}

#checkout-confirm small,
#shopping-cart small,
#header-cart small
{
	color: var(--color-accent-dark)
}

