/*Font*/
@font-face {
	font-family: 'jsdemo';
	src: url('../fonts/jsdemo.eot');
	src: url('../fonts/jsdemo.eot#iefix') format('embedded-opentype'),
		url('../fonts/jsdemo.ttf') format('truetype'),
		url('../fonts/jsdemo.woff') format('woff'),
		url('../fonts/jsdemo.svg#jsdemo') format('svg');
	font-weight: normal;
	font-style: normal;
}

[class^="sp-"], [class*=" sp-"] {
	font-family: 'jsdemo' !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.sp-angle-left:before {
	content: "\e900";
}
.sp-angle-right:before {
	content: "\e901";
}
.sp-angle-up:before {
	content: "\e902";
}
.sp-angle-down:before {
	content: "\e903";
}
.sp-desktop:before {
	content: "\e904";
}
.sp-tablet-l:before {
	content: "\e905";
}
.sp-tablet-p:before {
	content: "\e906";
}
.sp-mobile-l:before {
	content: "\e907";
}
.sp-mobile-p:before {
	content: "\e908";
}
.sp-eye:before {
	content: "\e909";
}
.sp-link:before {
	content: "\e90a";
}
.sp-clock:before {
	content: "\e90b";
}
.sp-cart:before {
	content: "\e90c";
}
.sp-close:before {
	content: "\e90d";
}

a{
  -webkit-transition: all 400ms;
  -moz-transition: all 400ms;
  -o-transition: all 400ms;
  -ms-transition: all 400ms;
  transition: all 400ms;
}

a,
a:hover,
a:active,
a:focus{
  text-decoration: none;
  color: #fff;
}

.btn{
  border: 0;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 14px;
  padding: 8px 10px 6px;
}

.btn.btn-success {
  /*background-color: #90c940;*/
  background-color: #B80000;
/*  -webkit-box-shadow: 0 2px 0 0 #75a72f,inset 0 1px 0 0 rgba(225,225,225,0.2);
  box-shadow: 0 2px 0 0 #75a72f,inset 0 1px 0 0 rgba(225,225,225,0.2);*/
  -webkit-box-shadow: 0 2px 0 0 #B80000,inset 0 1px 0 0 rgba(225,225,225,0.2);
  box-shadow: 0 2px 0 0 #B80000,inset 0 1px 0 0 rgba(225,225,225,0.2);
}

.btn.btn-primary {
  background-color: #00aeef;
  -webkit-box-shadow: 0 2px 0 0 #0089bc,inset 0 1px 0 0 rgba(225,225,225,0.2);
  box-shadow: 0 2px 0 0 #0089bc,inset 0 1px 0 0 rgba(225,225,225,0.2);
}


#header {
    padding: 0;
    height: 60px;
    background: #252525;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    box-shadow: 0px 0px 4.75px 0.25px rgba(0, 0, 0, 0.2) inset;
    -webkit-box-shadow: 0px 0px 4.75px 0.25px rgba(0, 0, 0, 0.2) inset;
    opacity: 0.3;
    transition: opacity 1s;
}

#header:hover {
  opacity: 1;
}

#header a#logo {
  display: block;
  line-height: 60px;
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 2px;
}

#joomshaper-logo {
  display: block;
  fill: #fff;
  margin-top: 15px;
  height: 30px;
}

#demoframe{
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin-top: 60px;
  margin-left: auto;
  margin-right: auto;
  -webkit-transition:width 300ms;
  -moz-transition:width 300ms;
  -o-transition:width 300ms;
  -ms-transition:width 300ms;
  transition:width 300ms;
}

#demoframe.phone-portrait,
#demoframe.phone-landscape {
  border-color: #999;
  border-radius: 36px;
  border-style: solid;
}

#demoframe.phone-portrait {
  border-width: 60px 16px;
}

#demoframe.phone-landscape {
  border-width: 16px 60px;
}

#demoframe iframe{
  width:100%;
  height:100%;
}

#theme-selector {
  margin-top: 10px;
  height: 40px;
  line-height: 40px;
  padding: 0 10px;
  cursor: pointer;
  background: #353535;
  color: #808080;
  -webkit-transition: all 400ms;
  transition: all 400ms;
  border-radius: 3px;
  position: relative;
}

#theme-selector.active:after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  bottom: -20px;
  left: 50%;
  border-width: 10px;
  border-style: solid;
  border-color: #444 transparent transparent transparent;
  margin-left: -10px;
}

#theme-selector.active,
#theme-selector:hover{
  background: #444;
  border-color: #555;
}

#theme-selector:not(.active) .sp-angle-up {
  display: none;
}

#theme-selector.active .sp-angle-down {
  display: none;
}

span.badge{
  display: inline-block;;
  height: auto;
  line-height: normal;
  border-radius: 0;
  margin: 0 3px;
  font-size: 10px;
  padding: 3px 5px;
  letter-spacing: normal;
  font-weight: 400;
  color: #fff;
  border-radius: 2px;
}

span.badge.new{
  background: #dd2c00;
}

span.badge.hot{
  background: #e74c3c;
}

span.badge.free{
  background: #39b54a;
}

#product-tools {
  margin: 0 -15px;
}

#product-tools > div {
  display: block;
  margin: 0 15px;
  float: right;
}

#responsive {
  margin: 0 -5px;
}

#responsive >a{
  display: inline-block;
  text-decoration: none;
  font-size: 18px;
  line-height: 60px;
  margin: 0;
  padding: 0 5px;
  color:#6a6a6a;
}

#responsive >a.active,
#responsive >a:hover,
#responsive >a:focus,
#responsive >a:active {
  color: #fff;
}

#remove-frame{
  display: inline-block;
  text-decoration: none;
  margin: 0;
  color:#6a6a6a;
}

#remove-frame span {
  display: block;
  color: #000;
  background-color: #f5f5f5;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 20px;
  margin-top: 15px;
  transition: 300ms;
  -webkit-transition: 300ms;
}

#remove-frame span:hover {
  color: #fff;
  background-color: #f0ad4e;
}

body {
  background-color: #eee;
}

.popup-overlay {
  content: " ";
  position: absolute;
  left: 0;
  top: 60px;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  display: none;
}

body.popup-open .popup-overlay {
  display: block;
}

#templates-wrapper{
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  display: block;
}

#templates-wrapper .templates-demo {
  position: relative;
  padding: 20px;
  background-color: #272727;
  color: #fff;
  -webkit-box-shadow: 0px 20px 20px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 20px 20px 0px rgba(0, 0, 0, 0.2);
  z-index: 999;
}


#templates-wrapper .filter-wrapper {
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid #333;
}

#templates-wrapper .filter ul {
  width: 100%;
  display: block;
  list-style: none;
  padding: 0;
  margin: 0 -10px;
}

#templates-wrapper .filter ul > li {
  display: inline-block;
  margin: 0 10px;
  line-height: normal;
  position: relative;
}

#templates-wrapper .filter ul > li > a {
  display: block;
  color: #777;
  -webkit-transition: background-color 400ms, color 400ms;
  transition: background-color 400ms, color 400ms;
}

#templates-wrapper .filter ul > li.active > a,
#templates-wrapper .filter ul > li:hover > a {
  color: #00aeef;
}

#templates-wrapper .filter ul > li > ul {
  position: absolute;
  top: 30px;
  left: -10px;
  width: 220px;
  padding: 0 20px;
  background-color: #333;
  z-index: 999;
}

#templates-wrapper .filter ul > li > ul > li {
  display: block;
  margin: 0;
  text-align: left;
}

#templates-wrapper .filter ul > li > ul > li > a {
  margin: 0 -20px;
  padding: 10px 20px;
  color: #999;
  -webkit-transition: background-color 400ms, color 400ms;
  transition: background-color 400ms, color 400ms;
}

#templates-wrapper .filter ul > li > ul > li.active >a,
#templates-wrapper .filter ul > li > ul > li:hover >a {
  background-color: #222;
  color: #00aeef;
}

#templates-wrapper .filter ul > li > ul > li > a span {
  display: inline-block;
  float: right;
  color: #666;
  -webkit-transition: color 400ms;
  transition: color 400ms;
}

#templates-wrapper .filter ul > li > ul > li.active >a span,
#templates-wrapper .filter ul > li > ul > li:hover >a span {
  color: #fff;
}

#templates-wrapper .filter-years {
  text-align: right;
}

#templates-wrapper .filter-years ul,
#templates-wrapper .filter-years ul > li {
  margin: 0;
}

#templates-wrapper .filter-years ul > li > ul {
  width: 100px;
}

#templates-wrapper .demo-list > div {
  display: none;
}

#templates-wrapper .demo-list > div > div {
  margin-bottom: 20px;
}

#templates-wrapper .demo-list > div.active {
  display: block;
}

#templates-wrapper .controls {
  margin: 10px -20px -20px;
  padding: 30px 20px;
  display: block;
  text-align: center;
  background: #212121;
}

#templates-wrapper .controls ul {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
  cursor: default;
}

#templates-wrapper .controls ul > li {
  display: block;
  float: left;
  margin: 0;
  cursor: pointer;
}

#templates-wrapper .controls ul > li > a {
  display: inline-block;
  width: 26px;
  height: 22px;
  outline: none;
  color: #595959;
}

#templates-wrapper .controls ul > li:not(.control-nav) {
	border-bottom: 1px solid #404040;
	transition: border-color 400ms;
	-webkit-transition: border-color 400ms;
}

#templates-wrapper .controls ul > li.control-nav {
  font-size: 16px;
}

#templates-wrapper .controls ul > li.control-nav.prev {
  margin-right: 10px;
}

#templates-wrapper .controls ul > li.control-nav.next {
  margin-left: 10px;
}

#templates-wrapper .controls ul > li.active,
#templates-wrapper .controls ul > li:not(.control-nav):hover,
#templates-wrapper .controls ul > li:not(.control-nav):active,
#templates-wrapper .controls ul > li:not(.control-nav):focus {
  border-bottom-color: #8ec54c;
}

#templates-wrapper .controls ul > li.active > a,
#templates-wrapper .controls ul > li:hover > a,
#templates-wrapper .controls ul > li:active > a,
#templates-wrapper .controls ul > li:focus > a {
  color: #8ec54c;
}

.template-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  padding: 5px;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.4);
  transition: all 400ms;
  -webkit-transition: all 400ms;
}

.template-item.active,
.template-item:hover {
  background-color: #eee;
}

.template-item.active {
  -webkit-transform: scale(1.05, 1.05);
  transform: scale(1.05, 1.05);
}

.template-item.active .template-title,
.template-item:hover .template-title {
  color: #000;
}

.template-item>.template {
  position: relative;
  height: 160px;
}

.template-item h3{
  margin: 0;
  padding: 0;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.template-item .template-title {
  display: block;
  margin: -5px 0 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  height: 32px;
  line-height: 32px;
  overflow: hidden;
}

.template-item h4 {
  margin: 5px 0 0;
  padding: 0;
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

body.loading:before {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
}

.preloader {
  position: absolute;
  display: block;
  top:  50%;
  left: 50%;
  width: 120px;
  height: 120px;
  margin-left: -60px;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.8);;
  border-radius: 4px;
}

.preloader >div {
  margin: 28px;
   width:64px;
   height:64px;
   display:inline-block;
   padding:0px;
   border-radius:100%;
   border:3px solid;
   border-top-color: #fff;
   border-bottom-color: rgba(255, 255, 255, 0.5);;
   border-left-color: #fff;
   border-right-color: rgba(255, 255, 255, 0.5);;
   -webkit-animation: preloader4 0.8s linear infinite;
   animation: preloader4 0.8s linear infinite;
}
@keyframes preloader4 {
   from {transform: rotate(0deg);}
   to {transform: rotate(360deg);}
}
@-webkit-keyframes preloader4 {
   from {-webkit-transform: rotate(0deg);}
   to {-webkit-transform: rotate(360deg);}
}
