﻿/* Local changes and additions to Bootstrap styles on orcid.chalmers.se */

html, body {
	height: 100%;
	font-family: ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

body {
    padding-top: 0px;
	background-color: #fbfbfb;
	font-size: 16px;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.topbar {
	background-color: #6746EB;
	height: 38px;
	flex-shrink: 0;
}

.topbar .container {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
}

h1, h2 {
    font-weight: 600;
}

.jumbotron {
	text-align: center;
	background-color: rgba(34, 34, 34, 0.80);
	color:#fff;
}

.jumbotron .btn {
	/*margin-left: 5px;
	margin-right: 5px;
	width: 300px;*/
    margin-bottom: 5px;
    margin-top: 45px;
	margin-right: 18px;
}

.jumbotron .btn-success {
  	color: #000000;
	background-color: #ed7122;
	border-color: #fff;
	font-weight: 600;
}

.jumbotron .btn-success:active, .btn-success:focus, .btn-success:hover {
	color: #000000 !important;
	background-color: #f4a880;
	border-color: #fff;
	font-weight: 600;
}

.footer {
    border-top: 1px solid #eee;
    margin-top: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.footer pre {
    font-size: 65%;
    color: rgb(90, 90, 90);
}

.masthead {
    margin-bottom: 18px;
}

.masthead img {
	padding-right: 14px;
}

.static-form-field {
	margin-top: 7px;
}

.lead {
    font-weight: 700;
}

h1 {
    font-weight: 700;
}

h2 {
    font-weight: 700;
}

.form-group {
    margin-bottom: 7px;
}

.centre-text {
    text-align: center;
}
* {
	margin: 0;
}

#wrap {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
}

.alert.alert-info.clearfix {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	background-color: #fbfbfb;
	margin-top: 12px;
}

.footer-article {
	background-color: #ffffff;
	border-style: solid;
	border-color: #ebedea;
	border-width: 1px;
	border-left: solid 8px #6746EB;
	flex: 1 1 320px;
	max-width: 440px;
}

.footer-article p {
    max-height: 100px;
    overflow: auto;
    text-overflow: ellipsis;
}

.footer-siteinfo {
    background-color: #222222;
    color: #fff;
    font-size: 16px;
    padding-top: 18px;
    padding-bottom: 18px;
    position: relative;
    overflow: hidden;
    container-type: inline-size;
}

.footer-siteinfo::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 176px;
    background-color: #6746EB;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

@container (width < 480px) {
    .footer-siteinfo::after {
        display: none;
    }
}

.footer-siteinfo .container {
    position: relative;
    padding-left: 32px;
    padding-right: 176px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-siteinfo-updated {
    font-size: 14px; 
    margin-top: 6px
}

.footer-logo {
	flex-shrink: 0;
	width: 200px;
	height: 200px;
	background-image: url('/images/chalmers_logo_white.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.alert {
	border: 0px;
	border-radius: 0px;
}
.alert-info h2 {
	color: #000000;
}

.alert-info {
	color: #303030;
	background-color: #ffffff;
	border-color: oklch(92.8% 0.006 264.531);
}

.lead {
	font-weight: 400;
	margin-left: 7%;
	margin-right: 7%;
}

.jumboinput {
	padding-top: 10px;
}
	
.jumbotron .form-group {
	margin-bottom: 0;
}	

.formjumbo {
	text-align: left;
}

.formjumbo .form-group {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.formjumbo .form-group label {
	flex: 0 0 auto;
	min-width: 70px;
}

.formjumbo .form-group .static-form-field {
	flex: 1 1 auto;
}

.hide-asp-check {
    line-height: 0;
}

/* .NET specific */
form {
    height: 100%;
}

/* Accessibility */

.btn-primary {
	color: #fff;
	background-color: #a44fff;
	border-color: #a44fff;
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
	color: #fff;
	background-color: #6746EB;
	border-color: #6746EB;
}	

.btn-success {
	color: #fff;
	background-color: #222222;
	border-color: #222222;
}

a {
	color: #ffffff;
}

a:active, a:focus, a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.site-header {
  background-color: #ffffff;
  padding: 6px 0 0;
  margin-top: 12px;
}

.lang-switch {
  display: flex;	
  align-items: center;
  font-size: 1.5rem;
  color: #ffffff;
}

.logged-in-as {
  display: flex;
  align-items: center;
  margin-left: 2rem;
  font-size: 1.5rem;
  color: #ffffff;
}

.lang-switch .lang-link {
  color: #ffffff;
}

.lang-switch .lang-link.active {
  font-weight: bold;
  text-decoration: none;
}

.lang-switch .lang-link:hover,
.lang-switch .lang-link:focus,
.lang-switch .lang-link:active {
  color: #ffffff;
  text-decoration: underline;
}

.header-pipe {
  width: 1px;
  height: calc(var(0.25rem) * 9);
  margin-inline: calc(var(0.25rem) * 3);
  background-color: #DADADA;
  margin: 0 16px;
}

.header-title {
  color: #472DBE;
  font-size: 1.55rem;
  font-weight: bold;
}

.site-header a {
  display: flex;
  align-items: center;
}

.site-header a:hover,
.site-header a:focus,
.site-header a:active {
  text-decoration: none;
}

.topsection {
	background-image: url('/images/ChalmersTvargata_181127_01.jpg');
	background-size: cover;
	background-position: center;
	margin-top: 16px;
	flex: 1 0 auto;
	display: flex;
	align-items: center;
}

.container .jumbotron
{
    border-radius: 0px;
	margin-top: 36px;
}

.jumbotron a {
	color: oklch(90.1% 0.058 230.902);
}

.jumbotron a:hover, .jumbotron a:focus, .jumbotron a:active
{
    color: beige;
}

.info-top a {
	color: #2c5c8a;
}

.info-top a:active, .info-top a:focus, .info-top a:hover {
	text-decoration: underline;
}

.info-top {
    padding-top: 16px;
    padding-left: 28px;
    background-color: white;
    padding-right: 18px;
    padding-bottom: 12px;
    margin-top: 16px;
	color: #303030;
}

a.skip-main {
	left: -999px;
	position: absolute;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	z-index: -999;
}

a.skip-main:focus {
	left: 6px;
	top: 6px;
	width: auto;
	height: auto;
	overflow: visible;
	z-index: 1000;
	position: fixed;
	padding: 8px 16px;
	background-color: #222222;
	color: #ffffff;
	text-decoration: underline;
	border-radius: 4px;
}

.orcid-green {
	color: rgb(212, 231, 161);
}

.orcid-darkgreen {
	color: rgb(127, 170, 38);
}
