/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Apr 25, 2019, 1:25:18 PM
    Author     : alejandro.limia
*/
.hidden{
    display:none !important;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000000;
  color: white;
  padding: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

#header{
    padding:10px 0 10px 0;
    background-color: #ffffff
}




#header-logo-wrapper img{
   max-height: 116px;
}

#footer{
    background: #ffffff;
    min-height: 100px;
}

#main-content{
    padding:0;
}

#main-content h2{
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.iframe-container{
    max-width: 1200px;
    padding: 0;
    
}

.footer {
  background-color: #FFFFFF;
  width: 100%;
  -webkit-box-shadow: 0 -4px 4px 0 rgba(0,0,0,.25);
  box-shadow: 0 -4px 4px 0 rgba(0,0,0,.25);
  padding:30px 0 20px 0;
  font-size:16px;
}
.footer .row{
	display:inline;
}
.footer .sitemap {
	float:right;
}
.footer .powered {
	float:left;
}
.footer .powered span {
	float:left;
}
.footer img {
	margin:-4px 0 0 10px;
}
.footer ul {
  padding-left: 0;
  text-align:right;
}
.footer ul li {
  list-style: none;
  color: #D22730;
  text-align: left;
}
.footer ul li a {
  font-size: 16px;
  padding:5px 10px;
  color: #D22730;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  overflow: visible;
}
.footer ul li a:hover {
	background:#D22730;
	text-decoration:none;
	color:#FFFFFF;
}

.footer ul.inline > li {
    display: inline-block;
    margin: 0;
    position: relative;
}
.footer .copyright {
	text-align:center;
	color:#000000;
	margin:75px 0 0 0;
	padding:0 20px;
}


.footer #footer-links-list a span{
    position:absolute;
    top:-90000px;    
}

.footer #footer-links-list a:hover span,
.footer #footer-links-list a:focus span,
.footer #footer-links-list a:active span{
    position:absolute;
    top:2.6em;
    left:1em; 
    color:#000;
    width:12em; 
    display:block;
    text-align: center;
    border:1px solid #D22730;
    font-size: 0.7em;
}

.lang_fr .footer #footer-links-list a:hover span,
.lang_fr .footer #footer-links-list a:focus span,
.lang_fr .footer #footer-links-list a:active span{
    width:15em;
}

#lang_toggle a{
    color:#005288;
    font-size: 18px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    padding-left: 25px;
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 45%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.close {
    color: black;
    float: right;
    font-size: 28px;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 2px 16px;
    background-color: white;
}

.modal-logo {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10px;
    position: relative;
    width: 80%;
}

.modal-body {
    background-color: #f0f1f3;
    padding: 2px 16px;
}

#login{

}

.refresh_button{
    position: relative;
    padding: 10px;
    width: 100px;
    display: block;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    top: 13px;    
    font-size: 14px ;
    border-radius: 5px;
    text-align: center !important;
    margin: auto;

}

.KSTL-Registration-button button{
    margin: auto; 
    display: block;
}

@media only screen and (max-width: 750px) {

    #login{
         margin-left: -110px;
        /*padding-left: -100px;*/
    }

}

#maintenance_alert{
    background-color: #d22730;
    text-align: center;
    display: block;
    margin: 10px 8px;
    color: white;
    border-radius: 12px;
    padding: 2px 7px;
}

#maintenance_message{
    color: #d22730;
    margin: 100px auto;
    display: block;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
}

.temp_banner{
    display: none;
}

.main_banner{
    display: inline-block;
}

.wk_registration_form{
    max-width: 400px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 5px;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
}

.wk_registration_button{
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.custom-input {
    display: block;
    text-align: center;
    margin: auto;
    width: 70%;
}

.recpatcha_css{
    margin-left: 30px;
}

.custom_trademark_above{
    margin-bottom: 0px;
}

.custom_trademark_below{
    margin-top: -13px;
}

.kellanova_login_regstration_div{
    border: 1px solid black;
    text-align: center;
    margin: auto;
    width: 25%;
    padding: 15px;
}

.kellanova_login_header{
    padding: 10px;
    font-size: 22px;
    font-weight: bold;
}

.kellanova_login_div, .kellanova_otp_div {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Adds nice spacing between elements */
    max-width: 300px; /* Optional: limit width to make it look cleaner */
    margin: 0 auto; /* Optional: center the form horizontally */
}

.kellanova_login_div label, .kellanova_otp_div label {
    margin-bottom: 2px;
    font-weight: bold;
    font-size: 20px;
}

.kellanova_login_div input, .kellanova_otp_div input {
    padding: 8px;
    font-size: 14px;
}

.kellanova_otp_div input{
    margin: 5px auto 10px;
}

.kellanova_login_div button, .kellanova_registration_div button, .kellanova_otp_div button {
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    width: 150px;
    margin: auto;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.kellanova_login_div button:hover, .kellanova_registration_div button:hover, .kellanova_otp_div button:hover  {
    background-color: #0069d9; /* Darker on hover */
}

.kellanova_registration_div {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Spacing between all items */
    max-width: 400px; /* Optional: nicer layout */
    margin: 0 auto; /* Center the form */
}

.kellanova_registration_div label {
    margin-bottom: 5px;
    font-weight: 500; /* Slightly bolder label */
}

.kellanova_registration_div input,
.kellanova_registration_div select {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #333;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 480px) {
    .kellanova_login_regstration_div{
        width: 95%; /* Adjust the width for smaller screens */
        padding: 10px; /* Optional: Adjust padding for mobile screens */
    }
}

/* Age error message styling moved from inline styles in login.html.twig */
#ageError {
    display: none;
    color: beige;
    font-size: 0.9em;
    margin-top: 5px;
}
