body, html {
	height: 100%;
}

body {
	background-color: #f2f2f2;
}

#tp_wrap {
	height: auto !important;
    margin: 0;
    min-height: 100%;
    padding: 0;
	position: relative;
}

#tp_login {
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}

#tp_innerwrap {
	bottom: 0;
	left: 0;
	margin: auto;
	position: absolute;
	top: 0;
	right: 0;
	height: auto;
	width: 300px;
	background: #fff !important;
	border-top: 5px solid #d1a872;
	max-height: 500px;
	box-shadow: 0 -5px 10px -5px #000;
}

.tp_pass_change #tp_innerwrap {
	max-height: 550px;
}

#logoProduct {
	width: 100%;
	padding: 35px;
	box-sizing: border-box;
	overflow: hidden;
	display: inline-block;
	text-align: center;
}

#loginInputs {
	width: 100%;
	padding: 0 35px;
	box-sizing: border-box;
	display: inline-block;
}

#logoProduct a {
	display: inline-block;
	max-width: 100%;
	vertical-align: middle;
	text-align: center
}

#logoProduct img {
	max-width: 100%;
	height: auto;
	width: auto;
	max-height: 65px;
}

#tp_login .tp_field_label_block {
	position: relative;
	display: inline-block;
	width: 100%;
	font-size: 13px;
	-webkit-border-radius: 0;
	border-radius: 0;
	border: 1px solid #ddd;
	-webkit-box-shadow: 2px 2px 5px 0px #ddd;
	box-shadow: 2px 2px 5px 0px #ddd
}

#tp_login input[type=submit], #tp_login input[type=button] {
	float: left;
	background: #66c35d;
	background: -moz-linear-gradient(top, #66c35d 0%, #39a62e 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#66c35d), color-stop(100%,#39a62e));
	background: -webkit-linear-gradient(top, #66c35d 0%,#39a62e 100%);
	background: -o-linear-gradient(top, #66c35d 0%,#39a62e 100%);
	background: -ms-linear-gradient(top, #66c35d 0%,#39a62e 100%);
	background: linear-gradient(to bottom, #66c35d 0%,#39a62e 100%);
	border: 1px solid #19b309;
	border-radius: 0;
	-webkit-border-radius: 0;
	text-shadow: 1px 1px #42a438;
	color: #fff;
	font-size: 14px;
	text-transform: uppercase;
	padding: 7px 20px 5px 20px;
	margin: 0 0 5px 1px;
	width: 100%;
}

#tp_login input[type=submit]:hover, #tp_login input[type=button]:hover {
	background: #46a13d;
	background: -moz-linear-gradient(top, #46a13d 0%, #2a7822 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#46a13d), color-stop(100%,#2a7822));
	background: -webkit-linear-gradient(top, #46a13d 0%,#2a7822 100%);
	background: -o-linear-gradient(top, #46a13d 0%,#2a7822 100%);
	background: -ms-linear-gradient(top, #46a13d 0%,#2a7822 100%);
	background: linear-gradient(to bottom, #46a13d 0%,#2a7822 100%);
	border: 1px solid #159109;
	box-shadow: 0 0 5px 2px #158d05 inset;
	text-shadow: 1px 1px #159109
}

.tp_form_footer_buttons > div:nth-child(2n) input {
	margin-bottom: 0 !important
}

.tp_form_footer_buttons a {
	color: #888;
	margin: 5px auto;
	display: inline-block;
	text-align: center;
	width: 100%;
	border: 1px solid #eee;
	padding: 5px;
}

#tp_login .tp_login_fields .tp_field_label_block:hover {
	border-color: #66afe9;
	outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

#tp_login input[type=button] {
	font-size: 12px;
}

#tp_login input[type=text], #tp_login input[type=password]{
	float: right;
	width: 180px;
	height: 32px;
	border: none;
	margin: 10px 0;
	padding: 7px;
	text-shadow: 1px 1px #fff;
	font-size: 15px;
	line-height: 1;
	outline: none !important;
	background: #ffffff;
}

.tp_login_fields .tp_field {
	margin: 0 0 20px 0
}

#tp_login .tp_field_user {
	background: url("../images/ico/person-ico.png") no-repeat scroll 10px 50% #fff;
}

#tp_login .tp_field_pass {
	background: url("../images/ico/padlock-ico.png") no-repeat scroll 10px 50% #fff;
}

#tp_login .tp_form fieldset {
	margin: 0 !important;
	float: left;
	width: 100%;
}

#tp_login input[type="button"] {
    margin: 4px 1px 5px !important;
    padding: 7px 20px;
}

div.tp_container.tp_login_credits {
	box-sizing: border-box;
    display: inline-block;
    padding: 0 35px;
    width: 100%;
}

.tp_login_credits p {
	color: #888;
	display: inline-block;
	vertical-align: top;
    font-size: 12px;
    margin-right: 20px;
	margin: 0;
}

#logoComp, #daneLicencja {
	display: inline-block;
}

#logoComp {
	position: fixed;
	top: 30px;
	right: 30px;
}

#logoComp img {
	max-width: 100%;
	height: auto;
	max-height: 60px;
}

.tp_login_errors {
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 100%;
	height: 165px;
	overflow: hidden;
	display: none;
	background: #fff;
	z-index: 1000;
}

.tp_page_login {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}

.tp_page_login .r_error .tp_info_content {
    color: #a94442;
    font-size: 14px;
    margin: 10px auto 0 auto;
    padding: 15px 0 0;
    text-align: center;
	max-width: 229px;
}

.tp_pass_change .r_error .tp_info_content {
	background: none repeat scroll 0 0 #fff;
    color: #43a84d;
    font-size: 14px;
    margin: 20px auto;
    padding: 15px 0;
    text-align: center;
	max-width: 229px;
}

.tp_page_login .r_error .tp_info_title {
	font-size: 20px;
	color: #a94442;
	padding: 10px 15px;
	margin: 10px auto;
	width: 229px;
	border: 1px solid #a94442;
	background: #f2dede;
	text-align: center
}

.tp_pass_change .r_error .tp_info_title {
	font-size: 20px;
	color: #4aa843;
	margin: 10px auto;
	border: 1px solid #4aa843;
	background: #ddf0e4;
	text-align: center
}

.tp_pass_change .tp_login_errors {
	height: 210px
}

#tp_login h3 {
	display: none
}

#daneLicencja p, #daneLicencja p i {
	width: 100%;
	text-align: center;
	display: inline-block;
}

#daneLicencja p strong {
	display: inline-block;
	width: 100%;
	max-height: 33px;
	overflow: hidden;
}


.helpBtnIco {
	display: none;
	position: absolute;
	top: 15px;
	right: 15px
}

.preloader {
	position: absolute;
	width: 100%;
	height: 100%;
	margin: 0;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	background: rgba(255,255,255,0.7);
	z-index: 10000;
}

.preloader img {
	position: absolute;
	width: 24px;
	height: 24px;
	margin: auto;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	z-index: 10001;
}

@media (max-width: 991px) and (-webkit-min-device-pixel-ratio: 1.5), (max-width: 991px) {
	#tp_login {
		overflow: initial;
	}
	
	.tp_pass_change .tp_login_errors {
		top: 330px;
	}
	
	#logoComp {
		position: fixed;
		top: 0;
		right: 0;
		width: 300px;
		margin: 30px auto;
		text-align: center;
		left: 0;
	}
	
	#tp_innerwrap {
		top: 120px;
		bottom: inherit;
		padding-bottom: 30px
	}
}

@media (max-width: 767px) and (-webkit-min-device-pixel-ratio: 1.5), (max-width: 767px) {
	
}

@media (max-width: 640px) and (-webkit-min-device-pixel-ratio: 1.5), (max-width: 640px) {
	
}

@media (max-width: 568px) and (-webkit-min-device-pixel-ratio: 1.5), (max-width: 568px) {
	
}

@media (max-width: 535px) and (-webkit-min-device-pixel-ratio: 1.5), (max-width: 535px) {

}

@media (max-width: 480px), (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
	
}

@media (max-width: 360px) and (-webkit-min-device-pixel-ratio: 1.5), (max-width: 360px) {
	
}

@media (max-width: 320px) and (-webkit-min-device-pixel-ratio: 1.5), (max-width: 320px) {

}