/***
 *
 *  CONTENTS
 * 
 *  1) NGG Admin CSS: Original 2.0 CSS
 *      Note: This is original NextGEN 2.0 Admin CSS. We've 
 *      left here as a backward compatibility safety net.
 *  2) NGG Admin CSS: General Styles
 *  3) NGG Admin CSS: Header and Menu
 *  4) NGG Admin CSS: Main Content
 *      Note: This CSS sheet also includes substantial CSS for the Attach to Post window. Although 
 *      better separateion of concerns could be achieved by moving it to the attach_to_post module, 
 *      it is here because it directly mimics styling of other pages, and keeping it here ensures 
 *      consistency and simplifies changes. 
 *  5) NGG Admin CSS: Tables 
 *  6) NGG Admin CSS: Custom Post Types
 *      Note: This CSS mostly affects Pro functionality (Orders, Pricelists, Proofs, Coupons, etc), 
 *      but is included here using generic CSS selectors because a) it is common to all of the above, 
 *      and b) centralizing it here allows for more efficient changes and c) future custom post type
 *      interfaces will use the same styling, be they basic or pro. Adding it here also acts to 
 *      ensure style consistency for users who update to the NextGEN redesign version, while still 
 *      running an older version of NextGEN Pro.
 *  7) NGG Admin CSS: Freemius Customizations
 *  8) NGG Admin CSS: Media Queries
 *
 ***/

/***** 1) NGG Admin CSS: Original 2.0 CSS *****/

.ngg-admin .notice, 
.ngg-admin div.updated, 
.ngg-admin div.error {
    margin: 20px 15px 0 0;
}

.ngg-admin #ngg_page_content .notice, 
.ngg-admin #ngg_page_content div.updated, 
.ngg-admin #ngg_page_content div.error {
    margin: 20px 0 20px 0;
}

.hidden {
	display: none;
}

.nextgen_advanced_toggle_link {
	font-size: 11px;
	position: relative;
	bottom: 5px;
	color: #444444;
}

.url_field {
	width: 400px;
    max-width: 100%;
}

.nextgen_settings_field_colorpicker {
    width: 85px !important;
    text-align: center;
    margin-left: 50px;
}

/* These three rules are to prevent 'WP Social Widget' from breaking our use of the WP Color Picker */
#ngg_page_content .wp-picker-container {
    position: initial !important;
}
#ngg_page_content .wp-picker-holder {
    position: initial !important;
}
#ngg_page_content .wp-picker-input-wrap {
    position: initial !important;
}

#nextgen_settings_wmXpos,
#nextgen_settings_wmYpos {
    width: 65px !important;
}

table.nextgen_settings_position {
    width: auto !important;
}


#ngg_page_content span.tooltip,
#ngg_page_content label.tooltip {
    outline: none;
    background-image: url('information.png');
    background-repeat: no-repeat;
    padding-left: 22px;
    padding-bottom: 4px;
    background-size: 18px;
}

#poststuff .ui-accordion h3 {
	padding-left: 25px;
}

#lightbox_effects_content table tr td:first-child {
    vertical-align: top;
    text-align: right;
    padding-right: 7px;
    padding-top: 5px;
}

#lightbox_effects_content tr {
    height: 28px;
}

/***** 2) NGG Admin CSS: General Styles *****/

.ngg-admin #screen-meta-links {
    padding-bottom: 20px;
}

.ngg-admin #wpbody {
    position: static;
}

#ngg_page_content {
    background: #ffffff;
    box-shadow: 0 0 12px 6px rgba(0,0,0,.03);
    box-sizing: border-box;
    font-family: lato,sans-serif;
    float:left;
    height: auto;
    margin-top: 25px;
    padding: 20px 40px;
    width: 98%;
    color: black;
    font-size: 15px;
    letter-spacing: .3px;
    font-weight: 500;
}


#adminmenu .wp-submenu a[href*=ngg_pro_upgrade] {
    color: #9fbb1a;
    font-weight: 600;
}

.toplevel_page_nextgen-gallery #ngg_page_content {
    margin-top: 20px;
}

#ngg_page_content.ngg_settings_page {
    background: #fff;
}

.ngg_manage_albums, 
.ngg_manage_galleries, 
.ngg_manage_images,
.ngg_manage_images,
.ngg_gallery_sort {
    background: #ffffff;
}

#ngg_page_content .wrap {
    margin: 0;
}

#ngg_page_content .about-wrap {
    max-width: 100%;
    float: left;
}

.about-wrap [class$="-col"] {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-wrap [class$="-col"] .col {
    flex: 1;
    align-self: flex-start;
}

.about-wrap [class$="-col"] .col+.col {
    margin-left: 20px;
}

.about-wrap .two-col img {
    margin-bottom: 1.5em;
}

.about-wrap .headline-feature {
    max-width: none;
    margin: 0 0 40px 0;
}

#ngg_page_content a {
    color: #9fbb1a;
}

#ngg_page_content button,
#ngg_page_content .button-primary,
#ngg_page_content .button-secondary {
    background-color: #9FBB1A;
    background-color: black;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    outline: none !important;
    height: 35px !important;
    padding: 0 24px !important;
    line-height: 35px;
    width: auto !important;
    border-radius: 0px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
    font-weight: bold;
    font-family: Lato, sans-serif;
    vertical-align: middle;
}

#ngg_page_content button:hover,
#ngg_page_content .button-primary:hover,
#ngg_page_content .button-secondary:hover {
    background-color: #383838;
}

#ngg_page_content button:hover,
#ngg_page_content .button-primary:hover,
#ngg_page_content .button-secondary:hover {
    vertical-align: middle;
}

#ngg_page_content button:disabled, 
#ngg_page_content .button-primary:disabled, 
#ngg_page_content .button-secondary:disabled {
    background: #bbb !important;
}

#ngg_page_content .button-secondary {
    background-color: #888 !important;
}

.ngg-admin #ngg_page_content .notice button, 
.ngg-admin #ngg_page_content div.updated button, 
.ngg-admin #ngg_page_content div.error button {
    background-color: transparent !important;
    padding: 0;
}

#ngg_page_content button,
.ngg-admin .notice button, 
.ngg-admin div.updated button, 
.ngg-admin div.error button {
    background: transparent;
}

#ngg_page_content button.wp-color-result {
    height: 24px!important;
    padding: 0 0 0 30px!important;
    border: 1px solid #ddd !important; 
}

#ngg_page_content button.wp-color-result:hover {
    background-color: transparent; 
}

#ngg_page_content input[type="checkbox"] {
    height: 16px !important;
    width: 16px !important;
}

#ngg_page_content.ngg_settings_page form > p {
    width: 81%;
    background: #fff;
    margin: 0;
    float: right;
}

#ngg_page_content .ngg_save_settings_button {
    position: absolute;
    right: 61px;
    top: 128px;
}

.ecommerce_page_ngg-ecommerce-instructions-page #ngg_page_content .ngg_save_settings_button {
    display: none;
}

#ngg_page_content ::-webkit-input-placeholder { /* Chrome */
  color: #aaa;
}
#ngg_page_content :-ms-input-placeholder { /* IE 10+ */
  color: #aaa;
}
#ngg_page_content ::-moz-placeholder { /* Firefox 19+ */
  color: #aaa;
  opacity: 1;
}
#ngg_page_content :-moz-placeholder { /* Firefox 4 - 18 */
  color: #aaa;
  opacity: 1;
}

.ngg-admin .select2-drop.select2-drop-above .select2-search input {
    width: 100%;
}

/***** 3) NGG Admin CSS: Header and Menu *****/

#ngg_page_content .ngg_page_content_header {
    height: 80px;
    margin-top: -23px;
    margin-bottom: 24px;
} 

#ngg_page_content .ngg_page_content_header img {
    height: 60px;
    padding-top: 10px;
    padding-right: 20px;
    float: left;
    width: auto;
}

#ngg_page_content .ngg_page_content_header h2,
#ngg_page_content .ngg_page_content_header h3 {
    line-height: 80px;
    color: black;
    font-size: 18px;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: left;
    font-weight: 900;
}

#ngg_page_content .ngg_page_content_header p {
    float: right;
    margin: -98px 0 0 0;
    font-size: 15px;
    font-weight: bold;
    color: black;
    line-height: 80px;
    letter-spacing: .3px;
}

#ngg_page_content .ngg_page_content_header p.ngg-header-promo {
    margin: -113px -40px 0 0;
    color: black;
    line-height: 80px;
    padding: 10px 20px;
    background: #9ebc1b;
    color: white;
    line-height: 20px;
    padding: 30px 290px 30px 24px;
    display: inline-block;
    max-width: 720px;
    box-sizing: border-box;
}

#ngg_page_content .ngg_page_content_header .ngg-header-promo a {
    margin-left: 16px !important;
    position: absolute;
    top: 32px;
    right: 24px;
    height: 38px !important;
    line-height: 38px !important;
}

#ngg_page_content .ngg_page_content_header p.ngg-header-promo.black-friday {
    padding: 30px 330px 30px 40px;
    font-size: 16px;
}

#ngg_page_content .ngg_page_content_header p.ngg-header-promo.black-friday span {
    text-transform: uppercase;
    padding-bottom: 4px;
    display: inline-block;
    font-size: 20px;
}

#ngg_page_content .ngg_page_content_header .ngg-header-promo.black-friday a {
    right: 40px;
}

#ngg_page_content .ngg_page_content_header .ngg-header-promo a:after {
    content: "\f345";
    font: normal 16px dashicons;
    color: white !important;
    display: inline-block;
    position: relative;
    top: 4px;
    left: 6px;
}

#ngg_page_content .ngg_page_content_header .ngg_save_settings_button {
    margin: 0 !important;;
}

#ngg_page_content .ngg_page_content_menu {
    padding: 20px;
    width: 20%;
    float: left;
    padding: 0;
    height: 100%;
    background: transparent;
}

#ngg_page_content .ngg_page_content_menu a {   
    box-shadow: none !important;
    border-left: 5px solid #ffffff;
    cursor: pointer;
    display: block;
    padding: 10px 0 10px 20px;
    line-height: 22px;
    margin: 10px 0;
    text-decoration: none;
    color: black;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1.2px;
}

.responsive-menu-icon {
   cursor: pointer;
   display: none;
   margin-bottom: 5px;
   text-align: left;
}

.responsive-menu-icon::before {
   color: black;
   content: '\f0c9';
   display: block;
   font: normal 20px/1 'Font Awesome 5 Free';
   margin: 0 auto;
   text-align: center;
   font-weight: 900;
}

#ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active, 
#ngg_page_content .ngg_page_content_menu a:active {
    outline: 0;
    outline-width: 0;
    outline-color: transparent;
    border-left: 5px solid #9dbd1b;
    position: relative;
    color: black;
    margin-right: -1px;
    font-weight: 800;
}

#ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active:after, 
#ngg_page_content .ngg_page_content_menu a:active:after {
    right: 0;
    border: 8px solid transparent;
    content: "";
    width: 0;
    position: absolute;
    pointer-events: none;
    border-right-color: #fff;
    top: 50%;
    margin-top: -8px;
}

/***** 4) NGG Admin CSS: Main Content *****/

#ngg_page_content .ngg_page_content_main {
    padding: 0 20px 20px 30px;
    min-height: 600px;
    float: left;
    box-sizing: border-box;
    width: 100%;
}

.gallery_page_nggallery-manage-gallery #ngg_page_content .ngg_page_content_main,
.gallery_page_nggallery-manage-album #ngg_page_content .ngg_page_content_main {
    padding: 0 10px 30px;
}

#ngg_page_content .ngg_overview .ngg_page_content_main, 
#ngg_page_content.ngg_settings_page .ngg_page_content_main {
    width: 80%;
}

.gallery_page_ngg_display_settings #ngg_page_content.ngg_settings_page .ngg_page_content_main {
    min-height: 1000px;
}

.gallery_page_ngg_other_options #ngg_page_content.ngg_settings_page .ngg_page_content_main {
    min-height: 400px;
}

#ngg_page_content .ngg_manage_tags .ngg_page_content_main {
    padding: 0;
}

#ngg_page_content.ngg_settings_page .ngg_page_content_main > div,
#ngg_page_content .ngg_overview .ngg_page_content_main > div,
#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main > div {
    display: none;
}

#ngg_page_content.ngg_settings_page .ngg_page_content_main > div:first-of-type,
#ngg_page_content .ngg_overview .ngg_page_content_main > div:first-of-type,
#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main > div:first-of-type {
    display: block;
}

#ngg_page_content.ngg_settings_page .ngg_page_content_main h3 {
    color: rgba(29, 36, 42, 0.85);
    font-size: 18px;
    margin: 20px 0 30px;
    text-transform: uppercase;
}

#ngg_page_content .ngg_page_content_main input,
#ngg_page_content .ngg_page_content_main select {
    color: #888;
    height: 35px;
    border: 1px solid #ddd;
    padding-left: 10px;
    box-shadow: none;
    width: 200px;
    -webkit-border-radius: 0px;
    border-radius: 0;
}

#ngg_page_content .ngg_page_content_main select {
    -webkit-appearance: none;
}

#ngg_page_content .ngg_page_content_main select {
    background-image: url(dropdown_arrow.png);
    background-size: 10px 10px;
    background-repeat: no-repeat;
    background-position: 95% 55%;
}

#ngg_page_content .ngg_page_content_main .select2-container {
    width: 200px !important;
    line-height: 0;
}

#ngg_page_content .ngg_page_content_main .select2-selection--multiple,
#ngg_page_content .ngg_page_content_main .select2-selection--single {
    border: 1px solid #ddd;
    border-radius: 0;
    height: 35px;
    line-height: 35px;
    padding-top: 1px;
}

#ngg_page_content .ngg_page_content_main .thumbnail_options .select2-selection--multiple {
    height: auto;
    padding-right: 3px;
}

#ngg_page_content .ngg_page_content_main .thumbnail_options .select2-selection--multiple .select2-search__field {
    width: 100% !important;
}

#ngg_page_content .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 4px;
    display: none;
}

#ngg_page_content .ngg_page_content_main .select2-search {
    width: 100%;
}

#ngg_page_content .ngg_page_content_main .select2-search__field {
    border-radius: 3px;
}

#ngg_page_content .ngg_page_content_main .select2-selection__choice {
    background: #9fbb1a;
    background-image: none;
    border: none;
    box-shadow: none;
    color: #fff;
    line-height: 20px;
    padding: 7px 10px 7px 8px;
    width: 92%;
}

#ngg_page_content .ngg_page_content_main .select2-selection__choice__remove {
    color: #fff;
    margin-right: 6px;
}

#ngg_page_content .ngg_page_content_main div[data-id="lightbox_effects"] input, 
#ngg_page_content .ngg_page_content_main div[data-id="lightbox_effects"] select,
#ngg_page_content .ngg_page_content_main div[data-id="lightbox_effects"] .select2-container {
    width: 250px;
}

#ngg_page_content.ngg_settings_page .ngg_page_content_main input[type="radio"],
#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main input[type="radio"] {
    border-radius: 50% !important;
    height: 16px !important;
    width: 16px !important;
    padding: 0 !important;
    vertical-align: middle;
}

#ngg_page_content.ngg_settings_page .ngg_page_content_main input[type="radio"]:checked:before,
#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main input[type="radio"]:checked:before {
    background-color: #9FBB1A;
    border-radius: 50%;
    color: transparent;
    content: "\2022";
    display:block;
    height: 17px;
    margin: -1px 0 0 -1px;
    vertical-align: middle;
    width: 17px;
}

/***** 5) NGG Admin CSS: Tables *****/

#ngg_page_content.ngg_settings_page .ngg_page_content_main table,
#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table {
    color: rgba(29, 36, 42, 0.85);
    border-collapse: collapse;
    width: 100%;
}

#ngg_page_content table .sorting-indicator:before {
    color: #fff !important;
}

#attach_to_post_tabs #displayed_tab #display_settings_tab_content table tr,
#ngg_page_content.ngg_settings_page .ngg_page_content_main table tr {
    border: 1px solid rgb(247, 248, 243);
    padding: 5px 0 !important;
    height: auto;
}

#ngg_page_content.ngg_settings_page .ngg_page_content_main table tr td,
#ngg_page_content.ngg_settings_page .ngg_page_content_main table tr th,
#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table tr td {
    line-height: 30px;
    vertical-align: middle;
    padding: 10px 20px;
    box-sizing: border-box;
}

.ngg-admin #ngg_page_content .widefat td, 
.ngg-admin #ngg_page_content .widefat th {
    padding: 10px;
    color: rgba(118, 169, 52, 0.75);
    color: #aaa;
    vertical-align: middle;
}
 
.ngg-admin #ngg_page_content .widefat thead th,
.ngg-admin #ngg_page_content .widefat tfoot th {
    padding: 0 10px;
    color: #fff;
    text-transform: uppercase;
}

#ngg_page_content.ngg_settings_page .ngg_page_content_main table tr th {
    font-weight: normal !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table tr td:first-of-type {
    width: 300px;
    text-align: left;
    font-weight: 400;
    padding-top: 8px;
}

#ngg_page_content.ngg_settings_page .ngg_page_content_main table table tr td:first-of-type,
#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table table tr td:first-of-type {
    width: auto;
    font-weight: 400;
    padding: 10px 20px;
}

#ngg_page_content.ngg_settings_page .ngg_page_content_main table tr:nth-of-type(2n),
#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table tr:nth-of-type(2n) {
    background-color: #f7f7f7;
}

#ngg_page_content.ngg_settings_page .ngg_page_content_main tr.watermark_field {
    padding: 10px 0 !important;
}

#ngg_page_content.ngg_settings_page .ngg_page_content_main .watermark_field table {
    border: 1px solid #d3e1c8;
}

#ngg_page_content.ngg_settings_page .ngg_page_content_main .watermark_field table td {
    padding: 5px 15px !important;
}

#ngg_page_content.ngg_settings_page .ngg_page_content_main .watermark_field table td:first-of-type {
    width: auto !important;
}

#ngg_page_content.ngg_settings_page .ngg_page_content_main .watermark_field table tr {
    border: none;
    padding: 0 !important;
}

#ngg_page_content.ngg_settings_page .ngg_page_content_main .watermark_field img {
    max-width: 100%;
}

#ngg_page_content.ngg_settings_page .ngg_page_content_main label,
#attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main label, 
#ngg_page_content.ngg_settings_page .ngg_page_content_main p.description {
    font-size: 14px;
    color: #666;
}

#ngg_page_content.ngg_settings_page .ngg_page_content_main label {
    margin-right: 5px;
}

#ngg_page_content.ngg_settings_page .ngg_page_content_main label:last-of-type    {
    margin-right: 15px;
}

#ngg_page_content.ngg_settings_page .nextgen_settings_position tr:nth-of-type(2n),
#ngg_page_content.ngg_settings_page .nextgen_settings_position td {
    border: none !important;
}

#ngg_page_content.ngg_settings_page .nextgen_pro_lightbox_admin_header {
    background: black !important;
    margin-top: 20px;
}

.nextgen_pro_lightbox_admin_header td {
    padding-left: 0 !important;
}

.nextgen_pro_lightbox_admin_header td {
    padding: 10px 0 !important;
}

.nextgen_pro_lightbox_admin_header td h3 {
    color: #fff !important;
    margin: 0 0 0 20px !important;
    font-size: 13px !important;
    letter-spacing: 1.5px;
}

.ngg_options_promo {
    background: black;
    color: #fff;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: 600;
    background: #9ebc1b;
    line-height: 50px !important;
    display: none;
}

#attach_to_post_tabs #displayed_tab .ngg_options_promo {
    display: table-cell;
}

.ngg_options_promo a {
    text-decoration: none;
    font-weight: 600;
    margin-left: 10px;
    background: black;
    color: #fff !important;
    padding: 10px 20px;
    font-size: 12px !important;
    text-transform: uppercase;
}

.ngg_options_promo a:after {
    content: "\f345";
    font: normal 13px dashicons;
    color: white !important;
    display: inline-block;
    position: relative;
    top: 2px;
    left: 6px;
}

.gallery_page_ngg_other_options #ngg_page_content .ngg_page_content_main tbody tr td.ngg_options_promo {
    width: 100% !important;
}

#tr_photocrati-nextgen_basic_imagebrowser_ngg_triggers_display,
#tr_photocrati-nextgen_basic_slideshow_ngg_triggers_display {
    display:none;
}

/***** 6) NGG Admin CSS: NextGEN Pro Custom Post Types *****/

/* First, CSS for post type lists */

.ngg-post-type #screen-meta .metabox-prefs.view-mode {
    display: none;
}

.ngg-post-type .ngg_page_content_main .button,
.ngg-post-type .ngg_page_content_main .page-title-action {
    background-color: black !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    height: 35px !important;
    padding: 0 15px !important;
    line-height: 35px;
    width: auto !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 11px;
}

.ngg-post-type .ngg_page_content_main .button:hover,
.ngg-post-type .ngg_page_content_main .page-title-action:hover {
    background-color: #383838 !important;
}

.ngg-post-type .ngg_page_content_main .page-title-action {
    padding: 10px 18px !important;
    margin-left: 10px;
    top: -4px;
}

.ngg-post-type .notice,
.ngg-post-type div#setting-error-tgmpa {
    display: none;
}

.ngg-post-type .ngg_page_content_main .tablenav {
    margin: 0 0 20px;
}

.ngg-post-type .ngg_page_content_main .tablenav .actions,
.ngg-post-type .ngg_page_content_main .tablenav .tablenav-pages {
    margin: 10px 0;
}

.ngg-post-type .ngg_page_content_main .tablenav-pages-navspan,
.ngg-post-type .ngg_page_content_main .tablenav .tablenav-pages a {
    background: #556472;
    border: none;
    color: #fff !important;
    margin: 0 2px;
}

.ngg-post-type #ngg_page_content .ngg_page_content_main .tablenav input.current-page {
    width: 50px !important;
}

.ngg-post-type .ngg_page_content_main table {
    box-shadow: none;
    table-layout: auto;
    border: 1px solid rgba(159, 187, 26, 0.08)
}

.ngg-post-type .ngg_page_content_main table thead,
.ngg-post-type .ngg_page_content_main table tfoot {
    background-color: black;
    text-transform: uppercase;
}

.ngg-post-type .ngg_page_content_main table tfoot {
    background-color: black;
}

.ngg-post-type .ngg_page_content_main table thead a,
.ngg-post-type .ngg_page_content_main table tfoot a {
    padding: 0;
}

.ngg-post-type .ngg_page_content_main table thead span,
.ngg-post-type .ngg_page_content_main table tfoot span {
    color: #fff;
    font-size: 15px;
}

.ngg-post-type .ngg_page_content_main table thead th, 
.ngg-post-type .ngg_page_content_main table thead td {
    background-color: transparent;
    border: none;
    color: #fff;
}

.ngg-post-type .ngg_page_content_main table thead td {
    padding: 12px 5px !important;
}

.ngg-post-type #ngg_page_content .ngg_page_content_main input[type="checkbox"] {
    height: 13px !important;
    width: 13px !important;
    min-width: auto;
    margin-top: 2px;
}

.ngg-post-type #ngg_page_content .ngg_page_content_main input[type=checkbox]:checked:before {
    color: #9FBB1A;
    margin: -5px 0 0 -5px;
}

.ngg-post-type #ngg_page_content .sorting-indicator:before {
    color: #fff !important;
}

.ngg-post-type .ngg_page_content_main .striped>tbody>:nth-child(odd) {
    background-color: #f7f7f7;
} 

.ngg-post-type .ngg_page_content_main a.row-title {
    font-weight: 400;
}

.ngg-post-type .ngg_page_content_main .row-actions {
    left: 0;
    padding-top: 0;
} 

.ngg-post-type .ngg_page_content_main .row-actions a {
    color: rgba(118, 169, 52, 0.75) !important;
    color: #aaa !important;
} 

.ngg-post-type .ngg_page_content_main td.column-title strong {
    margin-bottom: 0;
} 

.ngg-post-type #wpbody-content .quick-edit-row-page .inline-edit-col-left {
    width: 100%;
}

.ngg-post-type #ngg_page_content .widefat td, 
.ngg-post-type #ngg_page_content .widefat th {
    padding: 10px;
    color: rgba(118, 169, 52, 0.75);
    color: #aaa;
    vertical-align: middle;
}
 
.ngg-post-type #ngg_page_content .widefat thead th,
.ngg-post-type #ngg_page_content .widefat tfoot th {
    padding: 0 10px;
    color: #fff;
    text-transform: uppercase;
}

.ngg-post-type .ngg_page_content_main .tablenav.bottom {
    margin: 10px 0 0;
}

/* Second, CSS for individual post type edit pages */

#ngg_page_content #titlediv input#title {
    font-size: 22px;
    padding: 24px 12px;
    color: #383838;
    letter-spacing: .5px;
    font-weight: 400;
}

.ngg-post-type #ngg_page_content h3.accordion_tab,
.ngg-admin #postbox-container-2 h2.ui-sortable-handle {
    padding: 10px;
    background: black;
    margin-bottom: 0;
}

.ngg-post-type #ngg_page_content h3.accordion_tab a,
.ngg-admin #postbox-container-2 h2.ui-sortable-handle {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 2px;
    margin-left: 6px;
}

.ngg-post-type .accordion > div,
.ngg-admin #postbox-container-2 .postbox {
    border-left: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    border-right: 1px solid #eeeeee;
    margin-bottom: 30px;
    background-color: #fcfcfc;
}

.ngg-post-type .accordion > div {
    padding: 20px;
    margin-bottom: 30px;
}

.ngg-post-type .accordion > div table {
    border: none;
}

.ngg-admin #postbox-container-2 .postbox .inside {
    margin: 0;
}

.ngg-admin #postbox-container-2 .postbox .inside a {
    color: #9fbb1a;
}

.ngg-admin #postbox-container-2 .postbox .inside th,
.ngg-admin #postbox-container-2 .postbox .inside td {
    padding: 5px 10px;
}

.ngg-post-type .accordion > div .button-primary,
.ngg-admin #postbox-container-2 .postbox .inside .button-primary {
    margin: 15px 0 0;
}

.ngg-post-type table input[type=text] {
    margin: 0;
}

/* Third, overrides for some specific post type pages */

.post-type-ngg_order #ngg_page_content .ngg_page_content_main,
.post-type-nextgen_proof #ngg_page_content .ngg_page_content_main {
    padding-left: 10px;
}

.post-type-ngg_order.post-php .wp-heading-inline,
.post-type-ngg_order.post-php #submitdiv,
.post-type-ngg_order.post-php .toggle-indicator,
.post-type-nextgen_proof.post-php .wp-heading-inline,
.post-type-nextgen_proof.post-php #submitdiv,
.post-type-nextgen_proof #post-body-content .inside,
.post-type-nextgen_proof.post-php .toggle-indicator {
    display:none;
}

.post-type-ngg_order.post-php #poststuff #post-body.columns-2,
.post-type-nextgen_proof.post-php #poststuff #post-body.columns-2 {
    margin-right: 300px;
    margin-right: 100px;
}

.post-type-ngg_order.post-php #post-body.columns-2 #postbox-container-1,
.post-type-nextgen_proof.post-php #post-body.columns-2 #postbox-container-1 {
    width: 80px;
    margin-right: -100px;
}

.post-type-ngg_order.post-php #side-sortables,
.post-type-nextgen_proof.post-php #side-sortables {
    border:none;
}

.post-type-ngg_order.post-php #post-body-content {
    margin-bottom: 0;
}

.post-type-ngg_order.post-php #post-body.columns-2 #postbox-container-2 {
    float: none;
}

.post-type-ngg_order.post-php #postbox-container-2 .postbox,
.post-type-nextgen_proof.post-php #postbox-container-2 .postbox {
    background-color: #ffffff;
}

.post-type-ngg_order.post-php #normal-sortables {
    min-height: 10px !important;
}

.post-type-ngg_order.post-php #postbox-container-2 h2.ui-sortable-handle,
.post-type-nextgen_proof.post-php #postbox-container-2 h2.ui-sortable-handle {
    margin-left: 0;
    padding-left: 16px;
}

.post-type-ngg_order.post-php .inside h4,
.post-type-nextgen_proof.post-php .inside h4 {
    padding: 5px 10px;
    text-decoration: none !important;
    text-transform: uppercase;
    font-weight: 400;
}

.post-type-ngg_order.post-php .inside,
.post-type-nextgen_proof.post-php .inside {
    padding: 30px;
    font-size: 14px;
}

.post-type-nextgen_proof #normal-sortables .closed .inside {
    display: block !important;
}

.post-type-ngg_order.post-php th,
.post-type-nextgen_proof.post-php th {
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1px;
    font-weight: 400;
    padding-bottom: 10px !important;
    color: black !important;
}

.post-type-ngg_order.post-php table thead, 
.post-type-ngg_order.post-php table tfoot,
.post-type-nextgen_proof.post-php.post-php table thead, 
.post-type-nextgen_proof.post-php.post-php table tfoot {
    background-color: transparent !important;
}

.post-type-ngg_order .ngg_pro_order_info > table {
    max-width: 1200px;
    background: #fcfcfc;
    box-shadow: none;
    font-size: 14px;
}

.post-type-nextgen_proof .row-actions .inline {
    display: none;
}

/* Extras: Fix for Pro ecom styling when not running updated Pro */

#ngg_page_content .ngg_payment_gateway_enable_row {
    background: black !important;
}

/* 7) NGG Admin CSS: Freemius Customizations */

.ngg-admin #fs_connect {
    box-shadow: none;
    border: 1px solid #e0e0e0;
    margin-left: 10px;
}

.ngg-admin #fs_connect .fs-content p {
    font-size: 17px;
    font-family: Lato, sans-serif;
}

.ngg-admin #fs_connect a {
    color: #9fbb1a;
}

.ngg-admin #fs_connect a:hover {
    color: #b8d433;
}

.ngg-admin #fs_connect .fs-visual {
    padding: 30px 20px !important;
    background: #fff;
}

.ngg-admin #fs_connect .fs-visual .fs-plugin-icon, 
.ngg-admin #fs_connect .fs-visual .fs-connect-logo, 
.ngg-admin #fs_connect .fs-visual .fs-site-icon {
    border: none;
    padding: 0;
    top: 30px;
}

.ngg-admin #fs_connect .fs-content {
    padding: 30px 20px;
}

.ngg-admin #fs_connect .fs-actions,
.ngg-admin #fs_connect .fs-permissions,
.ngg-admin #fs_connect .fs-permissions.fs-open,
.ngg-admin #fs_connect .fs-terms {
    background: black;
    color: #fff;
    padding: 0 !important;
}

.ngg-admin #fs_connect .fs-actions {
    padding: 30px 20px !important;
}

.ngg-admin #fs_connect .fs-permissions ul li i.dashicons {
    color: #9fbb1a;
}

.ngg-admin #fs_connect .fs-permissions.fs-open ul {
    margin-bottom: 0;
    padding-bottom: 20px;
}

.ngg-admin #fs_connect .fs-permissions ul li div span {
    color: #fff;
}

.ngg-admin #fs_connect .fs-terms {
    padding-bottom: 15px !important;
}

.ngg-admin #fs_connect .fs-actions .button.button-primary {
    background-color: #9fbb1a !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    height: 35px !important;
    padding: 0 24px !important;
    line-height: 35px;
    width: auto !important;
    border-radius: 0;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .5px;
    font-family: Lato, sans-serif;
}

.ngg-admin #fs_connect .fs-actions .button.button-secondary {
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    height: 35px !important;
    padding: 0 24px !important;
    line-height: 35px;
    width: auto !important;
    border-radius: 0;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: .5px;
    font-family: Lato, sans-serif;
}

.ngg-admin #fs_connect .fs-permissions a:hover,
.ngg-admin #fs_connect .fs-terms a:hover {
    color: #fff;
}

/* 8) NGG Admin CSS: Media Queries */

@media (max-width: 1240px) {
    #ngg_page_content .ngg_page_content_header p,
    .ngg_options_promo {
        display: none !important;
    }
}

@media (max-width: 782px) {
    .about-wrap .three-col .col, .about-wrap .two-col .col {
        min-width: 100%! important;
        margin-left: 0;
        margin-top: 1em;
    }
    .ngg-post-type #ngg_page_content button.toggle-row {
        width: 40px !important;
        height: 40px !important;
        background: transparent !important;
    } 
    .ngg-post-type tr:not(.inline-edit-row):not(.no-items) td.column-primary~td:not(.check-column) {
        padding: 3px 8px 3px 35%;
    }
    .ngg-post-type #ngg_page_content .ngg_page_content_main input[type=checkbox]:checked:before {
        font: 400 20px/1 dashicons !important;
    }

    #ngg_page_content .ngg_page_content_header img {
        padding-right: 10px;
    }
    #ngg_page_content .ngg_page_content_header h3,
    #ngg_page_content .ngg_overview .ngg_page_content_header h3 {
        font-size: 14px;
    }
    #ngg_page_content .ngg_page_content_menu, 
    #ngg_page_content .ngg_overview .ngg_page_content_main, 
    #ngg_page_content.ngg_settings_page .ngg_page_content_main {
        width: 100%;
    }
    #ngg_page_content .ngg_page_content_main, 
    #ngg_page_content.ngg_settings_page .ngg_page_content_main {
        padding: 20px;
    }
    #ngg_page_content.ngg_settings_page .ngg_page_content_main table,
    #attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table,
    #ngg_page_content.ngg_settings_page .ngg_page_content_main tbody,
    #attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main tbody {
        display: block !important;
        max-width: 100%;
    }
    #ngg_page_content.ngg_settings_page .ngg_page_content_main tbody.hidden {
        display: none !important;
    }
    #attach_to_post_tabs #displayed_tab #ngg_page_content #slug_configuration {
        display: none !important;
    }
    #attach_to_post_tabs #displayed_tab #display_settings_tab_content table tr,
    #ngg_page_content.ngg_settings_page .ngg_page_content_main table tr {
        display: block !important;
        padding: 10px 0 20px !important;
    }
    #ngg_page_content.ngg_settings_page .ngg_page_content_main table tr td,
    #ngg_page_content.ngg_settings_page .ngg_page_content_main table tr th,
    #attach_to_post_tabs #displayed_tab #ngg_page_content .ngg_page_content_main table tr td {
        display: block;
        padding: 2px 10px;
    }
    #ngg_page_content.ngg_settings_page .ngg_page_content_main table.nextgen_settings_position tr td {
        display: table-cell;
    }
    #ngg_page_content.ngg_settings_page td.ngg_options_promo {
        line-height: 20px !important;
        padding: 20px !important;
    }
    .ngg_options_promo a {
        margin-left: 0;
    }
    #ngg_page_content.ngg_settings_page .ngg_page_content_main h2,
    #ngg_page_content.ngg_settings_page .ngg_page_content_main h3 {
        text-align: center;
    } 
    #ngg_page_content.ngg_settings_page form > p {
        width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }
    #ngg_page_content .ngg_page_content_main input, 
    #ngg_page_content .ngg_page_content_main select {
        max-width: 100%;
        margin: 5px 0;
        box-sizing: border-box;
    }
    #ngg_page_content .ngg_page_content_main input[type="text"],
    #ngg_page_content .ngg_page_content_main input[type="number"],
    #ngg_page_content .ngg_page_content_main select,
    #ngg_page_content .ngg_page_content_main .select2-container {
        width: 100% !important;
    } 
    #ngg_page_content button.wp-color-result {
        width: auto !important;
    }
    #ngg_page_content button.wp-color-result .wp-color-result-text {
        line-height: 22px;
    }
    .ngg-post-type .ngg_page_content_main .subsubsub {
        width: 100%;
    }
    .ngg-post-type .ngg_page_content_main .tablenav .actions {
        width: 100%;
    }
    .ngg-post-type #ngg_page_content .ngg_page_content_main input, 
    .ngg-post-type #ngg_page_content .ngg_page_content_main select {
        width: 100% !important;
        max-width: 100%;
        margin: 5px 0;
        box-sizing: border-box;
    }
    #ngg_page_content input[type=checkbox] {
        width: 16px !important;
    }
    #ngg_page_content button,
    #ngg_page_content .button-primary,
    #ngg_page_content .button-secondary {
        width: 100% !important;
        margin: 4px 0;
        display: block;
        text-align: center;
    }
    #ngg_page_content .ngg_save_settings_button {
        position: static;
    }
    .ngg-post-type .ngg_page_content_main .button, 
    .ngg-post-type .ngg_page_content_main .page-title-action {
        width: 80%!important;
        margin: 4px 0;
        display: block;
        text-align: center;
        margin: 10px auto 20px;
        padding: 0 !important;
    }
    .ngg-post-type .ngg_page_content_main .displaying-num {
        display: none;
    }
    #gallery_selection label {
        display: block;
        padding-bottom: 8px;
    }
    .post-type-ngg_pricelist .accordion table {
        width: 100% !important;
    }
    .post-type-ngg_pricelist .accordion #manual_shipping_options td {
        display:block;
        width: 100% !important;
    }
    .post-type-ngg_pricelist #ngg_page_content .accordion table input.shipping_rate {
        width: 100%;
        max-width: 100%;
    }
    .post-type-ngg_pricelist .accordion input[type=checkbox]:checked:before {
        font: 400 21px/1 dashicons;
    }
    .ngg-post-type #ngg_page_content h1 {
        text-align: center;
        display: block;
    }
    /* Responsive Navigation on Mobile */
    #ngg_page_content .responsive-menu-icon {
        display: block;
        padding: 10px 0 15px;
    }
    #ngg_page_content .responsive-menu {
        display: none;
        margin: 0;
    }
    #ngg_page_content .responsive-menu a {
        display: block;
    }
    #ngg_page_content .ngg_page_content_menu .ngg_page_content_menu_active:after, 
    #ngg_page_content .ngg_page_content_menu a:active:after {
        display:none;
    }
}
