/*  © Type on Point 2017 - All Rights Reserved 
This set of @font-face is files hosted on the site NOT google api */
@font-face {
  font-family: 'Angusta';
  src: url(../fonts/latin/Angusta.ttf) format('truetype');
}

@font-face {
  font-family: 'Barista';
  src: url(../fonts/latin/Barista.otf) format('truetype');
}

@font-face {
  font-family: 'FFFORWARD';
  src: url(../fonts/latin/FFFFORWA.ttf) format('truetype');
}

@font-face {
  font-family: 'Gilbert';
  src: url(../fonts/color/Gilbert.otf) format('truetype');
}

@font-face {
  font-family: 'Emmeline';
  src: url(../fonts/latin/emmeline.woff2) format('woff2');
}

@font-face {
  font-family: 'Fira_Sans';
  src: url(../fonts/google/Fira_Sans.woff2) format('woff2');
}

/*
 This css and associated images borrow heavily from the fantastic 
 chosen select box plugin.
 
 Copyright (c) 2011 Harvest http://getharvest.com

 MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
*/
.randombtn {
  display: inline-block;
  height:25px;
  width: 19.82%;
  background-color: #161616;
  color: #fff;
  cursor: pointer;
  padding: 3px 0 0 5px;
  -webkit-user-select: none; /* Chrome, Opera, Safari */
  -moz-user-select: none; /* Firefox 2+ */
  -ms-user-select: none; /* IE 10+ */
  user-select: none; /* Standard syntax */
}

.randombtn:hover{
  background-color: #3875d7;
}

/*
.randombtn::after{
  font-family: "FontAwesome", "Fira Sans";
	content: '\f0d7';
}*/

.filter {
  position: relative;
  display: inline-block;
  height:25px;
  width: 15.7504%;
  background-color: #161616;
  color: #fff;
  cursor: pointer;
  padding: 3px 0 0 5px;
  margin-left: 1px;
  -webkit-user-select: none; /* Chrome, Opera, Safari */
  -moz-user-select: none; /* Firefox 2+ */
  -ms-user-select: none; /* IE 10+ */
  user-select: none; /* Standard syntax */
}

.on {
  background-color: #3875d7;
}

.filter:hover{
  background-color: #074ab6;
}

.font-select .filtercontainer {
  display: inline-block;
  width: 80%;
}

.search {
  width: 100%;
  border: none;
  border-bottom: 2px solid #316ac5;
  margin: 0 0 0 0;
  padding-left: 8px;
  height: 30px;
  font-weight: 600;
}

.clear {
  position: absolute;
  top: 30px;
  right: 3px;
  background: none;
  border-radius: 20px;
  font-size: 18;
}

/*hide inputs with class upload*/
input[type='file'] {
  z-index: 3;
  opacity: .0;
  position: absolute;
  /* width:0.1px;
  height: 0.1px; */
  width: 25px;
  height:37px;
  cursor: pointer !important;
}

.fontUpload{
  width: 25px;
  height:37px;
  background-color: rgba(183, 46, 46, 0.857);
  /*
  background: -moz-linear-gradient(top, rgba(3, 52, 126, 0.851) 5%, rgba(6, 90, 216, 0.851) 15%, rgba(8, 67, 155, 0.851) 19%, rgba(4, 74, 180, 0.851) 22%, rgba(4, 74, 180, 0.851) 85%, rgba(3, 65, 158, 0.851) 92%, rgba(8, 67, 155, 0.851) 98%, rgba(3, 52, 126, 0.851) 100%);
  background: -webkit-linear-gradient(top, rgba(3, 52, 126, 0.851) 5%,rgba(6, 90, 216, 0.851) 15%,rgba(8, 67, 155, 0.851) 19%,rgba(4, 74, 180, 0.851) 22%,rgba(4, 74, 180, 0.851) 85%,rgba(3, 65, 158, 0.851) 92%,rgba(8, 67, 155, 0.851) 98%,rgba(3, 52, 126, 0.851) 100%); 
  background: linear-gradient(to bottom, rgba(3, 52, 126, 0.851) 5%,rgba(6, 90, 216, 0.851) 15%,rgba(8, 67, 155, 0.851) 19%,rgba(4, 74, 180, 0.851) 22%,rgba(4, 74, 180, 0.851) 85%,rgba(3, 65, 158, 0.851) 92%,rgba(8, 67, 155, 0.851) 98%,rgba(3, 52, 126, 0.851) 100%); 
  */
  border-radius:3px 0  0 3px;
  text-align: center;
  font-size: 12px;
  padding-top: 13px;
  cursor: pointer;
  color: #f9f9f9;
  position: absolute;
  /* margin-top: 9px; */
  /* z-index: 925; */
  z-index: -1;
 }

 /* div > ul.topbardropdownmenu:not(:first-child) 
 .fontUpload label{
  border: 3px solid seagreen;
 }*/

/* .uploadFont:not(:first-child)  label 
 .uploadFont:last-of-type + label 
input[type='file']:first-of-type
 {
  background-color: rgba(183, 46, 46, 0.857);
 }*/

 /*
 .fs-fields > li .shape-radio-custom label {
   display: none;
 } */

.font-select {
  color: rgba(0,0,0,.8);
  position: relative;
  display: inline-block;
  margin-top: 9px;
   /*padding-top: 10px;
 font-family: "FontAwesome", "Fira Sans";*/
  margin-bottom: 14px;
-webkit-user-select: none; /* Chrome, Opera, Safari */
-moz-user-select: none; /* Firefox 2+ */
-ms-user-select: none; /* IE 10+ */
 user-select: none;
}

.font-select .fs-drop {
  background: #f9f9f9;
  border: 0px solid #fff;
  border-top: 0;
  position: absolute;
  top: 37px;
  left: 2px;
  -webkit-box-shadow: 0 2px 1px rgba(0,0,0,.15);
  -moz-box-shadow   : 0 2px 1px rgba(0,0,0,.15);
  -o-box-shadow     : 0 2px 1px rgba(0,0,0,.15);
  box-shadow        : 0 2px 1px rgba(0,0,0,.15);
/* background: -moz-linear-gradient(top, rgba(127,127,127,1) 5%, rgba(255,255,255,1) 15%, rgba(249,249,249,1) 19%, rgba(255,255,255,1) 22%, rgba(255,255,255,1) 85%, rgba(247,247,247,1) 92%, rgba(221,221,221,1) 98%, rgba(198,198,198,1) 100%);
background: -webkit-linear-gradient(top, rgba(127,127,127,1) 5%,rgba(255,255,255,1) 15%,rgba(249,249,249,1) 19%,rgba(255,255,255,1) 22%,rgba(255,255,255,1) 85%,rgba(247,247,247,1) 92%,rgba(221,221,221,1) 98%,rgba(198,198,198,1) 100%);
background: linear-gradient(to bottom, rgba(127,127,127,1) 5%,rgba(255,255,255,1) 15%,rgba(249,249,249,1) 19%,rgba(255,255,255,1) 22%,rgba(255,255,255,1) 85%,rgba(247,247,247,1) 92%,rgba(221,221,221,1) 98%,rgba(198,198,198,1) 100%); 
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#c6c6c6',GradientType=0 );  */
  z-index: 999;
  touch-action: none;
}

.font-select > .Fselectbtn {
  background-color: #f9f9f9;
  /* background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #aaaaaa), color-stop(0.5, white));
  background-image: -webkit-linear-gradient(center bottom, #aaaaaa 0%, white 50%);
  background-image: -moz-linear-gradient(center bottom, #aaaaaa 0%, white 50%);
  background-image: -o-linear-gradient(top, #aaaaaa 0%,#ffffff 50%);
  background-image: -ms-linear-gradient(top, #aaaaaa 0%,#ffffff 50%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#ffffff',GradientType=0 );
  background-image: linear-gradient(top, #aaaaaa 0%,#ffffff 50%); */
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius   : 0 3px 3px 0;
  border-radius        : 0 3px 3px 0;
  overflow-y: hidden;
  overflow-x: hidden;
  white-space: nowrap;
  position: relative;
  height: 37px;
  font-size: 23px;
  margin-left: 24px;
  width: 104%;
  max-width: 450px;
  padding: 3px 2px 0 9px;
  color: rgba(0,0,0,.7);
  text-decoration: none;
  cursor: pointer;
  /*  -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.15), inset 0 3px 4px rgba(0,0,0,.15);
  -moz-box-shadow   : 0 1px 1px rgba(0,0,0,.15), inset 0 3px 4px rgba(0,0,0,.15);
  -o-box-shadow     : 0 1px 1px rgba(0,0,0,.15), inset 0 3px 4px rgba(0,0,0,.15);
  box-shadow        : 0 1px 1px rgba(0,0,0,.15), inset 0 3px 4px rgba(0,0,0,.15);*/
}

.font-select > .Fselectbtn span {
  display: table-row;
  white-space: nowrap;
  line-height: 1.3;
  -o-text-overflow: ellipsis;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
  cursor: pointer;
  margin-right: 12px;
}

.font-select > .Fselectbtn div {
  -webkit-border-radius: 0 4px 4px 0;
  -moz-border-radius   : 0 4px 4px 0;
  border-radius        : 0 4px 4px 0;
  -moz-background-clip   : padding;
  -webkit-background-clip: padding-box;
  background-clip        : padding-box;
  background: #f9f9f9;
  /* background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #aaa), color-stop(0.6, #eee));
  background-image: -webkit-linear-gradient(center bottom, #aaa 0%, #eee 60%);
  background-image: -moz-linear-gradient(center bottom, #aaa 0%, #eee 60%);
  background-image: -o-linear-gradient(bottom, #aaa 0%, #eee 60%);
  background-image: -ms-linear-gradient(top, #aaaaaa 0%,#eeeeee 60%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2ccc', endColorstr='#eeeeee',GradientType=0 );
  background-image: linear-gradient(top, #aaaaaa 0%,#eeeeee 60%);  */
  /*border-left: 1px solid #aaa;*/
  position: absolute;
  right: 0;
  top: 0;
  padding-top: 3px;
  display: block;
  height: 100%;
  width: 18px;
}

.font-select > .Fselectbtn div b {
  background: url('fs-sprite.png') no-repeat 0 1px;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  /* border-left: 1px solid #aaa; */
}

.font-select .fs-drop {
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius   : 0 0 4px 4px;
  border-radius        : 0 0 4px 4px;
  -moz-background-clip   : padding;
  -webkit-background-clip: padding-box;
  background-clip        : padding-box;
}

.font-select .fs-results {
  height: 275px;
  width: 370px;
  padding: 0 0 0 0px;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}
/* FONT LIST RESULTS */
.font-select .fs-results li {
  line-height: .6em;
  padding: 11px 4px 6px 10px;
  margin: 0;
  list-style: none;
  font-size: 24px;
}

.font-select .fs-results li.active {
  background: #316ac5;
  color: #fff;
  cursor: pointer;
  -webkit-user-select: none; /* Chrome, Opera, Safari */
  -moz-user-select: none; /* Firefox 2+ */
  -ms-user-select: none; /* IE 10+ */
  user-select: none; /* Standard syntax */
}
.font-select .fs-results li em {
  background: #feffde;
  font-style: normal;
}

.font-select .fs-results li.active em {
  background: transparent;
}

.fa-heart-o, .fa-heart{
 float: right;
 font-size: 18px;
 margin: -12px 5px 0 0;
}

.fa-heart{
  color:firebrick;
}

.font-select-active > .Fselectbtn {
  -webkit-box-shadow: 0 0 5px rgba(0,0,0,.3);
  -moz-box-shadow   : 0 0 5px rgba(0,0,0,.3);
  -o-box-shadow     : 0 0 5px rgba(0,0,0,.3);
  box-shadow        : 0 0 5px rgba(0,0,0,.3);
  border: 1px solid #ffffff;
}

.font-select-active > .Fselectbtn {
  border: 0px solid #fff;
  -webkit-box-shadow: 0 1px 0 #fff inset;
  -moz-box-shadow   : 0 1px 0 #fff inset;
  -o-box-shadow     : 0 1px 0 #fff inset;
  box-shadow        : 0 1px 0 #fff inset;
  background-color: #eee;
  background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, white), color-stop(0.5, #eeeeee));
  background-image: -webkit-linear-gradient(center bottom, white 0%, #eeeeee 50%);
  background-image: -moz-linear-gradient(center bottom, white 0%, #eeeeee 50%);
  background-image: -o-linear-gradient(bottom, white 0%, #eeeeee 50%);
  background-image: -ms-linear-gradient(top, #ffffff 0%,#eeeeee 50%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eeeeee',GradientType=0 );
  background-image: linear-gradient(top, #ffffff 0%,#eeeeee 50%);
  -webkit-border-bottom-left-radius : 0;
  -webkit-border-bottom-right-radius: 0;
  -moz-border-radius-bottomleft : 0;
  -moz-border-radius-bottomright: 0;
  border-bottom-left-radius : 0;
  border-bottom-right-radius: 0;
}

.font-select-active > .Fselectbtn div {
  background: transparent;
  border-left: none;
}

.font-select-active > .Fselectbtn div b {
  background-position: -18px 1px;
}

.fs-filter {
  color:#161616;
  font-size: 10px;
  border-radius: 3px;
  background-color: #f2f2f2;
  border: 2px solid #161616;
  display: inline-block;
  margin-right: 4px;
}

/* Adjust form for smaller screens */
@media screen and (max-width: 961px) {

.font-select > .Fselectbtn span {
  padding-right: 32px !important;
  }
  
}

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

  .font-select .fs-drop {
    left: -3px;
  }
  
  .font-select > .Fselectbtn {
    margin-left: 20px;
  }
  .font-select {
    margin-left: -5px;
  }

  .font-select > a {
    height: 41px;
  }

  .font-select .fs-results {
    width: 310px;
    height: 245px;
    margin: none;
  }

  .font-select .fs-results li {
    line-height: .62em;
    font-size: 24px;
    padding: 10px 4px 6px 9px;
  }

  .filter{
    width: 15.65%;
  }

.fontUpload, #fontUpload2{
  left: -6px;
}


}

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

  .font-select .fs-results {
    width: 290px;
  }


}


/* © Type on Point 2017 - All Rights Reserved */