.galTag {
	display:none;
}
#loginLogo:before {
	display: none;
}
@media only screen and (min-width: 600px) {
	#loginBody {
		background:transparent;
	}
	#topWrap {
		background-repeat:no-repeat;
		background-position: center center;
		background-size: cover;
	}

	#loginTable {
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		padding:20px;
	}
	#loginForm {
		background: none;
		border: 0;
		overflow: visible;
		border-radius: 5px;
	}

	#loginLogo {
		border-radius: 5px 5px 0 0;
	}
	#loginLogo img {
		max-width:100%;
		margin:20px 30px;
	}


	.button > div {
		border: 0 none;
	}
	.button > div:hover {
		border: 0 none;
	}
	.button .buttonC {
		text-shadow: none;
		color:#fff;
	}


	#loginFooter {
		border-top: 0;
	}


	#loginForgot {
		color:#aaa;
		margin:0 20px 20px;
	}
	#loginQR {
		color:#aaa;
		margin:0 20px 20px;
	}
	.galTag {
		cursor:pointer;
		display:block;
		border-radius: 0 0 3px 3px;
		padding:5px 30px;
		text-align: center;
		position: absolute;
		top:0;
		right:15%;
		color:white;
		background: rgba(0, 0, 0, .7);
	}
	#loginLogo:before {
		content: url(../logo-flat.png);
		padding:20px 40px;
		display: block;
	}
	:lang(en) #loginLogo:before{
		content: url(../logo-flat-en.png);
	}
	:lang(de) #loginLogo:before{
		content: url(../logo-flat-de.png);
	}
	:lang(hu) #loginLogo:before{
		content: url(../logo-flat-hu.png);
	}
	:lang(lt) #loginLogo:before{
		content: url(../logo-flat-lt.png);
	}
	#loginLogo img {
		display: none;
	}
}

@media only screen {

	#loginBody {
		background:transparent;
	}
	#topWrap {
		background-repeat:no-repeat;
		background-position: center center;
		background-size: cover;
	}

	#loginTable {
		border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		padding:20px;
	}
	#loginForm {
		background: none;
		border: 0;
		overflow: visible;
		border-radius: 5px;
	}

	#loginLogo {
		border-radius: 5px 5px 0 0;

	}

	.button > div {
		border: 0 none;
	}
	.button > div:hover {
		border: 0 none;
	}
	.button .buttonC {
		text-shadow: none;
		color:#fff;
	}

	#loginFooter {
		border-top: 0;
	}

	#loginForgot {
		color:#aaa;
		margin:0 20px 20px;
	}
	#loginRegister {
		color:#aaa;
		margin:0 20px 20px;
	}
	#loginQR {
		color:#aaa;
		margin:0 20px 20px;
	}

}

@media only screen and (min-width: 600px) {
	#topWrap {background-image: url(bg_with_elements.jpg); background-color: #FFFFFF;}
	.galTag, #loginTable , #loginLogo, #loginFooter {background: rgba(0,0,0,0.7);}
	.button > div {background: #4864b6; border:0;}
	.button > div:hover {background: #4351b6; border:0;}
	#loginForgot, #loginRegister, #loginQR, .formItem label, #loginFooter a, #loginFooter b, #loginFooter span, #loginFooter strong {color: #fff;}
	#loginFooter span.badge {background: #fff; color: #000 !important;}
	#loginBody #loginTable {
		margin: 10px auto 10px 30%;
	}
	#footWrap, #loginTable {
		z-index: 1;
		position: relative;
	}
	#loginBody #loginContent {
		/*background: url("form-bg.png") no-repeat;*/
		/*background-position: 18% 40%;*/
	}
	.textImage {
		position: absolute;
		background: url('text.png') no-repeat;
		width: 462px;
		height: 380px;
		left: 70px;
		top: -30px;
	}
}

@media only screen and (min-width: 1920px) {
	#topWrap {background-image: url(bg.jpg); background-color: #FFFFFF;}
	.bgElement {
		position: fixed;
		z-index: 0;
	}

	#bgElement1 {
		background-image: url("element1.png");
		width: 1004px;
		height: 819px;
		top: 0;
		left: 0;
	}

	#bgElement2 {
		background-image: url("element2.png");
		width: 1250px;
		height: 497px;
		bottom: 0;
		right: 0;
	}

	#bgElement3 {
		background-image: url("element3.png");
		width: 169px;
		height: 310px;
		bottom: 430px;
		right: 0;
	}

	#bgElement4 {
		background-image: url("element4.png");
		width: 130px;
		height: 223px;
		bottom: 100px;
		left: 0;
	}
}

@media only screen and (max-width: 1300px) {
	.textImage {
		left: 20px;
	}
}

@media only screen and (max-width: 1160px) {
	.textImage {
		width: 295px;
		height: 279px;
		top: 20px;
		left: 50px;
		background-size: 100%;
	}
}


@media only screen and (max-width: 600px) {
	#loginLogo img {visibility:hidden;}
	#loginLogo {min-height: 70px; min-width:298px; background: transparent url(//ifrype.com/i/logos/lv.png) no-repeat center;}
	.textImage {
		display: none;
	}
}
