@import "../../../external/bootstrap3/less/variables.less";
@import "../../../external/bootstrap3/less/@{swatch}/variables.less"; //exp swatch colors, font-sizes, etc
@import "../../../framework/core/assets/less/exponent.less";  // exp mixins
@import "../../../external/bootstrap3/less/mixins.less";  // bootstrap mixins, probably only need one mixin
@import "variables.less";

// Exponent theme template level styles which (must) override stock bootstrap3 styles
/* override some conflicts between exponent classes and bootstrap */
//NOTE: not sure these shouldn't be in a /framework/core/assets/less/*.less file

span.required {
	color : #ff0000;
}

.fixedmenu {
	margin-top : (@menu_height + 0px);
}

//.container.main-menu {
//    margin-bottom:15px;
//}

.btn {
	margin-bottom: 2px;
}

.input-group-btn.btn {
	margin: 0;
}

//hr {
//	color            : @gray-dark;
//	background-color : @gray-dark;
//	height           : 3px;
//}

#sidebar h2 {
	font-size-adjust : 0.30;
}

a.addmodule span.addtext {
    background-position: 8px -592px;
}

/* datatables */
.dataTables_wrapper .dataTables_paginate .paginate_button {
	margin: 0;
	padding: 0;
}

div.DTTT .btn {
	margin: 0;
}

/* accordion */
.showall-accordion .dashboard .hd a.collapse {
	height : 34px;
}

.showall-accordion .dashboard .hd h2 {
	height  : 34px;
	padding : 0 0 0 33px;
}

/* ecommerce */
#qtyrControl  .label {
	display : inline;
}

/* panel styles */
.report.dashboard .hd h2,
.panel .hd h2 {
    padding: 0 0 0 33px;
	line-height: 36px;
}

.panel .hd h2 {
	line-height: 30px;
}

.panel .hd .collapse {
	height: 30px;
}

.panel-title h2 {
	margin: 0;
}

/* other */
.show .add-to-cart-btn input[type="text"] {
	margin-left: 13px;
//	height: 25px;
	font-size: inherit;
}

.show .ecom-hover .add-to-cart-btn input[type="text"] {
	margin-left:inherit;
}

.options-partial table.options .checkbox input {
	margin-top: 3px;
}

.eql-tablelist .row:before,
.eql-tablelist .row:after,
.manage-questions .row:before,
.manage-questions .row:after {
	content : normal;
}

/* centered navbar support */
& when (@menu_align_center = 1) {
	@media (min-width: (@menu_width + 0px)) {
		#topnavbar.navbar .navbar-nav {
			display: inline-block;
			float: none;
		}

		#topnavbar.navbar .navbar-collapse {
			text-align: center;
		}
	}
}

/* remove page url on printout in browser */
@media print {
  a[href]:after {
    content: none !important;
  }
}

/* set rss icon color to orange */
i.fa-rss {
	color: orange;
}

/* set size on all font-awesome icons used in main menu/navbar */
#topnavbar .nav.navbar-nav i.fa {
	font-size: 18px;
}

// text input placeholder style
.form-control::-webkit-input-placeholder { /* Safari, Chrome and Opera */
	font-style: italic;
}

.form-control:-moz-placeholder { /* Firefox 18- */
	font-style: italic;
}

.form-control::-moz-placeholder { /* Firefox 19+ */
	font-style: italic;
}

.form-control:-ms-input-placeholder { /* IE 10+ */
	font-style: italic;
}

.form-control::-ms-input-placeholder { /* Edge */
	font-style: italic;
}

.form-control:placeholder-shown { /* Standard one last! */
	font-style: italic;
}

/* fancy tags */
span.value span {
	display: inline-block;
	margin: 0 0 .3em 1em;
	padding: 0;
}
span.value span.tag a {
	position: relative;
	display: inline-block;
	height: 20px;
	line-height: 20px;
	padding: 0 1em 0 .75em;
	background-color: @brand-primary;
	-webkit-border-radius: 0 3px 3px 0;
    -moz-border-radius: 0 3px 3px 0;
	border-radius: 0 3px 3px 0;
	color: @body-bg;
	font-size: 13px;
	text-decoration: none;
	.transition(2s);
    z-index: 3;
}
span.value span.tag a::before {
	position: absolute;
	top: 0;
	left: -10px;
	z-index: -1;
	content: '';
	width: 20px;
	height: 20px;
	background-color: @brand-primary;
	-webkit-border-radius: 50%;
    -moz-border-radius: 50%;
	border-radius: 50%;
	.transition(2s);
}
span.value span.tag a::after {
	position: absolute;
	top: 50%;
	left: -6px;
	z-index: 2;
	display: block;
	content: '';
	width: 6px;
	height: 6px;
	margin-top: -3px;
	background-color: @body-bg;
	-webkit-border-radius: 100%;
    -moz-border-radius: 100%;
	border-radius: 100%;
}
span.value span.tag a:hover {
	background-color: @gray;
	color: @body-bg;
}
span.value span.tag a:hover::before {
	background-color: @gray;
}
span.value span.spacer {
	display: none;
}

/* module styles */
.top-border {
	border-top: 1px solid @hr-border;
}
.left-border {
	border-left: 1px solid @hr-border;
}
.right-border {
	border-right: 1px solid @hr-border;
}
.bottom-border {
	border-bottom: 1px solid @hr-border;
}
.left-right-border {
	border-left: 1px solid @hr-border;
	border-right: 1px solid @hr-border;
}
.top-bottom-border {
	border-top: 1px solid @hr-border;
	border-bottom: 1px solid @hr-border;
}
.box-border {
	border: 1px solid @hr-border;
}

.light-background {
	background-color: darken(@body-bg, 5%);
}
.medium-background {
	background-color: darken(@body-bg, 10%);
}
.dark-background {
	background-color: darken(@body-bg, 15%);
}

/* form designer */
// - uncomment if using left sidebar instead of right sidebar
//div#trash.trash,
//ul#controls.controls {
//    left: 20px!important;
//	right: inherit!important;
//}

/* correct exp style conflict with form labels */
label.label,
span.label {
	color: @text-color;
}
