/* ==================================================================

Reversal CSS

Main Color: #00d2ff

================================================================== */


/* ==================================================================
CSS Reset
================================================================== */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* ==================================================================
Basic Document Styles
================================================================== */

body {
	line-height: 1;
	color: #555555;
	font: 13px/24px "Open Sans", Helvetica, Arial, sans-serif;
	background: #EEF0F4;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}

input,
select,
textarea { font: 13px/24px "Open Sans", Helvetica, Arial, sans-serif; }

hr {
	background: #e1e1e1;
	margin: 0;
	height: 1px;
	border: none;
	width: 100%;
	float: left;
}

hr.fancy-hr, hr.fancy-hr-alt {
	position: relative;
	float: left;
}

hr.fancy-hr:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 75px;
	height: 1px;
	background: #00d2ff;
	display: block;
}

hr.fancy-hr-alt:before {
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	width: 75px;
	height: 1px;
	background: #00d2ff;
	display: block;
}

.clearfix:after { 
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
	font-size: 0;
}

.clearfix { 
	display: inline-block; 
}

* html .clearfix { 
	height: 1%;
}

.clearfix {
	display: block;
}

.clear {
	clear: both;
	display: block;
	font-size: 0px;
	height: 0px;
	line-height: 0;
	width: 100%;
	overflow:hidden;
}

::selection {
    background: #5096b8 !important;
    color: #fff !important;
}

::-moz-selection {
    background: #5096b8 !important; /* Firefox */
    color: #fff !important;
}

::-webkit-selection {
	background: #5096b8 !important; /* Safari */
	color: #fff !important;
}

/* ==================================================================
Typography
================================================================== */

body {
    font-size: 10pt;
}

h1, h2, h3, h4, h5 {
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 300;
}

h1 {
	font-size: 50px;
	line-height: 58px;
	font-weight: 300;
	color: #333333;
}

h2 {
	font-size: 28px;
	line-height: 34px;
	font-weight: 300;
	margin-bottom: 10px;
}

h3 {
	font-size: 16px;
	line-height: 34px;
	color: #555555;
	margin-bottom: 10px;
  font-weight: bold;
}

h4 {
	color: #555555;
	font-size: 16px;
	font-weight: 400;
}

p {
	margin-bottom: 10px;
    font-size: 10pt;
}

p i {
  font-style: italic;
  font-size: 10pt;
}

a, a > * {
	color: #000;
	text-decoration: none;
	-webkit-transition: background-color .3s ease, border .3s ease, color .3s ease, opacity .3s ease-in-out, padding .3s ease;
	   -moz-transition: background-color .3s ease, border .3s ease, color .3s ease, opacity .3s ease-in-out, padding .3s ease;
	    -ms-transition: background-color .3s ease, border .3s ease, color .3s ease, opacity .3s ease-in-out, padding .3s ease;
	     -o-transition: background-color .3s ease, border .3s ease, color .3s ease, opacity .3s ease-in-out, padding .3s ease;
	        transition: background-color .3s ease, border .3s ease, color .3s ease, opacity .3s ease-in-out, padding .3s ease;
}

a:hover, a > *:hover {
	color: #000;
	text-decoration: none;
}

em {
	font-style: italic;
    font-size: 10pt;
}

strong {
	font-weight: bold;
    font-size: 10pt;
}

img {
  display: block;
  margin: 0;
  padding: 0;
}

/* Theme styles
================================================== */

.bg_dkorange { background: #B63144; }

.bg_ltorange { background: #FCB279; }

.bg_orange { background: #F7931E; }

.bg_blue { background: #446478; }

.bg_purple { background: #51447D; }

.bg_dkgrey { background: #0D050D; }

.bg_grey { background: #EEF0F4; }

.bg_white { background: #fff; }

.bg_brown { background: #7E6D66; }

.bg_green { background: #9ABE95; }

.wrapper {
  width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.mini_wrapper {
  width: 660px;
  margin: 0 auto;
  overflow: hidden;
}

.padded {
  padding: 40px;
  position: relative;
}

.row {
  width: 100%;
  margin-bottom: 15px;
  overflow: hidden;
}

.btn {
  display: block;
  width: 100%;
  padding: 8px 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  font-size: 14px;
  border-radius: 5px;
  -moz-border-radius: 5px;
  border: 0;
  margin-bottom: 10px;
  cursor: pointer;
}

.btn.loweropacity { opacity: 0.4; }

.btn:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.7;
}

label {
  text-align: left;
  width: 100%;
  display: block;
  margin-top: 5px;
}

input.unhappy {
  border: 1px solid #FD4642 !important;
}

input[type="submit"]:disabled {
  opacity: 0.3;
}

#footer {
  text-align: center;
  margin: 30px 0;
}

#footer p {
  font-size: 10px;
  color: #000;
  margin-bottom: 8px;
  line-height: 1em;
}

#invalid {
  padding: 5px 0;
  color: #fff;
  font-weight: bold;
}

#login_form, #adduser_form, #forgetpassword_form {
  border-radius: 5px;
  -moz-border-radius: 5px;
  width: 600px;
  padding: 40px;
  background: #fff;
  margin: 35px auto 0 auto;
  text-align: center;
}

#login_form img, #forgetpassword_form img {
  width: 100%;
  height: auto;
  margin-bottom: 35px;
}

#header {
  min-height: 40px;
  width: 100%;
  margin-bottom: 35px;
}

#header #logo {
  display: block;
  margin-top: 8px;
  float: left;
}

#header #logo:hover { opacity: 0.8; }

#header ul {
  width: 83%;
  margin-left: 2%;
  overflow: hidden;
  list-style: none;
  float: right;
}

#header ul li {
  float: right;
}

#header ul li:hover, #header ul li.active {
  background: #514743;
}

.pad_30 { padding: 30px !important; }

#header ul li a {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  line-height: 40px;
  display: block;
  padding: 0 18px;
}

#invoice_block input[type="text"], #invoice_block input[type="number"], #invoice_block textarea, #invoice_block input[type="email"],
#editprofile_form input[type="text"], #editprofile_form input[type="password"], #addproduct_form input[type="number"],
#user_password, #username, #adduser_form input[type="text"], #addproduct_form input[type="text"],
#editclient_form input[type="text"], #editclient_form input[type="email"],
#addclient_form input[type="text"], #addclient_form input[type="email"],
#forgetpassword_form input[type="email"], #editprofile_form input[type="number"], #editproduct_form input[type="number"],
#editproduct_form input[type="text"], #editprofile_form input[type="email"], #date_block input[type="text"],
#addclient_form textarea, #editclient_form textarea, #editprofile_form textarea,
#adduser_form input[type="email"], #adduser_form textarea {
  width: 97%;
  padding: 5px 1.5%;
  margin-bottom: 10px;
  border: 0;
  border-radius: 5px;
  -moz-border-radius: 5px;
}

form span.unhappyMessage {
  display: block;
  font-size: 10px;
  color: #FD4642;
  margin-bottom: 8px;
  font-weight: bold;
}

#clients {
  float: left;
  width: 440px;
  margin-right: 30px;
  padding: 30px;
}

#clients ul {
  width: 100%;
  margin-bottom: 15px;
}

#clients ul li {
  overflow: hidden;
  border-top: 1px solid #ddd;
}

#clients ul li a {
  margin-bottom: 0 !important;
  padding: 3px 0;
}

#clients ul li h4 {
  float: left;
  width: 38%;
  display: block;
  margin-right: 2%;
}

#clients ul li p {
  float: left;
  width: 56.5%;
  padding-left: 3%;
  border-left: 1px solid #999;
}

#clients ul li:first-child { border: 0; }

#dashboard .right_block {
  float: left;
  width: 470px;
  margin-left: 0;
}

#invoices, #products { padding: 30px; margin-bottom: 25px; }

#invoices ul { margin-bottom: 35px; }

#invoices ul li a, #clients ul li a {
  display: block;
  width: 97%;
  overflow: hidden;
  padding: 5px;
  margin-bottom: 8px;
  color: #000;
}

#invoices ul li a:hover, #clients ul li a:hover {
  background: right 10px center url('images/icon_edit.gif') no-repeat #EEF0F4 !important;
}

#invoices ul li a span, #invoices .row span {
  width: 25%;
  float: left;
  color: #555;
}

#invoices .row { margin-top: 26px; }

#invoices .row span { font-weight: bold; }

#view_block, #edit_client_products {
  padding: 40px;
  position: relative;
}

#edit_client_products { margin-top: 40px; }

#view_block p strong {
  display: inline-block;
  width: 150px;
  margin-right: 10px;
}

.top_right.btn {
  position: absolute;
  z-index: 2;
  top: 40px;
  right: 40px;
  width: 150px;
}

.top_right.btn.wider {
  width: 200px;
}

.top_right.btn.below {
  top: 100px;
}

table input[type="text"] {
  border: 0;
  border: 1px solid #fff;
  margin: 5px auto;
  padding: 3px 8px;
  text-align: center;
}

input[type="radio"] {
  display: inline-block;
}

label[for^="isOffered"], label[for^="notOffered"] {
  display: inline-block;
  width: auto;
  margin-right: 15px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  margin: 2px 4px 0 4px;
  width: 15px;
  cursor: pointer;
  padding: 3px 10px;
  background: #FC8F3C;
  opacity: 0.6;
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  opacity: 1.0;
  border: 0;
}

table.dataTable thead th {
  font-weight: bold;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 10px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #999;
  border-left: 1px solid #999;
}

table.dataTable thead th:first-child {
  border-left: 0;
}

table.dataTable thead th:hover {
  background-color: #FC8F3C;
  opacity: 0.8;
  color: #fff;
}

table.dataTable thead th.sorting:hover {
  background: right 10px top 5px url('images/sort_up.gif') no-repeat #FC8F3C;
}

table.dataTable thead th.sorting:last-child:hover { background: none; }

table.dataTable tr td {
  text-align: center;
  padding: 3px;
  border-left: 1px solid #d7d7d7;
}

table.dataTable tr td:first-child {
  border: 0;
}

table.dataTable tbody tr:hover {
  background: #EEF0F4;
}

table.dataTable tr.even {
  background: #f3f3f3;
}

table.dataTable tbody { 
  padding-bottom: 10px;
  border-bottom: 1px solid #999;
}

.dataTables_wrapper {
  position: relative;
  padding: 55px 0;
}

.dataTables_filter {
  position: absolute;
  top: 0;
  right: 0;
}

.dataTables_filter input {
  display: inline-block;
  margin-left: 10px;
  border: 0;
  border-radius: 5px;
  -moz-border-radius: 5px;
  padding: 3px 5px;
  background: #EEF0F4;
}

.dataTables_length {
  position: absolute;
  top: 0;
  left: 0;
}

.dataTables_length select {
  margin: 0 5px;
  border: 0;
  border-radius: 5px;
  -moz-border-radius: 5px;
  background: #EEF0F4;
}

.dataTables_paginate  {
  position: absolute;
  bottom: -4px;
  right: 0;
}

.dataTables_info {
  position: absolute;
  bottom: -4px;
  left: 0;
}

th.sorting:last-child, th.sorting_desc:last-child, th.sorting_asc:last-child  { 
  background: none; 
  cursor: default;
}

.sorting {
  background: right 10px top 5px url('images/sort_icon.gif') no-repeat;
  cursor: pointer;
}

.sorting_desc {
  background: right 10px top 5px url('images/sort_down.gif') no-repeat;
  cursor: pointer;
}

.sorting_asc {
  background: right 10px top 5px url('images/sort_up.gif') no-repeat;
  cursor: pointer;
}

.sorting_asc:hover {
  background-image: url('images/sort_down.gif');
}

.sorting_desc:hover {
  background-image: url('images/sort_up.gif');
}

#pwindicator {
  height: 65px;
}

.bar {
    height: 3px;
}

.pw-very-weak .bar {
    background: #ab0003;
    width: 25%;
}

.pw-very-weak .label {
    color: #ab0003;
}

.pw-weak .bar {
  background: #d14346;
  width: 38%;
}

.pw-weak .label {
  color: #d14346;
}

.pw-mediocre .bar {
    background: #f47811;
    width: 50%;
}

.pw-mediocre .label {
    color: #f47811;
}

.pw-strong .bar {
    background: #f3b31a;
    width: 75%;
}

.pw-strong .label {
    color: #f3b31a;
}

.pw-very-strong .bar {
    background: #6ec890;
    width: 100%;
}

.pw-very-strong .label {
    color: #6ec890;
}

#invoice_block .pad_30 {
  overflow: hidden;
}

.left_block {
  float: left;
  width: 48%;
  margin-right: 2%;
}

.right_block {
  float: right;
  width: 48%;
  margin-left: 2%;
  position: relative;
}

#invoice_block img, #view_block img {
  width: 60%;
  height: auto;
}

.from_block {
  width: 100%;
  overflow: hidden;
  margin: 15px 0;
  text-align: left;
}

.purchase_to_block {
  margin: 0 0 15px 20%;
  width: 100%;
  overflow: hidden;
  margin: 15px 0;
  text-align: left;
  float: right;
}

.to_block {
  margin: 0 0 15px 20%;
  width: 80%;
  overflow: hidden;
  margin: 15px 0;
  text-align: left;
  float: right;
}

.purchase_border_left_block {
  float: left;
}

.border_left_block {
  width: 20%;
  margin-right: 5%;
  float: left;
}

#view_pdf .border_left_block {
  width: 30%;
}

.from_block .border_left_block { width: 10%; }
.from_block .border_right_block { width: 74.5%; }

.border_right_block {
  float: right;
  padding-left: 5%;
  border-left: 1px solid #999;
  width: 64.5%;
}

#view_pdf .border_right_block { width: 54.5%; }

#view_pdf p, #view_pdf .payment_block p { font-size: 11px; }

.border_right_block h3 {
  line-height: 1.1em;
  margin: 3px 0 8px;
}

.border_right_block p {
  margin-bottom: 5px;
  line-height: 1.2em;
}

.border_right_block select {
  width: 100%;
}

.to_block .from_title, .purchase_to_block .from_title {
  margin-bottom: 5px;
  line-height: 1.2em;
}

.ui-datepicker-next {
  background: center center url('images/') no-repeat;
}

#product_list p {
  border-bottom: 1px solid #999;
  padding-bottom: 8px;
}

#product_list p strong, .product_list_block ul li strong,
.product_list_block ul li span {
  display: inline-block;
  text-align: center;
}

.product_list_block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product_list_block ul li {
  list-style: none;
  margin: 0;
  padding: 3px 0;
}

.product_list_block ul li.even {
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
  padding-top: 12px;
}

#invoice_details .right_block p strong {
  display: inline-block;
  margin-right: 25px;
}

#subtotal { margin-bottom: 0; }

#total {
  border-top: 1px solid #999;
}

.btn img {
  width: 30px !important;
  height: 30px !important;
}


#product_list p strong { margin-right: 0; }

.view_invoice #product_list {
  border-top: 1px solid #F0F0F0;
  border-bottom: 1px solid #F0F0F0;
  margin: 35px 0;
  padding: 35px 0;
}

.view_invoice #invoice_details p {
  margin-bottom: 6px;
  line-height: 1.1em;
}

.view_invoice #invoice_details p strong {
  font-size: 12px;
  line-height: 1.1em;
}

.view_invoice #invoice_details span {
  display: inline-block;
  line-height: 1.3em;
  font-size: 11px;
}

.view_invoice #invoice_details h3:after, .terms_conditions h3:after {
  content: "";
  display: block;
  height: 1px;
  background: #999;
  width: 80px;
  margin-bottom: 30px;
}

.view_invoice #invoice_details .right_block p strong, .view_invoice #invoice_details .right_block p span {
  font-size: 15px;
  line-height: 1.5em;
  display: inline-block;
}

.view_invoice #invoice_details .right_block p span { width: 80px; }

.terms_conditions p {
  font-size: 11px;
  line-height: 1.3em;
  margin-bottom: 8px;
}

#invoice_stats strong {
  display: inline-block;
  width: 150px;
}

#paid_status { 
  position: absolute;
  display: block;
  padding: 10px;
  top: 150px;
  left: 36%;
  width: 200px;
  text-align: center;
  -ms-transform: rotate(-15deg); /* IE 9 */
  -webkit-transform: rotate(-15deg); /* Safari */
  transform: rotate(-15deg);
}

.date_btn {
  display: inline-block;
  padding: 3px 7px;
  border: 1px solid #F7931E;
  border-radius: 5px;
  color: #F7931E;
  font-weight: bold;
  -moz-border-radius: 5px;
  margin: 0 0 8px 3px;
  letter-spacing: 1px;
}

.date_btn.first{ margin-left: 0; }

.date_btn:hover, .date_btn.active {
  background: #F7931E;
  color: #fff;
}

.paid {
  border: 10px solid #9ABE95;
}

.paid p { color: #9ABE95; }

.unpaid {
  border: 10px solid #B63144;
}

.unpaid p { color: #B63144; }

#paid_status p {
  font-size: 30pt;
  font-weight: bold;
  line-height: 1em;
  margin: 0;
  letter-spacing: 3px;
}

#invoice_block .mce-panel { 
  background-image: none; 
  background-color: #EEF0F4; 
  border: 1px solid #ddd;
}

#paid_wrapper, #date_wrapper {
  background: rgba(0,0,0,0.6);
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

#paid_block, #date_block {
  margin: 30px auto 0 auto;
  background: #fff;
  width: 500px;
  padding: 30px;
  text-align: center;
  position: relative;
}

#paid_block p {
  font-size: 18px;
}

#paid_block a, #date_block a {
  display: inline-block;
  width: auto;
  border-radius: 5px;
  -moz-border-radius: 5px;
  color: #fff;
  padding: 5px 20px;
  text-transform: uppercase;
  margin: 0 10px;
  letter-spacing: 1px;
}

#paid_block a:hover { opacity: 0.6; }

#close_btn {
  position: absolute;
  top: 0;
  right: -59px;
  background: #000;
  border-radius: 0 !important;
  -moz-border-radius: 0 !important;
}

#close_btn:hover {
  background: #fff;
  color: #000;
}

.add-row-btn {
  width: 150px;
  float: right;
}