/*-------------------------------------------------------------- Forms --------------------------------------------------------------*/ button, input, select, textarea { font-size: 100%; /* Corrects font size not being inherited in all browsers */ margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */ vertical-align: baseline; /* Improves appearance and consistency in all browsers */ } button, input[type="button"], input[type="reset"], input[type="submit"] { padding: 1em 1em; text-transform: uppercase; line-height: 1; background: #263248; color: #000; border: none; cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */ -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */ } button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { background: #263248; color: #000; } button:focus, input[type="button"]:focus, input[type="reset"]:focus, input[type="submit"]:focus, button:active, input[type="button"]:active, input[type="reset"]:active, input[type="submit"]:active { background: #263248; color: #000; } input[type="checkbox"], input[type="radio"] { padding: 0; /* Addresses excess padding in IE8/9 */ } input[type="search"] { -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */ box-sizing: content-box; } input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */ -webkit-appearance: none; } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea { font-family: 'Open Sans', sans-serif; border: 1px solid #263248; } input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, textarea:focus { color: #111; } input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"] { padding: 3px; } textarea { overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */ padding-left: 3px; vertical-align: top; /* Improves readability and alignment in all browsers */ width: 100%; } /* Header search */ input[type="search"] { box-sizing: border-box; width: 100%; color: #263248; } .search-box-wrapper { z-index: 2; width: 100%; display: none; } .search-box { padding: 1em; border-bottom: 1px dashed #263248; } .search-box .search-field { max-width: 100%; float: none; padding: 1em; font-size: 12px; font-size: 1.2rem; color: #263248; border: 0; background: hsla(0, 0%, 100%, 0.1); } .error404 .search-submit, .search .search-submit, .search-box .search-submit { display: none; } .search-toggle { float: right; height: 36px; padding: 0.7em; padding-bottom: 0; width: 36px; color: #fff; text-align: center; cursor: pointer; color: #263248; } .search-toggle:hover, .search-toggle.active { background: hsla(0, 0%, 100%, 0.1); } @media screen and (max-width: 600px) { .search-toggle { position: absolute; top: 0; right: 0; margin-right: 0; } }