/* styles for graphs */
.adrotate_label { font-size: 12px; margin: auto 0; padding:5px; font-weight: bold }
.adrotate_clicks { color: #5Af; font-weight: normal }
.adrotate_impressions { color: #F80; font-weight: normal }

/* styles for advert statuses and stats */
.row_red { background-color:#ffebe8; border-color:#c00; }
.row_orange { background-color: #fdefc3; border-color: #c80; }
.row_yellow { background-color:#ffffe0; border-color:#e6db55; }
.row_blue { background-color:#ebf3fa; border-color:#466f82; }
.row_green { background-color: #e5faee; border-color: #518257; }
.stats_large { display: block; margin-bottom: 10px; margin-top: 10px; text-align: center; font-weight: bold; }
.number_large {	margin: 20px; font-size: 28px; }

/* Fancy select box for Post/Page injection and Geo Targeting */
.adrotate-select { padding:3px; border:1px solid #efefef; min-width:400px; max-height:400px; overflow-y:scroll; background-color:#fff; }
.adrotate-select .check-column { width: 7%; text-align: center; }
.postbox-ajdg textarea { border:1px solid #efefef; width:100%; margin:3px 0; padding:3px; }

/* Banner styles */
.ajdg-notification.notice { padding: 0; margin: 5px 0 10px; border: 1px solid #E5E5E5; background: #FFF; overflow: hidden; -webkit-border-radius: 6px; border-radius: 6px; -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05); box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05); position: relative; z-index: 1; min-height: 80px; display: table; }
.ajdg-notification > div { display: table-cell; vertical-align: middle; cursor: default; }
.ajdg-notification a { text-decoration: none; }
.ajdg-notification-logo { background-color: #1fa4d1; background-repeat: no-repeat; background-position: 50% 50%; }
.ajdg-notification-logo span { display: block; width: 80px; }
.ajdg-notification-message { width: 100%; padding: 10px 20px; color: #444; }
.ajdg-notification-message strong { color: #000; }
.ajdg-notification-cta { border-left: 1px solid #E5E5E5; background: #F8F8F8; padding: 0 30px; position: relative; white-space: nowrap; }
.wp-core-ui .ajdg-notification-cta a, .wp-core-ui .ajdg-notification-cta .button-primary:active { vertical-align: middle; }
.ajdg-notification-dismiss { background: transparent; margin-left: 20px; border: 0; cursor: pointer; color: #BBB; text-decoration: none; }

.icn-fb { position: relative; top: 2px; margin-right: 3px; display: inline-block; width: 14px; height: 14px; background: transparent 0 0 no-repeat; background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%20class%3D%22_1pbq%22%20color%3D%22%23ffffff%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20fill-rule%3D%22evenodd%22%20d%3D%22M4.55%2C7%20C4.7984%2C7%205%2C7.23403636%205%2C7.52247273%20L5%2C13.4775273%0A%20%20%20%20%20%20%20%20%20%20C5%2C13.7659636%204.7984%2C14%204.55%2C14%20L2.45%2C14%20C2.2016%2C14%202%2C13.7659636%0A%20%20%20%20%20%20%20%20%20%202%2C13.4775273%20L2%2C7.52247273%20C2%2C7.23403636%202.2016%2C7%202.45%2C7%20L4.55%2C7%20Z%0A%20%20%20%20%20%20%20%20%20%20M6.54470232%2C13.2%20C6.24016877%2C13.1641086%206.01734614%2C12.8982791%0A%20%20%20%20%20%20%20%20%20%206%2C12.5737979%20C6.01734614%2C12.5737979%206.01344187%2C9.66805666%206%2C8.14398693%0A%20%20%20%20%20%20%20%20%20%20C6.01344187%2C7.61903931%206.10849456%2C6.68623352%206.39801308%2C6.27384278%0A%20%20%20%20%20%20%20%20%20%20C7.10556287%2C5.26600749%207.60281698%2C4.6079584%207.89206808%2C4.22570082%0A%20%20%20%20%20%20%20%20%20%20C8.18126341%2C3.8435016%208.52813047%2C3.4708734%208.53777961%2C3.18572676%0A%20%20%20%20%20%20%20%20%20%20C8.55077527%2C2.80206854%208.53655255%2C2.79471518%208.53777961%2C2.35555666%0A%20%20%20%20%20%20%20%20%20%20C8.53900667%2C1.91639814%208.74565444%2C1.5%209.27139313%2C1.5%20C9.52544997%2C1.5%0A%20%20%20%20%20%20%20%20%20%209.7301456%2C1.55690094%209.91922413%2C1.80084547%20C10.2223633%2C2.15596568%0A%20%20%20%20%20%20%20%20%20%2010.4343097%2C2.71884727%2010.4343097%2C3.60971169%20C10.4343097%2C4.50057612%0A%20%20%20%20%20%20%20%20%20%209.50989975%2C6.1729303%209.50815961%2C6.18%20C9.50815961%2C6.18%0A%20%20%20%20%20%20%20%20%20%2013.5457098%2C6.17908951%2013.5464084%2C6.18%20C14.1635544%2C6.17587601%0A%20%20%20%20%20%20%20%20%20%2014.5%2C6.72543196%2014.5%2C7.29718426%20C14.5%2C7.83263667%2014.1341135%2C8.27897346%0A%20%20%20%20%20%20%20%20%20%2013.6539433%2C8.3540827%20C13.9452023%2C8.49286263%2014.1544715%2C8.82364675%0A%20%20%20%20%20%20%20%20%20%2014.1544715%2C9.20555417%20C14.1544715%2C9.68159617%2013.8293011%2C10.0782687%0A%20%20%20%20%20%20%20%20%20%2013.3983805%2C10.1458495%20C13.6304619%2C10.2907572%2013.7736931%2C10.5516845%0A%20%20%20%20%20%20%20%20%20%2013.7736931%2C10.847511%20C13.7736931%2C11.2459343%2013.5138356%2C11.5808619%0A%20%20%20%20%20%20%20%20%20%2013.1594388%2C11.6612236%20C13.3701582%2C11.7991865%2013.5063617%2C12.0543945%0A%20%20%20%20%20%20%20%20%20%2013.5063617%2C12.3429843%20C13.5063617%2C12.7952155%2013.1715421%2C13.1656844%0A%20%20%20%20%20%20%20%20%20%2012.7434661%2C13.2%20L6.54470232%2C13.2%20Z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E); }
.icn-t { position: relative; top: 2px; margin-right: 3px; display: inline-block; width: 14px; height: 14px; background: transparent 0 0 no-repeat; background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2072%2072%22%3E%3Cpath%20fill%3D%22none%22%20d%3D%22M0%200h72v72H0z%22%2F%3E%3Cpath%20class%3D%22icon%22%20fill%3D%22%23fff%22%20d%3D%22M68.812%2015.14c-2.348%201.04-4.87%201.744-7.52%202.06%202.704-1.62%204.78-4.186%205.757-7.243-2.53%201.5-5.33%202.592-8.314%203.176C56.35%2010.59%2052.948%209%2049.182%209c-7.23%200-13.092%205.86-13.092%2013.093%200%201.026.118%202.02.338%202.98C25.543%2024.527%2015.9%2019.318%209.44%2011.396c-1.125%201.936-1.77%204.184-1.77%206.58%200%204.543%202.312%208.552%205.824%2010.9-2.146-.07-4.165-.658-5.93-1.64-.002.056-.002.11-.002.163%200%206.345%204.513%2011.638%2010.504%2012.84-1.1.298-2.256.457-3.45.457-.845%200-1.666-.078-2.464-.23%201.667%205.2%206.5%208.985%2012.23%209.09-4.482%203.51-10.13%205.605-16.26%205.605-1.055%200-2.096-.06-3.122-.184%205.794%203.717%2012.676%205.882%2020.067%205.882%2024.083%200%2037.25-19.95%2037.25-37.25%200-.565-.013-1.133-.038-1.693%202.558-1.847%204.778-4.15%206.532-6.774z%22%2F%3E%3C%2Fsvg%3E); }

/* Update button */
.update-button { -webkit-animation: glowing 1500ms infinite; -moz-animation: glowing 1500ms infinite; -o-animation: glowing 1500ms infinite; animation: glowing 1500ms infinite; }
@-webkit-keyframes glowing { 0% { -webkit-box-shadow: 0 0 3px #1fa4d1; } 50% { -webkit-box-shadow: 0 0 40px #466f82; } 100% { -webkit-box-shadow: 0 0 3px #1fa4d1; } }
@-moz-keyframes glowing { 0% { -moz-box-shadow: 0 0 3px #1fa4d1; } 50% { -moz-box-shadow: 0 0 40px #466f82; } 100% { -moz-box-shadow: 0 0 3px #1fa4d1; } }
@-o-keyframes glowing { 0% { box-shadow: 0 0 3px #1fa4d1; } 50% { box-shadow: 0 0 40px #466f82; } 100% { box-shadow: 0 0 3px #1fa4d1; } }
@keyframes glowing { 0% { box-shadow: 0 0 3px #1fa4d1; } 50% { box-shadow: 0 0 40px #466f82; } 100% { box-shadow: 0 0 3px #1fa4d1; } }

/* Dashboard styles */
.ajdg-postbox-container { width: 49.5%; float: left; }
h2.ajdg-postbox-title { font-size: 14px; padding: 8px 12px; margin: 0; line-height: 1.4; }
.ajdg-postbox { margin: 0 8px; min-height: 100px; box-sizing: border-box; }
.ajdg-postbox-content { margin-bottom: 20px; padding: 10px 20px 20px 20px; min-height: 40px; min-width:255px; border:#dfdfdf 1px solid; background-color:#fff; -moz-box-shadow:inset 0 1px 0 #fff; -webkit-box-shadow:inset 0 1px 0 #fff; box-shadow:inset 0 1px 0 #fff; clear: both; position: relative; }
.ajdg-postbox-content h3 { margin:0; padding:7px 10px 7px 10px; box-shadow:#ddd 0px 1px 0px 0px; -moz-box-shadow:inset 0 1px 0 #ddd; -webkit-box-shadow:#ddd 0px 1px 0px 0px; line-height:15px; }
.ajdg-postbox-content textarea.noborder { border: none; box-shadow: none; resize: none; }
.pro-image { padding:0px 10px 0px 0px; }
.ajdg-photo { border-radius: 5px; }
.ajdg-fullwidth { width: 100%; }
.ajdg-inputfield { height: 28px; margin: 0 4px 0 0; }

/* Sales Widget styles */
.ajdg-sales-widget { margin: 0; padding: 0; background: #fff; width: 95%; box-sizing: border-box; border: 1px solid #dadde1; border-radius: 6px; font-family: Helvetica, Arial, sans-serif; font-size: 11px; color: #1c1e21; unicode-bidi: embed; overflow: hidden; -webkit-text-size-adjust: none; line-height: 1.34; }

.ajdg-sales-widget a { cursor: pointer; text-decoration: none; color: #385898; }
.ajdg-sales-widget a:hover { text-decoration: underline; }
.ajdg-sales-widget img { border: 0;	}
.ajdg-sales-widget hr { margin: 0; background: #dadde1; border-width: 0; color: #dadde1; height: 1px; }

.ajdg-sales-widget .header { position: relative; overflow: hidden; width: 100%; }
.ajdg-sales-widget .header img{ position: relative; height: auto; min-height: initial; width: 100%; }

.ajdg-sales-widget .title { color: #000; margin: 8px 12px 2px 12px; text-align: center; font-size: 14px; line-height: 18px; font-weight: 600; }
.ajdg-sales-widget .sub_title{ margin: 2px 12px 0 12px; text-align: center; font-size: 12px; font-weight: normal; color: #90949c; }
.ajdg-sales-widget .description { font-size: 12px; text-align: left; margin: 12px; }

.ajdg-sales-widget .cta { margin: 8px 12px 12px 12px; text-align: center; }
.ajdg-sales-widget .cta_button { padding: 0; border: 1px solid #ccd0d5; border-radius: 2px; box-sizing: content-box; width: 100%; display: inline-block; background-color: #f5f6f7; position: relative; text-align: center; text-decoration: none; color: #4b4f56; font-size: 12px; font-weight:bold; line-height: 26px; vertical-align: middle; cursor: pointer; white-space: nowrap; }
.ajdg-sales-widget .cta_button:before { content:''; display: inline-block; height: 20px; vertical-align: middle; }
.ajdg-sales-widget .cta_button:focus { box-shadow: 0 0 1px 2px rgba(88, 144, 255, .75), 0 1px 1px rgba(0, 0, 0, .15); outline: none; }
.ajdg-sales-widget .cta_button:active { transition: none; background-color: #dddfe2; border-color: #bec3c9; }
.ajdg-sales-widget .cta_button:hover { text-decoration: none; background-color: #ebedf0; }
.ajdg-sales-widget .cta_button+.cta_button { margin-left:4px; }

/* Tablesorter */
table.tablesorter thead tr .header { text-decoration: underline; cursor: pointer; }

/* Tooltips */
.ajdg-tooltip { position: relative; display: inline-block; border-bottom: 1px dotted black; }
.ajdg-tooltip-top { width: 150px; bottom: 100%; left: 50%; margin-left: -75px; /* Use half of the width */ }
.ajdg-tooltip-bottom { width: 150px; top: 100%; left: 50%; margin-left: -75px; /* Use half of the width */ }
.ajdg-tooltip-left { top: -5px; right: 105%; }
.ajdg-tooltip-right { top: -5px; left: 105%; }
.ajdg-tooltip .ajdg-tooltiptext { visibility: hidden; width: 150px; background-color: #23282d; color: #eee; text-align: center; border-radius: 6px; padding: 5px 8px; position: absolute; z-index: 100; }
.ajdg-tooltip:hover .ajdg-tooltiptext { visibility: visible; }

/* DatePicker */
.ui-datepicker { background: #f7f7f7; margin: 5px auto 0; -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5); -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5); box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .5); }
.ui-datepicker a { text-decoration: none; }
.ui-datepicker table { width: 100%; }
.ui-datepicker-header {	background: #86c351; color: #fff; font-weight: bold; line-height: 30px; border: 0px; }
.ui-datepicker-title { text-align: center; }
.ui-datepicker-prev, .ui-datepicker-next { display: inline-block; width: 30px; height: 30px; text-align: center; cursor: pointer; background-image: url('../images/date-arrow.png'); background-repeat: no-repeat; line-height: 600%; overflow: hidden; }
.ui-datepicker-prev { float: left; background-position: center -30px; }
.ui-datepicker-next { float: right; background-position: center 0px; }
.ui-datepicker thead { background-color: #dfdfdf; border-bottom: 1px solid #bbb; }
.ui-datepicker th { text-transform: uppercase; padding: 5px 0; color: #666666; }
.ui-datepicker tbody td { padding: 0; border: 0px; }
.ui-datepicker tbody tr { border-bottom: 0px; }
.ui-datepicker td span, .ui-datepicker td a { display: inline-block; font-weight: bold; text-align: center; width: 30px; height: 30px; line-height: 30px; color: #666666; }
.ui-datepicker-calendar .ui-datepicker-today { border: 1px solid #86c351; border-radius: 5px; overflow: hidden; }
.ui-datepicker-calendar .ui-state-default { background: #f7f7f7; }
.ui-datepicker-calendar .ui-state-hover { background: #efefef; border-radius: 5px; }
.ui-datepicker-calendar .ui-state-active { background: #86c351; color: #fff; border: 1px solid #e2f4d2; position: relative; margin: -1px; border-radius: 5px; }
.ui-datepicker-unselectable .ui-state-default { background: #f4f4f4; color: #b4b3b3; }
.ui-datepicker-calendar td:first-child .ui-state-active { width: 29px; margin-left: 0; }
.ui-datepicker-calendar td:last-child .ui-state-active { width: 29px; margin-right: 0; }
.ui-datepicker-calendar tr:last-child .ui-state-active { height: 29px; margin-bottom: 0; }