/***********************
*   RESET
************************/

* {
	margin: 0;
	padding: 0;
	border: medium none;
	border-spacing: 0;
	background: none repeat scroll 0 0 transparent;
	list-style: none outside none;
	text-align: left;
	text-decoration: none;
	text-indent: 0;
	font-weight: normal;
	font-size: 14px;
	line-height: 1.42rem;
}


/***********************
*   GRID
************************/

.container_12 {
	margin-left: auto;
	margin-right: auto;
	width: 960px;
}

.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
	display: inline;
	float: left;
	margin-right: 10px;
	margin-left: 10px;
}

.container_12 .grid_1 {
	width: 60px;
}

.container_12 .grid_2 {
	width: 140px;
}

.container_12 .grid_3 {
	width: 220px;
}

.container_12 .grid_4 {
	width: 300px;
}

.container_12 .grid_5 {
	width: 380px;
}

.container_12 .grid_6 {
	width: 460px;
}

.container_12 .grid_7 {
	width: 540px;
}

.container_12 .grid_8 {
	width: 620px;
}

.container_12 .grid_9 {
	width: 700px;
}

.container_12 .grid_10 {
	width: 780px;
}

.container_12 .grid_11 {
	width: 860px;
}

.container_12 .grid_12 {
	width: 940px;
}

.container_12 .prefix_1 {
	padding-left: 80px;
}

.container_12 .prefix_2 {
	padding-left: 160px;
}

.container_12 .prefix_3 {
	padding-left: 240px;
}

.container_12 .prefix_4 {
	padding-left: 320px;
}

.container_12 .prefix_5 {
	padding-left: 400px;
}

.container_12 .prefix_6 {
	padding-left: 480px;
}

.container_12 .prefix_7 {
	padding-left: 560px;
}

.container_12 .prefix_8 {
	padding-left: 640px;
}

.container_12 .prefix_9 {
	padding-left: 720px;
}

.container_12 .prefix_10 {
	padding-left: 800px;
}

.container_12 .prefix_11 {
	padding-left: 880px;
}

.pull-right {
	float: right;
}


/***********************
*   HELPER CLASSES
************************/

.clear {
	display: block;
	visibility: hidden;
	clear: both;
	overflow: hidden;
	width: 0;
	height: 0;
}

.clearfix:before,
.clearfix:after,
.container_12:before,
.container_12:after {
	display: block;
	visibility: hidden;
	overflow: hidden;
	width: 0;
	height: 0;
	content: '.';
	font-size: 0;
	line-height: 0;
}

.clearfix:after,
.container_12:after {
	clear: both;
}

.clearfix,
.container_12 {
	zoom: 1;
}

.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

.text-center {
	text-align: center;
}


/***********************
*   BASIC
************************/

html {
	height: 100%;
}

body {
	background: #fff;
	/*#f5f5f5*/
	font-size: 13px;
	color: #1A1A1A;
	font-family: 'Roboto Slab';
	min-height: 100%;
}

h1,
h2 {
	color: #1A1A1A;
	font-family: 'Roboto Condensed';
	text-align: center;
	line-height: 1.1;
}

h1 {
	margin-bottom: 20px;
	font-size: 28px;
}

h2 {
	margin-top: 28px;
	font-size: 18px;
}

p {
	line-height: 17px;
}

a {
	color: #0066a6;
}

strong {
    font-weight: bold;
}
.lead {
	margin-bottom: 32px;
	font-size: 18px;
	font-family: 'Roboto Condensed';
}

.lang {
	margin-bottom: 20px;
}

.lead + .lang {
	margin-top: -12px;
}

h1 + .lang {
	margin-top: 20px;
}

.lang a.active {
	color: #1a1a1a;
}

.lang .separator {
	margin: 0 3px;
	color: #aaa;
}

p.error {
	color: #c91e04;
	text-align: center;
	font-size: 13px;
    box-sizing: border-box;
}
p.error strong {
    display: block;
}

p.success {
	text-align: center;
}

.inline-block {
	display: inline !important;
}

/***********************
*   CAS styles
************************/

h1 + p.error,
.lead + p.error {
	margin-bottom: 13px;
	font-weight: bold;
}

.logo-rtk {
	margin-top: 57px;
	margin-bottom: 46px;
}

.logo {
	margin-top: 53px;
	margin-bottom: 46px;
	width: 379px;
}

.logo-eu {
	float: right;
	width: 190px;
	height: 105px;
}

.logo-rk {
    margin-top: 53px;
    margin-bottom: 46px;
    max-width: none;
}

.equal-cols {
    margin-bottom: -20px;
    display: table;
    border-spacing: 20px;
}

.equal-cols > div {
    display: table-cell;
    background: #f3f3f3;
    border: 1px solid #dddddd;
    border-radius: 3px;
    float: none;
    padding-left: 0 !important;
}
.auth-method {
	position: relative;
	margin-bottom: 25px;
	height: 100%;
}

.auth-method form {
	text-align: center;
}

.auth-method input {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 5px 8px 4px 8px;
	width: 190px;
	height: auto;
	border: 1px solid #bababa;
	border-radius: 3px;
	background: #fff;
	box-shadow: inset 1px 1px 1px 0 #eee;
	color: #1a1a1a;
	font-size: 13px;
	font-family: 'Roboto Slab';
	line-height: 17px;
}

.auth-method input.error {
	border-color: #c91e04;
}
/* must be separate because if one is not valid whole thing would be ignored */
.auth-method input.error::-webkit-input-placeholder{
	color: #c91e04;
}
.auth-method input.error:-moz-placeholder{
	color: #c91e04;
}
.auth-method input.error::-moz-placeholder{
	color: #c91e04;
}
.auth-method input.error:-ms-input-placeholder {
	color: #c91e04;
}

.auth-method p {
	color: #1a1a1a;
	font-size: 13px;
}

.auth-helper {
	font-size: 13px;
}
.auth-helper a {
	font-size: 13px;
}
form + .auth-helper {
	margin-top: 10px !important;
}

.auth-method p.error {
	color: #c91e04;
	text-align: left;
}

.auth-method button,
.btn {
	display: block;
	margin: 0 auto;
	padding: 6px 15px;
	width: 190px;
	border-radius: 3px;
	background: #006eb5;
	color: #fff;
	text-align: center;
	font-weight: bold;
	font-size: 14px;
	font-family: 'Roboto Slab';
}

.auth-method button:hover,
.auth-method button:active {
	background: #007BCA;
	cursor: pointer;
}

.auth-method .auth-logo {
	position: absolute;
	left: 32px;
}

.auth-method.mobiil-id h2 {
	margin-bottom: 39px;
}

.auth-method.mobiil-id input {
	margin-bottom: 24px;
	margin-bottom: 8px;
}
.auth-method.mobiil-id input[type="sumbit"] {
	margin-top: 3px;
}

.auth-method.id-kaart h2 {
	margin-bottom: 39px;
}

.auth-method.id-kaart p {
	margin-bottom: 29px;
	margin-left: 94px;
	padding-top: 7px;
	padding-right: 32px;
}

.auth-method.id-kaart p.longer-text {
	position: relative;
	top: -4px;
	padding-top: 0;
}
.auth-method.id-kaart p.error {
    margin-bottom: 7px;
}
.auth-method.kasutajanimi h2 {
	margin-bottom: 17px;
}

.auth-method.kasutajanimi input {
	margin-bottom: 8px;
}

.auth-method.kasutajanimi p,
.auth-method.mobiil-id p {
	margin-top: -4px;
    padding: 0 32px 0 95px;
	margin-bottom: 7px;
	width: 100%;
    box-sizing: border-box;
}
.auth-method.mobiil-id p a {
    font-size: 13px;
}
.auth-method.mobiil-id p strong {
    display: block;
}
.auth-method.mobiil-id p strong.code {
    display: inline-block;
    font-size: 15px;
}

/*.auth-method.mobiil-id p.error {
	margin-top: -20px;
}*/

.auth-method.kasutajanimi button {
	margin-top: 3px;
}

.auth-method.kasutajanimi img {
	margin-top: 18px;
}

.auth-method.eesti h2 {
	margin-bottom: 25px;
}

.auth-method.eesti p {
	margin-bottom: 23px;
	width: 210px;
	margin-left: 94px;
}

.auth-method.eesti img {
	margin-top: 15px;
}

.ok {
	margin-left: 0.2em;
	font-size: 36px;
	color: #00A10B;
}

.svg,
.lt-ie9 .no-svg {
	display: block;
}

.no-svg,
.lt-ie9 .svg {
	display: none;
}

/***********************
*   RESPONSIVE
************************/

@media (max-width: 960px) {
	html,
	body,
	.container_12 {
		width: 100%;
	}
	.container_12 .grid_12 {
		width: 100%;
	}
	.container_12 .grid_5 {
		margin: 0 auto;
		width: 380px;
	}
	.container_12 .grid_1,
	.container_12 .grid_2,
	.container_12 .grid_3,
	.container_12 .grid_4,
	.container_12 .grid_5,
	.container_12 .grid_6,
	.container_12 .grid_7,
	.container_12 .grid_8,
	.container_12 .grid_9,
	.container_12 .grid_10,
	.container_12 .grid_11,
	.container_12 .grid_12 {
		display: block;
		float: none;
	}
	.container_12 .prefix_1 {
		padding: 0;
		margin-bottom: 25px;
	}
	.logo {
		margin-bottom: 0;
	}
	.logo-eu {
		float: left;
		margin-top: 0;
		margin-bottom: 40px;
		position: relative;
		left: 50%;
		margin-left: -95px;
	}
	.auth-method button {
		margin-bottom: 10px !important;
	}
	.equal-cols {
		margin-bottom: 0;
	}
}

@media (max-width: 400px) {
	.container_12 .grid_5 {
		width: 100%;
	}
	.auth-method {
		margin-left: 10px;
		margin-right: 10px;
        margin-bottom: 10px;
    }
    .auth-method h2 {
        margin-top: 10px;
	}
	.logo {
		margin-left: 10px;
		margin-right: 10px;
	}
	.auth-method {
		height: auto;
	}
	.auth-method .auth-logo {
		position: inherit;
		display: block;
		text-align: center;
		width: 38px;
		margin: 0 auto;
	}
	.auth-method h2 {
		margin-bottom: 10px !important;
	}
	.auth-method img {
		margin-bottom: 10px !important;
	}
	.auth-method input {
		width: 95%;
		max-width: 190px;
	}
	.auth-method button {
		margin-bottom: 10px !important;
        width: 100%;
	}
	.auth-method.id-kaart p {
		margin-left: 0;
		text-align: center;
    }
    .auth-method.kasutajanimi p,
    .auth-method.mobiil-id p {
        padding: 0;
	}
	.logo {
		max-width: 280px;
		width: 100%;
		margin-top: 10px;
		margin-bottom: 10px;
		position: relative;
		left: 50%;
		margin-left: -140px;
	}
	.logo-eu {
		max-width: 280px;
		width: 100%;
		margin-bottom: 30px;
		position: relative;
		left: 50%;
		margin-left: -140px;
	}
	.equal-cols {
		margin-bottom: 0;
        display: block;
	}
    .equal-cols > div {
        display: block;
        border-radius: 0;
    }
    .auth-method.mobiil-id input {
        width: 100%;
        max-width: none;
    }
    .lang {
    	margin-bottom: 30px;
    }
}

.user-requirements {
	font-size: 13px;
	margin-top: 32px;
	margin-bottom: 30px;
}

.user-requirements a {
	font-size: inherit;
}

.close {
	float: right;
	font-size: 21px;
	font-weight: bold;
	line-height: 1;
	color: #000;
	text-shadow: 0 1px 0 #fff;
	filter: alpha(opacity=20);
	opacity: .2;
}

button.close {
	-webkit-appearance: none;
	padding: 0;
	cursor: pointer;
	background: transparent;
	border: 0;
}

.definitions {
	padding-left: 24px;
}


/***********************
*   LISTS
************************/

ol ol > li {
	padding-left: 24px;
}

ol li {
	line-height: 1.42857143;
}


/***********************
*   MODALS
************************/

.modal-open {
	overflow: hidden;
}

.modal {
	display: none;
	overflow: hidden;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1050;
	-webkit-overflow-scrolling: touch;
	outline: 0;
}

.modal strong {
	font-weight: bold;
	line-height: 1.42857143;
}

.modal p {
	margin: 0 0 10px;
	line-height: 1.42857143;
}

.modal h2 {
	margin-bottom: 10px;
	margin-top: 20px;
}

.modal.fade .modal-dialog {
	-webkit-transform: translate(0, -25%);
	-ms-transform: translate(0, -25%);
	-o-transform: translate(0, -25%);
	transform: translate(0, -25%);
	-webkit-transition: -webkit-transform 0.3s ease-out;
	-o-transition: -o-transform 0.3s ease-out;
	transition: transform 0.3s ease-out;
}

.modal.in .modal-dialog {
	-webkit-transform: translate(0, 0);
	-ms-transform: translate(0, 0);
	-o-transform: translate(0, 0);
	transform: translate(0, 0);
}

.modal-open .modal {
	overflow-x: hidden;
	overflow-y: auto;
}

.modal-dialog {
	position: relative;
	width: auto;
	margin: 10px;
}

.modal-content {
	position: relative;
	background-color: #ffffff;
	border: 1px solid #999999;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 6px;
	-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	outline: 0;
}

.modal-backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1040;
	background-color: #000000;
}

.modal-backdrop.fade {
	opacity: 0;
	filter: alpha(opacity=0);
}

.modal-backdrop.in {
	opacity: 0.5;
	filter: alpha(opacity=50);
}

.modal-header {
	padding: 15px;
	border-bottom: 1px solid #e5e5e5;
	min-height: 16.42857143px;
}

.modal-header .close {
	margin-top: -2px;
}

.modal-title {
	margin: 0;
	line-height: 1.42857143;
}

.modal-body {
	position: relative;
	padding: 15px;
	font-family: 'Roboto Slab', serif;
	color: #1a1a1a;
	font-size: 13px;
}

.modal-body > h2:first-child {
	margin-top: 8px;
}

.modal-body li,
.modal-body p,
.modal-body strong {
	font-size: 13px;
}

.modal-footer {
	padding: 15px;
	text-align: right;
	border-top: 1px solid #e5e5e5;
}

.modal-footer .btn + .btn {
	margin-left: 5px;
	margin-bottom: 0;
}

.modal-footer .btn-group .btn + .btn {
	margin-left: -1px;
}

.modal-footer .btn-block + .btn-block {
	margin-left: 0;
}

.modal-scrollbar-measure {
	position: absolute;
	top: -9999px;
	width: 50px;
	height: 50px;
	overflow: scroll;
}

@media (min-width: 768px) {
	.modal-dialog {
		width: 600px;
		margin: 30px auto;
	}
	.modal-content {
		-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
	}
	.modal-sm {
		width: 300px;
	}
}

@media (min-width: 992px) {
	.modal-lg {
		width: 900px;
	}
}

.modal.wide .modal-dialog {
	width: 850px;
	max-width: 95%;
}

.modal.narrow .modal-dialog {
	width: 520px;
	max-width: 95%;
}

.modal.narrow .has-error > div > .error-message,
.modal.narrow .has-error-notify > div > .error-message {
	width: 270px;
}

.modal.loader .modal-dialog {
	width: 300px;
	max-width: 95%;
}

.modal.dialog .modal-dialog {
	width: 520px;
	max-width: 95%;
}

.modal.dialog .modal-dialog h4 {
	text-align: center;
}

.modal.dialog .modal-dialog .buttons {
	text-align: center;
}

.modal.dialog .modal-header {
	background: #fff;
	border-bottom-width: 0;
	padding-bottom: 5px;
}

.modal .modal-dialog {
	margin-top: 50px;
}

.modal-body.loader {
	width: 300px;
}

.modal-body.loader img {
	width: 32px;
	height: 32px;
	margin: 0 auto;
	display: block;
}

.modal-body.loader button.cancel {
	margin: 15px auto;
	width: 152px;
	display: block;
}

.modal-header {
	background: #ebeaea;
	border-bottom-color: #ddd;
	border-bottom-width: 2px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}

.modal-header .close {
	background: #0066A6;
	border-color: white;
	border-radius: 50%;
	border-style: solid;
	border-width: 2px;
	color: white;
	font-size: 17px;
	line-height: 18px;
	height: 26px;
	margin-right: -25px;
	margin-top: -25px;
	opacity: 1;
	text-shadow: none;
	width: 26px;
	text-align: center;
}

.modal h1,
.modal h2,
.modal h3,
.modal h4 {
	text-align: left;
}

.modal-header h1,
.modal-header h2,
.modal-header h3,
.modal-header h4 {
	margin: 0;
}

.modal-header h1 {
	font-size: 26px;
	line-height: 1.1;
}

.modal h2 {
	font-size: 24px;
}

.modal-footer {
	background: #ebeaea;
	border-top-color: #ddd;
	border-top-width: 2px;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}

.modal-footer .btn.pull-right {
	margin-left: 5px;
}

.modal-footer .btn {
	width: auto;
	padding: 6px 20px;
	margin: 0;
	height: 34px;
	font-size: 14px;
	font-family: 'Roboto Slab';
}

.btn-default {
	color: #333;
	background-color: #fff;
	border: 1px solid #ccc;
}

.btn-default:hover {
	color: #333;
	background-color: #e6e6e6;
	border-color: #adadad;
	cursor: pointer;
}

.modal-body {
	position: relative;
	padding: 15px;
	max-height: calc(99.9vh - 260px);
	overflow-y: auto;
}

.modal-body-rel {
	position: relative;
}

.modal-body-rel .modal-body {
	position: static;
}

/***********************
*   ALERTS
************************/
.alert {
	margin: 0 auto 20px;
	padding: 15px;
	width: 784px;
	border: 1px solid #ddd;
	box-sizing: border-box;
	border-radius: 3px;
}
@media (max-width: 960px) {
	.alert {
		width: 380px;
	}
}
@media (max-width: 400px) {
	.alert {
		width: 100%;
		border-radius: 0;
	}
}

/* alert icon */
.alert-icon {
	padding-left: 50px;
	position: relative;
}
.alert-icon:before {
	content: "";
	display: block;
	position: absolute;
	left: 15px;
}

/* alert warning */
.alert-warning {
	background-color: #f0f0cd;
	border-color: #dcdab4;
	color: #756224;
}
.alert-warning.alert-icon:before {
	background-image: url('../images/icon-alert-warning.png');
	width: 22px;
	height: 20px;
}

/***********************
*   FONTS
************************/

@font-face {
	font-family: 'Roboto Condensed';
	src: url('../fonts/robotocondensed-regular-webfont.eot');
	src: url('../fonts/robotocondensed-regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/robotocondensed-regular-webfont.woff') format('woff'), url('../fonts/robotocondensed-regular-webfont.ttf') format('truetype'), url('../fonts/robotocondensed-regular-webfont.svg#roboto_condensedregular') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto Slab';
	src: url('../fonts/robotoslab-regular-webfont.eot');
	src: url('../fonts/robotoslab-regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/robotoslab-regular-webfont.woff') format('woff'), url('../fonts/robotoslab-regular-webfont.ttf') format('truetype'), url('../fonts/robotoslab-regular-webfont.svg#roboto_slabregular') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto Slab';
	src: url('../fonts/robotoslab-bold-webfont.eot');
	src: url('../fonts/robotoslab-bold-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/robotoslab-bold-webfont.woff') format('woff'), url('../fonts/robotoslab-bold-webfont.ttf') format('truetype'), url('../fonts/robotoslab-bold-webfont.svg#roboto_slabbold') format('svg');
	font-weight: bold;
	font-style: normal;
}
