/* Fonts */
@font-face {font-family:'OpenSansRegular'; src:url('../../fonts/OpenSans-Regular.ttf'); }


/* Common */
* { 
	font-family:Arial; 
	font-size:15px;
	margin:0;
	padding:0;
	box-sizing:border-box;
	box-sizing:border-box;
}

body {
	color:#424242;
}

img {
	border:0;
}

a {
	color: #003f5b;
	text-decoration: none;
}

a:hover {
	color: #176F98;
}

/*
.page-title {
	font-family: "OpenSansRegular",Arial;
	font-size: 17px;
	color:#7A7A7A;
	padding: 25px 5px 15px 15px;
}

.section-title {
	font-family: "OpenSansRegular",Arial;
	font-size: 17px;
	color:#7A7A7A;
	border-bottom:1px solid #e6e6e6;
	margin:0 15px;
	padding:25px 5px 15px;
}
*/

.page-title {
	font-family: "OpenSansRegular",Arial;
	font-size: 17px;
	color:#2b2b2b;
	padding:20px 5px 15px 15px;
	letter-spacing:1px;
}

.section-title {
	font-family: "OpenSansRegular",Arial;
	font-size: 12px;
	color:#000;
	border-bottom:1px solid #e6e6e6;
	margin:25px 15px 15px;
	padding:0px 0px 5px 5px;
	letter-spacing:1px;
	text-transform:uppercase;
	height:26px;
}


.section-title a.edit-link {
	float: right;
	background: #e6e6e6;
	background-image: url(../../img/functional/minipencil.png);
	background-position: 9px center;
	background-repeat: no-repeat;
	height: 26px;
	padding: 5px 10px 5px 30px;
	text-transform: initial;
	font-size: 12px;
	color: #666;
}

.section-title a.edit-link:hover {
	background-color:#b9b9b9;
	background-image:url('../../img/functional/minipencilwhite.png');
	color:#fff;
}

.output-date span {
	font-family:inherit;
	font-size:inherit;
}

.page-title a.title-link {
	margin-top:0;
	margin-right: 5px;
	background: #f3f3f3;
	padding: 7px 15px 4px;
	border-bottom: 2px solid #ccc;
	color: #848484;
	float:right;
	text-transform:initial;
}

.page-title a.title-link:hover {
	border-bottom:2px solid #3f91ce;
}

.page-describe {
	margin: 7px 0 15px 0;
	font-size: 10pt;
	color: #777;
	padding:0 15px;
}

.page-content, .error-page-content {
	padding:15px 0;
}

#administrator-logged-in .page-content {
	padding:15px;
}

#administrator-logged-in .page-content ul {
	padding:15px;
}

.med { display:none; }
.mini { display:none; }

input[type="text"], input[type="password"], input[type="number"], select, textarea {
	background:#fff;
	border: 1px solid #D4D3D3;
	border-radius: 2px;
	box-shadow: 0px 0px 4px -2px #999 inset;
	padding: 5px 10px;
	color: #6C6C6C;
}

input[type="number"] {
	-moz-appearance:textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance:none;
    margin: 0;
}

input, select {
	width:190px;
}

input[type="file"] {
  width:100%;
}

input.default-value {
	font-style: italic;
	color: rgb(204, 204, 204);
}

input[type="button"], input[type="submit"], input[type="checkbox"] {
	width:auto;
}


.date-input-calendar-icon {
    margin:-6px 0 -6px 5px;
    cursor:pointer;
}

.cke_chrome {
	display:inline-block !important;
}

input.required, select.required, textarea.required {
	border-left:3px solid #FF6B6B;
}

.btn {
    display:inline-block;
	-webkit-appearance:none;
	background: #329DC8;
	color: #fff;
	padding: 8px 13px;
	border:0;
	border-bottom: 3px solid #166B8D;
	font-weight: bold;
	font-size:0.9rem;
	letter-spacing:0.04rem;
	cursor:pointer;
	margin:0;
	border-radius:3px;
}

.btn:hover {
	background-color:#0F8CBF;
	color:#fff;
	text-decoration:none;
	border-bottom:3px solid #0D5775;
}

.btn.negative {
	background:#686868;
	border-color:#1e1e1e;
	color:#fff;
}

.btn.negative:hover {
	background:#4A4A4A;
	border-color:#000;
}

.btn.caution {
	background:#cc442e;
	border-color:#8d1616;
}

.btn.caution:hover {
	background:#b4301b;
	border-color:#5a0505;
}

.btn[disabled], .btn.disabled, .btn[disabled]:hover, .btn.disabled:hover {
	background:#C7C9CB;
	border-bottom:3px solid #858586;
}


/* Table Layout */
.table-layout {
	table-layout:fixed;
	display:table;
	width:100%;
}

.table-layout > div.row {
	display:table-row;
}

.table-layout > div.row > div.cell, .table-layout > div.cell {
	display:table-cell;
	vertical-align:top;
}

.table-layout div.cell.pad-left {
	padding-left:5px;
}

.table-layout div.cell.pad-right {
	padding-right:5px;
}


/* Page Messages */
.page-messages {
	padding:15px 15px 0px;
}

.page-message {
	padding:10px 10px 10px 35px;
	background-position:9px 10px;
    background-repeat:no-repeat;
	margin-bottom:15px;
	text-align:left;
	border-radius: 3px;
}

.page-message.fatal, .page-message.error {
	color: #9c0009;
	background-color: #ffbcbc;
	background-image:url('../../img/misc/error.png');
}

.page-message.fatal a, .page-message.error a {
	color:#5c0d00;
}

.page-message.confirm {
	color:#4F8A10;
	background-color:#DFF2BF;
	background-image:url('../../img/misc/success.png');
}

.page-message.confirm a {
	color:#074700;
}

.page-message.warning {
	color:#9F6000;
	background-color:#FEEFB3;
	background-image:url('../../img/misc/warning.png');
	font-weight:normal;
}

.page-message.warning a {
	color:#473000;
}

.page-message.info {
	color:#00529B;
	background-color:#BDE5F8;
	background-image:url('../../img/misc/info.png');
}

.page-message.info a {
	color:#002447;
}

/* Page Block */
.pageblock {
	background:#fff;
	min-height:10px;
	margin-bottom:15px;
	width:100%;
}

.pageblock .header {
	background:#F8F8F8;
}

.pageblock .body {
	background:#fff;
	padding:0 15px;
}

/* Page Block Table */
.pageblock.table {
	border-top:1px solid #e9e9e9;
}

.table {
	table-layout:fixed;
	display:table;
	width:100%;
}

.table .row .col {
	display:table-cell;
	vertical-align:middle;
	padding:15px;
	border-bottom:1px solid #e9e9e9;
}

.table a.row > .col:last-child {
	background:url('../../img/functional/tabrightarrow.png') right 15px center no-repeat;
	padding-right:50px;
}

.table a.row.no-arrow > .col:last-child {
	background:none;
	padding-right:15px;
}

.table div.row, .table span.row {
	background:none;
	padding-right:0;
}

.table div.row.invalid-row, .table span.row.invalid-row {
	background:#fff1f1;
}

.table .row span.col {
	width:100%;
}

.table .row.link, .table a.row {
	cursor:pointer;
	text-decoration:none;
	color:inherit;
}

.table .row:hover {
	background-color:#F5FCFF;
}

.table .row {
	width:100%;
	display:table-row;
}

/* Title column * /
.table .row .col .row-title {
	color:inherit;
	font-size:15px;
	display:block;
}

.table .row .col .row-sub {
    color:#959595;
    font-size:12px;
    display:block;
    padding-top:3px;
}

.table .row .col .row-sub span {
	color:#959595;
	font-size:12px;
}

.table .row .col .row-sub a, .table .row .col .row-sub a span {
	font-size:12px;
}*/


/* Photo column */
.table .row .col.img-col-small {
	width:65px;
	max-width:65px;
}
.table .row .col.img-col-small img {
	max-width:50px;
	max-height:50px;
}

.table .row .col.img-col {
	width:75px;
	max-width:75px;
}
.table .row .col.img-col img {
	max-width:60px;
	max-height:60px;
}

.table .row .col.img-col-large {
	width:85px;
	max-width:85px;
}
.table .row .col.img-col-large img {
	max-width:70px;
	max-height:70px;
}



/* Item card */
.item-card .row-title, .item-card .row-sub {
    display:block;
    padding-top:3px;
}

.item-card .row-title, .item-card .row-title span, .item-card .row-title a {
    font-size:15px;
}

.item-card .row-sub, .item-card .row-sub span {
    font-size:12px;
    color:#878787;
}

.item-card .row-sub a {
    font-size:12px;
}


/* Paginator */
.paginator-container {
	display:block;
	width:100%;
	margin:0;
}

.paginator-container .paginator {
	display:block;
	width:100%;
	text-align:center;
	font-size:16px;
	margin:15px 0;

}

.no-prev-page, .no-next-page {
	color:#ccc;
}

.paginator-container .paginator a {
	font-size:14px;
}

.page-load-icon {
	width:44px;
	height:44px;
	position:absolute;
	background:url('../../img/misc/ajax.gif') center center no-repeat;
}

.paginator .page-splitter {
	margin:0px 5px 0px 3px;
}

.paginator-container.single-page .paginator .page-splitter {
	color:#ccc;
}


/* Tax Summary */
#tax-summary-list .result-tax-amount.col {
	text-align:right;
	font-size:16px;
}

#tax-summary-list .result-tax-name.col .tax-name {
	font-size:18px;
}

#tax-summary-list .result-tax-name.col .tax-percentage span {
  font-size:12px;
}


/* Common Tabs */
.tab-container {
	padding:0 10px;
	margin:0;
	background-color:#efefef;
	width:100%;
	height: 56px;
	border-bottom: 1px solid #e6e6e6;
}

.tab-container a {
	float:left;
	padding:17px 15px 15px;
	color:#474747;
	border-radius:4px 4px 0 0;
	margin:5px 0 0 2px;
	font-family: 'OpenSansRegular',Arial;
	font-size: 13px;
}


.tab-container a.extras-tab {
	background-image:url('../../img/functional/moretabsarrow.png');
	background-position:center center;
	background-repeat:no-repeat;
	width:50px;
	height:50px;
	cursor: pointer;
}


.tab-container a:hover {
	background-color:#f5f5f5;
}

.tab-container a.selected {
	background-color:#fff;
	border-left:1px solid #e6e6e6;
	border-right:1px solid #e6e6e6;
	border-top:1px solid #e6e6e6;
	position:relative;
	color:#515151;
}


.tab-page .page-title {
	padding:20px;
	font-size:14px;
	text-transform:uppercase;
	border-bottom: 1px solid #e6e6e6;
}


#extra-tabs-dialog {
	position:absolute;
	top:0;
	left:0;
	border:1px solid #d4d4d4;
	border-radius:5px;
	width:100%;
	max-width:400px;
	box-shadow: 0px 6px 14px #ababab;
}

#extra-tabs-dialog a {
	float:none;
	display:block;
	margin:0;
	padding:15px;
	background:#f3f3f3;
	cursor:pointer;
	border-bottom:1px solid #e6e6e6;
}

#extra-tabs-dialog a:hover {
	background:#f5f5f5;
}

#extra-tabs-dialog a.selected {
	background:#fff;
}

#extra-tabs-dialog a:first-child {
	border-radius:5px 5px 0 0;
}

#extra-tabs-dialog a:last-child {
	border-radius:0 0 5px 5px;
}


/* Tags */
.tags {
    padding:5px 5px 0 0;
}

span.tags {
    display:block;
}

span.tags.no-block {
    display:initial;
}

.tags .tag {
    display:inline-block;
    padding:5px 10px;
	border-radius: 5px;
	font-size: 0.75rem;
    margin-right:5px;
    text-transform:uppercase;
    background-color:#fff;
	letter-spacing: 0.05rem;
}

.tags .tag.tag-canceled {
	background-image: url('../../img/misc/failed_white.png');
	background-repeat: no-repeat;
	background-size: 15px 15px;
	background-position: 10px 3px;
    background-color:#ff5e5e;
	padding-left: 30px;
    color:#fff;
}

.tags .tag.tag-refunded {
	background-image: url('../../img/misc/refund.png');
	background-repeat: no-repeat;
	background-size: 15px 15px;
	background-position: 10px 3px;
	background-color: #ab35d1;
	padding-left: 30px;
	color: #fff;
}


/* Form Table */
.form-table {
	table-layout:fixed;
	display:table;
	width:100%;
}

.form-table .cols-1 .field { width:100%; }
.form-table .cols-2 .field { width:50%; }

.form-table .row { display:table-row; }

.form-table .field {
	display:table-cell;
	padding:10px 10px 10px 0;
}

.form-table .field label {
	width:100%;
	display:block;
	color: #767676;
}

.form-table .field.beside label, .form-table .field.beside .no-label {
	display:inline-block;
	text-align:right;
	margin-right:15px;
	width:25%;
	vertical-align: top;
}

.form-table .field .field-output {
	display:inline-block;
	width:70%;
}

span.dateFormat {
	display:none;
}

.form-table .field .requiredInput {
	display:inline-block;
}

.form-table .field .no-label-field {
	width:auto;
	display:inline;
	text-align:left;
}

.form-table .field .no-label-field label {
	text-align: left;
	margin-left: 10px;
	width:auto;
}


@media only screen and (min-device-width:1024px) {
	.form-table .row.address-line-city label, .form-table .row.address-line-state label, .form-table .row.address-line-postalcode label, .form-table .row.address-line-country label {
		font-size: 12px;
	    color: #b9b9b9;
	}

	.form-table .row.address-line-city .field, .form-table .row.address-line-state .field, .form-table .row.address-line-postalcode .field, .form-table .row.address-line-country .field {
	    padding-top:0;
	}

	.form-table .row.address-line-city .field-output, .form-table .row.address-line-state .field-output, .form-table .row.address-line-postalcode .field-output, .form-table .row.address-line-country .field-output {
		padding-left:10px;
		border-left: 2px solid #e6e6e6;
	}
}

/* Page head */
.page-head {
	padding:5px 5px 5px 15px;
	border-bottom:2px solid #ededed;
  	display:table;
	table-layout:fixed;
	width:100%;
}

.page-head .page-title {
	display:table-cell;
	vertical-align:middle;
	width:50%;
	font-size:17px;
	font-weight:normal;
}

.page-head.title-only .page-title {
	width:100%;
}

/* Page Buttons */
.page-buttons {
	width:100%;
	display:block;
	text-align:center;
	margin:15px 0;
	padding:0 15px;
}

.page-buttons .btn {
	display:inline-block;
	margin-left:10px;
}

.page-buttons .btn:first-child {
	margin-left:0;
}

.page-head .page-buttons {
	display:table-cell;
	vertical-align:middle;
	text-align:right;
}


.record-locked {
	background:#f5ebeb url('../../img/misc/lock.png') 13px center no-repeat;
	border:1px solid #ffdcdc;
	border-radius:1px;
	color:#979797;
	padding: 10px 10px 10px 38px;
	float: right;
	font-size: 11px;
}

/* Page Messages */
.pagemessage {
	padding:15px;
	margin-bottom:15px;
}

div.message {
	padding:10px;
	border-radius:1px;
	border-width:1px;
	border-style:solid;
	margin-bottom:5px;
}

div.message div.messageText {
	font-size:13px;
}

div.message table.messageTable ul {
	padding-left: 40px !important;
}

div.message.confirmM3 {
	border-color:#80E47D;
	background:#ACFBB9;
}

div.message.errorM3 {
	border-color:#F2BABA;
	background:#FFE1E1;
}

div.message.infoM3 {
	border-color:#A3CFEC;
	background:#C4ECFF;
}

div.message.warningM3 {
	border-color:#f2d9b8;
	background:#fff1df;
}

/* Dialog */
.dialog {
	width:100%;
	max-width:600px;
	z-index:50;
	position:absolute;
	padding:10px;
}

.dialog-iframe {
	width:100%;
	min-height:150px;
}

.dialog .dialog-content {
	background:#fff;
	border:1px solid #e6e6e6;
	border-radius:5px;
	min-height:20px;
	box-shadow: 0px 6px 14px #3B3B3B;
}

.dialog .dialog-content .page-title {
	font-size:20px;
	padding: 15px 0px 11px 25px;
}

.dialog .page-buttons {
	background:#F5F5F5;
	border-top:1px solid #DDD;
	padding:10px;
	box-shadow:inset 0 4px 6px #DBDBDB;
	margin:15px 0 0 0;
}

.dialog .dialog-close {
	height:20px;
}

.dialog .dialog-close a {
	height:17px;
	width:16px;
	background:url('../../img/functional/close.png') center center no-repeat;
	display: block;
	float: right;
}

.dialog .page-buttons .page-messages {
	padding:0;
}

.dialog .page-messages {
	padding:0 10px;
}

.dialog .field .errorMsg {
	display:none;
}


/* Miscellaneous */
#dimmer {
	position:fixed;
	top:0;
	left:0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	opacity:0.5;
	background:#000;
	z-index:25;
}

div.no-records {
	background:#fff;
	padding:15px 20px 15px;
	border-radius:1px;
}


.default-photo {
	background:url('../../img/misc/nophoto.png') center center no-repeat;
	background-size:contain;
	display:block;
}

.person-photo-small {
	border-radius:50px;
	width:50px;
	height:50px;
}
.person-photo-normal {
	border-radius:60px;
	width:60px;
	height:60px;
}
.person-photo-large {
	border-radius:70px;
	width:70px;
	height:70px;
}
.person-photo-extralarge {
	border-radius:80px;
	width:80px;
	height:80px;
}


.territory-picklist {
	margin-left: -4px;
}

input.hidden-input-value {
	display:none;
}

/**
 * Order status pill
 */
.order-status-pill {
	display: inline-block;
	padding: 6px 10px 6px 30px;
	background-color: #666666;
	background-size: 16px 16px;
	background-position: 7px 4px;
	background-repeat:no-repeat;
	border-radius: 5px;
	color: #fff;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.05rem;
}

.order-status-pill.order-status-failed {
	background-image:url('../../img/misc/failed_white.png');
	background-color:#f0490e;
}

.order-status-pill.order-status-cancelled {
    background-image:url('../../img/misc/failed_white.png');
    background-color: #a51fdd;
}

.order-status-pill.order-status-complete {
	background-image:url('../../img/misc/success_white.png');
	background-color:#1bbd85;
}

.order-status-pill.order-status-pending {
	background-image:url('../../img/misc/processing_white.png');
	background-color:#1ba2bd;
}

.order-status-pill.order-status-processing {
	background-image:url('../../img/misc/processing_white.png');
	background-color:#a11bbd;
}


/* @MEDIA QUERIES */
@media only screen and (max-width:1024px) {
	.med { display:block; }

	.form-table .field .no-label-field label {
		display:inline;
		width:auto;
	}

	.pageblock.table {
		background:transparent;
		border-width:0;
		border-top-width:1px;
	}

	.table .row {
		width:100%;
		margin-bottom:0;
		background:#fff;
	}

	.paginator-container .paginator {
		display:none;
		margin:15px 0;
		font-size:16px;
	}

	.paginator-container .paginator a {
		font-size:16px;
	}

	.paginator-container .loader {
		text-align:center;
		margin:25px 0;
	}

	.paginate-eof {
		width:34px;
		height:6px;
		background:url('../../img/misc/eof.png') top left no-repeat;
		margin:25px auto;
	}

}

@media only screen and (max-width:500px) {
	.mini { display:block; }
	.med { display:none; }

	input[type="text"],
	input[type="password"],
	input[type="number"],
	select,
	textarea {
		padding:7px 15px;
		font-size: 17px;
		width:100%;
	}

	.page-title {
		padding: 25px 5px 15px 15px;
	}

	.page-head {
		padding:0;
	}

	.page-head .page-title {
		display:block;
		width:100%;
	}

	.form-table .field .requiredInput {
		width:100%;
	}

	.form-table .field.beside label {
		text-align:left;
		width:100%;
		display:block;
		margin-right:0;
	}

	.form-table .field.beside .no-label {
		display:none;
	}

	.form-table .field .no-label-field {
		text-align:left;
		width:100%;
		display:block;
	}

	.form-table .field .no-label-field label {
		text-align:left;
		width:100%;
		display:inline;
	}

	.form-table .field {
		width:100%;
		display:block;
		white-space:nowrap;
		padding:10px;
	}

	.form-table .field .field-output {
		width:100%;
	}

	.form-table .field .no-label-field input,
	.form-table .field .no-label-field textarea,
	.form-table .field .no-label-field select {
		width:auto;
	}

	.form-table .field .no-label-field .btn {
		width:100%;
	}

	.form-table .field input,
	.form-table .field textarea,
	.form-table .field select {
		width:100%;
	}

	.page-head .page-buttons {
		display:block;
		width:100%;
	}

	.page-buttons .btn {
		width:100%;
		display:block;
		margin-left:0;
		margin-bottom:5px;
	}

	.dialog .dialog-content .page-title {
		padding: 15px 0px 11px 10px;
	}

	#rc-imageselect {
		transform:scale(0.77);
		transform-origin:0;
		-webkit-transform:scale(0.77);
		transform:scale(0.77);
		-webkit-transform-origin:0 0;
		transform-origin:0 0; 0
	}


	.tab-container.tab-selected {
		display:none;
	}

	.tab-container {
		padding:0;
		background:#fff;
		height:auto;
	}

	.tab-container a {
		display:block;
		width:100%;
		float:none;
		border-bottom:1px solid #e6e6e6;
		position:static;
		margin-top:0;
		top:0;
		background:url('../../img/functional/tabrightarrow.png') right 15px center no-repeat;
	}

	.tab-container a.selected {
		border:0;
		border-bottom:1px solid #e6e6e6;
		position:static;
		margin-top:0;
		top:0;
	}

	.tab-container a:hover {
		background-color:#f5fcff;
	}
}

@media only screen and (max-width:350px) {
	.g-recaptcha {
		transform:scale(0.77);
		transform-origin:0;
		-webkit-transform:scale(0.77);
		transform:scale(0.77);
		-webkit-transform-origin:0 0;
		transform-origin:0 0; 0
	}
}
