body {
	margin: 0px;
	padding: 0px;
	background-color: rgb(0, 0, 0);
	font-family: Open Sans,Arial,sans-serif;
	-webkit-tap-highlight-color: rgba(0,0,0,0.0);
	outline: none;
}

textarea {
  outline: none;
}


.backdrop {
	
	position: fixed;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	z-index: -1;
	
	background-color: #000;
	background: url(../img/backdrop.jpg);
	background-repeat: no-repeat;
/*	background-size: 1000px; */
	background-position: top center;
	
}


.app {
	min-width: 280px;
	position: relative;
	transition: all 0.25s ease;	
	left: 0px;

	overflow: hidden;

}

.online {
	color: #0d0;
}
.offline {
	color: #444;
}



.header-container {
/*	background-color: rgba(0,0,0,0.45); */
}

.main-container {
/*	background-color: rgba(0,0,0,0.45); */
}

.footer-container {
/*	background-color: rgba(0,0,0,0.45); */
  color: #ccc;
  font-size: 12px;
  text-align: center;
}
.footer-container a {
  color: #ccc;
  text-decoration: none;
}



/*****************************************************
 navbars
*****************************************************/

.navbar {
	display: inline-block;
	position: absolute;
	height: 36px;
	background: linear-gradient(180deg,#eee 0,#555);
	border-radius: 8px;
	padding-inline-end: 10px;
	padding-inline-start: 10px;
	border: solid 1px #444;
}

.navbar li {
	font-weight: normal;
	color: #333;
	font-size: 16px;
	display: inline-block;
	border-left: solid 1px #333;
	line-height: 36px;
	padding-right: 20px;
	padding-left: 20px;
}

.navbar li a {
  text-decoration: none;
  color: #333;
  
}

.navbar li:hover {
	background-color: rgba(255,100,100,0.5);
}

.navbar > li:first-child {
	border-left: none;
}

.navbar1 {
	position: absolute;
	left: 160px;
	top: 70px;
}

.navbar2 {
	position: absolute;
	left: 500px;
	top: 140px;
}


/*****************************************************
 menus
*****************************************************/
.leftmenu {
	position: fixed;
	top: 0px;
	left: -240px;
	transition: all 0.25s ease;	
	width: 240px;
	height: 100vh;
	z-index: 1000;
}


.leftmenu-active {
	left: 0px;
}
.leftmenu-active-app {
	left: 240px;
}

.leftmenu-container {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 240px;
	height: 100vh;
	
	box-sizing: border-box;
	
	background: linear-gradient(180deg,#eee 0,#555);

	color: #000000;
	overflow-x: hidden;
	overflow-y: auto;
	display: inline-block;
	border-left: none;
	padding-top: 40px;

}


.leftmenu-divider {
	width: 100%;
	color: #fff;
	padding-left: 8px;
	padding-top: 1px;
	padding-bottom: 0px;
	display: block;
	background-color: #ccc;
	max-height: 1px;
}

.leftmenu-item {
	width: 100%;
	color: #000;
	padding-left: 8px;
	padding-top: 12px;
	padding-bottom: 12px;
	display: block;
	text-decoration: none;
}

.leftmenu-item a {
	color: #000;
	text-decoration: none;
}




.rightmenu {
	position: fixed;
	top: 0px;
	right: -240px;
	transition: all 0.25s ease;	
	width: 240px;
	height: 100vh;
	z-index: 1000;
}


.rightmenu-active {
	right: 0px;
}

.rightmenu-active-app {
	left: -240px;
}



.rightmenu-container {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 240px;
	height: 100vh;
	
	box-sizing: border-box;
	
	background: linear-gradient(180deg,#eee 0,#555);

	color: #000000;
	overflow-x: hidden;
	overflow-y: auto;
	display: inline-block;
	border-left: none;

}


.rightmenu-divider {
	width: 100%;
	color: #fff;
	padding-left: 8px;
	padding-top: 1px;
	padding-bottom: 0px;
	display: block;
	background-color: #ccc;
	max-height: 1px;
}

.rightmenu-item {
	width: 100%;
	color: #000;
	padding-left: 8px;
	padding-top: 12px;
	padding-bottom: 12px;
	display: block;
	text-decoration: none;
	border-bottom: solid 1px #ccc;
}

.rightmenu-item a {
	color: #000;
	text-decoration: none;
}
/****************************************************/




/*****************************************************
 onlinelist
*****************************************************/
.onlinelist {
	padding: 10px;
	margin: 4px;
	box-sizing: border-box;
	border-radius: 8px;
	background-color: rgba(255,255,255,0.25);
	text-align: center;
}


.onlinelist-wrapper {
	position: absolute;
	overflow-x: hidden;
	overflow-y: auto;
	top: 50px;
	left: 0px;
	bottom: 10px;
	right: 0px;
	text-align: center;
  -webkit-overflow-scrolling: touch;
	
	
}


.onlinelist-items {
	width: 280px;
	margin: auto;
}

.onlinelist-item:nth-child(2n+1) {

  margin-right: 4px;  

}

.onlinelist-item {
	display: inline-block;
	position: relative;
	width: 133px;
	height: 133px;
	border: solid 1px #000;
	background-color: #444;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.onlinelist-item-2 {
  margin: 10px;
}

.onlinelist-label {
	font-size: 12px;
	color: #fff;
	position: absolute;
	left: 0px;
	right: 0px;
	bottom: 7px;
	text-align: center;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}

.onlinelist-label .online,.offline {
	position: absolute;
	left: 10px;
	top: -100px;
	width: 12px;
	height: 12px;
}
/****************************************************/





#leftmenu-icon {
	font-size: 25px;
	color: #fff;	
	
	position: absolute; 
	width: 32px; 
	height: 32px; 
	left: 8px; 
	top: 10px; 
}

#rightmenu-icon {
	font-size: 25px;
	color: #fff;	
	
	position: absolute; 
	width: 32px; 
	height: 32px; 
	right: 8px; 
	top: 10px; 
	
}

#card-back-icon {
	font-size: 25px;
	color: #808;	
	
	position: absolute; 
	width: 32px; 
	height: 32px; 
	left: 0px; 
	top: 6px; 
}

#card-rightmenu-icon {
	font-size: 25px;
	color: #808;	
	
	position: absolute; 
	width: 32px; 
	height: 32px; 
	right: 8px; 
	top: 6px; 
	
}


.cardstack-background {
	padding: 10px;
	margin: 0px;
	box-sizing: border-box;
	border-radius: 8px;
	background-color: rgba(255,255,255,0.25);
	text-align: center;
	display: none;
}

.cardstack {
	padding: 10px;
	margin: 0px;
	box-sizing: border-box;
	border-radius: 8px;
	text-align: center;
}


.cardstack-header {
	position: absolute;
	left: 0px;
	top: -4px;
	right: 0px;
	height: 50px;
}

#card-title {
	position: absolute;
	left: 0px;
	right: 0px;
	top: 0px;
	height: 50px;
	line-height: 50px;
	color: #333;
	font-size: 17px;
}



.card {
	position: absolute;
	left: 6px;
	top: 40px;
	right: 6px;
	bottom: 6px;
	border-radius: 8px;
  background-color: #f8f8f8;
  display: none;
	
	
}
.card-active {
	display: block;
}

.card-header {
	height: 200px;
	background-color: #303;
	color: #d4d;
	padding: 10px;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	border: solid 2px #fff;
	text-align: left;
  overflow: hidden;	
}

.card-image {
 position: static;
 left: 0px;
 top: 0px;
 bottom: 0px;
 width: 160px;
 height: 100%;
 background-size: cover;
  background-position: center;
  float: left;
  margin-right: 10px;
  border-radius: 8px;
  
}

.card-nickname {
  font-size: 24px;
  margin-bottom: 10px; 
}

.card-info {
  margin-bottom: 10px; 
  font-size: 13px;
  height: 74px;
  text-overflow: ellipsis;
  overflow: hidden;

}

.card-choice i {
  display: block;
  font-size: 20px;
  margin-bottom: 4px;
  margin-top: 10px;
}
.card-choice {
  display: inline-block;
  text-align: center;
	font-family: Open Sans,Arial,sans-serif;
  font-size: 13px;
  width: 78px;
}

.card-chat {
	position: absolute;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;	
	
}











.modal {
	min-width: 260px;
	position: fixed;
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 1000;
	background-color: rgba(0,0,0,0.5);
	padding: 0px;
}

.modal-wrapper {
  position: absolute;  
	top: 0px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	padding: 8px;
	max-height: 90vh;
	max-width: 1000px;
	margin: auto;
	margin-top: 0px;
  
}

.modal-close {
	position: absolute;
	right: 20px;
	top: 0px;
	font-size: 26px;
	font-weight: bold;
	color: #fff;
	line-height: 50px;
}

.modal-header {
	height: 50px;
	background: linear-gradient(180deg,#e0e 0,#505);
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;

	padding-left: 10px;
	padding-right: 10px;
	font-size: 20px;
	font-weight: bold;
	color: #fff;
	line-height: 50px;

}

.modal-body {
	position: relative;
	background-color: #fff;
	color: #f0f0f0;
	min-height: 100px;
	padding: 8px;
	color: #000;
	font-size: 16px;
	  overflow-x: hidden;
	  overflow-y: auto;
	 max-height: 80vh;
  -webkit-overflow-scrolling: touch;
	 
}

.modal-footer {
	position: relative;
	left: 0px;
	right: 0px;
	bottom: 0px;
	height: 40px;
	background-color: #fff;
	border-top: solid 1px #ddd;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	padding: 8px;
	text-align: right;
	padding-bottom: 0px;
}





.dropdown {
  display: none;
  position: absolute;
	background: linear-gradient(180deg,#ddd 0,#888);
  padding-left: 20px;
  padding-right: 20px;
	transition: all 0.25s ease;	
	overflow: hidden;
	height: auto;
	margin: 0px;
	margin-top: 4px;
}

.dropdown-active {
  display: block;
}

.dropdown li {
  display:block;
  line-height: 32px;
  text-decoration: none;
  color: #333;
}

.dropdown li a {
  text-decoration: none;
  color: #333;
}

.dropdown a {
  text-decoration: none;
  color: #333;
}

#dropdown1 {
	min-width: 98px;
	left: 429px;
	top: 120px;
}

#dropdown2 {
	min-width: 98px;
	left: 537px;
	top: 120px;
}

#dropdown3 {
	min-width: 98px;
	left: 562px;
	top: 190px;
}





.tab-container {
	position: absolute;
	left: 0px;
	right: 0px;
	top: 10px;
	height: 30px;
	text-align: left;
	padding-left: 12px;
	padding-right: 12px;
}

.tab-item {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	background-color: #ddd;
	display: inline-block;
	box-sizing: border-box;	
	height: 35px;
	font-size: 12px;
	padding-top: 7px;
	padding-left: 8px;
	padding-right: 8px;
	margin-right: 1px;
	position: relative;
	top: 1px;
	
}

.tab-item-active {
	background-color: #fff;
	top: 0px;
}

/*-----------------------------------------------------*/
/* chat */
.chat-history {
	background-color: #eee;
	position: absolute;
	left: 2px;
	top: 134px;
	right: 2px;
	bottom: 144px;
	border: solid 1px #ccc;
	overflow-x: hidden;
	overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.chat-input {
	position: absolute;
	left: 0px;
	right: 150px;
	bottom: 0px;
	height: 120px;
	border: none;
	
}

.chat-input textarea, .chat-placeholder {
  background: none;
	position: absolute;
	left: 2px;
	right: 2px;
	bottom: 2px;
	width: 100%;
	height: 80px;
	border: solid 1px #ccc;
	resize: none;
	-webkit-appearance: none;
	display: inline-block;
	box-sizing: border-box;
	border-radius: 0px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	font-size:14px;
	font-weight: bold;
	margin: 0px;
	padding: 10px;
}

.chat-placeholder {
  color: #ccc;
  font-size: 20px;
  z-index: 0;
  text-align: left;
}


.chat-send {
	position: absolute;
	bottom: 22px;
	right: 2px;
	width: 100px;
	height: 60px;
	background: linear-gradient(180deg,#f8f 0,#c8c);
	border-radius: 4px;
	border: none;
	color: #fff;
	margin: 0px;
	text-align: center;
	padding: 0px;
	box-sizing: border-box;
	font-size: 14px;
}

.chat-count {
	position: absolute;
	bottom: 6px;
	right: 2px;
	width: 100px;
	font-size: 10px;
	color: #000;	
}



.chat-inbound {
	position: relative;
	text-align: left;
}

.chat-outbound {
	position: relative;
	text-align: right;
}


.chat-inbound .chat-content {
	width: 60%;
	background-color: #acc8d6;
	border-radius: 12px;
	color: #000;
	font-size: 12px;
	color: #222;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	padding-right: 10px;
	margin-left: 10px;
	margin-bottom: 18px;
	margin-top: 4px;
	display: inline-block;
}

.chat-timestamp {
	font-size: 11px;
	color: #aaa;
	display: inline-block;
	margin-left: 8px;
	margin-right: 8px;
}


.chat-outbound .chat-content {
	width: 60%;
	background-color: #90ee90;
	border-radius: 12px;
	color: #000;
	font-size: 12px;
	color: #222;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	padding-right: 10px;
	margin-right: 10px;
	margin-top: 4px;
	margin-bottom: 18px;
	display: inline-block;
	text-align: left;
}
/*-----------------------------------------------------*/



.chat-input-group {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 59px;
}


/* mobile */
@media (max-width: 770px) {


	body {
	  width: 100%;
	  position: fixed;
	  left: 0px;
	  top: 0px;
	}
  .app {
		max-height: 100vh;
  }	
  
  .tab-container {
  	display: none;
  }
	
	.logo {
		background-image: url(../img/logo.png);
		width: 100%;
		height: 40px;
		background-size: 70px auto;
		background-repeat: no-repeat;
		background-position: center;
		position: absolute;
		left: 0px;
		right: 0px;
		top: 8px;
	}

	.navbar,.coins {
		display: none;
	}
	
	.header-container {
		display: block;
		position: relative;
		top: 0px;
		left: 0px;
		right: 0px;
		width: 100%;
		height: 50px;
	}
	
	.main-container {
		position: relative;
		top: -50px;
		left: 0px;
		right: 0px;
		bottom: 0px;
		width: 100%;
		height: 100vh;
		margin-top: 50px;
	}
	
	.footer-container {
		display: none;
	}

	.onlinelist {
		position: absolute;
		top: 0px;
		left: 0px;
		right: 0px;
		bottom: 40px;
		background: none !important;
	}

	.cardstack {
		position: absolute;
		left: 0px;
		top: -50px;
		right: 0px;
		bottom: 0px;
		background-color: #f8f8f8;
		z-index: 10;
		border-radius: 0px;
	}

	.cardstack-header {
		display: block;
	}
	
	.modal-wrapper {
	  
	  padding: 0px;
	  height: 100%;
	}
	
	.modal-body {
	  max-height: 100%;
	  height: 100%;
	}

	.onlinelist-wrapper {
	  top: 0px;
	}
	
	.dropdown-active {
	  display: none !important;
	}
	.card-image {
	  width: 100px;
	}
  .card-nickname {
    display: none;
  }	
  .card-info {
    display: none;
  }	
  .card-header {
	  height: 110px;
	}
	.card-choice {
	  font-size: 12px;
	  width: 78px;
	}
	.chat-content	{
		font-size: 16px !important;
	}
}

/*

@media (max-width: 770px) and (orientation:portrait) {
	.card-body {
		position: absolute;
		left: 0px;
		right:0px;
		top: 0px;
		bottom: 40px;
	}
	.chat-history {
		top: 134px;
		bottom: 134px;
		font-size: 16px;
	}
	.chat-input {
		bottom: 82px;
	}
	.chat-input textarea {
		height: 48px;
		font-size:14px;
		font-weight: normal;

	}
	.chat-send {
		bottom: 84px;
		height: 48px;
		line-height: 14px;
	}
	.chat-count {
		display: none;
	}
	.chat-content {
		font-size: 18px;
	}
	.modal-body {
	  min-height: 77vh;
	  max-height: 77vh;
	}
	
	
}

@media (max-width: 770px) and (orientation:landscape) {
  .card-header {
	  height: 70px;
	}

	.card-body {
		position: absolute;
		left: 0px;
		right:0px;
		top: 0px;
		bottom: 40px;
	}
	.chat-history {
		top: 94px;
		bottom: 64px;
		font-size: 16px;
	}
	.chat-input {
		bottom: 4px;
	}
	.chat-input textarea {
		height: 56px;
		font-size:14px;
		font-weight: normal;

	}
	.chat-send {
		bottom: 4px;
		height: 56px;
		line-height: 14px;
	}
	.chat-count {
		display: none;
	}
	.chat-content {
		font-size: 18px;
	}
	
}
*/

/* medium */
@media (min-width: 770px) {
	body {
		overflow: auto;		
		max-height: unset;
	}
  .app {
		max-height: unset;
  }	

	.logo {
		background-image: url(../img/logo.png);
		width: 140px;
		height: 40px;
		background-size: 110px auto;
		background-repeat: no-repeat;
		position: absolute;
		left: 50px;
		top: 8px;
	}

	.navbar,.coins {
		display: none;
	}
	

	.header-container {
		display: block;
		position: absolute;
		width: 100%;
		max-width: 1000px;
		margin: auto;
		height: 50px;
		z-index: 1;
	}
	
	.main-container {
		position: relative;
		width: 100%;
		max-width: 1000px;
		margin: auto;
		height: 700px;
		top: 0px;
	}
	
	.footer-container {
		display: block;
		position: relative;
		width: 100%;
		max-width: 1000px;
		margin: auto;
		height: 150px;
		top: 0px;
	}

	.onlinelist {
		position: absolute;
		top: 50px;
		right: 0px;
		bottom: 0px;
		width: 300px;
		margin-right: 0px;
		margin-left: 0px;
	}


	.cardstack {
		position: absolute;
		left: 0px;
		top: 50px;
		right: 304px;
		bottom: 0px;
		margin: 4px;
		margin-right: 0px;
		margin-left: 0px;
	}
	.cardstack-header {
		display: none;
	}
  .cardstack-background {
		position: absolute;
		left: 0px;
		top: 50px;
		right: 304px;
		bottom: 0px;
		margin: 4px;
		margin-right: 0px;
		margin-left: 0px;
		display: block;
  }
	
	.onlinelist-header {
	  height: 100px;
	  background-image: url(../img/onlinelist.png);
	  background-size: 100%;
	  background-position: center top;  
	}
	.onlinelist-wrapper {
	  top: 100px;
	}
	.dropdown-active {
	  display: none !important;
	}
	
	.modal-close {
	  top: 6px;
	}
	
	.modal-wrapper {
	  top: 20px;
	  
	}
	
	.chat-input-group {
	  bottom: 0px;
	}
	.chat-history {
	  bottom: 84px;
	  top: 224px;
	}

}

/* desktop */
@media (min-width: 1000px) {
	body {
		overflow: auto;		
	}

	.logo {
		background-image: url(../img/logo.png);
		width: 240px;
		height: 80px;
		background-size: contain;
		background-repeat: no-repeat;
		position: absolute;
		left: 160px;
		top: 140px;
	}

	.navbar {
		display: inline-block;
	}
	.coins {
	  display: block;
	}

	.header-container {
		display: block;
		position: relative;
		width: 1000px;
		margin: auto;
		height: 240px;
	}
	.main-container {
		top: 0px;
	}
	
	.footer-container {
		top: 0px;
	}

	.onlinelist {
		top: 0px;
	}


	.leftmenu {
		display: none;
	}
	.rightmenu {
		display: none;
	}
	
	#leftmenu-icon {
		display: none;
	}
	#rightmenu-icon {
		display: none;
	}

	.cardstack {
		position: absolute;
		left: 0px;
		top: 0px;
		right: 304px;
		bottom: 0px;
		margin: 4px;
		margin-right: 0px;
		margin-left: 0px;
	}
	.cardstack-header {
		display: none;
	}
  .cardstack-background {
		position: absolute;
		left: 0px;
		top: 0px;
		right: 304px;
		bottom: 0px;
		margin: 4px;
		margin-right: 0px;
		margin-left: 0px;
		display: block;
  }
	.dropdown-active,.artwork-left,.artwork-right {
	  display: block !important;
	}
  
}

button {
	height: 38px;
	background: linear-gradient(180deg,#eee 0,#888);
	border: solid 1px #888;
	border-radius: 8px;
	font-weight: bold;
	color: #333;
	font-size: 16px;
	display: inline-block;
	line-height: 30px;
	padding-left: 20px;
	padding-right: 20px;
	margin-bottom: 10px;
	width: 100%;
	max-width: 450px;
}

.primary {
	background: linear-gradient(180deg,#e0e 0,#505);
	color: #fff;
	
}





.submenu {
  padding-left: 20px;
	transition: all 0.25s ease;	
	overflow: hidden;
	height: 0px;
	margin: 0px;
	margin-top: 4px;
}

.submenu li {
  display:block;
  line-height: 40px;
}

.submenu li a {
  text-decoration: none;
  color: #333;
}

.submenu-active {
  height: auto;
}


.coins {
  background-color: #b0b;
  border: solid 2px #606;
  border-radius: 8px;
  padding: 6px;
  padding-left: 12px;
  padding-right: 12px;
  position: absolute;
  left: 330px;
  top: 30px; 
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;

}

.coins-small {
  background-color: #b0b;
  border: solid 2px #606;
  border-radius: 8px;
  padding: 6px;
  padding-left: 12px;
  padding-right: 12px;
  position: absolute;
  left: 6px;
  top: 8px; 
  color: #fff;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;

}



.artwork-left {
  background-image: url(../img/artwork-left.png);
  background-repeat: no-repeat;
  background-position: top left;
  background-size: contain;
  position: absolute;
  left: 10px;
  top: -10px;
  width: 180px;
  height: 230px;
  display: none;
  pointer-events: none;
}

.artwork-right {
  background-image: url(../img/artwork-right.png);
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: contain;
  position: absolute;
  left: 720px;
  top: 20px;
  width: 260px;
  height: 224px;
  display: none;
  pointer-events: none;
}


.form-group {
  display-block;
  margin-bottom: 10px;
  margin-top: 10px;
  max-width: 450px;
  margin: auto;
  margin-bottom: 12px;
}

.form-group label {
  box-sizing: border-box;
  color: #444;
  font-size: 14px;  
  font-weight: bold;
  
}

.form-group label a {
   color: #c4c;
   text-decoration: none;
}

.form-group input,select {
  box-sizing: border-box;
  border-radius: 6px;
  border: solid 1px #888;
  padding: 8px;
  font-size: 16px;
  font-weight: bold;
  width: 100%;
}

.form-inline {
	display: inline-block !important;
	margin-left: 10px;
	margin-right: 10px;
}

.form-inline label {
	display: inline-block !important;
}

.form-inline input,select,button {
	display: inline-block !important;
	width: auto !important;
}


.modal-body hr {
  margin-top: 30px;
  margin-bottom: 30px;
  background-color: #ccc;
  border: none;
  height: 1px;
}

.modal-body h3 {
  text-align: center;
  margin-top: 12px;
  margin-bottom: 12px;
}




.lds-ring {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
  top: 40vh;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 51px;
  height: 51px;
  margin: 6px;
  border: 6px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


.loader {
  background-color: rgba(0,0,0,0.5);
  position: fixed;
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
  text-align: center;

}




.alert-error {
 border: solid 4px #d88;
 background-color: #d00;
 color: #fff;
 width: 100%;
 border-radius: 8px;
 padding: 10px;
 text-align: center;
 box-sizing: border-box; 
}





#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #3c3;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 12px;
    position: fixed;
    z-index: 1;
    font-weight: bold;
    top: 30px;
    left: 50%;
    font-size: 17px;
    z-index: 100000;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {top: -30px; opacity: 0;} 
    to {top: 30px; opacity: 1;}
}

@keyframes fadein {
    from {top: -30px; opacity: 0;}
    to {top: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {top: 30px; opacity: 1;} 
    to {top: -30px; opacity: 0;}
}

@keyframes fadeout {
    from {top: 30px; opacity: 1;}
    to {top: -30px; opacity: 0;}
}




.paym_container {
  display: inline-flex;
  width: 190px;
  height: 210px;  
  text-align: center;
  margin-left: 12px;
  margin-right: 12px;
  margin-bottom: 20px;
  border: solid 1px #888;
  padding-top: 8px;
  border-radius: 8px;
  box-shadow: 10px 10px 31px -13px rgba(0,0,0,0.75);
}
.paym_container a {
  color: #444;
  text-decoration: none;  
}
.paym_logo img {
  width: 180px;
}
.paym_info {
  color: #888;
  font-size: 12px;
  text-align: left;
  padding: 10px;
}
.paym_title {
  display: none;
  
}

.paym_coinpackage {
  display: inline-flex;
  width: 190px;
  height: 150px;  
  text-align: center;
  margin-left: 12px;
  margin-right: 12px;
  margin-bottom: 20px;
  border: solid 1px #888;
  padding-top: 8px;
  border-radius: 8px;
  box-shadow: 10px 10px 31px -13px rgba(0,0,0,0.75);
  color: #fff;
  font-weight: bold;
	background: linear-gradient(180deg,#e0e 0,#505);
}

.paym_coinpackage a {
  color: #fff;
  text-align: center;
  text-decoration: none;
  width: 100%;
  padding-top: 20px;
}


#cardstack-header-badge {
  position: absolute;
  top: 6px;
  left: 3px;
  width: 24px;
  color: #fff;
  font-size: 12px;
  text-align: center;
}

#header-badge {
  position: absolute;
  top: 6px;
  left: 0px;
  width: 24px;
  color: #000;
  font-size: 12px;
  text-align: center;
}


.card-badge {
	margin-left: 8px;
	margin-right: 8px;
	color: #c0c;
	position: relative;
	font-size: 15px;
	display: none;
	top: 2px;
}

.card-badge-text {
  position: absolute;
  top: 1px;
  left: -5px;
  width: 24px;
  color: #fff;
  font-size: 11px;
  text-align: center;
}


.list-badge {
	margin-left: 8px;
	margin-right: 8px;
	color: #c0c;
	position: relative;
	font-size: 18px;
	display: none;
}

.list-badge-text {
  position: absolute;
  top: 3px;
  left: -3px;
  width: 24px;
  color: #fff;
  font-size: 12px;
  text-align: center;
}

span {
	font-family: Open Sans,Arial,sans-serif;
}




@media (max-width: 770px) and (orientation:portrait) {
	.ios .chat-history {
		bottom: 204px;
	}
	.ios .chat-input-group {
		bottom: 119px;
	}
}



#sedcard,#gallery {
	position: fixed;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	background-color: rgba(0,0,0,0.8);
	z-index: 1000;
	visibility: hidden;
	transition: all 0.25s ease;	
	opacity: 0.0;
	
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;

}

#gallery {
  z-index: 1001;
  
}
.sedcard-active {
	visibility: visible !important;
	opacity: 1.0 !important;
}

#sedcard-display , #gallery-display {
	position: absolute;
	top: 20px;
	left: 20px;
	right: 20px;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9);
}

#sedcard-about {
	position: absolute;
	bottom: 20px;
	left: 20px;
	width: 33%;
	color: #fff;
	text-align: left;
	text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9);
}

.sedcard-buttongroup {
	position: absolute;
	bottom: 0px;
	right: 0px;
}

.sedcard-button {
	border: solid 4px #fff;
	padding: 14px;
	color: #fff;
	background-color: rgba(0,0,0,0.0);
	margin: 20px;
	display: block;
	max-width: 150px;
	border-radius: 8px;
	font-weight: bold;
	text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9);
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9);
}

.sedcard-button-active {
	border: solid 4px #c8c;
	color: #c8c;
}

.sedcard-button i {
	margin-right: 12px;
}



.chat-content img {
	width: 100%;
	margin-top: 10px;
}

.sedcard-close {
  font-size: 34px;
  position: absolute;
  right: 16px;
  top: 8px;
  color: #fff;
	text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9);
}

.gallery-track {
  position: absolute;
  left: 10px;
  bottom: 10px;
  height: 94px;
  right: 200px;
  overflow-y: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  text-align: center;
  white-space: nowrap;
  padding-top: 8px;
  
}

/*
 *  STYLE 2
 */

.gallery-track::-webkit-scrollbar-track
{
	border-radius: 10px;
	background: rgba(0,0,0,0.5);
}

.gallery-track::-webkit-scrollbar
{
	background: none;
	height: 8px;
}

.gallery-track::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #333;
  border: solid 1px rgba(0, 0, 0, 0.9);

}


.gallery-track .item {
  background-color: rgba(0,0,0,0.5);
  display: inline-block;
  width: 80px;
  height: 80px;
  box-sizing: border-box;
  border: solid 1px #fff;
  margin-right: 4px;
  background-size: cover;
  background-position: center;
	transition: all 0.25s ease;	
}


/* mobile */
@media (max-width: 770px) {

	#sedcard-about {
		bottom: 20px;
		right: 20px;
		left: 20px;
		width: initial;
	}
	
	.sedcard-buttongroup {
  	position: absolute;
  	top: 50px;
  	right: 10px;
  	bottom: 200px;
	}
  .gallery-track {
    bottom: 10px;
    right: 10px;
  }


}


@media (max-width: 480px) {
	.sedcard-button {
		font-size: 14px;
		padding: 8px;
		border: solid 2px #fff;
		margin: 4px;
	}

}


@media (max-width: 840px) {
	.card-info {
	  height: 54px;
	}
	.card-choice {
	  font-size: 12px;
	  width: 78px;
	}
	
}


.sedcard-icon-highlight {
  color: #d0ef11;
}

.welcome {
  width: 400px; height: 250px; margin:auto; margin-top: 40px;	background: linear-gradient(180deg,#999 0,#222); border-radius: 32px;box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9); padding: 10px; padding-left: 20px; padding-right: 20px;
}

.welcome h3 {
  color: #fff;	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
}

.welcome .fa {
text-shadow: 2px 2px 2px #000, 2px -2px 2px #000, -2px 2px 0 #000, -2px -2px 0 #000, 2px 0px 0 #000, 0px 2px 0 #000, -2px 0px 0 #000, 0px -2px 0 #000;
color: #0c0;  
margin-left: 30px;
margin-right: 10px;
font-size: 28px;
position: relative;
top: 5px;
}

.welcome .checktext {
  color: #fff;	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
  line-height: 40px;
  background: linear-gradient(90deg, #248 0%,rgba(32,64,192,0.1) 100%); 
  margin-bottom: 8px;
  border-radius: 32px;
}