

html, body {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

a {
	color: #494949;
	text-decoration: none;
	cursor: pointer;
	outline: none;
}

img {
	margin: 0;
	padding: 0;
	border-width: 0px;
	outline: none;
}

form, input, textarea, select {
	margin: 0px;
	padding: 0px;
	outline: none;
	font-size: 11px;
	font-family: 'Open Sans', sans-serif;
}

.clearer {
	height: 0;
	clear: both;
}

.row-label {
	padding: 10px 0 4px;
	font-size: 13px;
}

.input-field {
	width: 230px;
	padding: 0 15px;
	height: 40px;
	line-height: 40px;
	margin-top: 18px;
	font-size: 12px;
	border: 1px solid #d2d2d2;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	behavior: url(/PIE.php) !important;
}

.button {
	background: url('/gfx/default/button.png') no-repeat 0 0;
	width: 123px;
	height: 25px;
	line-height: 25px;
	margin: 0 auto;
	color: white;
	text-align: center;
	border: none;
	display: block;
	cursor: pointer;
	position: absolute;
	bottom: 20px;
	left: 39px;
	font-size: 14px;
	text-shadow: 1px 1px black;
}

.button:hover {
	background: url('/gfx/default/button.png') no-repeat 0 -25px;
}

.button.button-terminarz, .button.button-terminarz:hover {
	background: url('/gfx/default/terminarz_button.png') no-repeat 0 0;
	height: 32px;
	line-height: 32px;
}

#login-submit.button, .button.new-style {
	width: 100%;
	height: 42px;
	line-height: 42px;
	/*background: #019ee5;*/
	background-size: 100% 100%;
	position: relative;
	left: 0;
	margin-top: 20px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	behavior: url(/PIE.php) !important;
}

#login-submit.button:hover, .button.new-style:hover {
	opacity: 0.95;
	filter: alpha(opacity = 95);
}

.gabinet-logo {
	background: url('/gfx/default/sprites.png') no-repeat -168px -94px;
	width: 48px;
	height: 16px;
	margin-top: 15px;
	float: right;
}

#pageholder {
	background-color: white;
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}

#panel-background {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 0;
}

#highlight-holder {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
}

#center-row {
	height: 180px;
	position: relative;
}

#center-row .portal-option {
	width: 200px;
	height: 180px;
	/*float: left;*/ /* temporarily disabled due to only one option present, need to revert when more portal-options are present */
	margin: 0 auto;
	position: relative;
}

#center-row .portal-option .name-holder {
	width: 100%;
	/*height: 120px;*/
	height: 100%;
	text-align: center;
}

#center-row .portal-option .name-holder h1 {
	font-size: 12px;
	font-weight: normal;
	margin: 0;
}

#center-row .portal-option .name-holder h1 .big-text {
	font-size: 20px;
}

#highlight {
	height: 180px;
	position: absolute;
	z-index: 30;
}

#options-holder {
	margin: 0 auto;
	position: relative;
	z-index: 50;
	display: none;
}

#overlay {
	/*background-color: black;*/
	background: #525866;
	display: none !important;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	z-index: 400;
}

#popup-overlay {
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 500;
	width: 100%;
	display: none;
	opacity: 0;
	-webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.loggedin-visible{
	opacity: 1;
}


#popup-holder {
	position: relative;
	margin: 0px auto;
}

#popup-overlay .popup {
	border: 1px solid #b4b4b4;
	background-color: #fff;
	position: fixed;
	z-index: 550;
	display: none;
	-webkit-box-shadow: 0px 2px 6px #000;
	-moz-box-shadow: 0px 2px 6px #000;
	box-shadow: 0px 2px 6px #000;
	behavior: url(/PIE.php) !important;
	/* IE7-8 filters tend to make box invisible because Shadow and Opacity filters conflict */
	/*-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=0, Direction=0, Color='#000')";*/
	/*filter: progid:DXImageTransform.Microsoft.Shadow(Strength=5, Direction=155, Color='#000');*/
	/*filter:
        progid:DXImageTransform.Microsoft.Shadow(color=#333333,direction=0,strength=1)
        progid:DXImageTransform.Microsoft.Shadow(color=#444444,direction=90,strength=3)
        progid:DXImageTransform.Microsoft.Shadow(color=#444444,direction=180,strength=6)
        progid:DXImageTransform.Microsoft.Shadow(color=#333333,direction=270,strength=3);
    */
}

.popup {
	color: #494949;
	font-size: 12px;
}

.popup .label-row {
	display: block;
	height: 26px;
	line-height: 26px;
	padding-top: 5px;
	float: left;
}

.popup .label-row .label-text {
	width: auto;
	float: left;
}

.popup .label-row input {
	float: left;
}

.popup .label-row .custom-button {
	margin: 5px 5px 5px 0;
	float: left;
}

.popup-header {
	line-height: 27px;
	height: auto;
	background: #fff;
	color: #494949;
	padding: 45px 0 22px 0;
	position: relative;
}

.popup-header .header-text, .popup-subheader .header-text {
	float: left;
}


#popup-overlay .overpop {
	z-index: 750;
}

#login-box {
	/*background: url('/gfx/default/login_panel.png') no-repeat;*/
	width: 296px;
}

#login-box .header-text {
	font-size: 18px;
	float: left;
}

#login-box .icon-lock {
	background: url('/gfx/default/lock.png') no-repeat;
	width: 23px;
	height: 28px;
	margin-right: 8px;
}

.popup-content {
	padding: 0 17px 35px 17px !important;
	position: relative;
}

#login-box #login-options {
	font-size: 12px;
	height: 15px;
	padding-top: 5px;
	clear: both;

}

#login-box #login-options #pass-remind {
	height: 15px;
	line-height: 15px;
	float: left;
}

#login-box #login-options #pass-remind:hover {
	border-bottom: 1px solid #494949;
}

#login-box #login-options #remember-me {
	float: right;
	cursor: pointer;
}

#login-box #login-options #remember-me .label-text {
	border-bottom: 1px solid #494949;
	padding-bottom: 1px;
}

#login-box #login-options #stay-logged {
	width: 13px;
	height: 13px;
	margin: 0;
	margin-left: 5px;
	float: right;
}

.message-container {
	padding: 21px 0 0 0;
	text-align: justify;
	font-size: 13px;
}

.terminarz-logo {
	background: url('/gfx/default/sprites.png') no-repeat -320px -112px;
	width: 182px;
	height: 55px;
	display: block;
	margin: 0 auto;
}

.terminarz-logo-small {
	background: url('../images/logom.png') no-repeat;
	width: 170px;
	height: 61px;
	margin: 0 auto;
}

.hidden-input {
	display: none;
}

.custom-button {
	padding: 0 7px 0 5px;
	margin-right: 5px;
	height: 15px;
}

.custom-button.check {
	background: url('/gfx/default/sprites.png') no-repeat -140px -54px;
}

.custom-button.check.pressed {
	background: url('/gfx/default/sprites.png') no-repeat -155px -54px;
}

.custom-button.check.checked {
	background: url('/gfx/default/sprites.png') no-repeat -170px -54px;
}

.custom-button.check.checked.pressed {
	background: url('/gfx/default/sprites.png') no-repeat -185px -54px;
}
.custom-button.check.checked.disabled {
	background: url('/gfx/default/sprites.png')  no-repeat -155px -82px;
}

.option-button {
	margin-top: 35px;
	text-align: center;
	width: 100%;
	line-height: 42px;
	height: 42px;
	border: none;
	padding: 0;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	font-size: 15px;
	font-weight: normal;
	display: block;
	float: left;
	cursor: pointer;
	behavior: url(/PIE.php) !important;
	position: relative;
	color: #ffffff !important;
}

.option-button.green .button-text, .option-button.red .button-text {
	color: #ffffff !important;
}

.option-button .icon {
	margin: 4px 0;
	float: left;
}

.option-button .icon-big {
	margin: 3px 0 2px;
	float: left;
}

.option-button .button-text {
	padding-left: 7px;
	float: left;
}

.option-button:hover {
	/*opacity: 0.92;
	filter: alpha(opacity = 92);*/
}

.popup-header h2 {
	position: absolute;
	top: -55px;
	width: 110%;
	margin: 0 -5%;
	text-align: center;
	font-weight: 300;
	font-size: 35px;
	color: #fff;
}
.option-button {
	height: 31px;
	line-height: 31px;
	padding: 0 12px 0 8px;
	background: #bebebe;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	font-size: 13px;
	color: white;
	display: block;
	float: left;
	cursor: pointer;
	position: relative;
	/*behavior: url(/PIE.php) !important;*/
}

.option-button.symbol {
	width: 11px;
	font-size: 20px;
	font-weight: bold;
	padding: 0 10px;
}

.option-button.green {
	background: #9def00;
}

.option-button.red {
	background: #ee0000;
}

.option-button.blue {
	background: #00a6e7;
}

.option-button.blue .button-text {
	color: white;
}

.option-button.green .button-text, .option-button.red .button-text {
	color: white;
}

.option-button .icon {
	margin: 4px 0;
	padding-right: 5px;
	float: left;
}

.option-button .icon-big {
	margin: 3px 0 2px;
	float: left;
}