/****** FLAT DESIGN COLORS ******

TURQUOISE       (LIGHT AQUA)      #1abc9c
GREEN SEA       (DARK AQUA)       #16a085
EMERALD         (LIGHT GREEN)     #2ecc71
NEPHRITIS       (DARK GREEN)      #27ae60
PETER RIVER     (LIGHT BLUE)      #3498db
BELIZE HOLE     (DARK BLUE)       #2980b9
AMETHYST        (LIGHT PURPLE)    #9b59b6
WISTERIA        (DARK PURPLE)     #8e44ad
WET ASPHALT     (DARK GRAY)       #34495e
MIDNIGHT BLUE   (DARKER GRAY)     #2c3e50
SUN FLOWER      (YELLOW)          #f1c40f
ORANGE          (LIGHT ORANGE)    #f39c12
CARROT          (DARK ORANGE)     #e67e22
PUMPKIN         (DARKER ORANGE)   #d35400
ALIZARIN        (LIGHT RED)       #e74c3c
POMEGRANATE     (DARK RED)        #c0392b
CLOUDS          (OFF WHITE)       #ecf0f1
SILVER          (LIGHTER GRAY)    #bdc3c7
CONCRETE        (LIGHT GRAY)      #95a5a6
ASBESTOS        (MEDIUM GRAY)     #7f8c8d

******/

/* FIXES HEADINGS MARGINS FROM WP -> DO NOT REMOVE */

.wrap>h1, h2 {
    margin: 0;
}

/****** GENERAL STYLES ******/

#iprm_wrapper {
	min-width: 920px;
	padding: 1rem;
}
.toplevel_page_iprm_main_page div#wpwrap {
	background: #ddd;
	/*background-color: #34495e;/**/
	/*color: #333;/**/
	font-size: 0.9rem;
}
.toplevel_page_iprm_main_page div#wpcontent {
    padding-left: 0;
} 
.iprm p {
	/*font-size: 100%;
	letter-spacing: 0.02rem;
	line-height: 1.6;/**/
	margin: 0 0 1rem 0;
}
.toplevel_page_iprm_main_page input[type=text], 
.toplevel_page_iprm_main_page input[type=url], 
.review-ranger_page_iprm_admin_page input[type=text], 
.review-ranger_page_iprm_admin_page input[type=url] {
	padding: 0.7rem;
}

/****** NOTICES ******/

.iprm-alert, 
.iprm-notice {
	color: #fff;
	display: block;
	margin: 1rem 0;
	padding: 1rem;
    text-align: center;
}
.iprm-alert {
	background-color: #e74c3c;
}
.iprm-notice {
	background-color: #e67e22;
}

/****** OTHER ******/

p.submit {
	padding: 0;
}
.iprm a {
	border: none !important;
	text-decoration: none;
}

/****** ICONS ******/

.iprm a span.dashicons, 
.iprm a::before {
	text-decoration: none;
	vertical-align: middle;
}
.iprm .iprm-sort-text {
	display: inline-block;
	vertical-align: middle;
}
.iprm .iprm-sort-icon {
	display: inline-block;
	vertical-align: middle;
}
.iprm .iprm-sort-icon a span.dashicons {
	color: #fff;
	font-size: 1.6rem;
	height: 1.6rem;
	width: 1.6rem;
}
.iprm .iprm-sort-icon a:hover span.dashicons {
	color: #333;
}

/****** GENERAL ******/

.iprm_panel {
	background-color: #fff;
	display: inline-block;
	min-height: 250px;
	margin: 1rem 0;
    /*overflow: hidden;/**/
	width: 100%;
}
.iprm_panel h2 {
	background-color: #2c3e50;
	color: #fff;
	display: block;
	font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 0.1rem;
    line-height: 2.3rem;
    padding: 1rem;
    text-align: left;
	text-transform: uppercase;
}
.iprm_panel h2#iprm_review_h2 {
	color: #fff;
}
.iprm_panel_content {
	background-color: #fff;
	padding: 1rem;
}
.iprm_panel_content p {
    font-size: 100%;
    /*letter-spacing: 0.02rem;/**/
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

/****** BUTTONS *******/

#iprm_add_url, 
#iprm_product_select {
    background-color: #eee;
    border: none;
    box-shadow: none;
	min-width: 200px;
	max-width: 90%;
}
#iprm_delete_product {
	background-color: #e74c3c;	
}
#iprm_delete_product:hover {
	background-color: #c0392b;	
}
#iprm_reset_all_data_btn {
	background-color: #c0392b;
}
#iprm_reset_all_data_btn:hover {
	background-color: #e74c3c;
}
.iprm_button_primary {
	background-color: #3498db;
	border: none;
	border-radius: 0;
	color: #fff;
	font-size: 1.2rem;
	height: inherit;
	line-height: 1.6;
	padding: 0.5rem 1rem;
	width: 100%;
}
.iprm_button_primary:hover {
	background-color: #2980b9;
}
.iprm_button_secondary {
	background-color: #bdc3c7;
	border: none;
	border-radius: 0;
	color: #fff;
	font-size: 1.2rem;
	height: inherit;
	line-height: 1.6;
	padding: 0.5rem 1rem;
	width: 100%;
}
.iprm_button_secondary:hover {
	background-color: #95a5a6;
}
.iprm_button_small {
	background-color: #3498db;
	border: none;
	border-radius: 0;
	color: #fff;
	font-size: 1.2rem;
	height: inherit;
	line-height: 1.6;
	padding: 0.5rem 1rem;

}
.iprm_button_small:hover {
	background-color: #2980b9;
}

/****** METADATA PANEL ******/

#iprm_metadata {
	display: table;
	height: 100%;
	padding-bottom: 0;
}
#iprm_meta_img {
	background-color: #ddd;
	background-position: center center;
	display: table-cell;
	height: 100%;
	min-width: 250px;
	padding: 0 1rem 0 0;
	text-align: center;
	vertical-align: top;
}
#iprm_metadata .iprm_panel_content {
	display: table-cell;
	padding: 0;
	width: 100%;
}
#iprm_metadata p {
	margin: 1rem;
	padding: 0;		
}
#iprm_metadata p:last-child {
	padding-bottom: 1rem;		
}

/******* SETTINGS PANEL *****/

#iprm_input_settings, 
#iprm_crawl_settings {
	box-sizing: border-box;
	display: inline-block;
	vertical-align: top;
}
#iprm_input_settings {
	width: 70%;
}
#iprm_crawl_settings {
	float: right;
	width: 30%;
}

/****** ANALYTICS PANEL ******/

#iprm_analytics {
	min-height: 200px;
}
#iprm_analytics_labels {
    width: 100%;
}
#iprm_analytics_countries_label, #iprm_analytics_ratings_label{ 
	width: 50%;
}
#iprm_piechart, #iprm_barchart_material {
	box-sizing: border-box;
	display: inline-block;
	height: 300px;
	margin: 0;
	width: 50%;
}
#iprm_barchart_material {
	float: right;
}

/****** FILTER PANEL ******/

#iprm_filter label {
	text-align: center;
}
#iprm_filter button {
	margin-right: 15px;
}
#iprm_filter select {
	background-color: #eee;
}

/****** TABLES ******/

/* HIDE NUMBER DISPLAY, SHOW STARS, BUT KEEP NUMBER FOR SORTING PURPOSES */

#iprm_main_table {
	background-color: transparent;
}
#iprm_main_table_body {
	border-collapse: collapse;
	margin: 10px 0 0 0;
	width: 100%;
}

.iprm_table {
	border-collapse: collapse;
	border-spacing: 0;
	max-width: 100%;
}
.iprm_table a, .iprm_table a:visited {
	text-decoration: none;
	color: white;
}
.iprm_table th,
.iprm_table td {
	border: 0;
	padding: 1rem;
}
.iprm_table td {
	vertical-align: top;
}
.iprm_table th {
	background-color: #2c3e50;
	color: #fff;
	font-weight: normal;
	text-align: left;
	text-transform: uppercase;
	vertical-align: middle;
	white-space: nowrap;
}
.iprm_table th h2 {
	color: #fff;
	font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 0.2rem;
    line-height: inherit;
    padding: 0;
}
.iprm_table tr:nth-child(even) {
    background-color: #fff;
}
.iprm_table tr:nth-child(odd) {
    background-color: #eee;
}
.iprm_table th:nth-child(even) {
    background-color: #2c3e50;
}
.iprm_table th:nth-child(odd) {
    background-color: #34495e;
}
.iprm th.iprm-sort {
	text-align: right;
}
.iprm_sort_control {
	float: right;
}
.iprm_table .sortarrow {
	margin: 0 0 0 0.3rem;
}
.iprm_hidden_num {
	font-size: 0;
}

/** REVIEW TABLE COLUMN HEADINGS **/

/* COUNTRIES - KEEP ON 1 LINE */
#iprm_main_table_body th:nth-child(3) {
	min-width: 80px;
}
/* DATES - KEEP ON 1 LINE */
#iprm_main_table_body th:nth-child(4) {
	min-width: 85px;
}
#iprm_main_table_body th {
	vertical-align: top;
}
#iprm_main-table_body td.flag {	
	padding-top: 0.5rem;
}

/****** FOOTER ******/

.toplevel_page_iprm_main_page footer {
	padding: 1rem;
}
.toplevel_page_iprm_main_page footer p {
	text-align: right;
}

/****** RESPONSIVE ******/

@media only screen and (max-width: 1200px) {
	#iprm_main_table_body th, #iprm_main_table_body td, #iprm_main_table_body td p {
		font-size: 1rem;
	}
}
@media only screen and (max-width: 800px) {
	#iprm_main_table_body {
	    margin: 0;
    	width: auto;
	}
	#iprm_main_table_body th, #iprm_main_table_body td {
	    display: block;
	}
}