3 * This file is used to style the search block.
14 @media screen and (min-width: 48em) {
21 .search-block-form form {
24 margin-bottom: 1.2rem;
28 /* Compensate for focus styling that offsets left alignment of icon */
32 @media screen and (min-width: 48em) {
38 /* Search icon for mobile */
41 justify-content: flex-end;
45 /* Centres the icon when focused/hovered */
51 outline: 3px solid #00836d;
52 background-color: #fff;
68 max-width: calc(100vw - 6.25em);
70 margin: 0 -2px 0 0; /* LTR */
71 padding: 7px 8px 7px 32px;
73 border: 1px solid #dbdbdb; /* LTR */
74 border-right: none; /* LTR */
76 background: url(../../../../images/svg/search.svg) no-repeat 0.5em center #fff;
80 [dir=rtl] .form-search {
83 border-right: 1px solid #dbdbdb;
87 margin: 0 0 -2px -2px; /* LTR */
88 padding: 5px 8px 5px 32px;
91 [dir=rtl] .form-search:focus {
92 margin: 0 -2px -2px 0;
93 background-position: 0.35em;
94 border: 3px solid #00836d;
97 .form-search::placeholder {
100 .form-type-search .form-search {
101 box-sizing: border-box; /* Override input[type="search"] of normalize.css */
105 .search-block-form .form-actions {
111 .search-block-form .form-submit,
112 .search-form .form-submit {
113 /* Take off the border radius on the left side as it bumps into the search field */
114 border-top-left-radius: 0; /* LTR */
115 border-bottom-left-radius: 0; /* LTR */
117 [dir=rtl] .search-block-form .form-submit,
118 [dir=rtl] .search-form .form-submit {
119 /* Take off the border radius on the left side as it bumps into the search field */
120 border-top-left-radius: 4px;
121 border-bottom-left-radius: 4px;
122 border-top-right-radius: 0;
123 border-bottom-right-radius: 0;
126 .search-block-form .form-submit:focus,
127 .search-block-form .form-submit:hover,
128 .search-form .form-submit:focus,
129 .search-form .form-submit:hover {
131 border-top-left-radius: 4px; /* LTR */
132 border-bottom-left-radius: 4px; /* LTR */
134 /* Apply border radius to all corners to override LTR and RTL (normal state) changes. */
135 [dir=rtl] .search-block-form .form-submit:focus,
136 [dir=rtl] .search-block-form .form-submit:hover,
137 [dir=rtl] .search-form .form-submit:focus,
138 [dir=rtl] .search-form .form-submit:hover {