/**
 * @package PublishPress
 * @author PublishPress
 *
 * Copyright (c) 2018 PublishPress
 *
 * ------------------------------------------------------------------------------
 * Based on Edit Flow
 * Author: Daniel Bachhuber, Scott Bressler, Mohammad Jangda, Automattic, and
 * others
 * Copyright (c) 2009-2016 Mohammad Jangda, Daniel Bachhuber, et al.
 * ------------------------------------------------------------------------------
 *
 * This file is part of PublishPress
 *
 * PublishPress 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.
 *
 * PublishPress 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 PublishPress.  If not, see <http://www.gnu.org/licenses/>.
 */

.pressshack-admin-wrapper a:link,
.pressshack-admin-wrapper a:visited,
.pressshack-admin-wrapper a:active,
.pressshack-admin-wrapper a:hover {
    text-decoration: none;
}

.pressshack-admin-wrapper a,
.pressshack-admin-wrapper button,
.pressshack-admin-wrapper button::before {
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

.pressshack-admin-wrapper a,
.pressshack-admin-wrapper a div,
.pressshack-admin-wrapper a p {
    color: #655997;
}

.pressshack-admin-wrapper a:hover,
.pressshack-admin-wrapper a:focus,
.pressshack-admin-wrapper a:active,
.pressshack-admin-wrapper a:hover div,
.pressshack-admin-wrapper a:focus div,
.pressshack-admin-wrapper a:active div,
.pressshack-admin-wrapper a:hover p,
.pressshack-admin-wrapper a:focus p,
.pressshack-admin-wrapper a:active p,
.pressshack-admin-wrapper a:hover .dashicons:before,
.pressshack-admin-wrapper a:focus .dashicons:before,
.pressshack-admin-wrapper a:active .dashicons:before {
    color: #5A4F87;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
}

.pressshack-admin-wrapper > header h1 a,
.pressshack-admin-wrapper > header h1 a:hover,
.pressshack-admin-wrapper > header h1 a:focus,
.pressshack-admin-wrapper > header h1 a:active {
    color: #23282d;
}

.pressshack-admin-wrapper .nav-tab-wrapper .nav-tab {
    color: inherit;
}

.pressshack-admin-wrapper .nav-tab-wrapper .nav-tab {
  margin-bottom: -1px;
}

.pressshack-admin-wrapper .nav-tab-wrapper .nav-tab-active,
.pressshack-admin-wrapper .nav-tab-wrapper .nav-tab:hover,
.pressshack-admin-wrapper .nav-tab-wrapper .nav-tab:active,
.pressshack-admin-wrapper .nav-tab-wrapper .nav-tab:focus {
    border-top-color: #655997;
    color: #655997;
}

.pressshack-admin-wrapper > footer {
    text-align: center;
}

.pressshack-admin-wrapper > footer > div.ppma-rating {
    font-size: 12px;
    margin-bottom: 10px;
    margin-top: 30px;
}

.pressshack-admin-wrapper > footer * {
    color: #777;
}

.pressshack-admin-wrapper > footer > nav ul {
    list-style: none;
}

.pressshack-admin-wrapper > footer > nav ul > li {
    display: inline-block;
}

.pressshack-admin-wrapper > footer > nav ul > li:not(:first-child) {
    margin-left: 15px;
}

.pressshack-admin-wrapper > footer > nav ul > li > a {
    font-weight: bold;
}

.pressshack-admin-wrapper > footer .dashicons.dashicons-star-filled {
    line-height: 18px;
    font-size: 12px;
    width: 12px;
    height: 12px;
    color: #FFB300;
    -webkit-transition: color 200ms ease-in-out;
    -moz-transition: color 200ms ease-in-out;
    -o-transition: color 200ms ease-in-out;
    transition: color 200ms ease-in-out;
}

.pressshack-admin-wrapper button:not(.notice-dismiss),
.pressshack-admin-wrapper .button:not(.notice-dismiss) {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    text-shadow: initial;
    -webkit-box-shadow: initial;
    -moz-box-shadow: initial;
    box-shadow: initial;
    vertical-align: middle;
    line-height: 0;
    min-height: 28px;
    text-decoration: none;
    padding: 15px 10px;
    border-width: 1px;
    border-style: solid;
}

.pressshack-admin-wrapper .button:not(.notice-dismiss):hover,
.pressshack-admin-wrapper .button:not(.notice-dismiss):active,
.pressshack-admin-wrapper .button:not(.notice-dismiss):focus {
    outline: none;
    -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pressshack-admin-wrapper .ppma-pressshack-logo img {
    width: 170px;
}

/* Fix Style of admin pages for the footer */
body.authors_page_ppma-modules-settings #wpcontent,
body.wp-admin.term-php.taxonomy-author #wpcontent,
body.wp-admin.edit-tags-php.taxonomy-author #wpcontent,
body.wp-admin.post-new-php.post-type-ppmacf_field #wpcontent,
body.wp-admin.edit-php.post-type-ppmacf_field #wpcontent,
body.wp-admin.post-php.post-type-ppmacf_field #wpcontent {
    margin-bottom: 150px;
}

body.authors_page_ppma-modules-settings #wpcontent {
    padding-bottom: 160px;
}

body.authors_page_ppma-modules-settings #wpwrap,
body.wp-admin.term-php.taxonomy-author #wpwrap,
body.wp-admin.edit-tags-php.taxonomy-author #wpwrap,
body.wp-admin.post-new-php.post-type-ppmacf_field #wpwrap,
body.wp-admin.edit-php.post-type-ppmacf_field #wpwrap,
body.wp-admin.post-php.post-type-ppmacf_field #wpwrap {
    display: inline-block;
}

.chosen-choices {
    padding: 3px 5px !important;
}

/* Placeholder screens */
.ppa-elemnt-blur {
  filter: blur(2px);
}

#pp-authors-menu-wrapper div.pp-authors-menus-promo .pp-authors-menus-promo-inner img,
div.pp-authors-menus-wrapper-promo input.ppc-admin-menu-submit,
div.pp-authors-menus-wrapper-promo select.ppc-admin-menu-role,
div.pp-authors-menus-wrapper-promo input.ppc-nav-menu-submit,
div.pp-authors-menus-wrapper-promo select.ppc-nav-menu-role {
  filter: blur(2px);
}

#pp-authors-menu-wrapper {
  border: none;
  box-shadow: none;
  background: none;
}

#pp-authors-menu-wrapper div.pp-authors-menus-promo {
  height: 600px;
}

#pp-authors-menu-wrapper div.pp-authors-menus-promo .pp-authors-menus-promo-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

#pp-authors-menu-wrapper div.pp-authors-menus-promo .pp-authors-menus-promo-inner img {
  position: absolute;
  width: 100%;
}

#pp-authors-menu-wrapper div.pp-authors-menus-promo .pp-authors-menus-promo-inner img.pp-authors-mobile {
  display: none !important;
}

#pp-authors-menu-wrapper div.pp-authors-menus-promo .pp-authors-menus-promo-inner img.pp-authors-desktop {
  display: block !important;
}

#pp-authors-menu-wrapper div.pp-authors-menus-promo .pp-authors-menus-promo-inner .pp-authors-menus-promo-content {
  position: absolute;
  top: calc(50% - 100px);
  left: calc(50% - 225px);
  text-align: center;
  background: #655897;
  padding: 20px 20px 35px;
  border-radius: 6px;
  width: 450px;
  box-sizing: border-box;
  box-shadow: 0 0 25px #ccc;
}

#pp-authors-menu-wrapper div.pp-authors-menus-promo .pp-authors-menus-promo-inner .pp-authors-menus-promo-content p {
  line-height: 1.4em;
  font-size: 16px;
  margin-bottom: 20px;
  margin-top: 0;
  color: #fff;
  padding: 0;
}

#pp-authors-menu-wrapper div.pp-authors-menus-promo .pp-authors-menus-promo-inner .pp-authors-menus-promo-content p:last-of-type {
    margin-bottom: 0;
}

#pp-authors-menu-wrapper div.pp-authors-menus-promo .pp-authors-menus-promo-inner .pp-authors-menus-promo-content a {
  font-size: 17px;
  background: #FCB223;
  color: #000;
  font-weight: normal;
  text-decoration: none;
  padding: 9px 12px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  box-sizing: border-box;
  border: 1px solid #fca871;
  break-inside: avoid;
  white-space: nowrap;
}

#pp-authors-menu-wrapper div.pp-authors-menus-promo .pp-authors-menus-promo-inner .pp-authors-menus-promo-content a:hover,
#pp-authors-menu-wrapper div.pp-authors-menus-promo .pp-authors-menus-promo-inner .pp-authors-menus-promo-content a:focus,
#pp-authors-menu-wrapper div.pp-authors-menus-promo .pp-authors-menus-promo-inner .pp-authors-menus-promo-content a:active {
  background: #fcca46;
    color: #000;
}

#pp-authors-menu-wrapper div.pp-authors-menus-promo-nav {
  height: 370px;
}

@media (max-width: 979px) {

  #pp-authors-menu-wrapper div.pp-authors-menus-promo .pp-authors-menus-promo-inner img.pp-authors-mobile {
    display: block !important;
  }

  #pp-authors-menu-wrapper div.pp-authors-menus-promo .pp-authors-menus-promo-inner img.pp-authors-desktop {
    display: none !important;
  }

  #pp-authors-menu-wrapper div.pp-authors-menus-promo {
    height: 750px;
  }
}

@media (max-width: 768px) {

  #pp-authors-menu-wrapper div.pp-authors-menus-promo .pp-authors-menus-promo-inner .pp-authors-menus-promo-content {
    top: calc(50% - 100px);
    left: calc(50% - 150px);
    padding: 20px 20px 35px;
    width: 300px;
  }

  #pp-authors-menu-wrapper div.pp-authors-menus-promo {
    height: 450px;
  }
}

body.term-php .term-slug-wrap .description {
    display: none;
}
