﻿/* RESET */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    line-height: 1;
    font-size: 1rem;
    font-weight: 400;
    font-family: inherit;
    color: inherit;
}

a:link,
a:hover,
a:active,
a:visited {
    text-decoration: none;
    color: inherit;
}

a > img {
	vertical-align: middle;
}

p {
	margin: 0;
}

#ms-designer-ribbon {
    display: none;
}
/* END OF RESET */



/* UI */
.pointer
{
	cursor: pointer;
}
/* END OF UI */



/* TYPOGRAPHY */
.bold {
	font-weight: bold;
}
/* END OF TYPOGRAPHY */



/* LAYOUT */
.container {
	margin: 0 auto;
	max-width: 1066px;
}

.flex {
	display: flex;
}

.flex.column {
	flex-direction: column;
}

.flex.center {
	justify-content: center;
}

.flex.vcenter {
	align-items: center;
}

.flex.spacebetween {
	justify-content: space-between;
}

.flex.baseline {
	align-items: baseline;
}

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

.text-right {
	text-align: right;
}
/* END OF LAYOUT */



/* BUTTONS */
.btn {
	display: block;
	padding: .9rem;
	text-align: center;
	font-family: 'Roboto', sans-serif;
	font-size: .9rem;
	text-decoration: none;
	color: #fff;
	border: 0;
	border-radius: 2px;
	box-sizing: border-box;
	transition: all 0.3s ease 0s;
	cursor: pointer;
}
/* END OF BUTTONS */



/* CONTENT */
#aspnetForm {
	height: 100%;
	display: flex;
	flex-direction: column;
}

#wrapper {
	flex: 1 0 auto;
}

#top {
	padding: .2rem 0;
}

#top #wrap-logo > div:last-child {
	margin: 0 0 .5rem 1rem;
}

#top #wrap-logo .title {
	font-size: 1.2rem;
	font-weight: 500;
	color: #44597e;
	letter-spacing: .1rem;
}

#top #wrap-logo .subtitle {
	font-size: .8rem;
	color: #707788;
}

#top #wrap-user {
	margin-left: auto;
}

#top #wrap-user #lang {
	margin: 0 .8rem 0 0;
	padding: 0 .8rem 0 0;
	list-style: none;
	font-size: .7rem;
	text-transform: uppercase;
	border-right: 1px dotted #444;
}

#top #wrap-user #lang li {
	float: left;
	margin-left: .2rem;
}

#top #wrap-user #lang li.selected a,
#top #wrap-user #lang li:hover a {
	color: #fff;
	background-color: #e78a7c;
}

#top #wrap-user #lang a {
	display: block;
	padding: .5rem;
	color: #404756;
}

#top #user .ms-welcome-root,
.ms-signInLink {
	font-size: .9rem;
	background-color: inherit;
	border-right: none;
}

#top #user .ms-welcome-root > a.ms-core-menu-root {
	color: #404756;
}

#top #user .ms-welcome-root > a.ms-core-menu-root:hover {
	color: #e9541b;
}

#navigation {
	display: block;
	background-color: #1d3557;
	font-size: 1rem;
}

#navigation span,
#navigation ul,
#navigation li,
#navigation a {
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
}

#navigation a {
	color: #f2f9ff;
}

#navigation a:hover,
#navigation a.selected {
	color: #ef8157;
}

#navigation a .ms-navedit-flyoutArrow {
	padding-right: 1rem;
}

#navigation li.static {
	padding: 0 3rem;
}

#navigation li.static:first-child {
	padding-left: 0;
	background: none;
}

#navigation li.static > a {
	padding: .5rem 0;
}

#navigation ul.dynamic {
	margin-top: 3px;
	width: 200px !important;
	padding: 10px 0;
	border: none;
	background-color: #1d3557;
	box-shadow: none;
}

#navigation li.dynamic {
	padding: 4px 0 4px 10px;
	font-size: .9rem;
}

#navigation .ms-navedit-editArea {
	display: none;
}

#message {
	padding: .5rem;
	text-align: center;
	font-size: .9rem;
	color: #896110;
	background-color: #fbf1dd;
	border: 1px solid #c59d4c;
}

#message a {
	border-bottom: 1px solid #c59d4c;
}

#content {
	margin: 2% auto 1.5% auto;
}

.page {
	margin: 0 auto;
	width: 60%;
	font-size: .9rem;
}

.page h1 {
	margin: 2rem 0 1rem;
	color: #457b9d;
}

.page h1:first-child {
	margin: 0 0 1rem 0;
}

.page a {
	color: #e9541b;
}

.page a:hover {
	text-decoration: underline;
}

.page li {
	margin: .7rem 0;
}

.search {
	display: flex;
	color: #404756;
}

.search .column.refiners {
	width: 160px;
}

.search .column.refiners table {
	width: 100%;
}

.search .column.refiners table:not(:first-child) {
	margin-top: 1.5rem;
}

.search .column.results {
	width: 800px;
	margin-left: 4rem;
}

.search .table {
	text-align: left;
	font-size: .9rem;
	border-collapse: collapse;
}

.search .table th {
	padding: .5rem;
	font-weight: 500;
}

.search .table td {
	padding: 0;
}

.search .refiner tr:not(:first-child):not(:last-child) {
	border-bottom: 1px dotted #a0a0a0;
}

.search .refiner th {
	border-radius: .25rem .25rem 0 0;
}

.search .refiner img:hover {
	opacity: .8;
}

.search .refiner.coral th {
	color: #fff;
	background-color: #e78a7c;
	border-radius: .25rem .25rem 0 0;
}

.search .refiner.gray th {
	color: #574c4b;
	background-color: #e6e2e2;
}

.search .results .table {
	width: 100%;
}

.search .results .table.panel:first-child .radius {
	border-radius: .25rem .25rem 0 0;
}

.search .results .table.panel:last-child {
	border-bottom: 3px solid #1d3557;
}

.search .results .table.panel th {
	color: #fff;
	background-color: #1d3557;
}

.search .results .table.panel .tooltip {
	margin-left: .5rem;
	cursor: help;
}

.search .results .table.src tr:nth-child(odd) {
	background-color: #edf6f9;
}

.search .results .table.src th {
	padding-left: 1rem;
	padding-right: 1rem;
	background-color: #457b9d;
}

.search .results .table.src th:last-child {
	text-align: right;
	font-size: .7rem;
	color: #f0f0f0;
	text-transform: lowercase;
}

.search .results .table.src.empty th {
	padding: .5rem 1.5rem;
	font-weight: normal;
	color: #404756;
	background-color: #fff;
}

.search .refiner a {
	display: block;
	padding: .5rem;
}

.search .results a {
	padding: .5rem 1.5rem;
}

.search a:hover .link {
	color: #e9541b;
	text-decoration: underline;
}

.search a .pub {
	font-size: .7rem;
	color: #a0a0a0;
}

.search .btn.feedback {
	margin: 1.5rem auto 0 auto;
	background-color: #ce7d4e;
}

.search .btn.feedback:hover {
	opacity: .8;
}

#search-canvas {
	width: 100%;
	height: 550px;
	font-size: .9rem;
}

#search-canvas h1 {
	font-size: 1.5rem;
	font-weight: 300;
	color: #44597e;
}

#search-canvas h2 {
	margin: .5rem;
	font-weight: 500;
	color: inherit;
}

#search-canvas #introduction {
	width: 60%;
}

#search-canvas .input-wrapper {
	margin-top: 2%;
}

#search-canvas input {
	width: 100%;
	padding: 12px 20px 12px 40px;
	border: 1px solid #ddd;
	border-radius: 3px 0 0 3px;
	z-index: 2;
	background-image: url('../img/icon-search.png');
	background-position: 10px 12px;
	background-repeat: no-repeat;
}

#disc {
	position: relative;
	display: inline-block;
}

#disc-content {
	display: none;
	position: absolute;
	margin: 0;
	padding: 0;
	width: 12rem;
	list-style: none;
	background-color: #fff;
	box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.2);
	box-sizing: border-box;
	z-index: 3;
}

#disc-content li a {
	display: block;
	padding: .7rem;
	color: #495057;
	text-decoration: none;
}

#disc-content li a:hover {
	background-color: hsla(0,0%,81.6%,.3);
}

#search-content {
	display: none;
	max-height: 22rem;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid #c3ddfd;
	background-color: #fff;
	box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.2);
	box-sizing: border-box;
	overflow-y: auto;
}

#search-content li:not(:first-child):not(:last-child) {
	border-top: 1px solid #f8f9fa;
	border-bottom: 1px solid #f8f9fa;
}

#search-content li a {
	display: block;
	padding: .9rem;
	color: #495057;
	text-decoration: none;
}

#search-content li a:hover {
	background-color: hsla(0,0%,81.6%,.3);
}

#search-content li a .highlight {
	color: #3f83f8;
}

#search-content li a .codes {
	color: #adb5bd;
}

#detail-panel {
	display: none;
	padding: 1rem;
	font-family: Consolas;
	color: #343a40;
	background-color: #f8f9fa;
}

#detail-panel > div:not(:first-child) {
	margin-top: 1rem;
}

#detail-panel .tree div:first-child {
	margin-left: 1rem;
}

#detail-panel .tree div:first-child + div {
	margin-left: 2rem;
}

#detail-panel .tree a {
	color: #5e5cc7;
}

.btn.disc {
	width: 12rem;
	color: #404040;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 0;
}

.btn.disc:hover {
	border: 1px solid #a0a0a0;
}

.btn.btn-search {
	color: #fff;
	background-color: #ce7d4e;
	border: none;
	border-radius: 0 3px 3px 0;
}

.btn.btn-search:not(.disabled):hover {
	opacity: .8;
}

.btn.disabled {
	color: #b4b4b4;
	background-color: #f1f1f2;
	cursor: default;
}
/* END OF CONTENT */



/* FOOTER */
#footer {
	padding: 2rem;
	font-size: .9rem;
	color: #eee;
	background-color: #0e1a2a;
}

#footer .column {
	width: 25%;
}

#footer p:not(:last-child) {
	margin-bottom: 1.5rem;
}

#footer a {
	color: #ef8157;
}

#footer a:hover {
	text-decoration: underline;
}

#footer a.no-underline:hover {
	text-decoration: none;
}

#footer h1 {
	margin-bottom: 1.5rem;
	font-weight: 600;
	letter-spacing: .1rem;
}

#footer span,
#footer ul,
#footer li,
#footer a {
	margin: 0;
	padding: 0;
	list-style: none;
	background: none;
	font-family: 'Roboto', sans-serif;
}

#footer ul li {
	margin-bottom: .7rem;
}

#footer .ms-navedit-editArea
{
	display: none;
}

#footer hr {
	margin: 1.5rem auto;
}

#footer #hon {
	width: 400px;
}

#footer #hon div:first-child {
	margin-right: 1rem;
}
/* END OF FOOTER */



/* MODAL DIALOG */
.ms-dialog .ms-backgroundImage {
	overflow: hidden;
}

.ms-dialog header,
.ms-dialog #ms-designer-ribbon {
	display: none;
}

.ms-dlgTitle {
	padding-bottom: 0;
}

.ms-dlgContent #dialogTitleSpan {
	margin: 7px 0 20px;
	padding-bottom: 10px;
	font-size: 20px;
	font-weight: bold;
	color: #2a2e31;
	border-bottom: 1px solid #bdcae5;
	font-family: 'Lato', sans-serif;
}

.form.feedback .required {
	font-size: 16px;
	color: #ff0000;
}

.form.feedback .switch input {
	margin: 0 10px 0 0;
}

.form.feedback .searchresults {
	height: 100px;
	overflow-y: auto;
}

.form.feedback .info {
	font-size: 14px;
}

.form.feedback .row .column {
	padding-bottom: 23px;
}

.form.feedback .row .column.no-padding {
	padding: 0;
}

.form.feedback .row .column.small {
	width: 200px;
}

.form.feedback .row .column.large {
	width: 385px;
}

.form.feedback .row .column.full {
	width: 100%;
}

.form.feedback .row .column .label {
	font-size: 16px;
}

.form.feedback .row .column .input {
	width: 100%;
	padding: 5px;
	box-sizing: border-box;
}

.form.feedback .row .column .input.textfield {
	height: 100px;
}

.form.feedback .row .column .score td {
	text-align: center;
	padding-right: 15px;
}

.form.feedback .row .column .score label {
	display: block;
	text-align: center;
}

.form.feedback .row .column .score input {
	margin-bottom: 5px;
}

.form.telematica {
	width: 100%;
	margin-top: 1rem;
	text-align: left;
	font-size: 1rem;
	font-weight: 300;
	border-collapse: collapse;
	color: #212529;
	white-space: nowrap;
}

.form.telematica th,
.form.telematica td {
	padding: 0.7rem;
	border: 1px solid #dee2e6;
}

.form.telematica th {
	font-weight: 400;
	color: #fff;
	background-color: #385388;
}
/* END OF MODAL DIALOG */


