@import url('./griza-portal.css');

/*
	This file extends griza-portal.css (and ultimately griza.css) and
	is meant for use with the SSL guide pages in the captive portal.
*/

/*
	=======
	CONTENT
	=======
*/

h2 { margin-top: 1em; }

.guide-intro-container {
	display:     flex;
	align-items: center;
	margin:      1em 0;
}

.guide-intro-icon {
	margin: 1em 1em 1em 0;
}

.guide-intro-icon i {
	color:     #328ad6;
	font-size: 3em;
}

.guide-intro-text {
	font-weight: bold;
}

.guide-intro-icon > :first-child,
.guide-intro-text > :first-child {
	margin-top: 0;
}

.guide-intro-icon > :last-child,
.guide-intro-text > :last-child {
	margin-bottom: 0;
}

#download-button {
	min-width: 7.5em;
}

#certificate-issue-notice {
	display:            block;
	width:              100%;
	color:              #111111;
	text-align:         center;
	text-shadow:        1px 1px 0px rgba(255,255,255, 0.2);
	background:         #ff7f7f;
	border-radius:      4px;
	margin:             1em auto 0em auto;
	padding:            0.75em 1em;
	-moz-box-sizing:    border-box;
	-webkit-box-sizing: border-box;
	box-sizing:         border-box;
}

.number {
	display:       inline-block;
	width:         2em;
	height:        2em;
	color:         #ffffff;
	font-size:     1.25em;
	text-shadow:   none;
	line-height:   2em;
	background:    #c0c0c0;
	border-radius: 50%;
	margin-top:    1.5em;
}

.number span {
	position: absolute;
	top:      -9999px;
	left:     -9999px;
}

.guide-image {
	display: block;
}

.guide-image div {
	display:       inline-block;
	max-width:     100%;
	text-align:    center;
	border:        4px solid #dddddd;
	border-radius: 4px;
	margin:        1em auto 0px auto;
}

.guide-image div div {
	display:       block;
	border:        1px solid #c0c0c0;
	border-radius: 0px;
	margin:        0px 0px;
	overflow-x:    hidden;
}

.guide-image img {
	display:   block;
	max-width: 100%;

	/*
		Firefox's default image-scaling quality is awful; using a CSS transform
		forces it to use sub-pixel-precise scaling, like WebKit does by default.
		Unfortunately, there's nothing we can do about Opera — it supports several
		transformation and rendering properties, but its image-rendering algorithm
		is simply inherently terrible.
	*/
	transform: rotate(0.0001deg);
}

#nav {
	display:    block;
	width:      100%;
	text-align: center;
	margin:     1.75em 0px 0px 0px;
	padding:    0px 0px;
}

#nav li {
	display:       inline-block;
	margin-top:    0.25em;
}

#nav li a {
	display:       inline-block;
	color:         #333333;
	font-size:     0.875em;
	background:    #d8d8d8;
	border:        none;
	border-radius: 4px;
	padding:       4px 6px;
}

#nav li .here {
	color:      #ebebeb;
	background: #333333;
}

#nav li a:hover {
	color:      #ffffff;
	background: #328ad6;
}
