/* 
* Template Laibrary Start
*/
.httemplate-row{}

/* Top bar */
.httemplate-top-banner-area {
  background: #22b9ff none repeat scroll 0 0;
  margin-right: 15px;
  margin-top: 20px;
  padding: 20px;
}
.htbanner-content {
  align-items: center;
  display: flex;
  justify-content: space-between;
  flex-flow: row wrap;
}
.htbanner-content h3{
  margin: 0;
  color: #fff;
  line-height: 24px;
}
.htbanner-content a {
  background: #d30c5c none repeat scroll 0 0;
  border: 1px solid transparent;
  border-radius: 3px;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 15px;
  text-decoration: none;
  transition: all 0.4s ease 0s;
}
.htbanner-content a:hover{
  background: #fff;
  border-color: #333;
  color: #333;
}
.htbanner-desc p {
  color: #fff;
  font-weight: 600;
  margin: 5px 0 0;
}

/* Tab panel */
.htmega-admin-tab-pane{
  display: none;
}
.htmega-admin-tab-pane.httabactive{
  display: block;
}
.httemplate-row .htmega-admin-tab-pane{
  margin-left: -15px;
  overflow: hidden;
}
.htmega-admin-tabs li{
    display: inline-block;
    margin-right: 15px;
}
.htmega-admin-tabs li:last-child{
    margin-right: 0;
}
.httemplate-row .htmega-admin-tabs li a {
  background: #428bfa none repeat scroll 0 0;
  border-radius: 3px;
  color: #fff;
  display: block;
  font-weight: 600;
  padding: 8px 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.4s ease 0s;
  border: none;
}
.httemplate-row .htmega-admin-tabs li a:focus{
  box-shadow: none;
}
.httemplate-row .htmega-admin-tabs li a:hover, .httemplate-row .htmega-admin-tabs li a.httabactive{
  background: #d30c5c;
  border-color: #d30c5c;
}
.htmega-admin-tab-area {
  margin: 20px 0 15px;
}

#tp-grid {
  margin-left: 0 !important;
  margin-top: 35px !important;
}
.tp-grid{
  overflow: hidden !important;
}
#tp-grid li {
  width: 20% !important;
}
#htmega-tmp-name {
  text-transform: uppercase;
}
.tp-grid .httemplate-action{
  display: none;
}

.htpackage-tp-title {
  background: #fff;
  display: block;
  width: 100%;
  padding: 15px;
  position: absolute;
  bottom: 20px;
  left: 0;
  box-sizing: border-box;
  text-align: center;
}
.htpackage-tp-title h3{
  text-transform: capitalize;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin: 0;
}
.htpackage-tp-title p {
  margin: 5px 0 0;
}
.htpackage-tp-title span {
  margin-right: 5px;
}

.htmega-loader {
  text-align: center;
}
#htmegaclose {
  cursor: pointer;
  font-size: 16px;
  display: none;
  transition: 0.4s;
}
#htmegaclose:hover{
  color: #d30c5c;
}
.htmega-topbar {
  display: none;
  justify-content: space-between;
  margin-right: 15px;
  align-items: center;
  background: #fff;
  padding: 15px 16px;
}
.htmega-topbar h3{
  margin: 0;
}

.httemplate-row .htsingle-templates-laibrary {
  float: left;
  margin-bottom: 30px;
  padding: 0 15px;
  width: 100%;
}
.httemplate-row .htsingle-templates-laibrary img{
  width: 100%;
}
.httemplate-thumbnails {
  overflow: hidden;
  position: relative;
  height: 155px;
}
.httemplate-content {
  background: #fff none repeat scroll 0 0;
  padding: 15px;
  text-align: center;
}
.httemplate-content h3 {
  font-size: 16px;
  margin: 0;
}
.httemplate-content span {
  color: red;
  display: none;
}
.httemplate-tags {
  color: #888;
  margin-top: 5px;
}

.httemplate-action {
  background: #333 none repeat scroll 0 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  left: 0;
  position: absolute;
  right: 0;
  z-index: 2;
  transition: 0.4s;
}
.httemplate-row .htsingle-templates-laibrary *, .httemplate-row .htsingle-templates-laibrary *::after, .httemplate-row .htsingle-templates-laibrary *::before,.httemplate-row .htsingle-templates-laibrary {
  box-sizing: border-box;
}
.httemplate-action a {
  color: #fff;
  flex: 0 0 50%;
  font-size: 14px;
  padding: 12px 20px;
  text-align: center;
  text-decoration: none;
  transition: all 0.4s ease 0s;
}
.httemplate-action a:first-child:not(:last-child) {
  border-right: 1px solid rgba(255,255,255, 0.2);
}
.httemplate-action a:hover{
  background: #0085ba none repeat scroll 0 0;
}

/*Pop Up*/
.httemplate-popupcontent {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 200px;
  position: relative;
}
.htspinner {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  display: none;
}
.htspinner.loading{
  display: block;
}
.htspinner::before {
  background: rgba(0, 0, 0, 0) url("../images/ajax-loader.gif") no-repeat scroll center center / 100px 100px;
  content: "";
  height: 100%;
  left: 0;
  opacity: 1;
  position: absolute;
  top: 0;
  visibility: visible;
  width: 100%;
}

.htpopupcontent p,.htmessage p {
  font-size: 18px;
  margin: 0;
}
.wlimpbtn,.htmessage a {
  background: #333 none repeat scroll 0 0;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  margin: 15px 0;
  padding: 14px 20px;
  text-align: center;
  text-decoration: none;
  transition: all 0.4s ease 0s;
}
.wlimpbtn:focus{
  background: #333 none repeat scroll 0 0;
  outline: none;
  color: #fff;
  box-shadow: none;
}
.wlimpbtn:hover,.htmessage a:hover{
  background: #0085ba none repeat scroll 0 0;
  color: #fff;
  outline:none;
}

.htpageimportarea .wlimpbtn{
  margin: 0;
}
.htpageimportarea {
  margin: 0 0 15px;
}
.htpageimportarea p{
  margin-bottom: 15px;
}
.htpageimportarea input {
  background: #fff none repeat scroll 0 0;
  border: 1px solid #c7c7c7;
  color: #888888;
  font-size: 14px;
  font-weight: normal;
  padding: 8px 10px;
  width: 250px;
}
.wlimpbtn.htdisabled {
  cursor: default;
  opacity: 0.4;
  pointer-events: none;
}
.htmessage {
  text-align: center;
}

.ht-slider_page_htslider_templates .ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-front.ui-dialog-buttons.ui-draggable.ui-resizable {
    z-index: 999999 !important;
}
.ht-slider_page_htslider_templates .ui-widget-content a {
    color: #fff;
}

.ht-slider_page_htslider_templates .ui-widget-header {
    background: #fff;
    border-radius: 0;
    color: #444;
    border: 0 solid;
}

.ht-slider_page_htslider_templates div#httemplate-popup-area {
    border-top: 1px solid #dfdfdf;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid #dfdfdf;
}

.ht-slider_page_htslider_templates button.ui-button.ui-widget.ui-state-default.ui-corner-all.ui-button-icon-only.ui-dialog-titlebar-close {
    border: 0;
    background: inherit;
    color: #444;
}

.ht-slider_page_htslider_templates .ui-state-default, .ui-widget-content .ui-state-default {
    padding: 0px 10px;
    background: inherit;
    color: #444;
}

.ht-slider_page_htslider_templates .ui-dialog-buttonpane.ui-widget-content.ui-helper-clearfix {
    border: 0px;
}


/*
* Responsive CSS Here 
*/

/* Large Device :1200px. */
@media (min-width: 1200px) and (max-width: 1400px) {
  
  #tp-grid li {
    width: 25% !important;
  }
}

/* Normal desktop :992px. */
@media (min-width: 992px) and (max-width: 1199px) {
  
  #tp-grid li {
    width: 40% !important;
  }

}

 
/* Tablet desktop :768px. */
@media (min-width: 768px) and (max-width: 991px) {
  
  #tp-grid li {
    width: 40% !important;
  }

}

/* small mobile :320px. */
@media (max-width: 767px) {
  
  #tp-grid li {
    width: 90% !important;
  }

}

/* Large Mobile :480px. */
@media only screen and (min-width: 480px) and (max-width: 767px) {
   
   #tp-grid li {
    width: 40% !important;
  }

}

/*end*/