/* Mobile theme version styles */

@media (max-width: 768px) {

	#menu {
		background-repeat: repeat!important;
		width: auto!important;
		float: none!important;
		position: relative!important;
		padding-right: 0!important;
		padding-bottom: 10px!important;
		text-align: center!important;
		background-color: #666;
	}
	
	#menu img {
		margin: 25px 0 10px 0!important;
	}
	
	#menu ul {
		margin: 0!important;
		list-style-type: none!important;
		direction: ltr!important;
	}
	
	#menu ul a {
		display: block;
		background: #444;
		margin-bottom: 10px!important;
		border-top: 1px solid #666;
		border-bottom: 1px solid #666;
	}
	
	#loginmenuitem {
		margin: 0!important;
		list-style-type: none!important;
	}
	#loginmenuitem li {
		padding-left: 0!important;
		list-style-type: none!important;
	}
	
	#logincontactmenus {
		display: none!important;
		width: 100%!important;
		left: 0!important;
		margin: 0 auto!important;
	}
	
	#content {
		padding: 0!important;
	}
	
	.box {
		padding-left: 10px!important;
		padding-right: 10px!important;
		padding-top: 10px!important;
		height: auto!important;
	}
	
	.box h1 {
		margin-bottom: 25px!important;
	}
	
	#addspl {
		float: none!important;
		width: auto!important;
	}
	
	#h1div {
		float: none!important;
		text-align: center;
	}
	
	#h1div img {
		display: none;
	}
	
	#spl {
		display: none;
	}
	
	.box #videobox {
		width: auto!important;
		height: auto!important;
	}
	
	#videobox iframe {
		width: 100%!important;
		height: auto!important;
	}
	
	#apie h1 {
		text-align: center;
	}
	
	#apie h1 img {
		display: none;
	}
	
	p {
		width: auto!important;
	}
	
	#pvm h1 {
		text-align: center;
	}
	
	#pvm h1 img {
		display: none;
	}
	
	#content ul {
		width: auto!important;
		margin-left: 10px!important;
	}
	
	#kontaktai h1 {
		text-align: center;
	}
	
	#kontaktai h1 img {
		display: none;
	}
	
	#kontaktai .custom {
		float: none!important;
		height: auto!important;
	}
	
	#contact, #loginbox, #usecode, #settings {
		float: none!important;
		width: auto!important;
		margin: 0!important;
	}
	
	#loginbox {
		margin-bottom: 10px!important;
	}
	
	#contact input, #loginbox input, #usecode input, #settings input, #contact textarea {
		width: 100%!important;
	}
	
	#usecode #codesleft {
		width: 30px!important;
	}
	
	#usecode textarea {
		min-height: 80px;
	}
	
	#contactstext {
		padding-top: 10px;
		text-align: center;
	}
	
	#contactstext h2 {
		text-align: center;
	}
	
	#contact input[type="submit"], #loginbox input[type="submit"], #usecode input[type="submit"], #settings input[type="submit"], #userinfo form input[type="submit"] {
		float: none!important;
	}
	
	.custom-login {
		width: auto!important;
		float: none!important;
		margin-bottom: 10px;
	}
	
	#loggedin {
		margin-top: 25px!important;
		margin-bottom: 25px;
	}
	
	#loginouter h1 {
		text-align: center;
	}
	
	#loginouter h1 img {
		display: none;
	}
	
	#codetable, #userinfo {
		width: 100%!important;
	}
	
	#codetable {
		border-right: none!important;
	}
	
	.mobile-footer {
		display: block!important;
		background: #666;
		padding: 10px 0;
		line-height: 21px;
		font-size: 13px;
		color: #fff;
		text-align: center;
	}
	
	#totop {
		display: none!important;
		margin: -25px auto 0 -25px!important;
	}
	
	
	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	#codetablefirst { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	#codetable tr { border: 1px solid #ccc; margin-bottom: 20px; }
	
	#codetable td { 
		/* Behave  like a "row" */
		min-height: 15px;
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
		text-align: right;
	}
	
	#codetable td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 10px;
		left: 5px;
		width: 30%; 
		padding-right: 10px; 
		white-space: nowrap;
		text-align: left;
		font-weight: bold;
	}
	
	/*
	Label the data
	*/
	#codetable td:nth-of-type(1):before { content: "Bilietas užsakytas"; }
	#codetable td:nth-of-type(2):before { content: "Tiltas"; }
	#codetable td:nth-of-type(3):before { content: "iTicket"; }
	#codetable td:nth-of-type(4):before { content: "ReferenceNr"; }
	#codetable td:nth-of-type(5):before { content: "RegNr"; }
	#codetable td:nth-of-type(6):before { content: "El. laiškas"; }
	#codetable td:nth-of-type(7):before { content: "Siųsti SMS"; }
	#codetable td:nth-of-type(8):before { content: "Gauti PDF"; }
}
	

}