/**
 * TOOLTIP
 */

.tooltip {
	position: absolute;
	z-index: 100001 !important;
	display: block;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: normal;
	line-height: 1.42857143;
	text-align: left;
	text-align: start;
	text-decoration: none;
	text-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	word-break: normal;
	word-spacing: normal;
	word-wrap: normal;
	white-space: normal;
	filter: alpha(opacity=0);
	opacity: 0;

	line-break: auto;
}
.tooltip.in {
	filter: alpha(opacity=90);
	opacity: .9;
}
.tooltip.top {
	padding: 5px 0;
	margin-top: -3px;
}
.tooltip.right {
	padding: 0 5px;
	margin-left: 3px;
}
.tooltip.bottom {
	padding: 5px 0;
	margin-top: 3px;
}
.tooltip.left {
	padding: 0 5px;
	margin-left: -3px;
}
.tooltip-inner {
	max-width: 200px;
	padding: 3px 8px;
	color: #fff;
	text-align: center;
	background-color: #000;
	border-radius: 4px;
}
.tooltip-arrow {
	position: absolute;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
}
.tooltip.top .tooltip-arrow {
	bottom: 0;
	left: 50%;
	margin-left: -5px;
	border-width: 5px 5px 0;
	border-top-color: #000;
}
.tooltip.top-left .tooltip-arrow {
	right: 5px;
	bottom: 0;
	margin-bottom: -5px;
	border-width: 5px 5px 0;
	border-top-color: #000;
}
.tooltip.top-right .tooltip-arrow {
	bottom: 0;
	left: 5px;
	margin-bottom: -5px;
	border-width: 5px 5px 0;
	border-top-color: #000;
}
.tooltip.right .tooltip-arrow {
	top: 50%;
	left: 0;
	margin-top: -5px;
	border-width: 5px 5px 5px 0;
	border-right-color: #000;
}
.tooltip.left .tooltip-arrow {
	top: 50%;
	right: 0;
	margin-top: -5px;
	border-width: 5px 0 5px 5px;
	border-left-color: #000;
}
.tooltip.bottom .tooltip-arrow {
	top: 0;
	left: 50%;
	margin-left: -5px;
	border-width: 0 5px 5px;
	border-bottom-color: #000;
}
.tooltip.bottom-left .tooltip-arrow {
	top: 0;
	right: 5px;
	margin-top: -5px;
	border-width: 0 5px 5px;
	border-bottom-color: #000;
}
.tooltip.bottom-right .tooltip-arrow {
	top: 0;
	left: 5px;
	margin-top: -5px;
	border-width: 0 5px 5px;
	border-bottom-color: #000;
}

/**
 * POPOVER
 */
.popover {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100001;
	display: none;
	max-width: 276px;
	padding: 1px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: normal;
	line-height: 1.42857143;
	text-align: left;
	text-align: start;
	text-decoration: none;
	text-shadow: none;
	text-transform: none;
	letter-spacing: normal;
	word-break: normal;
	word-spacing: normal;
	word-wrap: normal;
	white-space: normal;
	background-color: #fff;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	border: 1px solid #ccc;
	border: 1px solid rgba(0, 0, 0, .2);
	border-radius: 6px;
	-webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
	box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
	line-break: auto;
}
.popover.top {
	margin-top: -10px;
}
.popover.right {
	margin-left: 10px;
}
.popover.bottom {
	margin-top: 10px;
}
.popover.left {
	margin-left: -10px;
}
.popover-title {
	padding: 8px 14px;
	margin: 0;
	font-size: 14px;
	background-color: #f7f7f7;
	border-bottom: 1px solid #ebebeb;
	border-radius: 5px 5px 0 0;
}
.popover-content {
	padding: 9px 14px;
}
.popover > .bs-arrow,
.popover > .bs-arrow:after {
	position: absolute;
	display: block;
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
}
.popover > .bs-arrow {
	border-width: 11px;
}
.popover > .bs-arrow:after {
	content: "";
	border-width: 10px;
}
.popover.top > .bs-arrow {
	bottom: -11px;
	left: 50%;
	margin-left: -11px;
	border-top-color: #999;
	border-top-color: rgba(0, 0, 0, .25);
	border-bottom-width: 0;
}
.popover.top > .bs-arrow:after {
	bottom: 1px;
	margin-left: -10px;
	content: " ";
	border-top-color: #fff;
	border-bottom-width: 0;
}
.popover.right > .bs-arrow {
	top: 50%;
	left: -11px;
	margin-top: -11px;
	border-right-color: #999;
	border-right-color: rgba(0, 0, 0, .25);
	border-left-width: 0;
}
.popover.right > .bs-arrow:after {
	bottom: -10px;
	left: 1px;
	content: " ";
	border-right-color: #fff;
	border-left-width: 0;
}
.popover.bottom > .bs-arrow {
	top: -11px;
	left: 50%;
	margin-left: -11px;
	border-top-width: 0;
	border-bottom-color: #999;
	border-bottom-color: rgba(0, 0, 0, .25);
}
.popover.bottom > .bs-arrow:after {
	top: 1px;
	margin-left: -10px;
	content: " ";
	border-top-width: 0;
	border-bottom-color: #fff;
}
.popover.left > .bs-arrow {
	top: 50%;
	right: -11px;
	margin-top: -11px;
	border-right-width: 0;
	border-left-color: #999;
	border-left-color: rgba(0, 0, 0, .25);
}
.popover.left > .bs-arrow:after {
	right: 1px;
	bottom: -10px;
	content: " ";
	border-right-width: 0;
	border-left-color: #fff;
}

/**
 * MODAL
 */

.fade {
	opacity: 0;
	-webkit-transition: opacity .15s linear;
	     -o-transition: opacity .15s linear;
	        transition: opacity .15s linear;
}
.fade.in {
	opacity: 1;
}
.hide {
	display: none;
}
.hide.fade.in {
	display: block !important;
}

.modal-backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 99999;
	background-color: #000;
}
.modal-backdrop.fade {
	filter: alpha(opacity=0);
	opacity: 0;
}
.modal-backdrop.fade.in {
	opacity: 0.8;
	filter: alpha(opacity=80);
}
.modal-header {
	padding: 9px 15px;
	border-bottom: 1px solid #d1d1d1;
	background-color: #fcfcfc;
}
.modal-header h3 {
	margin: 0;
	line-height: 30px;
	font-size: 22px;
}
.modal-form {
	margin-bottom: 0;
}
.modal-footer {
	padding: 14px 15px 15px;
	margin-bottom: 0;
	text-align: right;
	/*background-color: #f5f5f5;*/
	background-color: #fcfcfc;
	border-top: 1px solid #ddd;
	/*-webkit-border-radius: 0 0 6px 6px;
	-moz-border-radius: 0 0 6px 6px;
	border-radius: 0 0 6px 6px;*/
	-webkit-box-shadow: inset 0 1px 0 #fff;
	-moz-box-shadow: inset 0 1px 0 #fff;
	box-shadow: inset 0 1px 0 #fff;
	*zoom: 1;
}
.modal-footer:before,
.modal-footer:after {
	display: table;
	content: "";
	line-height: 0;
}
.modal-footer:after {
	clear: both;
}
.modal-footer .btn + .btn {
	margin-left: 5px;
	margin-bottom: 0;
}
.modal-footer .btn-group .btn + .btn,
.modal-footer .input-append .btn + .btn,
.modal-footer .input-prepend .btn + .btn {
	margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
	margin-left: 0;
}

div.modal {
	position: fixed;
	top: 5%;
	left: 50%;
	z-index: 100000;
	width: 80%;
	margin-left: -40%;
	background-color: #f1f1f1;
	border: 1px solid #999;
	border: 1px solid rgba(0,0,0,0.3);
	*border: 1px solid #999;
	/*-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;*/
	-webkit-box-shadow: 0 3px 7px rgba(0,0,0,0.3);
	-moz-box-shadow: 0 3px 7px rgba(0,0,0,0.3);
	box-shadow: 0 3px 7px rgba(0,0,0,0.3);
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding-box;
	background-clip: padding-box;
	outline: none;
}
div.modal.fade {
	-webkit-transition: opacity .3s linear, top .3s ease-out;
	-moz-transition: opacity .3s linear, top .3s ease-out;
	-o-transition: opacity .3s linear, top .3s ease-out;
	transition: opacity .3s linear, top .3s ease-out;
	top: -25%;
}
div.modal.fade.in {
	top: 5%;
}
.modal-batch {
	overflow-y: visible;
}
div.modal.jviewport-width10 {
	width: 10vw;
	margin-left: -5vw;
}
div.modal.jviewport-width20 {
	width: 20vw;
	margin-left: -10vw;
}
div.modal.jviewport-width30 {
	width: 30vw;
	margin-left: -15vw;
}
div.modal.jviewport-width40 {
	width: 40vw;
	margin-left: -20vw;
}
div.modal.jviewport-width50 {
	width: 50vw;
	margin-left: -25vw;
}
div.modal.jviewport-width60 {
	width: 60vw;
	margin-left: -30vw;
}
div.modal.jviewport-width70 {
	width: 70vw;
	margin-left: -35vw;
}
div.modal.jviewport-width80 {
	width: 80vw;
	margin-left: -40vw;
}
div.modal.jviewport-width90 {
	width: 90vw;
	margin-left: -45vw;
}
div.modal.jviewport-width100 {
	width: 100vw;
	margin-left: -50vw;
}
@media (max-width: 767px) {
	.modal-backdrop.fade.in {
		  display: none;
	}
	div.modal {
		position: fixed;
		top: 20px !important;
		left: 20px !important;
		right: 20px;
		width: auto !important;
		margin: 0 !important;
		height: calc(100vh - 40px) !important;
	}
	div.modal.fade {
		top: -100px;
	}
	div.modal.fade.in {
		top: 20px;
	}
	div.modal[class*="jviewport-width"] {
		width: auto;
		margin: 0;
	}
}
@media (max-width: 480px) {
	div.modal {
		top: 10px !important;
		left: 10px !important;
		right: 10px !important;
		left: 10px !important;
		bottom: 10px !important;
		height: auto !important;
		width: auto !important;
	}
}
.modal-header {
	padding: 0 20px;
	text-align: left;
}
.modal-header h3 {
	font-weight: normal;
	line-height: 50px;
}
.modal-header h3 > span:not([class*="dashicons"]) {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: calc(100% - 30px);
	display: block;
}
.modal-header .box-close {
	float: right;
	text-align: center;
	/*margin-top: 2px;*/
	width: 50px;
	margin-top: 0;
	/*margin-right: -15px;*/
	margin-right: -20px;
	font-size: 2rem;
	/*line-height: 50px;*/
	line-height: 40px;
	/*border-left: 1px solid #d1d1d1;*/
}
.modal-body-wrapper {
	padding: 10px;
}
.modal-body-wrapper.loading {
	opacity: 0.6;
	pointer-events: none;
}
.modal-body {
	position: relative;
	width: 100%;
	height: 100%;
	overflow-y: scroll;
}
.modal-body .container-fluid {
	padding-top: 15px;
	padding-bottom: 15px;
}
.modal-footer {
	clear: both;
}
.contentpane {
	padding: 10px;
	height: auto;
}
@media (min-width: 768px) {
	.row-fluid .modal-batch [class*="span"] {
		margin-left: 0;
	}
}

.modal-header + div {
	height: calc(100% - 70px) !important;
}
.modal-header + div.has-footer {
	height: calc(100% - 130px) !important;
}

/**
 * MODAL MEDIA PREVIEW
 */

.modal-body .media-preview {
	width: 100%;
	height: 100%;
}

.modal-body .media-preview img {
	max-width: 100%;
	transform: translate(-50%, -50%);
	position: absolute;
	top: 50%;
	left: 50%;
}

/**
 * MODAL CLOSE BUTTON
 */

.close {
	/*float: right;*/
	/*font-size: 32px;*/
	font-size: 24px;
	font-weight: bold;
	line-height: 1;
	text-shadow: 0 1px 0 #fff;
	/*filter: alpha(opacity=20);
	opacity: .2;
	color: #000;*/
	color: #666;
}
.close:hover,
.close:focus {
	/*color: #000;*/
	color: #00a0d2;
	text-decoration: none;
	cursor: pointer;
	/*filter: alpha(opacity=50);
	opacity: .5;*/
}
button.close {
	-webkit-appearance: none;
	padding: 0;
	cursor: pointer;
	background: transparent;
	border: 0;
}

.btn-group .btn:not(.btn-mini),
.input-append .btn:not(.btn-mini),
.input-prepend .btn:not(.btn-mini) {
	min-width: 28px;
	height: 30px;
}

.input-append > input,
.input-prepend > input {
	/*border: 1px solid #b3b3b3;*/
	height: 28px;
}

.input-append > input:not(:only-child),
.input-append > span:not(.btn),
.input-append > .wp-calendar-box:not(:only-child) input {
	margin-top: 0;
	margin-right: 0;
	border-right-width: 0;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.input-append:not(.input-prepend) > input {
	border-top-left-radius: .25rem;
	border-bottom-left-radius: .25rem;
	line-height: 16px;
}

.input-append > input ~ .btn,
.input-append > span ~ .btn {
	/*margin-left: -4px;*/
}
.pull-right.input-append > input ~ .btn,
.pull-right.input-append > span ~ .btn {
	/*margin-left: -3px;*/
	/*margin-left: -4px;*/
}

.input-prepend .btn:first-child,
.input-prepend .btn:first-child + .btn {
	margin-top: 0;
	margin-left: 0;
	/*margin-right: -4px;*/
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.input-prepend .btn:first-child + .btn {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;	
}

/*.input-append .btn:hover,
.input-prepend .btn:hover {
	border-right-width: 1px;
	border-left-width: 1px;
}*/

.input-append > input ~ .btn:not(:last-child),
.input-append > span ~ .btn:not(:last-child) {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.input-prepend > input,
.input-prepend > span:not(.btn) {
	margin-left: 0;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.input-append > input:focus {
	/*border-right: 1px solid #5b9dd9;*/
	border: 1px solid #5b9dd9;
	box-shadow: none;
}
.input-append > input:focus + .btn {
	border-left-width: 0;
}

.input-append > input ~ .btn,
.input-append > span ~ .btn,
.input-append > input + .vredatepicker-trig-icon {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

/**
 * TABS
 */

ul.nav-tabs {
	padding: 0;
	list-style: none;
	margin-top: 0;
	line-height: 1.3em;
}
.nav-tabs li {
	display: inline-block;
	border-right: 1px solid #e5e5e5;
	margin: 0;
}
.nav-tabs li.active {
	border-bottom: 0;
}
.nav-tabs li a {
	display: inline-block;
	padding: 15px 20px;
	border-bottom: 2px solid #fff;
}
.nav-tabs li.active a:hover {
	cursor: default;
	color: #0073aa;
}
.nav-tabs > li.active a {
	border-bottom: 2px solid #0073aa;
}

.tab-pane {
	display: inline-block;
	width: 100%;
}

/**
 * FIELDSET
 */
 
.row-fluid {
	display: inline-block;
	width: 100%;
}
div[class*="span"] {
	float: left;
	width: calc(50% - 10px);
}
div[class*="span"]:nth-of-type(odd) {
	margin-right: 10px;
}
div[class*="span"]:nth-of-type(even) {
	margin-left: 10px;
}
div[class*="span"]:only-of-type,
div[class*="span"] + div.span12 {
	width: 100%;
	margin: 0;
}

@media (max-width: 900px) {
	div[class*="span"] {
		width: 100% !important;
		float: none !important;
		margin: 0 !important;
	}
}

/**
 * BADGE
 */

.badge {
	display: inline-block;
	padding: 2px 4px;
	font-size: 10.998px;
	font-weight: bold;
	line-height: 14px;
	color: #fff;
	vertical-align: baseline;
	white-space: nowrap;
	background-color: #999;

	padding-left: 9px;
	padding-right: 9px;
	-webkit-border-radius: 9px;
	-moz-border-radius: 9px;
	border-radius: 9px;
}
.badge:empty {
	display: none;
}
a.badge:hover,
a.badge:focus {
	color: #fff;
	text-decoration: none;
	cursor: pointer;
}
.badge-important {
	background-color: #a94442;
}
.badge-important[href] {
	background-color: #843534;
}
.badge-warning {
	background-color: #f89406;
}
.badge-warning[href] {
	background-color: #c67605;
}
.badge-success {
	background-color: #3c763d;
}
.badge-success[href] {
	background-color: #2b542c;
}
.badge-info {
	background-color: #31708f;
}
.badge-info[href] {
	background-color: #245269;
}
