
/* global */

html {
	font-size: 62.5%;
	font-family: 'Open Sans', sans-serif;
}

body {
	font-size: 1.6em;
	padding: 0;
	margin: 0;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

p {
	margin: 0;
}

button, input[type=submit] {
	font-family: inherit;
}



/* Skeleton */

.box {
	overflow: hidden;
}
.box-content {
	margin: 1em 0.67em;
}

header#top {
	height: 4em;
	position: relative;
}

#page {
	position: relative;
}

#content {
	overflow: hidden;
}
#content .box-content {
	font-size: 0.9375em;
}

#main-content-header, aside header {
	border-bottom-style: solid;
	border-bottom-width: 0.1rem;
}

main, aside {
	margin-top: 1em;
}



/* Data/Action Row */

.data-row, .action-row {
	border-bottom-style: solid;
	border-bottom-width: 0.1rem;
}

.data-row {
	padding: 1.067em 0;
}
.action-row {
	padding: 0.533em 0 1.067em 0;
}

.data-inrow {
	padding: 0.133em 0;
}

.data-row:after, .action-row:after, .data-inrow:after {
	content: ' ';
	display: block;
	clear: both;
}

.data-label {
	font-weight: bold;
	display: inline-block;
	width: 49%;		/* 2% margin for whitespaces */
}
.data-value {
	float: right;
	width: 49%;
}
.data-row.r46 .data-label { width: 39%; }
.data-row.r46 .data-value { width: 59%; }
.data-row.r365 .data-label { width: 34%; }
.data-row.r365 .data-value { width: 64%; }
.data-row.r37 .data-label { width: 29%; }
.data-row.r37 .data-value { width: 69%; }

.data-footer {
	padding: 1.067em 0;
}

.action-row .button {
	margin-top: 0.533em;
}


/* Header */

/* Branding */

#branding {
    height: 3em;
	padding: 0.5em;
	overflow: hidden;
}
#branding img {
	max-width: 100%;
	max-height: 100%;
}

#branding #alt-title {
	font-size: 1.125em;
	display: inline-block;
}
#branding #alt-title a {
	color: inherit;
}
#branding #alt-title a:hover {
	text-decoration: none;
}

/* Top Navigation */

#top-navigation {
	display: none;
	float: right;
	height: 100%;
}

#top-navigation li {
	margin-left: 2.5em;
}

#top-navigation .item-label {
    margin-left: .8rem;
}

#top-navigation a:hover {
	text-decoration: underline;
}

/* Mobile Navigation */

#mobile-navigation {
	float: right;
	height: 100%;
}

#mobile-navigation li {
	border-left-style: solid;
	border-left-width: 0.1rem;
}

#mobile-navigation a {
	text-align: center;
	display: inline-block;
	width: 4em;
	height: 4em;
}



/* * Navigation */

ul.navigation {
    padding: 0;
    margin: 0;
}

ul.navigation li {
    list-style: none;
}

ul.navigation.horizontal li {
    display: inline-block;
}

ul.navigation li .item-icon, ul.navigation li .item-label {
	display: inline-block;
}

/* ** Boxed Navigation */

nav.box {
	display: none;
	position: absolute;
	z-index: 99;
}

nav.box ul.navigation {
	padding: 0 2em 2em 2em;
}

nav.box a {
	text-decoration: none;
	display: block;
	padding: 1.25em 0;
	border-bottom-style: solid;
	border-bottom-width: 0.1rem;
}

nav.box .item-icon {
	width: 2.125em;
}

/* ** Site Menus */

nav#site-menu, nav#user-menu {
	width: 100%;
}


/* Content */

/* * Content :: Goupies */

.group {
	/*placeholder*/
}

.group.bn {
	border-top-style: solid;
	border-top-width: 0.1rem;
}
.group.bs {
	border-bottom-style: solid;
	border-bottom-width: 0.1rem;
}

.group.p05 {
	padding: 0.5em 0;
}
.group.p1 {
	padding: 1em 0;
}

.group.ptxl {
	padding-top: 2.4em;
}
.group.ptl {
	padding-top: 1.8em;
}
.group.ptm {
	padding-top: 1.2em;
}
.group.pbm {
	padding-bottom: 1.2em;
}
.group.pbs {
	padding-bottom: 0.6em;
}



/* Content Box */

.cbox {
	margin-top: 1.2em;
}
.cbox.wide-spaced {
	margin-top: 2em;
}

.cbox.framed .cbox-content {
	padding: 0.6em;
	border-style: solid;
	border-width: 0.1rem;
}

.cbox header {
	border-bottom-style: solid;
	border-bottom-width: 0.1rem;
}

.cbox h2 {
	font-size: 2.2em;
	padding-bottom: 0.3em;
}
.cbox h3 {
	font-size: 1.467em;
	font-weight: bold;
	padding-bottom: 0.682em;
}

.cbox .actions {
	float: right;
	line-height: 1.6em;
	margin-left: 0.5em;
}
.cbox .actions a {
	display: block;
}

.cbox .data-row:after {
	content: ' ';
	display: block;
	clear: both;
}

/* Tablerazing box */

.tbox .tbox-header {
	display: none;
	font-weight: bold;
	text-align: center;
}
.tbox .tbox-row {
	display: block;
	margin-top: 0.6em;
	padding: 0.3em 0.6em;
	border-style: solid;
	border-width: 0.1rem;
}

.tbox .tbox-cell {
	padding: 0.333em 0;
}
.tbox .tbox-cell:not(:last-child) {
	border-bottom-style: solid;
	border-bottom-width: 0.1rem;
}
.tbox .tbox-cell:after {
	content: ' ';
	display: block;
	clear: both;
}
.tbox .tbox-cell.table-only {
	display: none;
}

.tbox .tbox-label {
	display: inline-block;
	width: 49%;
}
.tbox .tbox-label:after {
	content: ':';
}
.tbox .tbox-value {
	display: inline-block;
	float: right;
	width: 49%;
	text-align: right;
}
.tbox .tbox-value.table-only {
	display: none;
}

.tbox .lv46 .tbox-label { width: 39%; }
.tbox .lv46 .tbox-value { width: 59%; }
.tbox .lv37 .tbox-label { width: 29%; }
.tbox .lv37 .tbox-value { width: 69%; }

.tbox .tbox-heading {
	display: inline-block;
	font-size: 1.2em;
	font-weight: bold;
	padding-bottom: 0.25em;
}
.tbox .tbox-row-ops {
	float: right;
}
.tbox .tbox-row-actions a {
	display: block;
}

.tbox h2 {
	padding-bottom: 0.333em;
	padding-top: 0.667em;
	border-bottom-style: solid;
	border-bottom-width: 0.1rem;
}

.tbox a {
	font-weight: 700;
}
.tbox a i {
	padding-left: 0.25em;
}

.tbox .tbox-tag {
	font-size: 0.667em;
	height: 1.75em;
	vertical-align: top;
}

.tbox .tbox-cell.highlighted {
	font-weight: bold;
}



/* * Content :: Buttons */

.button {
	font-weight: 700;
	font-size: 1.067em;
	padding: 0.9375em;
	text-transform: uppercase;
	text-align: center;
	cursor: pointer;
}
a.button {
	display: block;
}

.button.light {
	border-style: solid;
	border-width: 0.1rem;
}
.button.full {
	border: none;
}

.button.standalone {
	margin-top: 1.067em;
}

.button.disabled, .button[disabled] {
    cursor: default;
}


/* * Content :: Forms */

input[type=text], input[type=password], select, textarea, .input-compound {
	border-style: solid;
	border-width: 0.1rem;
}

input[type=text], input[type=password], select, textarea, .field.frozen {
	padding: 0.667em;
}

.input-compound {
	display: inline-block;
}
.input-compound input[type=text], .input-compound input[type=password], .input-compound select, .input-compound textarea {
	border: none;
}
.input-compound .local-submit {
	padding-left: 0.667em;
	padding-right: 0.667em;
}

p.form-row {
	margin: 1.2em 0;
}
.form-row .label {
	display: block;
	font-weight: 700;
	padding-bottom: 0.333em;
}
.form-row .field {
	display: block;
}
.form-row .info {
	display: block;
	padding-top: 0.167em;
}
.form-row input:not([type=checkbox]), .form-row select, .form-row textarea {
	width: 100%;
	box-sizing: border-box;
}

.form-actions {
	padding: 0.6em 0 1.4em 0;
	border-style: solid none;
	border-width: 0.1rem;
	text-align: right;
}
.form-actions.topless {
	border-top: none;
}
.form-actions.eqh-container {
	padding-top: 0.4em;
	padding-bottom: 1.4em;
}
.form-actions .button {
	margin-top: 0.8em;
	width: 100%;
}


/* ** Headings */

h1, h2, h3, h4, h5, h6 {
	margin: 0;
}

h1, h2 {
	font-weight: 300;
}

h1 {
	font-size: 1.667em;
	padding-bottom: 0.3em;
}
h2 {
	font-size: 1.333em;
}
h3 {
	font-size: 1.167em;
}


/* Content :: Result message */

.action-results {
	border-bottom-style: solid;
	border-bottom-width: 0.1rem;
	padding: 0.6em 0;
}
.result-msg {
	margin: 0.5em 0;
	font-size: 1.4em;
	font-weight: 300;
}
.result-msg i {
	font-size: 1.2em;
	padding-right: 0.25em;
}


/* Content :: Article */

article {
	line-height: 1.6;
}

article h3 {
	font-size: 1.467em;
	color: inherit;
}

article h3, article p {
	margin: 1.2em 0;
}


/* Content :: Hint tooltip */

.hint {
	position: relative;
	/*display: inline-block;*/
}

.hint-text {
	visibility: hidden;
	width: 7em;
	text-align: center;
	padding: 0.333em 0;
	position: absolute;
	z-index: 1;
	border-style: solid;
	border-width: 0.1rem 0.2rem 0.3rem 0.1rem;
	border-color: #e6e6e6;
}
.hint-text.bottom {
	top: 100%;
	left: 50%;
	margin-left: -3.5em;
}
.hint:hover .hint-text {
	visibility: visible;
}

/* Content :: Misc */

.stacked {
	margin-top: 1.8rem;
	padding-bottom: 0.333em;
	border-bottom-style: solid;
	border-bottom-width: 0.1rem;
}

.section-info {
	margin-top: 1.2em;
	padding: 1em 0;
	line-height: 1.6;
}

.standout {
	font-size: 1.4em;
	font-weight: 300;
}

.complementary {
	display: block;
	font-size: 0.867em;
	font-weight: 400;
	margin-top: 0.2em;
}

.content-footer {
	padding-top: 1.2em;
}
.content-footer.delimited {
	margin-top: 1.2em;
	border-top-style: solid;
	border-top-width: 0.1rem;
}

.pager {
	font-size: 1.067em;
	text-align: right;
}
.pager .pager-item {
	display: inline-block;
	margin-left: 2.4em;
}

.nobr {
	white-space: nowrap;
}

.elastic {
	word-wrap: break-word;
}

.smaller {
	font-size: 0.867em;
}
.smallest {
	font-size: 0.733em;
}

.larger {
	font-size: 1.133em;
}
.largest {
	font-size: 1.267em;
}

.higher {
	line-height: 1.4;
}



/* Page specific */

/* Page :: Domains */

.registration {
	padding: 1.2em 0 0.6em 0;
}
.registration .button {
	float: right;
	margin-left: 1.2em;
}
.registration .input-compound {
	display: block;
	overflow: hidden;
}
.registration .input-compound input {
	box-sizing: border-box;
	width: 100%;
	line-height: 1.8;
}

/* pogrubienie domen dostepnych do rejestracji (z rezerwacja [1] i bez rezerwacji [3]) */
.domain-availability .domain-status-1 .domain-name,
.domain-availability .domain-status-3 .domain-name {
	font-weight: 700;
}

#domenyInne {
	max-height: 20em;
	overflow: auto;
}
#domenyInne var {
	display: inline-block;
	font-style: normal;
	margin: 1em 0;
}

/* DNSSEC */

.dnssec-data {
	display: none;
}

/* Page :: Contact */

.eqh-container {
	padding-bottom: 1em;
}
.eqh-child {
	display: inline-block;
	margin-top: 1em;
}

/* Page :: Invoices */

.status {
	cursor: help;
}

/* Page :: News */

.news {
	margin-top: 2em;
	padding-bottom: 2em;
	border-bottom-style: solid;
	border-bottom-width: 0.1rem;
}
.news h2 {
	font-size: 1.667em;
}
.news time {
	display: block;
	line-height: 2;
}
.news .news-body {
	font-size: 1.067em;
	line-height: 1.6;
}



/* Contact Box */

aside#contact .postal {
	margin: 1em 0;
}
aside#contact .office {
	margin-top: 0.75em;
	padding-top: 0.75em;
	border-top-style: solid;
	border-top-width: 0.1rem;
}

aside#contact p {
	font-size: 1.067em;
	line-height: 1.6;
}



/* General layout tool classes */


/* Aligns */

.tal { text-align: left; }
.tac { text-align: center; }
.tar { text-align: right; }


/**
 * http://nicolasgallagher.com/micro-clearfix-hack/
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before, .cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}
.cf:after {
    clear: both;
}

/* vertical-align middle hook (place on container) */
.vam-hook-after:after, .vam-hook-before:before {
    height: 100%;
    content: '';
    font-size: 0;
    vertical-align: middle;
    display: inline-block;
}
.vam {
	vertical-align: middle;
}

.anchor {
	font-size: 0;
}

/* misc */

.loading_ajax {
	width: 24px;
	height: 24px;
	vertical-align: bottom;
	visibility: hidden;
}



/* Media Queries */

/* desktop layout - 2 columns (aside under main) */
@media only screen and (min-width: 54em) {

	.box {
		margin: 2rem 0 2rem 2rem;
	}
	.box-content {
		margin: 1.4em 1.8em;
	}

	#content {
		margin-right: 2rem;
	}

	header#top {
		padding-top: 2rem;
		padding-bottom: 2rem;
		padding-left: 2.5em;
		padding-right: 2.5em;
	}

	#branding {
		height: 100%;
		padding: 0;
	}

	#branding #alt-title {
		font-size: 2em;
	}

	nav#site-menu {
		display: block;
		width: 17.5em;
		float: left;
	}

	#mobile-navigation {
		display: none;
	}

	#top-navigation {
		display: block;
	}

	nav.box {
		position: static;
	}

	nav.box ul.navigation {
		padding: 0;
	}

	nav.box a {
		padding: 1.625em 2.5em;
		border: none;
	}

	/* Content Boxes */

	.tbox .tbox-row {
		padding: 0.6em 1.2em;
		margin-top: 1.2em;
	}
	.cbox.framed .cbox-content {
		padding: 1.2em;
	}

	/* Headings */

	h1 {
		font-size: 2.667em;
	}

	aside h1, h2 {
		font-size: 2.333em;
	}

	h3 {
		font-size: 1.467em;
	}

}

/* desktop layout - 3 columns */
@media only screen and (min-width: 92em) {

	.with-contact-box header#top {
		padding-right: 21.25em;
	}
	
	.with-contact-box #content {
		position: relative;
		padding-right: 18.75em;
	}

	aside#contact {
		width: 17.5em;
		position: absolute;
		top: 0;
		right: 0;
	}

	header.box-aligning {
		height: 5.8rem;
	}

}

/* content - 2 columns */
@media
	only screen and (min-width: 47em) and (max-width: 53.9375em),
	only screen and (min-width: 72em) {

	/* Content Box */

	.cbox:not(.adaptive) {
		width: 50%;
		display: inline-block;
		vertical-align: top;
	}

	.cbox.framed:not(.adaptive):nth-of-type(odd) .cbox-content {
		margin-right: 0.667em;
	}
	.cbox.framed:not(.adaptive):nth-of-type(even) .cbox-content {
		margin-left: 0.667em;
	}

	.cbox:not(.adaptive):nth-of-type(odd) .cbox-content {
		margin-right: 1.8em;
	}
	.cbox:not(.adaptive):nth-of-type(even) .cbox-content {
		margin-left: 1.8em;
	}

	/* Tabelarizing Box */

	.tbox .tbox-body {
		display: table;
		width: 100%;
	}
	.tbox .tbox-header, .tbox .tbox-row {
		display: table-row;
	}
	.tbox .tbox-row {
		padding: 0;
		margin: 0;
		border: none;
	}
	.tbox .tbox-column, .tbox .tbox-cell, .tbox .tbox-cell.table-only {
		display: table-cell;
		padding: 1.4em 1em 1.4em 0;
		text-align: left;
		vertical-align: middle;
		border-bottom-style: solid;
		border-bottom-width: 0.1rem;
	}
	.tbox .tbox-label {
		display: none;
	}
	.tbox .tbox-value {
		display: inline;
		float: none;
		width: auto;
		text-align: inherit;
	}
	.tbox .tbox-value.table-only {
		display: inline;
	}
	.tbox .tbox-heading {
		display: none;
	}

	/* Columns */

	.column.cols-2 {
		display: inline-block;
		width: 50%;
		vertical-align: top;
	}
	.column.cols-2.left {
		padding-right: 1.8em;
		box-sizing: border-box;
	}
	.column.cols-2.right {
		padding-left: 1.8em;
		box-sizing: border-box;
	}

	/* Equal height horizontal cells - using table display */

	.eqh-container {
		display: table;
		width: 100%;
	}
	.eqh-cell {
		display: table-cell;
	}

	/* buttons */

	.button:not(.standalone) {
		display: inline-block;
		width: auto;
	}

	.button.xs { width: 4em; }
	.button.s { width: 6em; }
	.button.m { width: 8em; }
	.button.l { width: 10em; }
	.button.xl { width: 12em; }
	.button.xxl { width: 14em; }
	.button.xxxl { width: 16em; }

}
