/*
 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
*/

.font-select {
  font-size: 15px;
  width: 134px;
  position: absolute;
  top: 100px !important;
  left: 20px !important;
  display: inline-block;
  zoom: 1;
  /*display: inline;*/
}
		
.select-heading {
	top: 100px !important;
	left: 170px !important;
	width: 150px
}

.select-heading .fs-drop {
	width: 150px !important;
}

.mobile-menu .inner .font-select {
  display: none;
}

.font-select .fs-drop {
  background: #fff;
  border: 1px solid #aaa;
  border-top: 0;
  position: absolute;
  top: 29px;
  left: 0;
  -webkit-box-shadow: 0 4px 5px rgba(0,0,0,.15);
  -moz-box-shadow   : 0 4px 5px rgba(0,0,0,.15);
  -o-box-shadow     : 0 4px 5px rgba(0,0,0,.15);
  box-shadow        : 0 4px 5px rgba(0,0,0,.15);
  z-index: 999;
  width: 134px;
}

.font-select > a {
  background-color: #fff;
  -webkit-border-radius: 4px;
  -moz-border-radius   : 4px;
  border-radius        : 4px;
  -moz-background-clip   : padding;
  -webkit-background-clip: padding-box;
  background-clip        : padding-box;
  border: 1px solid #ccc;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 34px;
  line-height: 34px;
  padding: 0 0 0 8px;
  color: #444;
  text-decoration: none;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
}

.font-select > a span {
  margin-right: 26px;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  line-height: 2;
  -o-text-overflow: ellipsis;
  -ms-text-overflow: ellipsis;
  text-overflow: ellipsis;
  cursor: pointer;
}

.font-select > a 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;
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  height: 100%;
  width: 14px;
}

.font-select > a div b {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
  font-size: 0.6em;
  color: #555;
}

.font-select > a div b:after {
  content: "\25bc";
}

.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;
  border: 1px solid #ccc;
  top: 34px;
  -webkit-box-shadow: 0 6px 12px rgba(0,0,0,0.175);
  box-shadow: 0 6px 12px rgba(0,0,0,0.175);
}

.font-select .fs-results {
  margin: 0 4px 4px 0;
  max-height: 210px;
  width: 100%;
  padding: 0;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

.font-select .fs-results li {
  line-height: 80%;
  padding: 7px 7px 8px;
  margin: 0;
  list-style: none;
  font-size: 15px;
}

.font-select .fs-results li.active {
  background-color: #428bca;
  color: #fff;
  cursor: pointer;
}
.font-select .fs-results li em {
  background: #feffde;
  font-style: normal;
}

.font-select .fs-results li.active em {
  background: transparent;
}

.font-select-active > a {
  -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 #5897fb;
}

.font-select-active > a {
  border: 1px solid #ccc;
  -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;
  -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 > a div {
  background: transparent;
  border-left: none;
}

.font-select-active > a div b:after {
  content: "\25b2";
}

@media screen and (max-width: 1720px) {
  #font, .font-select {
    left: 225px;
  }
}

@media screen and (max-width:1024px) {
  #font {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .mobile-menu .inner .font-select {
    display: inline-block;
  }
  .font-select {
    /*display: none;*/
    left: 0;
    font-size: 14px;
    width: 118px;
    position: absolute;
    top: 65px !important;
    zoom: 1;
    left: 17px !important;
  }

  .select-heading {
    left: 144px !important;
    width: 150px
  }

  .font-select .fs-drop{
	width: 118px;
  }
	
  #mobileFont {
    font-size: 15px;
    width: 100px;
    position: absolute;
    top: 10px;
    display: inline-block;
    zoom: 1;
    left: 144px !important;
    /*display: inline;*/
  }

  .font-select > a {
    padding: 2px 0 0 8px;
    height: 35px;
  }
  .font-select > a span {
    margin-right: 17px;
  }

  .font-select .fs-results li {
    padding: 7px 3px 8px;
    font-size: 14px;
  }
}