/*
 *			HTML tagy
 */

HTML, BODY, .mwc-auth .page {
	height: 100%;
}

BODY {
	font-family: Helvetica, Liberation Sans, sans-serif;
	color: #c4c4c4;
	margin: 0;
}

BODY.mwc-auth{
	background: rgba(255,255,255,0.9) url('/static/project/img/matras-bg.jpg');
	background-repeat: no-repeat;
	background-blend-mode: difference;
	background-size: cover;
}

SELECT:required:invalid {
	color: gray;
}

OPTION {
	color: black;
}

A.disabled { color:gray; }

/*
 *			HTML elementy podľa ID
 */

#layout {
	color: black;
}

#account {
	display: inline-block;
	min-width: 875px;
}

#account > UL {
	margin: 3px;
}

#account > UL > LI {
	list-style: none;
	margin-right: 30px;
	margin-top: 0;
	float: left;
	font-style: italic;
}

#account LI SPAN {
	font-weight: bolder;
	font-style: normal;
}

#quotes {
	background-color: midnightblue;
	color: white;
}

#quotes > .header {
	text-shadow: 0 0 8px;
	float: right;
	margin-right: 5px;
	padding: 0 7px;
	font-weight: bold;
	background-color: midnightblue;
	cursor: pointer;
}

#quotes > SPAN {
	padding: 0 20px;
	display: inline-block;
}

#totalCount {
	position: fixed;
	bottom: 0;
	left: 0;
	color: white;
}

#footer {
	font-size: 12px;
	text-align: center;
	color: black;
	margin-top: 100px;
}

#footer > DIV {
	max-width: 840px;
	margin: 0 auto;
}

/*
 *			CSS triedy
 */

.ars-form-center {
	margin: auto;
	width: fit-content;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	background-color: rgba(0, 38, 138, 0.5);
	border-radius: 5px;
	padding: 13px;
}

.ars-form-center DIV {
	margin: 10px;
}

.ars-form-center .btn-line {
	margin-top: 20px;
	text-align: center;
	clear: both;
}

.ars-form-center.purpur {
	background-color: rgba(38, 0, 138, 0.5);
}

.purpur SELECT {
	width: 265px;
	height: 28px;
	padding-left: 6px;
	font-size: 14px;
	/* mozilla FF */
	/*padding-left: 2px;*/
}

.ars-form-center INPUT,
.ars-form-center BUTTON {
	padding: 5px 10px;
	font-size: 14px;
	border-radius: 4px;
}

.ars-form-center INPUT[type="text"],
.ars-form-center INPUT[type="password"],
.ars-form-center INPUT[type="tel"],
.ars-form-center INPUT[type="email"] {
	background-color: #fff;
	background-image: none;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
	border: 1px solid #ccc;
	transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
	width: 242px;
}

.ars-form-center INPUT[type="text"]:focus,
.ars-form-center INPUT[type="password"]:focus,
.ars-form-center INPUT[type="tel"]:focus,
.ars-form-center INPUT[type="email"]:focus {
	border-color: #66afe9;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(102, 173, 233, 0.6);
	outline: 0 none;
}

.ars-form-center .btn-line INPUT[type="submit"],
.ars-form-center .btn-line INPUT[type="button"],
.ars-form-center .btn-line BUTTON {
	background-image: none;
	-moz-user-select: none;
	border: 1px solid transparent;
	display: inline-block;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
}

.btn-info {
	background-color: #0095CC;
	border-color: #149acc;
	color: #fff;
}

.btn-info:active, .btn-info:focus, .btn-info:hover {
	background-color: #22B6E3;
	border-color: #0e7094;
	color: #fff;
}

.btn-caution {
	background-color: #A5435C;
	border-color: #c40a0c;
	color: #fff;
}

.btn-caution:active, .btn-caution:focus, .btn-caution:hover {
	background-color: #EA435B;
	border-color: #9e0004;
	color: #fff;
}

.page-grid {
	height: 100%;
	width: 100;
	position: absolute;
}

.page-grid .site-menu .hider {
	background-color: lightgrey;
	color: red;
	font-weight: bold;
	height: 22px;
	width: 15px;
	margin: 0;
	padding: 0;
	text-align: center;
	position: absolute;
	top: 0;
	right: 0;
	cursor: pointer;
}

.site-menu {
	position: fixed;
	overflow: hidden;
	background: rgba(0,0,0,0.6) none repeat scroll 0 0;
	top: 0;
	bottom: 0;
	left: 0;
	width: 250px;
	/*z-index: 200;*/
	min-height: 100%;
	white-space: nowrap;
}

.site-menu HEADER {
	text-align: center;
	margin-top: 20px;
	margin-bottom: 20px;
}

.site-menu HEADER DIV.app-caption {
	font-style: italic;
	width: 250px;
	border: 1px solid black;
	margin: 20px 0;
	padding: 8px 0;
	text-align: center;
	background: white;
	color: black;
}

.footer-info {
	bottom: 0;
	position: fixed;
	width: 180px;
	text-align: center;
	vertical-align: middle;
	padding: 3px 4px;
	background-color: black;
	opacity: 0.4;
	color: limegreen;
	font-family: monospace;
	z-index: 120;
	margin-bottom: -77px;
}

.page-content {
	margin-left: 250px;
	max-height: 100%;
	padding: 1.6em 3.2em;
	color: midnightblue;
}

.page-content TABLE {
	color: #c4c4c4;
}

.page-content .header {
	color: #ddd;
}

.spinner {
	height: 8px;
	width: 8px;
	animation: rotate 0.8s infinite linear;
	border: 4px solid #fff;
	border-right-color: transparent;
	border-radius: 50%;
}

@keyframes rotate {
	0%    { transform: rotate(0deg); }
	100%  { transform: rotate(360deg); }
}

.emailbtn {
	font-size: 0.8em;
	background-color: royalblue;
	padding: 3px 5px;
	font-weight: bold;
	width: 64px;
	float: left;
}

.emailspin {
	margin-left: 5px;
	float: left;
	color: limegreen;
	font-weight: bold;
	margin-top: 3px;
}


.mwc-auth .page {
	display: flex;
	flex-direction: column;
}

.page > DIV {
	flex: 0 1 auto;
}

.mwc-auth .header {
	background-color: white;
	padding: 14px 32px !important;
}

.mwc-auth .header .wrap {
	max-width: 1000px;
	margin: auto;
}

.mwc-auth .logo {
	float: left;
	background: rgba(0, 0, 0, 0) url('/static/project/img/matras-logo.png') no-repeat scroll 0 0 / 100% auto;
	height: 49px;
	margin: 3px 0 0;
	width: 237px;
}

.mwc-auth .languages {
	float: right;
	color: rgb(68,68,68);
	font-size: 12px;
	margin-top: 12px;
	background-image: url('/static/project/img/flag-gb.png');
	background-color: #eee;
	background-position: 6px center;
	background-repeat: no-repeat;
	border: 1px solid #ccc;
	border-radius: 6px;
	padding: 6px 0 4px 28px;
	width: 55px;
}

.clr {
	clear: both;
}

.ars-server-info {
	padding: 3px 20px 4px;
	background-color: black;
	opacity: 0.65;
	text-align: center;
	position: fixed;
	left: 0;
	bottom: 0;
	color: yellow;
	font-size: 0.8em;
	margin-bottom: -77px;
	border-top-right-radius: 6px;
}

.ars-request-log {
	padding: 10px;
	background: rgba(0,0,0,.65);
	position: fixed;
	bottom: 0;
	right: 0;
	max-height: 500px;
	overflow-y: auto;
	z-index: 205;
	border-top-left-radius: 6px;
}

.ars-section {
	float: left;
	margin: 8px;
}

.mwc-auth .main {
	flex: 1 1 auto;
}

.mwc-auth FORM, .auth-caption {
	width: fit-content;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	margin: 0 auto;
}

DIV.ars-matr-auth-caption {
	text-align: center;
	font-weight: normal;
	font-size: 20px;
	margin: 0 0 20px;
	color: midnightblue;
	font-variant: small-caps;
}

.aws-register DIV.ars-matr-auth-caption {
	margin: 0 0 10px;
}

.auth-caption {
	margin: 70px auto 60px;
	text-align: center;
	font-size: 20px;
	color: midnightblue;
	font-variant: small-caps;
	text-shadow: 0px -4px 20px blueviolet;
}

.mwc-auth FORM .form-column {
	float: left;
	margin-top: 0;
}

P.emphasis {
	margin-top: 10px;
	font-weight: bold;
}

.log-box {
	padding: 10px;
	background: rgba(0,0,0,.85);
	position: fixed;
	bottom: 0px;
	max-height: 500px;
	overflow-y: auto;
	right: 0;
	z-index: 120;
	border-top-left-radius: 6px;
}

.ars-matr-reg-info {
	width: 460px;
}

.ars-matr-reg-info B, #reg-timer {
	color: #fff;
}

.ars-matr-reg-info A {
	border-bottom:1px dotted white;
	-moz-text-decoration-line: underline;
	-moz-text-decoration-style: dashed;
}

.footer-top {
	background-color: rgba(138, 0, 38, 0.7);
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	/*background-color: #FFF;*/
}

.footer-header {
	font-size: 14px;
	font-weight: bold;
	padding: 4px;
}

.footer-middle {
	background-color: rgba(138, 0, 38, 0.45);
	font-style: italic;
	height: 44px;
	padding: 4px 0;
}

.footer-bottom {
	background-color: rgba(138, 0, 38, 0.35);
	border: 0 none;
	vertical-align: baseline;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}

.footer-links {
	height: 40px;
}

.footer-links A {
	background-color: #A5435A;
	background-image: linear-gradient(to bottom, #A5435A, #c5435A);
	background-repeat: repeat-x;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 12px;
	font-weight: bold;
	margin: 8px 20px 0;
	padding: 5px;
	width: 130px;
}

.footer-copyright {
	height: 20px;
	font: inherit;
}

.footer-copyright A {
	color: white;
	text-decoration: none;
}

.fixed_headers thead {
	background-color: #333333;
	color: #fdfdfd;
}

.fixed_headers tbody tr:nth-child(even) {
	background-color: #111;
}

.fixed_headers.demo_dash {
	border-top: 1px solid black;
	background-color: black;
	opacity: 0.85;
	border-radius: 5px;
	margin: 25px 0 100px 0;
}

.feedback-label {
	position: fixed;
	right: 1px;
	top: 110px;
	z-index: 200;
	color: navajowhite;
	background-image: linear-gradient(sienna, burlywood);
	padding: 6px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	transform: rotate(-90deg);
	transform-origin: right bottom 0;
	cursor: pointer;	
}

/*
 *			Preťaženia štýlov komponentov knižnice w2ui
 */

.w2ui-layout > div .w2ui-panel .w2ui-panel-title {
	background-image: linear-gradient(midnightblue, navy);
	color: white;
}

.w2ui-panel-tabs.w2ui-reset.w2ui-tabs {
	background-image: linear-gradient(#dae6f3, #c2d5ed);
}

.w2ui-icon-collapsed:before {
	position: relative;
    top: 1px;
    left: 1px;
    content: ' ';
    width: 6px;
    height: 6px;
    border: 2px solid rgba(150, 150, 150, 0.8);
    border-bottom: 0;
    border-left: 0;
	transform: rotateZ(-135deg);
}

#tb_layODeals_main_toolbar_item_item_1 {
	width: 50%;
}

TD#tb_layTop_top_toolbar_item_logout {
	color: midnightblue;
}

#layout_layODeals_panel_left .w2ui-form .w2ui-form-header {
	padding: 10px;
}

#reg-timer {
	font-weight: bold;
}

BUTTON.w2ui-btn.reinit-btn {
	background-image: linear-gradient(#dae6f3, #c2d5ed);
	color: midnightblue;
}

BUTTON.w2ui-btn.startall-btn {
	background-image: linear-gradient(limegreen, green 70%);
	color: white;
	width: 120px;
	font-size: 1.3em;
	margin-top: -4px;
}