// Variables
// =========

// Colors
@colorPrimary: #2fc57d;
@colorSecondary: #7352eb;
@colorTertiary: #38cef9;
@colorBg: white;
@bradius: 5px;
// Metrics
@boxWidth: 1240px;

// Other
@layoutType: "wide";
@borderType: "square";

@outerBgType: "color";
@outerBgColor: @colorSecondary;
@outerBgImage: "";

@preloader: "";

// Mixins
.animation(@animation) {
  -webkit-animation: @animation;
          animation: @animation;
}
.transform(@transform) {
  -webkit-transform: @transform;
      -ms-transform: @transform; // IE9 only
          transform: @transform;
}


// Styles
// ======

// Backgrounds
body {
	background: @colorBg !important;
}
body when (@layoutType = "boxed") and (@outerBgType = "color") {
	background: @outerBgColor !important;
}
body when (@layoutType = "boxed") and (@outerBgType = "pattern") and not (@outerBgImage = "") {
	background: url(@outerBgImage) @colorBg repeat left top !important;
}
html when (@layoutType = "boxed") and (@outerBgType = "image") and not (@outerBgImage = "") {
	height: 100%;
	background: url(@outerBgImage) @colorBg repeat center top / cover fixed !important;
}
body when (@layoutType = "boxed") and (@outerBgType = "image") {
	background: none !important;
}

// Layout
.wrapper-boxed when (@layoutType = "boxed") {
	max-width: @boxWidth;
}

// Colors

.text-color-primary {
	color: @colorPrimary !important;
}
.bg-color-primary {
	background-color: @colorPrimary;
}
.bg-color-secondary {
	background-color: @colorSecondary;
}
.bg-color-tertiary {
	background-color: @colorTertiary;
}
.btn.btn-color-primary {
	background-color: @colorPrimary;
}


//theme styles


// =========== mega menu ====================

.header-section ul li.active > a {
    color: @colorPrimary;
}
.header-section.style4 ul li ul {
    background: @colorPrimary;
}
.header-section ul li:hover > a, .header-section ul li.active > a {
    color: @colorPrimary;
}
.header-section.style4 ul li.search-parent .search-box {
    background: @colorPrimary;
}

.header-section.style4 ul li.search-parent .search-box .form-control {
    background: @colorPrimary;
}

@media only screen and (max-width: 1000px) {

 .header-section.style4 #menu ul {
    background: @colorPrimary;
} 
  
}

.header-section ul li .number {
    background: @colorPrimary;
}
.header-section.style4 ul li.cart-parent .cart-box {
    background: @colorPrimary;
}

.header-section ul li.mega-menu > ul > li ul li a:hover {
 color:@colorPrimary;
}
.header-section ul li.search-parent a.m-link {
    color: @colorPrimary;
}
.header-section ul li.cart-parent a.m-link {
    color: @colorPrimary;
}
.header-section.dark-dropdowns.style4 ul li:hover > a, .header-section.dark-dropdowns.style4 ul li.active > a {
    color: @colorPrimary;
}
.header-section.dark-dropdowns.style4 ul li.mega-menu > ul > li ul li a:hover {
    color: @colorPrimary;
}
.header-section.dark-dropdowns.style4 #menu ul li ul li:hover a span.sub-arrow, header-section.dark-dropdowns.style4 #menu ul li ul li.active a span.sub-arrow {
    color: @colorPrimary;
  }
.header-section.dark-dropdowns.style2 ul li:hover > a, .header-section.dark-dropdowns.style2 ul li.active > a {
    color: @colorPrimary;
}
.header-section.dark-dropdowns.style2 ul li.mega-menu > ul > li ul li.active a {
    color: @colorPrimary;
}
 .header-section.dark-dropdowns.style2 ul li.mega-menu > ul > li ul li a:hover {
    color: @colorPrimary;
} 
.btn-top-1 {
    background-color: @colorPrimary;
}  
.header-section.dark-dropdowns.style1 ul li:hover > a, .header-section.dark-dropdowns.style1 ul li.active > a {
    color: @colorPrimary;
}
.header-section.dark-dropdowns.style1 ul li.mega-menu > ul > li ul li a:hover {
    color: @colorPrimary;
}  
.header-section.dark-dropdowns.style1 ul li:hover > a, .header-section.dark-dropdowns.style1 ul li.active > a {
    color: @colorPrimary;
} 
.header-section.act-style-1 ul li.active > a {
    background-color: @colorPrimary !important;
}  
 
.header-section.style3 #menu ul li.mega-menu li ul li:hover a, .header-section.style3 #menu ul li.mega-menu li ul li.active a {
    color: @colorPrimary;
}  
.header-section.style3 #menu ul li.mega-menu li ul li:hover a, .header-section.style3 #menu ul li.mega-menu li ul li.active a {
    color: @colorPrimary;
  }  
.header-section.style3 #menu ul li ul li:hover > a, .header-section.style3 #menu ul li ul li.active > a {
    color: @colorPrimary;
  }
  .header-section.style3 #menu ul li ul li:hover a span.sub-arrow, header-section.style3 #menu ul li ul li.active a span.sub-arrow {
    color: @colorPrimary;
  }  
.header-section.style5.dark #menu ul li ul li:hover > a, .header-section.style5.dark #menu ul li ul li.active > a {
    color: @colorPrimary;
}
.header-section ul li.cart-parent .cart-box span {
    color: @colorPrimary;
} 
.header-section ul li.cart-parent .cart-box span {
    color: @colorPrimary;
}  
.header-section ul li.cart-parent .cart-box .btn.btn-primary {
    background: @colorPrimary none repeat scroll 0 0 !important;
}  
  
  
  
// =========== corporate ====================


.bb-feature-box-1 .icon {
background: @colorPrimary; /* Old browsers */
background: -moz-linear-gradient(45deg,  @colorPrimary 0%, @colorSecondary 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(45deg,  @colorPrimary 0%,@colorSecondary 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(45deg,  @colorPrimary 0%,@colorSecondary 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='@colorPrimary', endColorstr='@colorSecondary',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.tp-caption.sbut2 a {
    background-color: @colorPrimary;
}

.btn.btn-prim {
    background-color: @colorPrimary;
}
.bb-feature-box-3 .icon {
	color:@colorPrimary;
    border: 2px solid @colorPrimary;
}

.bb-price-table-1 .border-box {
background: @colorPrimary; /* Old browsers */
background: -moz-linear-gradient(45deg,  @colorPrimary 0%, @colorSecondary 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(45deg,  @colorPrimary 0%,@colorSecondary 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(45deg,  @colorPrimary 0%,@colorSecondary 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='@colorPrimary', endColorstr='@colorSecondary',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.bb-price-table-1:hover .inner-box .price-circle, .bb-price-table-1.active .inner-box .price-circle {
    color: @colorPrimary;
}
.bb-price-table-1:hover .inner-box .price-circle .price, .bb-price-table-1.active .inner-box .price-circle .price {
    color: @colorPrimary;
}
.bb-feature-box-4-main .img-circle .img {
    background-color: @colorPrimary;
}
.slide-controls-3 .owl-theme .owl-controls .owl-page.active span {
    background-color: @colorPrimary;
    border: 1px solid @colorPrimary;
}
.cbp-l-filters-buttonCenter .cbp-filter-item.cbp-filter-item-active {
    color: @colorSecondary;
    border-color: @colorSecondary;
}
.cbp-l-filters-buttonCenter .cbp-filter-counter {
    background-color: @colorSecondary;
}
.cbp-l-filters-buttonCenter .cbp-filter-counter:after {
	border-top: 4px solid @colorSecondary;
}
.tp-caption.text-primary {
    color: @colorPrimary;
}
.bb-feature-box-5 .datebox {
background: @colorPrimary; /* Old browsers */
background: -moz-linear-gradient(45deg,  @colorPrimary 0%, @colorSecondary 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(45deg,  @colorPrimary 0%,@colorSecondary 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(45deg,  @colorPrimary 0%,@colorSecondary 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='@colorPrimary', endColorstr='@colorSecondary',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.text-primary {
    color: @colorPrimary;
}
.section-secondary {
    background-color: @colorSecondary;
}
.bb-feature-box-1 .circle-inner {
    color: @colorPrimary;
}
.bb-feature-box-5 .blog-post-info span {
    color: @colorPrimary;
}
.bb-feature-box-6:hover .img-circle .img, .bb-feature-box-6.active .img-circle .img {
    background-color: @colorPrimary;
}
.footer-social-icons.primary li a {
    background-color: @colorPrimary;
}
.bb-newsletter-btn {
    border: 1px solid @colorPrimary;
    background-color: @colorPrimary;
}
.scrollup {
    background: @colorPrimary url(../images/scroll-top-arrow.png) no-repeat 15px 16px;
}
.section-gradient {
	background: @colorPrimary; /* Old browsers */
	background: -moz-linear-gradient(45deg,  @colorPrimary 0%, @colorSecondary 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(45deg,  @colorPrimary 0%,@colorSecondary 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(45deg,  @colorPrimary 0%,@colorSecondary 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='@colorPrimary', endColorstr='@colorSecondary',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.bb-feature-box-10 {
    border: 6px solid @colorPrimary;
}
.bb-feature-box-11 {
	background: @colorPrimary; /* Old browsers */
	background: -moz-linear-gradient(45deg,  @colorPrimary 0%, @colorSecondary 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(45deg,  @colorPrimary 0%,@colorSecondary 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(45deg,  @colorPrimary 0%,@colorSecondary 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='@colorPrimary', endColorstr='@colorSecondary',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
.bb-feature-box-8:hover .img-main .img,
.bb-feature-box-8.active .img-main .img {
	background-color: @colorPrimary;
}
.btn.btn-border.primary {
    color: @colorPrimary;
    border-color: @colorPrimary;
}
.btn.btn-border.primary {
    color: @colorPrimary;
    border-color: @colorPrimary;
}
.btn.btn-border:hover.primary {
	background-color:@colorPrimary;
	border-color:@colorPrimary;
}
.sky-form .button {
    background-color: @colorPrimary;
}






















// Border roundness
.btn when (@borderType = "rounded") {
	border-radius: @bradius;
}





