/*
 * common styles
 * these can be overrided in theme css
 */

html {
	/*overflow: hidden;*/
}

body {
	/*overflow-y: scroll;*/
	/*overflow: -moz-scrollbars-vertical;*/
	/*overflow-x: hidden;*/
	padding-right: 0 !important; /* Bootstrap modal fix */
}

img {
	border: none;
}

.clear {
	clear: both;
}

/**
 * Message and error styles
 */
label.error {
	display: inline-block;
}

div.message, span.message, label.message, div.error, span.error, label.error {
    margin: 20px 0px;
    font-size: 12px;
    font-weight: normal;
    line-height: 130%;
    color: #000;
    padding: 10px;
	
	-webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

div.message, span.message, label.message  {
    border: 1px solid #e2c822;
    background-color: #fff9d7;
}

div.error, span.error, label.error {
    border: 1px solid #dd3c10;
    background-color: #ffebe8;
}


/* page flow default styles */

.pageFlowDiv {
	margin: 20px 0px;
	clear: both;
}

.pageFlowDiv p {
	line-height: normal;
}

.pageFlowDiv p.date {
	color: #aaa;
	font-size: 11px;
	margin: 0;
	padding: 0;
	margin-bottom: 5px;
}

.pageFlowDiv h3 {
	margin: 0;
	padding: 0;
	line-height: normal;
	margin-bottom: 5px;
}

/* page flow default styles end */

.videoLinkOverlayIcon {
	position: absolute;
	background-image: url('../modules/VideoLinks/images/video_play_32x32.png');
	background-repeat: no-repeat;
	background-position: center;
}

/* video links default styles */



/* video links default styles end */



/* form styles */

input {
	font-family: inherit !important;
}

input[type="text"], input[type="password"] {
	font-family: inherit !important;
}

button, input[type="submit"], input[type="reset"], input[type="button"]
{
	font-family: inherit !important;
}

textarea {
	font-family: inherit !important;
	font-size: inherit !important;
}

fieldset {
	background-color: #fff;
	padding: 10px 20px;
	border: 1px solid #ccc;
	
	-webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
	
	margin: 20px 0px 20px 0px !important;
}

legend {
	font-weight: bold;
	font-size: 16px;
	padding: 0px 0px;
}

.legendSpan {
	cursor: pointer;
}

.adminTextInput {
	width: 50% !important;
	margin-right: 10px !important;
}

.adminTextInputSmall {
	margin-right: 10px !important;
}

.adminTextArea {
	width: 50% !important;
	resize: none;
	margin-right: 10px;
}

.editorTextArea {
	width: 100%;
	resize: none;
}

.adminSelect {
	width: 50% !important;
}

.disabledSet {
	opacity: 0.3;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
/* form styles end */


/**
 * Modal message vertical center
 */
/*#modalMessage {
    top: 50%;
    transform: translateY(-50%);
}*/

/* Admin area styles */

body.modal-open {
    overflow: visible;
}

h4.modal-title {
	font-weight: bold;
	font-size: 1.2rem;
}

div.loader {
	background-image: url('../images/ajax-loader-indicator-big-light.gif');
	background-repeat: no-repeat;
	background-position: center;
	min-height: 32px;
	padding: 20px 0px;
}

div.loader-overlay {
	position: absolute;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.5);
	z-index: 1000;
}

a.adminIcon {
	/*min-width: 64px;*/
	width: 120px;
	padding: 10px 5px;
	margin: 10px;
	background-color: rgba(255, 255, 255, 0.7);
	text-align: center;
	display: inline-block;
	
	border: 1px solid #ccc;
	
	-webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
	
	-moz-box-shadow:    0px 0px 5px 0px #ccc;
    -webkit-box-shadow: 0px 0px 5px 0px #ccc;
    box-shadow:         0px 0px 5px 0px #ccc;
}

a.adminIcon:hover {
	-moz-box-shadow:    0px 0px 10px 0px #ccc;
    -webkit-box-shadow: 0px 0px 10px 0px #ccc;
    box-shadow:         0px 0px 10px 0px #ccc;
}

/*.adminIcon img[src*=".svg"] {
	width: 48px;
	height: auto;
	fill: currentColor;
}*/

div.adminImageRow {
	margin-top: 20px;
	margin-bottom: 20px;
}

/*div.image {
	position: relative;
	width: 120px;
	height: 180px;
	padding: 10px;
	margin: 10px;
	background-color: #fff;
	text-align: center;
	float: left;
	
	border: 1px solid #ccc;
	
	-webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
	
	-moz-box-shadow:    0px 0px 5px 0px #ccc;
    -webkit-box-shadow: 0px 0px 5px 0px #ccc;
    box-shadow:         0px 0px 5px 0px #ccc;
}

div.image p {
	margin-bottom: 0px !important;
}*/

/*div.image div.adminImageIcons {
	position: absolute;
	bottom: 5px;
	width: 100%;
	margin-left: -10px;
	text-align: center;
}*/

div.imgRotateContainer {
	position: relative;
	width: 120px;
	height: 120px;
	margin-left: 10px;
	text-align: center;
	float: left;
}

div.imgRotateOverlay {
	position: absolute;
	width: 120px;
	height: 120px;
	background-repeat: no-repeat;
	background-position: center;
}

div.overlay0 {
	background-image: url('../images/rotate_0.png');
}

div.overlay90 {
	background-image: url('../images/rotate_90.png');
}

div.overlay180 {
	background-image: url('../images/rotate_180.png');
}

div.overlay270 {
	background-image: url('../images/rotate_270.png');
}

img.imgRotate {
	border: 1px solid #fff;
	cursor: pointer;
	opacity: 0.5;
}

img.imgRotate:hover {
	border: 1px solid #000;
}

img.img90
{
	-ms-transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	transform: rotate(90deg);
} 

img.img180
{
	-ms-transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
}

img.img270
{
	-ms-transform: rotate(270deg);
	-webkit-transform: rotate(270deg);
	transform: rotate(270deg);
}

table.adminTable {
	width: 100%;
	border-spacing: 0px;
	margin: 20px 0px;
}

table.adminTable th {
	padding: 5px 10px;
	background-color: #000;
	color: #fff;
	font-weight: bold;
	text-align: left;
	border-right: 1px solid #fff;
}

table.adminTable thead th:first-child, table.adminTable th.first {
	-webkit-border-top-left-radius: 4px;
    -moz-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
}

table.adminTable thead th:last-child, table.adminTable th.last {
	border: none;
	-webkit-border-top-right-radius: 4px;
    -moz-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
}

table.adminTable td {
	padding: 5px 10px;
	border-bottom: 1px solid #ccc;
}

table.adminTable th.right, table.adminTable td.right {
	text-align: right;
}

table.adminTable tbody tr {
	background-color: #fff;
}

table.adminTable tbody tr:hover {
	background-color: #ffd;
}

table.adminTable td.iconTd {
	width: 16px;
	text-align: center;
}

div.tabNavi {
	background-color: #000;
	color: #fff;
	padding: 10px 10px 10px 0px;
	border-top: 1px solid #787878;
	border-left: 1px solid #787878;
	
	-webkit-border-top-left-radius: 4px;
    -moz-border-top-left-radius: 4px;
    border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
    -moz-border-top-right-radius: 4px;
    border-top-right-radius: 4px;
	
	background: #000; /* Old browsers */
    background: -moz-linear-gradient(top, #555 0%, #000 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#555), color-stop(100%,#000)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #555 0%,#000 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #555 0%,#000 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #555 0%,#000 100%); /* IE10+ */
    background: linear-gradient(top,  #555 0%,#000 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#555555', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
	
	-moz-box-shadow:    0px 5px 5px 0px rgba(255, 255, 255, 0.2) inset;
    -webkit-box-shadow: 0px 5px 5px 0px rgba(255, 255, 255, 0.2) inset;
    box-shadow:         0px 5px 5px 0px rgba(255, 255, 255, 0.2) inset;
}

div.tabNavi a {
	padding: 10px 20px;
	color: #fff;
	border-right: 1px solid #fff;
}

div.tabNavi a.act {
	padding: 10px 20px;
	color: #000;
	background-color: #eee;
	border-right: 1px solid #fff;
}

button.listButton, button.galleryButton {
	width: 22px;
	height: 22px;
	background-repeat: no-repeat;
	background-position: center center;
	border: 1px solid #ccc;
	
	-webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

button.listButton {
	background-image: url('../images/icons/16x16/list.png');
}

button.galleryButton {
	background-image: url('../images/icons/16x16/gallery.png');
}

.redBar, .greenBar {
	width: 50px;
	padding: 5px;
	font-size: 10px;
	line-height: normal;
	float: left;
}

.redBar {
	background-color: #f00;
	border: 1px solid #f00;
	border-right: none;
	color: #fcc;
	
	-moz-box-shadow:    0px 0px 3px 0px #ccc, 0px 5px 5px 0px rgba(255, 255, 255, 0.7) inset;
    -webkit-box-shadow: 0px 0px 3px 0px #ccc, 0px 5px 5px 0px rgba(255, 255, 255, 0.7) inset;
    box-shadow:         0px 0px 3px 0px #ccc, 0px 5px 5px 0px rgba(255, 255, 255, 0.7) inset;
}

.greenBar {
	background-color: #0c0;
	border: 1px solid #0c0;
	border-left: none;
	text-align: right;
	color: #6f6;
	
	-moz-box-shadow:    0px 0px 3px 0px #ccc, 0px 5px 5px 0px rgba(255, 255, 255, 0.7) inset;
    -webkit-box-shadow: 0px 0px 3px 0px #ccc, 0px 5px 5px 0px rgba(255, 255, 255, 0.7) inset;
    box-shadow:         0px 0px 3px 0px #ccc, 0px 5px 5px 0px rgba(255, 255, 255, 0.7) inset;
}

.usedBar {
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}

.freeBar {
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}


/**
 * Page order tracker
 */
#pageOrderTracker ul {
    margin: 10px 0px;
    padding: 0;
    font-size: 12px;
}

#pageOrderTracker ul li {
    list-style-type: none;
    margin-right: 5px;
    display: inline;
}

#pageOrderTracker ul li:before {
    content: "» ";
}

#pageOrderTracker ul li a {
    color: #342d23;
}

/**
 * Styles for drag'n'drop sortable lists
 */
.sortableList {
    margin: 20px 0px;
    padding: 0;
}

.sortableList li {
	list-style-type: none;
	background-color: #f5f5f5;
    padding: 10px;
    border: 1px solid #ccc;
	-webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
	margin: 3px 0px;
	color: inherit;
	cursor: move;
}

.sortableList li:hover {
    border: 1px solid #aaa;
    background-color: #eee;
}

.sortableList a.btn {
	padding: 5px;
	margin-left: 5px;
	margin-top: -2px;
	float: right;
}

/**
 * Styles for timepicker
 */
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

.ui-timepicker-rtl{ direction: rtl; }
.ui-timepicker-rtl dl { text-align: right; }
.ui-timepicker-rtl dl dd { margin: 0 65px 10px 10px; }



/* Bootstrap overrides */

/* Fix CKEditor buttons with Bootstrap 3 */
a.cke_button {
	height: 26px !important;
}

.cke_source {
    white-space: pre-wrap !important;
}

/* Lightcase overrides */
#lightcase-overlay {
    background: #000;
}

#lightcase-case {
    font-family: inherit;
}

#lightcase-info #lightcase-caption {
    color: #fff;
}

@media (max-width: 991px) {
	.adminTextInput, .adminTextArea, .adminSelect {
		width: 100% !important;
	}
}