* {
    margin: 0;
    padding: 0;
}
body {
    font-family: Trebuchet MS;
}

/* body, html{
	height: 100%;
} */

body div#site-bg{
	background-image: url("../images/bg.jpg");
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: -111111111;
}

.hidden{
	visibility: hidden;
	display: none;
}

/* a {
    color: rgb(173, 231, 13);
} */
/* a:hover, a:active, a:visited {
    text-decoration: none;
} */

#main {
    min-width: 320px;
	max-width: 780px;
    margin: 0 auto;
    margin-top: 50px;
    padding: 10px;
    border: 1px solid #CCC;
    background-color: #EEE;
}
form fieldset { border: 0; margin-top:2px;}
form fieldset p br { clear: left; }
label.labels {
    margin-top: 5px;
    display: inline-block;
    width: 200px;
    padding: 0;
	font-size: larger;
    /*float: left;*/
}
input.site {
    font-family: Trebuchet MS;
    border: 1px solid #CCC;
    margin-bottom: 5px;
    background-color: #FFF;
    padding: 2px;
}
input:hover {
    border: 1px solid #222;
    background-color: #EEE;
}

table {
    border-collapse: collapse;
    width: 100%;
}
  
td, th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}
  
tr:nth-child(even) {
    background-color: #dddddd;
}

input#songtitle {
    margin-bottom: 12px;
    width: -moz-available;
	width: -webkit-fill-available;
    padding: .4em;
}

#sw-wraper {
	width: 100%;
	height:100%;
}

textarea#songwords {
    width: 100%;
    height: 100%;
	resize: none;
}

#mssernum, #dssernum {
    display: flex;
}

#dssernum #dssearch, #dssernum #ds_search_num, #dssernum h3, #mssernum #mssearch, #mssernum #ms_search_num, #mssernum h3 {
    margin: 0 10px 0 0;
}

button.msedit, button.del, button.dsedit {
	width: 50%;
}

table tr td:nth-child(4){
	width: 100px;
}

table tr td:nth-child(3){
	text-align: center;
}

fieldset.predefgroup:hover {
	border: 1px solid #222;
    background-color: rgb(30, 157, 161);
}

.passwords_match {
	background-color: rgba(34,139,34,0.5);
}

.error {
	background-color: rgba(255,0,0,0.5);
}

.predefgroup input.fnme {
	width: 44%;
	/* height: 24px; */
	margin: 0;
}

.lastclicked {
	background-color: rgba(129, 129, 102, 0.342);
}

.predefgroup button {
	width: 5%;
	background-color: red;
	color: azure;
	
}

.handle{
	display: inline-block;
	text-align: center;
	cursor: grab;
}

form#addpredef {
	width: 100%;
}

button#add, input#addlt {
	width: 45%;
	margin: 12px 1px 12px 1px;
	padding: 12px 0 12px 0;
}

#logolist {
	width: 100%;
	text-align: center;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 12px;
	margin-top: 20px;
}

#login, #cancel, #register, #forgotpw, #resetpw, #confirm {
	font-size: larger;
	padding: 0.25em;
	width: 30%;
	margin: 20px 0 20px 0;
}

input[type="text"], input[type="password"], input[type="email"] {
    font-size: 20px;
	margin:5px;
}

.logo {
	width: 224px;
}

.logoitem {
	border-color: crimson;
	border-style: ridge;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.logoitem div {
	position: absolute;
	top: 0;
	right: 0;
	display: none;
	background-color: rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	cursor: pointer;
	width: 35px;
	height: 35px;
	text-align: center;
	font-size: 30px;
	z-index: 2;
}

#reloadbut {
	position: fixed;
	bottom: 0;
	left: 0;
}

#cpanel-logout {
	position: fixed;
	bottom: 0;
	right: 0;
}

.currentlogo {
	border-color: green;
}


  /* POUP DIALOG */
.ui-dialog .ui-state-error { padding: .3em; }
.validateTips { border: 1px solid transparent; padding: 0.3em; }
#dialog-form fieldset { height: 85%; width: 100%;}
#dialog-form label { font-style: oblique; font-weight: 900; }
#dialog-form.ui-dialog-content.ui-widget-content { min-height: 183px; }

/* .ui-state-highlight { height: 2em; line-height: 1.2em; } */
/* .ui-state-highlight{ background-color: burlywood; } */



/* MODAL FOR BIBLE TEXT IN QUEUE */
#acceptedformats{
	display: flex;
	/* align-items: stretch; */
	justify-content: space-between;
  	/* width: 100%; */
  	background: #cacaca;
  	/* margin: 0;
  	padding: 0; */
}

#queuebible fieldset{
	text-align: center;
}

#acceptedformats li{
	list-style: none;
}

#queuebibletext{
	width: 100%;
}



  /* NAV */
nav#navigation{
	position: relative;
	height: 50px;
	background-color: #3c3c3c;
	z-index: 2;
}
.nav-logo, .nav-logo img {
	position: relative;
	float: right;
	height: 50px;
	line-height: 50px;
	padding: 0 20px;
	background-color: #11999e;
	color: #ffffff;
	font-weight: 700;
	text-transform: uppercase;
}
.nav-logo img {
	position: relative;
	transition: .5s ease;
	backface-visibility: hidden;
  }
.nav-logo:hover img{
	opacity: 0.3;
}
.nav-logo:hover #overlay{
	opacity: 1;
}
#overlay {
	line-height: normal;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transition: .5s ease;
	opacity: 0;
	text-transform: none;
	text-align: center;
  }
  #overlaytext {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
  }
  #overlaytext a{
	  text-decoration: none;
	  color: inherit;
	  cursor: default;
  }

ul.nav-menu, ul.nav-menu li, ul.nav-menu li a{
	float: left;
}
ul.nav-menu{
	padding-right: 10px;
}
ul.nav-menu li a{
	height: 50px;
	line-height: 50px;
	padding: 0 10px;
	color: #ffffff;
	text-decoration: none;
	-webkit-transition-duration:  0.3s;
	-o-transition-duration:  0.3s;
	transition-duration:  0.3s;
}
ul.nav-menu li a:hover{
	color: #6decb9;
}
ul.nav-menu li:hover {
  background-color: #4e0606;
}

ul.nav-menu li {
	list-style: none;
}

ul.nav-menu li.active {
	background-color: #810808;
	color: #4da783;
}

#account-menu {
	cursor: pointer;
}

/* #account-menu .submenu {
	display: none;
} */

/* #account-menu .submenu:hover {
	display: block;
} */


ul.nav-menu li ul {
    display: none;
    position: absolute;
}

/* ul.nav-menu li:hover>ul {
    display: block;
} */

ul li ul li {
	background-color: #3c3c3c;
	clear: both;
	width: 100%;
  }



/* .rotate-180deg {
	animation: fa-spin-90 0.5s linear;
    transform:rotate(180deg);
    -webkit-transform:rotate(180deg);
}
@-webkit-keyframes fa-spin-90{
  0%{ -webkit-transform:rotate(0deg); transform:rotate(0deg)}
  100%{ -webkit-transform:rotate(180deg); transform:rotate(180deg)}
}
@keyframes fa-spin-90{
	0%{ -webkit-transform:rotate(0deg); transform:rotate(0deg)}
  100%{ -webkit-transform:rotate(180deg); transform:rotate(180deg)}
} */

.nav-toggle{
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 50px;
	height: 50px;
	background-color: #11999e;
	cursor: pointer;
}
span.icon-bar{
	position: absolute;
	right: 12px;
	display: block;
	width: 26px;
	height: 2px;
	background-color: #ffffff;
	-webkit-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	transition-duration: 0.3s;
}
.icon-bar:nth-child(1){
  top: 17px;
}
.icon-bar:nth-child(2){
  top: 24px;
}
.icon-bar:nth-child(3){
  top: 31px;
}
.nav-overlay{
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0,0,0,0.5);
	z-index: 1;
	opacity: 0;
	visibility: hidden;
	-webkit-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
	transition-duration: 0.3s;
}
.nav-overlay.active{
	opacity: 1;
	visibility: visible;
}

.logoitem span#logoname{
	position: absolute;
	top: 0;
	background-color: #11999e;
	z-index: 1;
}

/* ICON BARS ANIMATION */
.nav-toggle.active .icon-bar:nth-child(1){
	top: 24px;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	transform: rotate(45deg);
}
.nav-toggle.active .icon-bar:nth-child(2){
	width: 0;
}
.nav-toggle.active .icon-bar:nth-child(3){
	top: 24px;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

/*QUEUE PAGE*/
.handle.q {
	width: 5%;
}

.qcell{
	width: 47%;
	word-wrap: anywhere;
	word-break: break-word;
	cursor: default;
}

.qrow {
	display: flex;
}

.qrow:hover{
	background-color: #4da783;
}

#qbuttons {
	text-align: center;
}

#qbuttons button{
	font-size: larger;
  	padding: 12px;
	width: 30%;
}

#clearlist{
	margin-right: 5%;
}

#remove{
	margin-left: 5%;
}

.removefromq{
	color: #ffffff !important;
	background-color: #4e0606 !important;
}

/* MEDIAQUERIES */
@media screen and (max-width: 767px){
	nav#navigation.active{
		position: fixed;
		width: 95%;
	}

	ul.nav-menu{
		position: absolute;
		top: 50px;
		width: 100%;
		height: 0;
		padding: 0;
		/* overflow: hidden; */
		display: none;
	}
	ul.nav-menu.active{
		height: auto;
	}
	ul.nav-menu li{
		width: 100%;
		display: inline-block;
	}
	ul.nav-menu li a{
		width: 100%;
		padding: 0;
		text-align: center;
		background-color: #2c2c2c;
	}
	ul.nav-menu li ul {
		width: 100%;
	}

	.nav-toggle{
		display: block;
	}

	.nav-toggle.active{
		background-color: #11999e;
	}

	button.msedit, button.del, button.dsedit {
		width: 100%;
	}

	button.msedit, button.del, button.dsedit, button.delpredef, .handle {
		padding-top: 6px;
		padding-bottom: 6px;
	}

	button.delpredef, input.progcb, .handle {
		width: 32%;
	}

	button.delpredef {
		margin: 0 0 0 2%;
	}

	fieldset.predefgroup{
		padding-top: 10px;
	}

	fieldset.predefgroup:nth-child(odd){
		background-color: bisque;
	}

	input.progcb {
		float: inline-end;
		height: 20px;
		margin: 6px 2% 6px 0;
	}

	.predefgroup input.fnme {
		width: 96%;
    	height: 30px;
    	margin: 0 2% 0 2%;
	}

	table tr td:nth-child(3){
		width: 75px;
	}

	#logolist {
		grid-template-columns: auto;
	}

	#dialog-form fieldset {
		height: 80%;
		width: 100%;
	}

}
@media screen and (min-width: 768px){
	.nav-overlay.active{
		visibility: hidden;
		opacity: 0;
	}
}