
@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

html {
    position: relative;
    min-height: 100%;
	font-family: "Inter", sans-serif;
}

body {
    padding-top: 0px;
	font-family: "Inter", sans-serif;
}

.navbar-login
{
	width: 305px;
	padding: 10px;
	padding-bottom: 0px;
}
.navbar-login-session
{
	padding: 10px;
	padding-bottom: 0px;
	padding-top: 0px;
}
.icon-size
{
	font-size: 87px;
}
/* fix trash icon inside table column */
.model-list form.icon {
	display: inline;
}

.model-list form.icon button, .model-list a.icon, span.icon {
	color: #337ab7;
	border: none;
	background: transparent;
	text-decoration: none;
	padding: 0;
	line-height: normal;
}

.model-list a.icon:first-child {
	margin-left: 10px;
}

.col-orcid {
	word-break: break-all;
	-webkit-hyphens:none;
	-moz-hyphens: none;
	hyphens: none;
	white-space: nowrap;
}

.col-user_count {
	text-align: right;
}

.banner {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	width: 100%;
	background-color: #fff;
	background-size: auto 127px; 
	background-repeat: no-repeat; 
	height: 127px;
	padding: 0 10px;
}

.banner img {
	min-height: 50px;
	max-height: 127px;
	height: 12vh;
	width: auto;
}

.login-blocks {
	display: flex;
	justify-content: space-around;
	align-content: center;
	flex-wrap: wrap;
}

.login-blocks div {
	width: 35vw;
	min-width: 60px;
	max-width: 170px;
	height: 35vw;
	min-height: 60px;
	max-height: 160px;
	padding-bottom: 20px;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-around;

}
.login-blocks a:hover {
	text-decoration: none;
}

.login-blocks div img {
	padding-top: 10px;
	width: 90%;
	min-width: 60px;
	max-width: 130px;
	height: auto;
}

div.login-button {
	border-radius: 43px;
	border: 2px #18c0e7 solid;
	color: #18c0e7;
	background-color: rgba(0,0,0,0);
	font-size: 1.0em;
	padding: 8px;
	max-width: 121.5px;
	min-height: initial;
	max-height: 40px;
}

.login-blocks .tuakiri {
	padding-top: 8px;
	background-color: rgba(0,0,0,0);
	border: 2px #18c0e7 solid;
}

.login-blocks .tuakiri:hover {
	border: 2px #163956 solid;
}


.login-blocks .orcid {
	background-color: white;
	border: 2px #d0ea8f solid;
}

.login-blocks .orcid:hover {
	border: 2px #b2ce6d solid;
}

.orcid .login-button {
	border: 2px #d0ea8f solid;
	color: #9fc636;
}

footer {
    width:100%;
    line-height: normal;
    /*background-color:#50748a;*/
    background-color:#000;
    text-align:right;
    height:120px;
    color:#fff;
    bottom:0;
    left:0;
}
@media only screen and (max-height: 899px) {
    footer {
        display:none;
    }
}

footer .container {
	padding-top:11px;
}

footer a {
	color:#fff;
}
footer a:hover {
	color:#fff;
}
footer p {
	padding-left:0px !important;
	padding-right:0px !important;
}
footer p.copyright {
	padding-left:20px !important;
	float:right;
	text-align:right;
	color:#fff;
}
footer p.contact {
	padding-right:20px !important;
	float:left;
	text-align:left;
	color:#fff;
}
footer section {
	max-width:950px;
	margin:0px auto;
}

a.orcid:hover {
    color: #A6CE39;
    text-decoration: none;
}

input[type=checkbox].form-control, input[type=radio].form-control {
    max-width: 20px;
    min-height: 14px;
    margin: initial;
}

table.permissions, table.permissions th, table.permissions td, table.users, table.users th, table.users td {
    border: 1px solid gray;
}

/* Tooltip */
.tooltip > .tooltip-inner {
    /* border: 3px solid gray; */
    font-size: 1.1em;
}


/* Multiple menu levels. */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.remove-org {
    color: #337ab7;
    border: none;
    background: transparent;
    text-decoration: none;
    padding: 0;
    line-height: normal;
}

.dropdown-header {
    font-weight: 400;
    font-size: 14px;
}

.column-header {
    color: #337ab7;
    text-decoration: none;
}

.profile-subnav-content {
    display: none;
}

.profile-subnav:hover .profile-subnav-content {
    display: inline-block;
    margin: 0 12px;
}

.form-horizontal .form-group {
    margin-top: 15px;
    margin-right: 40%;
    margin-left: 10%;
}

#connect-orcid-button{
	border: 1px solid #D3D3D3;
	padding: .3em;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 1px 1px 3px #999;
	cursor: pointer;
	color: #999;
	font-weight: bold;
	font-size: .8em;
	line-height: 24px;
	vertical-align: middle;
}

#connect-orcid-button:hover{
	border: 1px solid #338caf;
	color: #338caf;
}

#orcid-id-icon{
	display: block;
	margin: 0 .5em 0 0;
	padding: 0;
	float: left;
}

/* Colored Content Boxes */
.box-white,
.box-blue,
.box-gray,
.box-green,
.box-grey,
.box-red,
.box-yellow {
	margin:0 0 25px;
	overflow:hidden;
	padding:20px;
	-webkit-border-radius: 10px;
        border-radius: 10px;
}

.box-white {
	border:1px solid #0f0f0f;
}

.box-blue {
	background-color:#d8ecf7;
	border:1px solid #afcde3;
}

.box-gray {
	background-color:#e2e2e2;
	border:1px solid #bdbdbd;
}

.box-green {
	background-color:#d9edc2;
	border:1px solid #b2ce96;
}

.box-grey {
	background-color:#F5F5F5;
	border:1px solid #DDDDDD;
}

.box-red {
	background-color:#f9dbdb;
	border:1px solid #e9b3b3;
}

.box-yellow {
	background-color:#fef5c4;
	border:1px solid #fadf98;
}

hr {
  display: block;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: auto;
  margin-right: auto;
  border-style: inset;
  border-width: 1px;
}

/* ORCID-style Header Styles */
.orcid-style-header {
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
}

/* Utility Bar */
.utility-bar {
  /* background-color: #f8f9fa; */
  background-color: #fff;
  border-bottom: 1px solid #e9ecef;
  padding: 8px 0;
  font-size: 14px;
}

.logo-tagline-section {
  display: flex;
  align-items: center;
}

.orcid-style-logo {
  font-size: 28px;
  font-weight: bold;
  margin-right: 15px;
}

.orcid-green {
  color: #a6ce39;
}

.orcid-id {
  color: #338cbb;
}

.tagline {
  color: #666;
  font-size: 13px;
  font-style: italic;
}

.utility-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

.sign-in-link, .sign-out-link, .user-link {
  color: #338cbb;
  text-decoration: none;
  font-size: 14px;
}

.sign-in-link:hover, .sign-out-link:hover, .user-link:hover {
  color: #286fa5;
  text-decoration: underline;
}

.language-dropdown {
  position: relative;
}

.lang-button {
  background: none;
  border: none;
  color: #666;
  font-size: 14px;
  padding: 5px 10px;
}

.lang-button:hover {
  color: #333;
}

/* Search Bar Section */
.search-bar-section {
  padding: 20px 0;
}

.search-wrapper {
  /* max-width: 600px; */
  margin: 0 auto;
}

.search-input-group {
  display: flex;
  border: 2px solid #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}

.search-input {
  border: none;
  padding: 12px 16px;
  font-size: 16px;
  flex: 1;
  outline: none;
}

.search-input:focus {
  border: none;
  box-shadow: none;
}

.search-input-group:focus-within {
  /* border-color: #338cbb; */
}

.search-button {
  background-color: #338cbb;
  color: white;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.search-button:hover {
  background-color: #286fa5;
  color: white;
}

/* Main Navigation */
.main-navigation {
  background-color: #fff;
  border: none;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 0;
  min-height: 60px;
}

.main-nav-links {
  display: flex;
  align-items: center;
  height: 60px;
}

.main-nav-links > li {
  margin-right: 30px;
}

.main-nav-links > li > a {
  color: #333;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 20px 0;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

.main-nav-links > li > a:hover,
.main-nav-links > li > a:focus {
  color: #338cbb;
  background-color: transparent;
  border-bottom-color: #338cbb;
}

.main-nav-links > li.active > a {
  color: #338cbb;
  border-bottom-color: #338cbb;
  background-color: transparent;
}

.navbar-btn-item {
  margin-left: auto;
}

.navbar-sign-in {
  background-color: #338cbb;
  border-color: #338cbb;
  color: white;
  font-weight: 500;
  padding: 8px 20px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.navbar-sign-in:hover {
  background-color: #286fa5;
  border-color: #286fa5;
  color: white;
}

/* Modal Improvements */
.modal-content {
  border-radius: 8px;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 20px 30px;
}

.modal-body {
  padding: 30px;
}

.federation-login,
.orcid-login {
  text-align: center;
  padding: 20px;
}

.federation-login {
  border-right: 1px solid #e9ecef;
}

.login-option-container {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 30px 20px;
  margin: 20px 0;
}

.login-logo {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
}

.login-description {
  margin: 20px 0;
}

.login-description p {
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}

.help-text {
  font-size: 12px;
  color: #999;
  margin-top: 15px;
  line-height: 1.4;
}

.modal-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #e9ecef;
  padding: 20px 30px;
}

/* Flash Messages */
.flash-message {
  margin-top: 20px;
  border-radius: 6px;
  border-left: 4px solid;
}

.flash-message.alert-success {
  border-left-color: #28a745;
}

.flash-message.alert-danger {
  border-left-color: #dc3545;
}

.flash-message.alert-warning {
  border-left-color: #ffc107;
}

.flash-message.alert-info {
  border-left-color: #17a2b8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .utility-controls {
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }
  
  .logo-tagline-section {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .main-nav-links > li {
    margin-right: 15px;
  }
  
  .main-nav-links > li > a {
    font-size: 12px;
    padding: 15px 0;
  }
  
  .search-wrapper {
    margin: 0 15px;
  }
  
  .federation-login {
    border-right: none;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
    padding-bottom: 40px;
  }
}

/* Remove default banner styles when using new header */
.orcid-style-header + * .banner {
  display: none;
}

/* Auth Info Box Styles */
.auth-info-box {
  background-color: #f8f9fa;
  border-left: 5px solid #338cbb;
  border-radius: 8px;
  padding: 20px;
  margin: 25px 0;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
}

.info-icon {
  flex-shrink: 0;
  /* font-size: 1.5rem; */
  color: #338cbb;
  margin-top: 2px;
}

.info-content {
  flex: 1;
}

.info-text {
  /* font-size: 1rem; */
  color: #2c3e50;
  line-height: 1.6;
  margin: 0;
}

.info-text strong {
  color: #1a252f;
}

/* Responsive design for info box */
@media (max-width: 768px) {
  .auth-info-box {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }
  
  .info-icon {
    margin: 0 auto 10px;
  }
  
  .info-text {
    font-size: 0.95rem;
  }
}

/* Contact Office Styles */
.contact-office {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-office::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #338cbb, #286fa5);
}

.contact-office:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.contact-office h4 {
  color: #2c3e50;
  margin-bottom: 20px;
  border-bottom: 2px solid #338cbb;
  padding-bottom: 10px;
  font-weight: 600;
  position: relative;
}

.contact-office h4::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #338cbb, #286fa5);
}

.contact-office h4 i {
  color: #338cbb;
  margin-right: 10px;
  font-size: 1.1em;
}

.contact-office p {
  margin-bottom: 12px;
  color: #555;
  line-height: 1.6;
  position: relative;
  padding-left: 5px;
}

.contact-office p i {
  color: #338cbb;
  margin-right: 12px;
  width: 18px;
  text-align: center;
  font-size: 1.05em;
}

.contact-office a {
  color: #338cbb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-office a:hover {
  color: #286fa5;
  text-decoration: none;
}

/* Contact section header enhancement */
.contact-section-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.contact-section-header h2 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-section-header::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #338cbb, #286fa5);
  border-radius: 2px;
}

/* About Page Styles */
.about-section-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.about-section-header h2 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 15px;
}

.about-section-header::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #338cbb, #286fa5);
  border-radius: 2px;
}

/* Introduction Section */
.about-intro {
  padding: 30px;
  margin-bottom: 40px;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
}

.intro-content p {
  /* font-size: 1.1rem; */
  line-height: 1.7;
  color: #2c3e50;
  margin-bottom: 20px;
}

.intro-content p:last-child {
  margin-bottom: 0;
}

/* Section with Icons */
.core-function-section,
.tech-section {
  display: flex;
  align-items: flex-start;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
  /* border: 1px solid #e9ecef; */
}

.section-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #338cbb, #286fa5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 25px;
  box-shadow: 0 4px 12px rgba(51, 140, 187, 0.3);
}

.section-icon i {
  color: white;
  font-size: 1.5rem;
}

.section-content h3 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 15px;
  /* font-size: 1.4rem; */
}

.section-content p {
  color: #555;
  line-height: 1.6;
  /* font-size: 1rem; */
  margin: 0;
}

/* Modes of Operation Section */
.modes-section {
  /* padding: 35px; */
  margin-bottom: 40px;
  margin-top: 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 35px;
}

.section-header h3 {
  color: #2c3e50;
  font-weight: 600;
  /* font-size: 1.6rem; */
  margin-bottom: 10px;
}

.section-header h3 i {
  color: #338cbb;
  margin-right: 10px;
}

.section-header p {
  color: #666;
  /* font-size: 1.1rem; */
  margin: 0;
}

/* Mode Cards */
.mode-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  height: 100%;
  /* box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1); */
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mode-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #338cbb, #286fa5);
}

.mode-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.mode-header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.mode-header i {
  font-size: 2.5rem;
  color: #338cbb;
  margin-bottom: 10px;
  display: block;
}

.mode-header h4 {
  color: #2c3e50;
  font-weight: 600;
  font-size: 1.3rem;
  margin: 10px 0 5px 0;
}

.mode-subtitle {
  color: #666;
  /* font-size: 0.9rem; */
  font-style: italic;
}

.mode-content p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 1rem;
}

.mode-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mode-features li {
  padding: 8px 0;
  color: #555;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
}

.mode-features li i {
  color: #28a745;
  margin-right: 10px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Modes Summary */
.modes-summary {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  background: rgba(51, 140, 187, 0.05);
  border-radius: 8px;
  /* border-left: 4px solid #338cbb; */
}

.modes-summary p {
  color: #2c3e50;
  /* font-size: 1.1rem; */
  margin: 0;
  font-weight: 500;
}

/* Consortium Link */
.consortium-link {
  text-align: center;
  margin-bottom: 40px;
  padding: 25px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 10px;
  border: 2px dashed #338cbb;
}

.consortium-link p {
  color: #2c3e50;
  font-size: 1.1rem;
  margin: 0;
}

.consortium-link .btn {
  margin-left: 10px;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.consortium-link .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(51, 140, 187, 0.3);
}

/* FAQ Back to Top Links */
.back-to-top {
  color: #338cbb;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s ease;
  display: inline-block;
  margin-top: 10px;
}

.back-to-top:hover {
  color: #286fa5;
  text-decoration: none;
}

.back-to-top::before {
  content: '↑ ';
  margin-right: 4px;
}
