/*   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, font, 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 { margin: 0; padding: 0; border: 0; outline: 0; background: transparent; }

ol, ul { list-style: none; }

table { border-collapse: collapse; border-spacing: 0; }

input, select { margin: 0; outline: none; }

/* --------------
    GENERAL
-------------- */

body {
    background: #d3d3d3;
    font-size: 13px;
    line-height: 18px;
    font-family: Arial;
    color: #000;
    position: relative;
}

input, select, textarea {
    font: 1em Arial, Helvetica, sans-serif;
    color: #000;
}

textarea {
	border: 1px solid #ccc;
}

h1 {
	color: #000;
	font-weight: bold;
	font-size: 24px;
	padding-top: 20px;
	margin-bottom: 15px;
}

.nopadding {
	padding:0;
}

table.inspe {
	width: 100%;
	font-size: 12px;
	margin-top: 30px;
}

table.inspe.orders-list {
    margin-top: 5px;
}

table.inspe tbody tr td {
	line-height: 15px;
	padding: 10px;
	border-bottom: 1px solid #ccc;
}

table.inspe thead td {
    background: #e7e7e7;
    line-height: 15px;
    padding: 10px 0 9px 0;
    color: #333;
    border: 1px solid #ccc;
}

table.inspe tr td{
    padding: 10px!important; /* reikia invoice rodymui */
}

table.inspe thead tr td:first-child {
	border-left: 1px solid #ccc;
}

table.inspe thead tr td:last-child {
	border-right: 1px solid #ccc;
    padding-right: 10px;
}

a {
    color: inherit;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

img {
	border: none;
}

.left {
	float: left;
}

.right {
	float: right!important;
}

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

.clearer {
    clear: both;
}

input[type="text"], input[type="password"] {
	height: 28px;
	line-height: 28px;
	border: 1px solid #ccc;
	padding: 0 5px;
}

#header {
	height: 64px;
	background: url('../img/header_bg.png') repeat-x;
	border-bottom: 1px solid #ccc;
}

#header #logo {
	float: left;
	margin-top: 7px;
	margin-left: 7px;
	margin-right: 161px;
}

#header #menu {
	position: relative;
}

#header #menu #more {
	width: 230px;
	position: absolute;
	top: 65px;
	right: -4px;
	background: #e6e6e7;
	box-shadow: 0px 3px 8px #eee;
	border: 1px solid #ccc;
	border-top: 0;
	border-bottom: 0;
	z-index: 2;
        display: none;
}

#header #menu #more a {
	border-left: 0;
	display: block;
	float: none;
        margin: 0;
	padding: 0;
	height: 35px;
	line-height: 35px;
	padding-left: 12px;
}

#header #menu a {
	padding: 18px 15px 16px 15px;
	text-decoration: none;
	color: #555;
	font-size: 13px;
	line-height: 15px;
	float: left;
	border-left: 1px solid #d5d5d5;
	border-bottom: 1px solid #ccc;
	position: relative;
}

#header #menu .nav a:last-child {
        border-right: 1px solid #d5d5d5;
}

#header #menu a.more {
	background: url('../img/menu_more.png') no-repeat center 40px;
	/*padding: 18px 25px 16px 25px;*/
	height: 30px;
        cursor: pointer;
}

#header #menu a:hover.more {
	background: #eee url('../img/menu_more.png') no-repeat center 40px;
}

#header #menu a.right {
	border-left: 0;
}

#header #menu a.logout {
	float: right;
	height: 30px;
	border-left: none;
	font-weight: normal;
	background: url('../img/log_out.png') no-repeat center center;
	width: 45px;
	padding-right: 0;
	padding-left: 0;
}

#header #menu a:hover.logout {
	background: #eee url('../img/log_out.png') no-repeat center center;
}

#header #menu a.selected {
	background: #fff;
	border-bottom: 1px solid #fff;
}

#header #menu a:hover.selected {
	background: #fff;
}

#header #menu a:hover {
	background: #eee;
}

#header #menu a span {
	position: absolute;
	top: 0;
	right: 0;
	background: url('../img/menu_notification.png') no-repeat;
	color: #fff;
	font-size: 10px;
	width: 19px;
	padding-bottom: 7px;
	padding-right: 3px;
	text-align: right;
}

#main {
	background: url('../img/main_bg.png') repeat-y;
}

#main_no_sidebar {
	background: #fff;
	padding: 20px;
}

#main_no_sidebar h1 {
	margin-top: 0px;
}

#main #sidebar {
	float: left;
	width: 219px;
	border-right: 1px solid #cacaca;
	background: url('../img/sidebar.png') repeat-y;
	padding-bottom: 20px;
}

#sidebar .card {
	width: 171px;
	background: #fff;
	position: relative;
	left: -9px;
	padding: 20px;
	color: #999;
	box-shadow: 2px 2px 2px #ddd;
}

#sidebar .manager {
	margin-top: 30px;
}

#sidebar .card.manager .name {
	float: left;
	margin-left: 10px;
	font-weight: bold;
	margin-bottom: 5px;
	color: #000;
}

#sidebar .card.manager .contact {
	color: #5eaadb;
	text-decoration: none;
}

#sidebar .manager .title {
	position: absolute;
	top: -18px;
	left: 0;
	padding-left: 20px;
	background: url('../img/card_corner.png') no-repeat left bottom;
}

.img {
	border: 2px solid #fff;
	outline: 1px solid #ccc;
}

.img.test {
	background: #eee;
}

#content {
	float: left;
	width: 740px;
	padding: 20px;
	background: #fff;
}

.button {
	background: url('../img/button_bg.png') repeat-x;
	float: left;
	height: 28px;
	line-height: 28px;
	border: 1px solid #ccc;
	padding: 0 20px;
	text-decoration: none;
	color: #555;
	cursor: pointer;
}

.button:hover {
	border: 1px solid #aaa;
}

.button2 {
	background: url('../img/button2_bg.png') repeat-x;
	float: left;
	height: 28px;
	line-height: 28px;
	border: 1px solid #e26100;
	padding: 0 20px;
	text-decoration: none;
	font-size: 13px;
	color: #fff;
	font-family: arial;
	cursor: pointer;
}

.button2:hover {
	border: 1px solid #ff9600;
}

.button3 {
	background: url('../img/button3_bg.png') repeat-x;
	float: left;
	height: 22px;
	line-height: 22px;
	border: 1px solid #ccc;
	padding: 0 10px;
	text-decoration: none;
	color: #555;
	cursor: pointer;
        margin-left: -30px;
}

.button3:hover {
	border: 1px solid #aaa;
}

.button4 {
	background: url('../img/button4_bg.png') repeat-x;
	float: left;
	height: 22px;
	line-height: 22px;
	border: 1px solid #e26100;
	padding: 0 10px;
	text-decoration: none;
	font-size: 13px;
	color: #fff;
	font-family: arial;
	cursor: pointer;
}

.button4:hover {
	border: 1px solid #ff9600;
}

.dashboard_block {
	float: left;
	width: 357px;
}

#content p {
	margin-top: 7px;
}

#content .dashboard_news .text {
	float: left;
	margin-left: 10px;
	width: 600px;
}

.register {
	margin-top: 40px;
}

.register h1 {
	margin-bottom: 25px;
}

#registration {
	position: relative;
}

#content .dashboard_news .text p {
	margin-top: 0;
}

#content .dashboard_news .text a {
	color: #5eaadb;
	text-decoration: none;
}

.register input {
	margin-bottom: 10px;
}

.register input[type="checkbox"] {
	margin-top: 2px;
	margin-right: 8px;
	float: left;
        padding:0px;
}

#registration label {
	float: left;
	margin-top: 8px;
}

#registration input[type="text"], #registration input[type="password"] {
	width: 185px;
}

.register .error {
	background: #ffe2e2;
	padding: 5px;
	border: 1px solid #ef9495;
	color: #c60000;
	margin-bottom: 10px;
}

input.fail {
	border: 1px solid #ef9495;
}

.regform {
	position: relative;
}

.regform span {
	text-align: right;
	width: 190px;
	position: absolute;
	left: -200px;
	line-height: 30px;
	color: #C60000;
}

.regform span.small {
	line-height: 20px;
}

#login {
	position: relative;
}

#login label {
	float: left;
}

.register input[type="text"], .register input[type="password"] {
	width: 185px;
}

#login input[type="checkbox"] {
	margin-top: 0;
}

#login .button {
	margin-top: 10px;
	width: 52px;
}

#login .button.facebook {
	background: url('../img/login_fb.png') no-repeat center center;
}

#login .button.googleplus {
	background: url('../img/login_googleplus.png') no-repeat center center;
}

#sidebar h4 {
	line-height: 40px;
	padding-left: 11px;
	color: #555;
}

#sidebar .menu a {
	line-height: 40px;
	height: 40px;
	color: #555;
	text-decoration: none;
	padding-left: 21px;
	display: block;
	margin-top: -1px;
}

#sidebar .menu a.smart-buy-menu-item {
    font-weight: 600;
    color: white;
    background: #FF881B;
}

#sidebar .menu a.smart-buy-menu-item.selected {
    color: #555;
}

#sidebar .menu a.smart-buy-menu-item:hover {
    background: #F08627;
}

#sidebar .menu a.selected {
	background: #fff;
	border-top: 1px solid #cacaca;
	border-bottom: 1px solid #cacaca;
	height: 38px;
	line-height: 38px;
	position: relative;
}

#sidebar .menu a.selected span {
	background: url('../img/menu_selected.png') no-repeat;
	width: 10px;
	height: 38px;
	position: absolute;
	right: -10px;
	z-index: 10;
}

#sidebar .menu a:hover.selected {
	background: #fff;
	height: 38px;
	line-height: 38px;
}

#sidebar .menu a:hover {
	background: #fafafa;
	border-top: 1px solid #cacaca;
	height: 38px;
	line-height: 38px;
	border-bottom: 1px solid #cacaca;
}

.edit_account {
	padding: 45px!important;
	width: 690px!important;
}

.edit_account .profile_pic {
	width: 135px;
	float: left;
	margin-right: 14px;
}

.edit_account a.button {
	width: 208px;
	text-align: center;
	padding: 0;
}

.edit_account label.main {
	width: 150px;
	float: left;
	margin-right: 14px;
	text-align: right;
	margin-top: 5px;
	line-height: 30px;
}

.edit_account input[type="text"] {
	margin-top: 5px;
	width: 198px;
}

.edit_account input[type="radio"] {
	margin-left: 5px;
	margin-right: 7px;
}

.edit_account .date {
	line-height: 30px;
	margin-top: 5px;
}

.edit_account .sex {
	line-height: 30px;
	margin-top: 5px;
}

.edit_account .sex select {
	width: 210px;
}

.edit_account .submit {
	float: left;
	width: 210px;
	margin-top: 5px;
}

.edit_account .addmore {
	float: left;
	width: 210px;
	margin-top: 5px;
	color: #777;
}

.edit_account .addmore a {
	text-decoration: none;
}

.edit_account .username{
    display: inline-block;
    height: 30px;
    margin-bottom: 5px;
    line-height: 30px;
}

.edit_account .username.label{
    width: 150px;
    margin-right: 14px;
    font-weight: bold;
    text-align: right;
}

.edit_account .username.text{
    text-align: left;
}

a.filters {
	color: #0079cd;
	text-decoration: none;
	margin-top: 22px;
	margin-left: 8px;
}

div.filters_outer {
	background: #eaeaea url('../img/filters_top.png') repeat-x top;
	border-top: 1px solid #c4c4c4;
	border-bottom: 1px solid #c4c4c4;
	width: 960px;
	position: relative;
	left: -20px;
	padding: 0 20px;
}

div.filters {
	background: #eaeaea url('../img/filters_bottom.png') repeat-x bottom;
	font-size: 12px;
	padding: 7px 0;
}

div.filters input[type="text"] {
	width: 50px;
}

div.filters h4 {
	color: #333;
	margin-bottom: 5px;
}

div.filters .select {
	width: 180px;
	position: relative;
}

div.filters .select a {
	height: 28px;
	line-height: 28px;
	width: 180px;
	float: left;
	border: 1px solid #ccc;
	padding-left: 7px;
	text-decoration: none;
	background: #fff url('../img/drop_down.png') right center no-repeat;
}

div.filters .select .select_inner {
	position: absolute;
	top: 30px;
	display: none;
	-webkit-box-shadow: 0px 2px 3px #aaa;
	max-height: 250px;
	overflow: auto;
	overflow-x: hidden;
}

div.filters .select .select_inner label {
	clear: both;
	border: 1px solid #ccc;
	border-top: 0;
	float: left;
	background: #fff;
	height: 28px;
	padding-left: 7px;
	line-height: 28px;
	width: 180px;
}

div.filters .select .select_inner input[type="checkbox"] {
	margin-right: 5px;
}

div.filters .select:hover .select_inner {
	display: block;
}

div.filters .left_block {
    float: left;
    margin-right: 39px;
}

div.filters .left_block.right {
	margin-right: 0;
}

div.filters input.date {
	width: 65px;
	padding-right: 23px;
	background: #fff url('../img/dateinput.png') no-repeat right center;
}

div.filters a.button2 {
	margin-left: 10px;
}

table.inspe tbody tr td:last-child {
    padding-right: 10px;/* reikia invoice rodymui */
}

table.inspe tbody tr td:last-child a.button3 {
	margin-right: 0;
}

table.inspe tbody tr:hover td {
	background: #f9f9f9;
}

table.inspe tbody td {
	padding: 5px 0;
}

table.inspe thead td a {
	float: left;
	text-decoration: none;
	padding-right: 22px;
}

table.inspe thead td a.descending, table thead td a:hover {
	background: url('../img/drop_down.png') no-repeat right center;
}

table.inspe thead td a.ascending, table thead td a:hover.descending {
	background: url('../img/ascending.png') no-repeat right center;
}

.pager a {
    padding: 0 12px;
	margin-right: 3px;
    margin-left:0px;
}

.pager a:last-child {
	margin-right: 0;
}

div.value {
	margin-top:5px;
	line-height: 30px;
	float: left;
}

label.main2 {
	width: 135px;
	float: left;
	margin-right: 14px;
	text-align: right;
	margin-top: 5px;
	line-height: 30px;
	color: #afafaf;
}

#content.new_message h1 {
	margin-bottom: 30px;
}

#content.new_message label.main {
	width: 90px;
	float: left;
	margin-right: 14px;
	text-align: right;
	margin-top: 5px;
	line-height: 30px;
}

#content.new_message input[type="text"] {
	margin-top: 5px;
	width: 198px;
}

#content.new_message textarea {
	padding: 5px;
	border: 1px solid #ccc;
	margin-top: 5px;
	height: 150px;
}

#content.new_message .file {
	float: left;
	padding: 0 3px 0 5px;
	width: 250px;
	height: 22px;
	line-height: 22px;
	margin-top: 9px;
	background: #eee;
	color: #666;
}

#content.new_message .file a.close {
	float: right;
	width: 16px;
	height: 16px;
	margin-top: 3px;
	background: #eee url('../img/icon_delete.png') no-repeat center center;
}

#content.new_message .file a:hover.close {
	background-color: #ddd;
}

#content.new_message a.button, #content.new_message a.button2 {
	margin-top: 5px;
}

table.fullscreen_with_sidebar {
	position: relative;
	left: -20px;
	width: 780px;
}

table.fullscreen_with_sidebar tr.new {
	background: #fff4d8;
}

table.fullscreen_with_sidebar thead tr td:first-child {
	border-left: none;
}

table.fullscreen_with_sidebar thead tr td:last-child {
	border-right: none;
}

table.admin_messages span.from {
	float: left;
	color: #777;
	font-size: 11px;
	margin-left: 20px;
	width: 150px;
}

table.admin_messages input {
	margin-right: 5px;
}

table.admin_messages span.to {
	float: left;
	color: #777;
	font-size: 11px;
	margin-left: 20px;
}

table.admin_messages tr td:first-child {
	width: 610px;
}

table.admin_messages .button4 {
	margin-left: 10px;
}

table.admin_messages tr.done td {
	background: #f4f4f4;
}

table.admin_messages {
	margin-bottom: 15px;
}

.pager.admin_messages {
	margin-top: 7px;
}

.thread div.message.your {
	background: #fff;
}

.thread div.message {
	padding: 20px;
	width: 740px;
	position: relative;
	left: -20px;
	background: #fafafa;
	border-top: 1px solid #e3e3e3;
}

.thread .message .files {
	margin-top: 8px;
	border-top: 1px solid #e3e3e3;
	padding-top: 10px;
}

.thread .message .file {
	float: left;
	padding: 0 3px 0 5px;
	width: 250px;
	height: 22px;
	line-height: 22px;
	margin-top: 9px;
	background: #eee;
	color: #666;
}

.thread .message .file.first {
	margin-top: 4px;
}

.thread .message .file a.close {
	float: right;
	width: 16px;
	height: 16px;
	margin-top: 3px;
	background: #eee url('../img/icon_delete.png') no-repeat center center;
}

.thread .message .file a:hover.close {
	background-color: #ddd;
}

.thread .message .message_content {
	margin-top: 7px;
}

.thread .message .firstline {
	color: #666;
}

.thread .message.reply textarea{
	width: 450px;
	height: 120px;
}

#footer {
	line-height: 32px;
	font-size: 12px;
	color: #888;
}
.pager_tripledot{
    float:left;
    line-height:24px;
    padding: 0 8px;
}
.mb10{
    margin-bottom:10px;
}
.mt5{
    margin-top:5px;
}
.mt8{
    margin-top: 8px;
}
.mt10{
    margin-top:10px;
}
.mt15{
    margin-top:15px;
}
.mt30{
    margin-top:30px;
}
.ml5{
    margin-left:5px;
}
.ml10{
    margin-left:10px;
}
.fr{
    float:right;
}
.fl{
    float:left;
}
.new_purchase #mediapark_purchasebundle_purchasetype_workplace,
.new_purchase #mediapark_purchasebundle_purchasetype_user{
    width:300px;
}
#send-invoice{
    height:30px;
    padding:5px;
}
#send-invoice .button2{
    height:30px;
}
.hidable{
    display:none;
}
.flash-success{
    padding:10px;
    margin:10px;
    background-color:#66CC33;
    border:1px solid #008800;
}

.flash-ok {
    padding:10px;
    margin:10px;
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.flash-error {
    padding: 10px;
    margin: 10px;
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.invoice-inline-label{
    width: 190px;
    text-align: right;
}
.invoice-inline-value{
    width:90px;
    padding-right:10px;
}
.invoice-summary{
    width: 290px;
}

table tr.exceptional{
  color:#999;
  background:#efefef;
}
.invoice-words{
    max-width: 450px;
}
/****************************************/
/* Public order list header style */

.details_header{
    float: left;
    width: 100%;
    margin-bottom: 30px;
}
.details_header h1{
    float: left;
    width: 50%;
}
.details_header .left_block.right{
    width: 350px;
}

/********************************************************/
/* Cron messages text area */
#mediapark_cronbundle_notification_email_type_content{
    width: 690px;
    height: 180px;
}

/********************************************************/
/* debt */
table.inspe tr.total td{
    border-bottom: none;
}
table tr.total{
    font-weight: bold;
}
.red{
    color: #ff0000;
}
.edit label.main {
    width: 150px;
    float: left;
    margin-right: 14px;
    text-align: right;
    margin-top: 5px;
    line-height: 30px;
    clear:both;
}
.edit input, .edit textarea{
    margin-top: 5px;
    width: 198px;
    height: 28px;
}
.edit input[type="file"]{
    height:30px;
}
.edit input[type="submit"]{
    margin-left:165px;
    padding: 0 5px;
    width: 208px;
}
.edit textarea{
    height: 80px;
    padding: 0 5px;
}
form.edit ul li{
    color:red;
}
.ml165{
    margin-left:165px;
}
.giftsForPointsImg{
    width:200px;
    height:200px;
    background-color: #2ca02c;
    display:block;
    margin:22px 22px 5px 22px;
}
.giftsForPointsList .oneOf3Col{
    height:415px;
}
.giftsForPointsList .delete{
    float:right;
    margin:10px 10px 0 0;
}
.plr5{
    padding-left: 5px;
    padding-right: 5px;
}
.payment-type-block{
    display: block;
}
.payment-type-block .block_left{
    margin: 0 20px;
}
.payment-type-block .paypal-block{
    display: none;
}
.payment-type-block.show-paypal .paypal-block{
    display: block;

}
.payment-type-block.show-paypal .block_left{
    margin: 0;
}

.orders-list-filter {
    margin-right: 15px;
}

.smart-buy-product-prices {
    background: greenyellow;
}

.smart-buy-product-prices .upload-panel {
    padding-top: 11px;
}

.fileUpload {
    position: relative;
    overflow: hidden;
    padding: 7px 25px;
    margin-right: 15px;
    font-weight: 600;
    color: #FF881B;
    border: 2px solid #FF881B;
}

.fileUpload:hover {
    color: #F08627;
    border: 2px solid #F08627;
}

.fileUpload input.upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}


.products-search .search {
    width: 98%;
    margin-top: 20px;
    padding: 1%;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    text-decoration: none;
    color: #000000;
    text-align: left;
    border: 1px solid #ccc;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
    background: url(../img/icons/search.png) 99% center no-repeat;
}

.products-search .search:focus {
    border: 1px solid #FF881B;
}

.products-search .qty {
    width: 50px;
    height: 16px;
    padding: 5px;
    text-align: center;
    border: 1px solid #ccc;
}

.products-search .qty:focus {
    border: 1px solid #FF881B;
}

.products-search .no-products {
    text-align: center;
}