/***
Login page
***/

/* logo page */
.login {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-color: #fff !important;
}

    .login::before, .login::after {
        content: "";
        position: absolute;
        width: 70%;
        height: 100%;
        top: 0;
        left: 0;
        background-size: cover;
        background-position: center;
        z-index: -1;
        animation-duration: 10s; /* Adjusted to 10s for quicker cycles */
        animation-timing-function: ease-in-out;
        animation-iteration-count: infinite;
    }

    .login::before {
        background-image: url('2.jpg');
        animation-name: fadeAnimation;
    }

    .login::after {
        background-image: url('1.jpg');
        animation-delay: 5s; /* Delay so each image shows up alternately */
        animation-name: fadeAnimation;
    }

@keyframes fadeAnimation {
    0%, 50%, 100% {
        opacity: 0;
    }

    25%, 25.001% {
        opacity: 1;
    }
}

/***
Login page
***/



/* logo page */
.login {
 
    position: relative;
}

    .login .logo {
        position: absolute; /* Position the logo absolutely within the .login container */
        top: 10%; /* Start the logo at the center of the container vertically */
        right: 0; /* Align right edge of .logo to the right of the container */
        transform: translateY(-50%); /* Shift the logo up by half its height to truly center it vertically */
        padding: 130px; /* Maintain the padding */
        text-align: center; /* Center text if any within the logo */
    }

    .login .logo1 {
        position: absolute; /* Position the logo absolutely within the .login container */
        top: 20%; /* Start the logo at the center of the container vertically */
        right: -60px; /* Align right edge of .logo to the right of the container */
        margin-bottom: 25px;
        transform: translateY(-50%); /* Shift the logo up by half its height to truly center it vertically */
        padding: 130px; /* Maintain the padding */
        text-align: center; /* Center text if any within the logo */
    }

.form-title1 {
    font-weight: 300;
    margin-bottom: 25px;
    font-family: "Trebuchet MS";
    color: #0d2278;
    right :50%;
    padding-top: 20px;
    padding-left:50px;
}


    .login .content {
        background-color: #fff !important;
        width: 360px;
        margin-right: 65px; /* Align to the right */
        margin-left: auto; /* Combine with auto on left margin for right alignment */
        margin-bottom: 0;
        padding: 30px;
        padding-top: 20px;
        padding-bottom: 15px;
        border: 10px outset #8498db; /* Added thickness to border */
        position: absolute; /* Position absolutely */
        top: 30%; /* Adjust this value based on the actual height of the logo */
        right: 0; /* Align to the right edge of the container */
    }




.login .content h3 {
  color: #000;
}
.login .content h4  {
  color: #555;
}

.login .content p {
  color: #222;
}

.login .content .login-form,
.login .content .forget-form {
    padding: 10px;
    margin: 10px;
}

.login .content .input-icon {
  border-left: 2px solid #8498db !important;
}

.login .content .input-icon .form-control {
  border-left: 0;
}

.login .content .forget-form {
  display: none;
}

.login .content .register-form {
  display: none;
}

.login .content .form-title {
  font-weight: 300;
  margin-bottom: 25px;
}

.login .content .form-actions {
  background-color: #fff;
  clear: both;
  border: 0px;
  border-bottom: 1px solid #eee;
  padding: 0px 30px 25px 30px;
  margin-left: -30px;
  margin-right: -30px;
}

.login .content .form-actions .checkbox {
  margin-left: 0;
  padding-left: 0;
}

.login .content .forget-form .form-actions {
  border: 0;
  margin-bottom: 0;
  padding-bottom: 20px;
}  

.login .content .register-form .form-actions {
  border: 0;
  margin-bottom: 0;
  padding-bottom: 0px;
}

.login .content .form-actions .checkbox {
  margin-top: 8px;
  display: inline-block;
}

.login .content .form-actions .btn {
  margin-top: 1px;
}

.login .content .forget-password {
  margin-top: 25px;
}

.login .content .create-account {
  border-top: 1px dotted #eee;
  padding-top: 10px;
  margin-top: 15px;
}

.login .content .create-account a {
  display: inline-block;
  margin-top: 5px;
}

/* select2 dropdowns */
.login .content .select2-container {
  border-left: 2px solid #35aa47 !important;
}

.login .content .select2-container .select2-choice {
  border-left: none !important;
}

.login .content .select2-container i {
  display: inline-block;
  position: relative;
  color: #ccc;
  z-index: 1;
  top:1px;
  margin: 4px 4px 0px 3px; 
  width: 16px;
  height: 16px;
  font-size: 16px;
  text-align: center; 
}

.login .content .has-error .select2-container i {
  color: #b94a48;
}

.login .content .select2-container a span {
  font-size: 13px;
}

.login .content .select2-container a span img {
  margin-left: 4px;
}

/* footer copyright */
.login .copyright {
    position: absolute; /* Absolute positioning relative to the nearest positioned ancestor */
    bottom: 100px; /* Aligns the element at the bottom of the container */
    right: 150px; /* Aligns the element at the right of the container */
    text-align: right; /* Text alignment to the right */
    padding: 10px; /* Padding inside the element */
    color: #0d2278; /* Text color */
    font-size: 15px; /* Text size */
    top: 90%;
    margin: 0; /* Removes any default margin */
}
@media (max-width: 480px) {
  /***
  Login page
  ***/
  .login .logo {
    margin-top:10px;
  }

  .login .content {
    padding1: 20px; 
    width: 280px;
  }

  .login .content h3 {
    font-size: 22px;
  }


  .login .checkbox {
    font-size: 13px;
  }
}