/**
 * WordPress plugin odwp-add_search_priorities customizes search results order
 * by new meta value (priority).
 * 
 * Copyright (C) 2018 Ondřej Doněk
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 *
 * @author Ondřej Doněk <ondrejd@gmail.com>
 * @license https://www.gnu.org/licenses/gpl-3.0.en.html GNU General Public License 3.0
 * @link https://github.com/ondrejd/odwp-add_search_priorities for the canonical source repository
 * @package odwp-add_search_priorities
 * @since 1.0.0
 */

/* Admin page styles */
.odwpasp > .card { min-width:calc(100% - 4em);max-width:calc(100% - 4em);padding:0.7em 2em 1em 2em; }
.odwpasp .no-search-term-msg { font-size:120%;font-weight:500; }
.odwpasp .form-container { display:table;width:100%;margin:1em 0 1em 0; }
.odwpasp .form-container-inner { display:table-row; }
.odwpasp .form-cell-left { display:table-cell;text-align:left;vertical-align:middle;width:50%; }
.odwpasp .form-cell-right { display:table-cell;text-align:right;vertical-align:middle;width:50%; }
.odwpasp .inline-input .button {position:relative;top:2px;}
.odwpasp .odwpasp-table { clear: both; }
.odwpasp .odwpasp-table .col-1 { max-width:5em;min-width:5em;text-align:center;width:5em; }
.odwpasp .odwpasp-table .col-2 { width:auto; }
.odwpasp .odwpasp-table .col-3 { max-width:5em;min-width:5em;width:5em; }
.odwpasp .odwpasp-table .input-priority { width:98%;max-width:5em; }
.odwpasp .odwpasp-table .dashicons, .odwpasp .odwpasp-table .dashicons-before::before { width:15px;height:15px;font-size:17px;font-weight:200!important; }
.odwpasp #odwpasp-search_term, .odwpasp select { min-height:2em; }
.odwpasp #odwpasp-search_term { position:relative;top:2px; }

@media only screen and (max-width:768px) {
    .odwpasp #odwpasp-search_term { min-width:410px;padding:2px 4px;width:80%; }
    .odwpasp #odwpasp-post_status { min-width:410px;padding:2px 4px;width:80%; }
}

@media only screen and (max-width:375px) {
    .odwpasp .odwpasp-table .col-1 { max-width:2em;min-width:1em;width:1em; }
    .odwpasp #odwpasp-search_term { min-width:100%;padding:2px 4px;width:100%; }
    .odwpasp #odwpasp-post_status { min-width:100%;padding:2px 4px;width:100%; }
}
