*{
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 300;
}

body {
	color: #293540;
}

.navbar-brand img{
	width: 40px;
	margin-right: 10px;	
}

.navbar-fixed-top{
	background-color: #eee;
	border: 1px solid #e7e7e7;
	border-width: 0 0 1px;
}

.navbar-fixed-top p{
	margin: 0 0 0 50px;
}

a, a:hover{
	color: black;	
}

h2{
	font-weight: 600;
	margin: 0;
}

h3{
	font-weight: 300;
}

.navbar-brand span{
	position: relative;
	top: 3px;
}

.form-control:focus {
	z-index: 2;
	border-color: #e94b35;
	box-shadow: 0 0 10px #e94b35;
}

a.btn, .badge, .btn{
	background-color: #e94b35;
	color: #fff;	
}

.btn{
	border: 1px solid #da4632;
}

.btn.active{
	background-color: #c8412f;
	box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
	-webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}

.nav-pills .nav-link.active{
	background-color: #e94b35;
}

.btn input{
	display: none;
}

.btn:hover{
	background-color: #da4632;
}

.btn-yellow{
	background-color: #e9a735;
	border-color: #e59c1d;
}

.btn-yellow:hover{
	background-color: #e59c1d;
}

.btn-orange{
	background-color: #e97935;
	border-color: #db7232;
}

.btn-orange:hover{
	background-color: #db7232;
}

.badge{
	float: left;
	margin-right: 10px;
}

#footer{
	height: 100px;
}

#home-container{
    margin-top: 20px;
}

#home-container .home-section{
    float: left;
    margin: 0 10px;
}

#home-container .home-section a img{
   margin: 0 auto;
   width: 100%;
}

#home-container .home-section a{
    text-align: center;
}

.muh_tale, .muh_vrtarget_thumbnail, .qh_book, .qh_vrtarget_thumbnail {
	position: relative;
	float: left;
	width: 150px;
	height: 210px;
	margin: 0 20px 5px 0;
}

.muh_tale p, .qh_book p{
	margin: 5px 0 5px 0;
	line-height: 18px;
}

.muh_tale .muh_tale_cover{
	width: 150px;
	height: 142px;
}

.qh_book .qh_tale_cover{
    width: 150px;
	height: 117px;
}

.tale_published a, .tale_published p{
	opacity: 0.5;
}

.tale_published h4{
	position: absolute;
	top: 56px;
	z-index: 99;
	color: #fff;
	text-align: center;
	width: 150px;
	text-shadow: 0px 2px 4px #404040;
	font-weight: 800;
	pointer-events: none;
}

form label{
	margin: 15px 0 5px 0;
}

.form-text{
	position: relative;
	top:-10px;
	font-style: italic;
}


.btn-group label, .form-check label{
	margin: 0;
}

#muh_tale_page_list, #qh_tale_page_list{
	margin: 30px 0;
}

.muh_tale_page, .qh_chapter_page{
	max-width: 195px;
	float: left;
	box-sizing: border-box;
	padding: 10px 20px 10px 0;
}

.muh_tale_page h5, .qh_chapter_page h5, .qh_chapter_page_confirm h5{
	font-weight: 300;
	font-size: 18px;
}

.qh_chapter_page_confirm{
    display: table;
    margin-bottom: 5px;
}

.qh_chapter_page_confirm .qh_chapter_page_thumbnail{
	width: 175px;
	height: 98px;
}

.qh_chapter_page_confirm .chapter_thumb{
    float: left;
    height: 104px;
    display: table-row;
}

.qh_chapter_page_confirm .chapter_title{
    float: left;
    width: 275px;
    height: 104px;
    display: table-row;
    padding-left: 10px;
}

.muh_tale_page .muh_tale_page_thumbnail, .qh_chapter_page .qh_chapter_page_thumbnail{
	margin-bottom: 5px;
	width: 175px;
	height: 104px;
}

.qh_chapter_page .qh_chapter_page_thumbnail{
   height: 98px;
}

.muh_tale_page .btn, .qh_chapter_page .btn{
	font-size: 10px;
	position: relative;
	width: 100%;
	float: left;
	margin: 2px 0;
	background-color: #f6f6f6;
	border-color: #efefee;
	color: grey;
}
.muh_tale_page .btn-group, .qh_chapter_page .btn-group{
	width: 100%;
}

#muh_tale_form .filepath, #qh_tale_form .filepath{
	text-decoration: underline;
	font-size: 14px;
	color: grey;
} 

#muh_sentence_form .muh_sentence_label, #qh_chapter_form .qh_chapter_label
{
	font-size: 20px;
}

#muh_sentence_form .muh_tale_page_thumbnail, #qh_chapter_form .qh_chapter_page_thumbnail{
	display: block;
	width: 250px;
	height: 153px;
	margin: 10px 0;
}

#qh_chapter_form .qh_chapter_page_thumbnail{
    width: 250px;
    height: 141px;
}

#muh_sentence_form #tale_audiosync_form{
	
	border: 1px solid #ced4da;
}

#muh_sentence_form #tale_audiosync_form .row, #qh_chapter_form #book_audiosync_form .row{
	padding: 18px 10px;
}

#muh_sentence_form #tale_audiosync_form .row div, #qh_chapter_form #book_audiosync_form .row div{
	padding: 0 6px;
}

#muh_sentence_form #tale_audiosync_form p, #qh_chapter_form #book_audiosync_form p{
	margin-bottom: 2px;
}

#muh_sentence_form #tale_audiosync_form .btn, #qh_chapter_form #book_audiosync_form .btn{
	background-color: #f6f6f6;
	border-color: #efefee;
	color: grey;
}

#muh_sentence_form #tale_audiosync_list {
	padding: 0;
}
#muh_sentence_form #tale_audiosync_list li{
	list-style: none;
	margin-bottom: 10px;
}

#muh_sentence_form #tale_audiosync_list span{
	margin-left: 20px;
}

#muh_vrtarget_form label, #qh_vrtarget_form label{
    font-weight: 600;
}

#muh_vrtarget_form img, #qh_vrtarget_form img{
    max-width: 300px;
}

#muh_vrtarget_form ul, #qh_vrtarget_form ul{
    padding: 0;
}

#muh_vrtarget_form ul li label, #qh_vrtarget_form ul li label{
    font-weight: 200;
}

#muh_vrtarget_form ul li, #qh_vrtarget_form ul li{
    list-style: none;
}

#muh_vrtarget_form ul li input, #qh_vrtarget_form ul li input{
    margin-right: 10px;
}








.loading {
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Transparent Overlay */
.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.3);
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 1500ms infinite linear;
  -moz-animation: spinner 1500ms infinite linear;
  -ms-animation: spinner 1500ms infinite linear;
  -o-animation: spinner 1500ms infinite linear;
  animation: spinner 1500ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}