/* === normal search - positioning === */ #wpbody { position: relative; margin-top: 0px !important; } div.mce-statusbar { position: inherit !important; } #post-status-info { position: inherit !important; } /* === mobile for up to 599px === */ @media (max-width: 599px) { .top-bg { padding-top: 35px; } html #wpadminbar { margin-top: -18px; } .top-bg { margin-top: 0px; } .voice_button { margin-left: 6px; } p.search-box input[name="s"] { width: 92%; } .auto-fold #adminmenu { top: 16px; } #wpbody-content { margin-top: -46px; } div#ayo-general { margin-top: 0px !important; } #header_boxes { text-align: center; display: table; width: 100%; margin: 0 auto; margin-top: 18px; background: #0073AA; } .box { width: 100%; padding: 28px 0px 0px 0px; margin-left: 0px; height: auto; margin-bottom: -27px; } .box1 { text-align: center; font-size:30px; font-family: "Open Sans",sans-serif; padding: 32px 0px 13px 0px; color: white; width: 100%; margin-bottom: 29px; margin-top: 10px; } p.p_search { position: absolute; top: auto; margin: 0 auto; width: 100%; } .afisare { text-align: left; display: inline; padding-bottom: 20px; margin: 64px -100px 6px -100px; } .get_result { text-align: center; color: white; font-size: 14px; width: auto; margin-right: 0px; margin-top: 10px; margin-bottom: 14px; } center { padding-top: 30px; padding-bottom: 20px; } } /* === mobile over 600px === */ @media (min-width: 600px) { .box { width: 100%; padding: 28px 0px 0px 0px; margin-left: 0px; height: auto; margin-bottom: -27px; } .box1 { text-align: center; font-size:30px; font-family: "Open Sans",sans-serif; padding: 0px 0px 0px 0px; color: white; width: 100%; margin-bottom: 29px; } p.p_search { position: absolute; top: auto; margin: 0 auto; width: 100%; } .afisare { text-align: center; display: inline; padding-bottom: 20px; margin: 64px -100px 6px -100px; } .get_result { font-weight: none; color: white; font-size: 14px; margin-right: 0px; margin-top: 10px; margin-bottom: 14px; } center { padding-top: 30px; padding-bottom: 20px; } #header_boxes { text-align: center; display: table; width: 100%; margin: 0 auto; padding: 20px 0px 20px 0px; background: #0073AA; } } /* === mobile over 783px === */ @media (min-width: 783px) { input[type=mydsearch] { margin: 53px 29px 6px 29px; } .holder_fixed { margin-top: 32px !important; width: 100% !important; text-align: -webkit-center !important; background: #2196F3 !important; webkit-box-shadow: 0 2px 1px rgba(0,0,0,.14); box-shadow: 0 2px 1px rgba(0,0,0,.14); } .results_holder { width: 96%; text-align: -webkit-center; background: #0073AA; } center { padding-top: 30px; padding-bottom: 20px; } p.p_search { top: auto; margin: 0 auto; width: 100%; position: inherit; margin-top: -36px; } .afisare { text-align: center; width: 100%; display: inline-block; margin-top: -12px; padding-bottom: 20px; margin-left: -50px; padding-left: 0; } .posts_list { text-align: -webkit-center; margin: 0 auto; float: left; width: 33%; margin-top: 0px; } .posts_fixed { text-align: -webkit-center; margin: 0 auto; float: left; width: 33%; margin-top: 0px; } .pages_list { text-align: -webkit-center; margin: 0 auto; float: left; width: 33%; margin-top: 0px; } .products_list { text-align: -webkit-center; margin: 0 auto; float: left; width: 33%; margin-top: 0px; } .comment_list { text-align: -webkit-center; margin: 0 auto; float: left; width: 33%; margin-top: 0px; } .user_list { text-align: -webkit-center; margin: 0 auto; float: left; width: 33%; margin-top: 0px; } #header_boxes { text-align: center; display: table; width: 100%; margin: 0 auto; margin-top: -32px; } .box { text-align: center; display: table; line-height: 2em; padding: 0px 0px 0px 0px; color:#fff; background: #2196f3; width: 100%; margin: 0 auto; z-index: 99998; -webkit-transition: height 0.3s; -moz-transition: height 0.3s; -ms-transition: height 0.3s; -o-transition: height 0.3s; transition: height 0.3s; } .box1 { text-align: center; font-size: 16px; font-family: "Open Sans",sans-serif; padding: 0px 0px 0px 0px; color: white; width: 100%; margin: 0 auto; margin-top: -12px; margin-bottom: -20px; background: #0073AA; color: white; z-index: 999; } /* shrink the header */ .box1_fixed { font-size: 24px; position: fixed; height: 32px; width: 100%; z-index: 99999; } .results_fixed { text-align: left; margin: -27px; width: 80%; display: inline-flex; } .search_fixed { font-size: 24px; position: fixed !important; height: 4px; width: 100% !important; z-index: 999; top: 8px !important; } .bottom2 { padding: 5em 0; background: #2196F3; color: white; text-align: center; z-index:999; } }