.block-search-wide__button {
    position: relative;
    display: block;
    width: 50px;
    height: 75px;
    cursor: pointer;
    color: #0d1214; /* Affects SVG search icon. */
    border: 0;
    background: transparent;
    -webkit-appearance: none;
    -webkit-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -moz-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -o-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    -ms-transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
    transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
}

.small-height .block-search-wide__button {
    height: 55px;
}

.block-search-wide__button svg {
    width: 16px;
    height: 16px;
    margin-bottom: -3px;
}

.block-search-wide__button:focus {
    position: relative;
    outline: 0;
}

/* .block-search-wide__button:focus:after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 3.375rem;
    content: "";
    transform: translate(-50%, -50%);
    border: solid 2px #2494db;
} */

.block-search-wide__wrapper {
    border: 1px solid #ebebeb;
    position: absolute;
    z-index: 1;
    top: 100%;
    display: block;
    visibility: hidden;
    overflow: hidden;
    width: 100%;
    height: 70px;
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    transition: all 0.2s;
    background: #000;
    left: 0;
  }


.block-search-wide__wrapper.is-active {
    visibility: visible;
    max-height: 70px;
}

.block-search-wide__wrapper form {
	display: flex;
	grid-column: 1 / 14;
}  

.block-search-wide__wrapper .form-item-search-api-fulltext {
	flex-grow: 1;
	margin: 0;
}

.block-search-wide__wrapper .form-actions {
	display: flex;
	margin: 0;
}

.block-search-wide__wrapper .form-actions .glyphicon-search {
    font-size: 18px;
}

.block-search-wide__wrapper input[type="search"] {
	height: 70px;
	padding-top: 0;
	padding-bottom: 0;
	transition: background-size 0.4s;
	color: #777;
	border: solid 1px transparent;
	box-shadow: none;
	font-size: 2rem;
	-webkit-appearance: none;
}

@media (min-width: 1200px) {
    .block-search-wide__wrapper input[type="search"] {
        padding-left: calc((100vw - (1200px - 1%)) / 2);
    }
}

/* @media (min-width: 992px) {
    .block-search-wide__wrapper input[type="search"] {
        padding-left: calc((100vw - (1000px - 1%)) / 2);
    }
}

@media (min-width: 768px) {
    .block-search-wide__wrapper input[type="search"] {
        padding-left: calc((100vw - (780px - 1%)) / 2);
    }
} */

.block-search-block .form-actions .btn {
    border-radius: 0;
}

.block-search-wide__wrapper .search-form__submit {
    position: relative;
    overflow: hidden;
    -ms-grid-row-align: stretch;
    align-self: stretch;
    width: 6.25rem;
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    cursor: pointer;
    border-color: transparent;
    background-color: transparent;
  
    /*
        When in Windows high contrast mode, FF will not output either background
        images or SVGs that are nested directly within a <button> element, so we add a <span>.
      */
  }
  
  .block-search-wide__wrapper .search-form__submit .icon--search {
    position: absolute;
    top: 0;
    display: block;
    width: 1.5rem; /* Width of the SVG background image. */
    height: 100%;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='26' height='27.2' viewBox='0 0 26 27.2'%3e  %3cpath fill='%23fff' d='M25.8,25.5l-5.3-5.3c2.1-2.1,3.4-5.1,3.4-8.3C23.9,5.3,18.5,0,11.9,0C5.3,0,0,5.3,0,11.9c0,6.6,5.3,11.9,11.9,11.9c2.6,0,5.1-0.9,7-2.3l5.4,5.4c0.4,0.4,1,0.4,1.4,0C26.1,26.6,26.1,25.9,25.8,25.5z M11.9,21.9c-5.5,0-9.9-4.4-9.9-9.9S6.4,2,11.9,2c5.5,0,9.9,4.4,9.9,9.9S17.4,21.9,11.9,21.9z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }