/********************
*** GENERAL ***
*********************/


body {
	background: #fff;
	color: #1a1a1a;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
	font-weight: 300;
}

ul, ul li { margin: 0; }

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
}
a, a:hover {
	text-decoration: none;
}

a:focus {
	outline: none;
}

.btn:active,.btn.active {
	-webkit-box-shadow: none;
    box-shadow: none;
}


/********************
*** Top bar ***
*********************/

#top-bar {
	background: #1a1a1a;
	color: #fff;
	border-bottom: 1px solid #2b2b2b;
}

#top-bar .download {
	font-size: 13px;
	margin-top: 8px;
	padding: 9px 20px;
}

/********************
*** Showcase ***
*********************/

#hero_box {
	color: #a0a0a0;
	padding: 20px 0px;
	background: #f6f6f6;
	text-align: center;
	font-size: 18px;
	line-height: 32px;
	text-align: center;
}

#hero_box h1 {
	color: #1a1a1a;
}

/********************
*** Font options ***
*********************/

.font_options {
	color: #a0a0a0;
	background: #f6f6f6;
	border:0;
	border-top: 1px solid #eaeaea;
	border-bottom: 1px solid #eaeaea;
	margin-bottom: 0px;
	border-radius: 0px;
}

#nav.affix {
	z-index: 1000;
	background: rgba(247,247,247,0.8);
    position: fixed;
    top: 0;
    width: 100%
}

.navbar-header, .navbar-nav{	
	line-height: 50px;
}

.navbar-default .navbar-toggle {
	border: none;
}

.navbar-toggle {
	height: 48px;
	padding: 0px;
	margin: 2px 0px 0px 0px;
	font-size: 30px;
	color: #787878;
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
	background: none;
	outline: none;
}

.navbar-nav>li {
	position: relative;
	padding: 0px 20px;
	border-left: 1px solid #eaeaea;
}

.navbar-nav>li.size_select {
	padding: 0px;
	border-right: 1px solid #eaeaea;
}

.navbar-nav>li.code_select {
	padding: 0px;
}

.navbar-header {
	padding-right: 20px;
}

.navbar-collapse {
	position: relative;
}


/********************
*** Icon font details ***
*********************/

#content {
	padding-top: 20px;
	background: #fff;
}

.font-icon-list {
	padding: 30px 0px;
}

.font-icon-detail {
	text-align: center;
}

.font-icon-detail span:first-child {
	display: inline;
  	transition: padding 100ms linear, font-size 250ms linear;
	padding: 10px;
	font-size: 48px;
	color: #1a1a1a;
	border: 1px solid #eaeaea;
	border-radius: 3px;
}

.font-icon-name {
	color: #a0a0a0;
	font-size: 13px;
	margin-top: 25px;
	display: block;
}

.font-icon-code {
	display: none;
	text-align: center;
}

.code-value {
	background: none;
	text-align: center;
	border:none;
	color: #a0a0a0;
}

.font-icon-list:hover  {
	cursor: pointer;
	padding: 30px 0px 25px 0px;
}

.font-icon-list:hover .font-icon-detail span:first-child {
	color: #fff;
	background: #1a1a1a;
	border:none;
	padding: 15px;
}

.font-icon-list:hover .font-icon-name, .font-icon-list:hover .code-value {
	cursor: text;
	color: #1a1a1a;
}

.font-icon-list:hover .font-icon-name {
	margin-top: 30px;
}

.img-bd {border:1px solid #eee;border-bottom:3px solid #eee;margin-bottom:20px;max-width:100%;}

/********************
*** Documentation box ***
*********************/

#docs_box {
	background: #fff;
	padding: 0px 0px 20px 0px;
	text-align: left;
	border-top: 1px solid #eaeaea;
}

/********************
*** Footer ***
*********************/

.main-footer {
	color: #a0a0a0;
	font-size: 13px;
	text-align: center;
	padding: 30px 0px;
	background: #1a1a1a;
}


/********************
*** Checkbox ***
*********************/

.checkbox + label {
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
  position: relative;
  display: inline-block;
  margin: 0px;
  padding: 0px 40px 0px 20px; 
  font-weight: normal;
  cursor: pointer;
}

.checkbox + label:before {
  content: '';
  position: absolute;
  right: 14px;
  top: 18px;
  width: 15px;
  height: 15px;
  border-radius: 2px;
  background: #fff;
  text-align: center;
  line-height: 14px;
  border: 1px solid #dcdcdc;
  color: #1a1a1a;
}

.checkbox:checked + label:before {
  content: '✓';
}

.checkbox, .radio {
display: none;
}


/*********************
*** Switch  ***
**********************/
.sw {
  display: none;
}

.switch {
  position: relative;
  display: inline-block;
  vertical-align: text-bottom;
  cursor: pointer;
  border-radius: 24px;
  transition: background 250ms 100ms;
  background-color: #c7c7c7;
  width: 50px;
  height: 28px;
  line-height: 50px;
  margin: 10px 0px 0px 0px;
}

.switch:after {
  position: absolute;
  content: '';
  width: 24px;
  height: 24px;
  top: 2px;
  left: 2px;
  border-radius: 50%;
  transition: 150ms linear;
  background-color: white;
}

input:checked + .switch {
  background: #000000;
}

input:checked + .switch:after {
  left: 24px;
}

.bg_circle:before, .bg_circle:after {
  position: absolute;
  content: '';
  width: 10px;
  height: 10px;
  top: 50%;
  margin-top: -5px;
  border-radius: 50%;
}

.bg_circle:before {
  box-shadow: inset 0 0 0 1px #a0a0a0;
  left: -22px;
}

.bg_circle:after {
  background: #9f9f9f;
  right: -22px;
}

input:checked + .switch .bg_circle:before {
  box-shadow: inset 0 0 0 1px #787878;
}

/********************
*** Dark style ***
*********************/

body.dark {
	background: #1a1a1a;
}

.dark .font_options {
	background: #171717;
	border-top: 1px solid #282828;
	border-bottom: 1px solid #282828;
}

.dark .navbar-nav>li {
	border-left: 1px solid #282828;
}

.dark .navbar-nav>li.size_select {
	border-right: 1px solid #282828;
}

.dark #nav.affix {
	background: rgba(23,23,23,0.8);
}

.dark #content {
	background: #1a1a1a;
}

.dark strong {
	color: #fff;
}

.dark .checkbox + label:before {
  background: #323232;
  border: 1px solid #000;
  color: #a0a0a0;
}

.dark .font-icon-detail span:first-child {
	border: 1px solid #2b2b2b;
	color: #fff;
}

.dark .font-icon-list, .dark .code-value {
	color: #a0a0a0;
}

.dark .font-icon-list:hover .font-icon-detail span:first-child {
	color: #1a1a1a;
	background: #fff;
}

.dark .font-icon-list:hover .font-icon-name, .dark  .font-icon-list:hover .code-value {
	color: #fff;
}

/********************
*** Misc ***
*********************/

.green {
	color: #94c815;
}

.yellow {
	color: #fcf8e3;
}

.blue {
	color: #bce8f1;
}

.red {
	color: #a94442;
}

strong {
	color: #1a1a1a;
}

.italic {
	font-style: italic;
}


/*******************************
*** RESPONSIVE Media Queries ***
********************************/


@media (max-width: 767px) {

	.navbar-collapse.in  {
		overflow: visible;
	}

	.navbar-collapse.in, .navbar-collapse.collapsing  {
		box-shadow: inset 0 1px 0 #eaeaea;
	}

	.bootstrap-select.btn-group .dropdown-menu {
		position: absolute;
	}
		
	.navbar-header {
		padding: 0px 20px;
	}

	.bg-switch {
		position: absolute;
		top: 10px;
		right: 40px;
	}

	.navbar-nav>li.size_select, .dark .navbar-nav>li.size_select {
		border: none;
		position: absolute;
		top: 58px;
		right: 5px;
	}

	.navbar-nav>li, .dark .navbar-nav>li {
		border:none;
	}

	.bootstrap-select.open {
		border: 1px solid #eaeaea;
		border-bottom: none;
	}

	.bootstrap-select.btn-group .dropdown-menu {
		min-width: 133px;
	}

	.bootstrap-select > .btn {
		padding: 0px 30px 0px 0px;
	}

	/* Dark style*/

	.dark .navbar-collapse.in, .dark .navbar-collapse.collapsing {
		box-shadow: inset 0 1px 0 #282828;
	}

	.dark  .navbar-toggle {
	color: #fff;
	}

	.dark .bootstrap-select.btn-group .dropdown-menu {
	min-width: 134px;
	margin-left: -1px;
	}

	.dark .btn-group.open .dropdown-toggle, .dark .btn-group.open .dropdown-toggle:focus {
		border: none;
	}

}

@media (max-width: 480px) {
	
	#showcase h1 {
		font-size: 56px;
	}

	#showcase h2 {
		font-size: 20px;
	}

}