/* CSS Document */

@import url('sweet-alert.css');

/* Login Main CSS */

/* Common styles for both mobile and desktop */

body,
html {
  height: 100%;
  font-family: 'Roboto', 'Helvetica', sans-serif !important;
  margin: 0;
  /* Reset margin to remove default spacing */
  padding: 0;
  /* Reset padding to remove default spacing */
}

a {
  color: #1565c0;
  text-decoration: none;
  font-weight: 400;
}

h2 {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 40px 8px 10px 8px;
  color: #cccccc;
}

/* Styles for desktop */

#background {
  height: 100%;
  background-image: url('../img/logpage/Untitled4.jpeg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#background-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  background-size: cover !important;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
}

.wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 20px;
}

/* Styles for mobile */

@media only screen and (max-width: 767px) {
  h2 {
    font-size: 14px;
    /* Decrease font size for mobile */
  }
  #background {
    background-size: contain;
    /* Adjust background size for mobile */
  }
  #background-overlay {
    background: rgba(0, 0, 0, 0.5);
    /* Increase overlay transparency for mobile */
  }
  .wrapper {
    padding: 10px;
    /* Decrease padding for mobile */
  }
}

@media only screen and (max-width: 620px) {
  .login-form {
    transform: scale(2) !important;
  }
}

#formContent {
  /* background: rgba(255, 255, 255, 1); */
  padding: 30px;
  width: 90%;
  max-width: 450px;
  position: relative;
  padding: 0px;
  -webkit-box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
  text-align: center;
  background-image: url('../images/oil-drop-right-cut.png');
  background-repeat: no-repeat;
  background-position: -15% 95%;
  background-size: auto 20rem;
}

#formFooter {
  background-color: #1565c0;
  /* border-top: 1px solid #dce8f1; */
  padding: 25px;
  text-align: center;
}

.zoom-page {
  transform: scale(2) !important;
}

/* TABS */

h2.inactive {
  color: #cccccc;
}

h2.active {
  color: #0d0d0d;
  border-bottom: 2px solid #1565c0;
}

/* Styles for desktop */

#formContent {
  background: rgba(255, 255, 255, 1);
  padding: 30px;
  width: 90%;
  max-width: 450px;
  position: relative;
  -webkit-box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
  text-align: center;
  background-image: url('../images/oil-drop-right-cut.png');
  background-repeat: no-repeat;
  background-position: 105% 100%;
  background-size: auto 27rem;
}

#formFooter {
  background-color: #1565c0;
  padding: 25px;
  text-align: center;
}

.zoom-page {
  transform: scale(2) !important;
}

h2.inactive {
  color: #cccccc;
}

h2.active {
  color: #0d0d0d;
  border-bottom: 2px solid #1565c0;
}

/* Styles for mobile */

@media only screen and (max-width: 767px) {
  h2 {
    font-size: 14px;
    /* Decrease font size for mobile */
  }
  #formContent {
    padding: 20px;
    /* Decrease padding for mobile */
    width: 80%;
    /* Adjust width for mobile */
  }
  #formFooter {
    padding: 15px;
    /* Decrease padding for mobile */
  }
  .zoom-page {
    transform: scale(1) !important;
    /* Reset the zoom for mobile */
  }
}

/* FORM TYPOGRAPHY*/

.newtxt input[type='text']#subtxt {
  -webkit-appearance: none !important;
  color: #888 !important;
  text-align: right !important;
  width: 75px !important;
  border: 1px solid gray;
  border-left: 0px !important;
  margin: 0 0 0 -7px !important;
  background: white;
}

.newtxt input[type='text']#maintxt {
  -webkit-appearance: none !important;
  border: 1px solid gray;
  border-right: 0px !important;
  outline: none !important;
}

input[type='button'],
input[type='submit'],
input[type='reset'] {
  background-color: #233e80;
  border: none;
  color: white;
  padding: 15px 80px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  font-size: 13px;
  -webkit-box-shadow: 0 10px 30px 0 rgba(#233e80, 0.4);
  box-shadow: 0 10px 30px 0 rgba(#233e80, 0.4);
  margin: 5px 20px 40px 20px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

input[type='button']:hover,
input[type='submit']:hover,
input[type='reset']:hover {
  background-color: #233e80;
}

input[type='button']:active,
input[type='submit']:active,
input[type='reset']:active {
  -moz-transform: scale(0.95);
  -webkit-transform: scale(0.95);
  -o-transform: scale(0.95);
  -ms-transform: scale(0.95);
  transform: scale(0.95);
}

input[type='text'],
input[type='email'],
input[type='tel'],
input[type='password'],
select {
  background-color: #f6f6f6;
  border: none;
  color: #0d0d0d;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  /* margin: 5px; */
  margin-bottom: 1rem;
  width: 90%;
  border: 1px solid #f6f6f6;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  border: 1px solid #233e80;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='tel']:focus,
input[type='password']:focus,
select:focus {
  background-color: #fff;
  border: 2px solid #eca221;
}

input[type='text']:placeholder,
input[type='email']:placeholder,
input[type='tel']:placeholder,
input[type='password']:placeholder,
select:placeholder {
  color: #cccccc;
}

.btn-danger {
  background: red !important;
  -webkit-box-shadow: 0 10px 30px 0 rgba(255, 0, 0, 0.4) !important;
  box-shadow: 0 10px 30px 0 rgba(255, 0, 0, 0.4) !important;
}

/* Styles for mobile */

@media only screen and (max-width: 767px) {
  .newtxt input[type='text']#subtxt {
    width: 100% !important;
    /* Adjust width for mobile */
    margin: 5px 0 0 0 !important;
    /* Adjust margin for mobile */
  }
  .newtxt input[type='text']#maintxt {
    width: 100% !important;
    /* Adjust width for mobile */
    margin: 5px 0 0 0 !important;
    /* Adjust margin for mobile */
  }
  input[type='button'],
  input[type='submit'],
  input[type='reset'] {
    padding: 12px 50px;
    /* Adjust padding for mobile */
  }
  input[type='text'],
  input[type='email'],
  input[type='tel'],
  input[type='password'],
  select {
    padding: 12px 25px;
    /* Adjust padding for mobile */
    width: 100%;
    /* Adjust width for mobile */
  }
  .btn-danger {
    -webkit-box-shadow: 0 10px 30px 0 rgba(255, 0, 0, 0.4) !important;
    box-shadow: 0 10px 30px 0 rgba(255, 0, 0, 0.4) !important;
  }
}

/* ANIMATIONS */

/* Simple CSS3 Fade-in-down Animation */

.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

/* Simple CSS3 Fade-in Animation */

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-moz-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fadeIn {
  opacity: 0;
  -webkit-animation: fadeIn ease-in 1;
  -moz-animation: fadeIn ease-in 1;
  animation: fadeIn ease-in 1;
  -webkit-animation-fill-mode: forwards;
  -moz-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  animation-duration: 1s;
}

.fadeIn.first {
  -webkit-animation-delay: 0.4s;
  -moz-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.fadeIn.second {
  -webkit-animation-delay: 0.6s;
  -moz-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.fadeIn.third {
  -webkit-animation-delay: 0.8s;
  -moz-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.fadeIn.fourth {
  -webkit-animation-delay: 1s;
  -moz-animation-delay: 1s;
  animation-delay: 1s;
}

/* Simple CSS3 Fade-in Animation */

.underlineHover:after {
  display: block;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  background-color: #1565c0;
  content: '';
  transition: width 0.2s;
}

.underlineHover:hover {
  color: #0d0d0d;
}

.underlineHover:hover:after {
  width: 100%;
}

/* OTHERS */

*:focus {
  outline: none;
}

/* #icon {
    width: 90%;
    padding: 0px;
} */

#icon {
  width: 230px; /* Smaller width */
  height: auto; /* Keeps aspect ratio */
  margin-top: 20px; /* Optional: adds some space above the logo */
}

* {
  box-sizing: border-box;
}

.company-name {
  width: 100%;
  padding: 10px 10px 20px 10px;
  font-size: 18px;
  color: #0d0d0d;
  font-weight: 600;
}

.login-msg {
  margin: 0 auto;
  padding: 15px;
  width: 100%;
  background: red;
  color: white;
  text-align: center;
  top: 0;
}

.success-msg {
  margin: 0 auto;
  padding: 15px;
  width: 100%;
  background: #01c04b;
  color: white;
  text-align: center;
  top: 0;
}

/* Styles for mobile */

@media only screen and (max-width: 767px) {
  .company-name {
    font-size: 16px;
    /* Adjust font size for mobile */
    padding: 5px 5px 10px 5px;
    /* Adjust padding for mobile */
  }
  .login-msg,
  .success-msg {
    padding: 10px;
    /* Adjust padding for mobile */
    font-size: 14px;
    /* Adjust font size for mobile */
  }
}

/*Page loader*/

@-webkit-keyframes lds-ripple {
  0% {
    top: 90px;
    left: 90px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 15px;
    left: 15px;
    width: 150px;
    height: 150px;
    opacity: 0;
  }
}

@keyframes lds-ripple {
  0% {
    top: 90px;
    left: 90px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 15px;
    left: 15px;
    width: 150px;
    height: 150px;
    opacity: 0;
  }
}

.lds-ripple {
  position: relative;
}

.lds-ripple div {
  box-sizing: content-box;
  position: absolute;
  border-width: 10px;
  border-style: solid;
  opacity: 1;
  border-radius: 50%;
  -webkit-animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(1) {
  border-color: #1565c0;
}

.lds-ripple div:nth-child(2) {
  border-color: #1565c0;
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}

#loading {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
  position: fixed;
  left: 0;
  z-index: 1;
  margin-top: 0px;
  top: 0px;
  z-index: 9999;
}

#loading-center {
  width: 100%;
  height: 100%;
  position: relative;
}

#loading-center-absolute {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 200px;
  width: 200px;
  margin-top: -100px;
  margin-left: -100px;
  -ms-transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.turing {
  width: 85%;
  margin: 0 auto;
}

.turing .code {
  width: 40%;
  margin-top: 5px;
  background-color: #e6e6e6;
  height: 53px;
  float: left;
}

.turing .reload {
  font-size: 10px;
  padding: 2px;
  background: #1565c0;
  color: white;
  position: absolute;
  width: 20%;
  -webkit-box-shadow: 0 10px 30px 0 rgba(#1565c0, 0.4);
  box-shadow: 0 10px 30px 0 rgba(#1565c0, 0.4);
}

.turing a {
  display: block;
  text-decoration: none;
  font-weight: 400;
}

.turing .text {
  width: 60%;
  float: right;
}

/* Modal Header */

.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  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 */
}

/* Styles for mobile */

@media only screen and (max-width: 767px) {
  .turing {
    width: 100%;
    /* Adjust width for mobile */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .turing .code {
    width: 100%;
    /* Adjust width for mobile */
    margin-top: 5px;
  }
  .turing .reload {
    width: 50%;
    /* Adjust width for mobile */
    padding: 5px;
    font-size: 12px;
    /* Adjust font size for mobile */
    margin-top: 5px;
  }
  .turing .text {
    width: 100%;
    /* Adjust width for mobile */
    margin-top: 5px;
  }
  /* Styles for the modal */
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
  }
}

/* Modal Content/Box */

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 30%;
  /* Could be more or less, depending on screen size */
}

.modal-wrapper {
  width: 100%;
  padding: 20px 10px 10px 10px;
  clear: left;
}

.modal-boxes {
  width: 40%;
  height: 9rem;
  padding: 10px;
  float: left;
  margin: 10px;
}

.modal-boxes img {
  width: 100px;
  margin: 0 auto;
  margin-left: auto;
  margin-right: auto;
  align-content: center;
  padding-bottom: 15px;
}

.modal-boxes label {
  text-align: center;
  padding: 10px;
  color: #888;
  margin-top: 10px;
  width: 100%;
}

.modal-wrapper:after {
  content: '.';
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

.modal-header {
  vertical-align: center;
  background-color: transparent;
  color: black;
  width: 100%;
  height: 50px;
}

.modal-header .text {
  padding-top: 25px;
  padding-bottom: 16px;
  font-size: 20px;
  color: #888;
}

/* Modal Body */

.modal-body {
  padding: 2px 16px;
}

.modal-body p {
  padding: 2px 16px;
}

.modal-body input[type='text'],
.modal-body input[type='email'],
.modal-body input[type='tel'],
.modal-body input[type='password'],
.modal-body select {
  width: 100% !important;
}

/* Styles for mobile */

@media only screen and (max-width: 767px) {
  .modal-content {
    width: 80%;
    /* Adjust width for mobile */
  }
  .modal-wrapper {
    padding: 10px;
    /* Adjust padding for mobile */
  }
  .modal-boxes {
    width: 100%;
    /* Adjust width for mobile */
    height: auto;
    /* Adjust height for mobile */
    float: none;
    /* Remove float for mobile */
    margin: 10px 0;
    /* Adjust margin for mobile */
  }
  .modal-boxes img {
    width: 80px;
    /* Adjust image width for mobile */
    margin-bottom: 10px;
    /* Adjust margin for mobile */
  }
  .modal-boxes label {
    text-align: center;
    padding: 5px;
    color: #888;
    margin-top: 5px;
    width: 100%;
  }
  .modal-header {
    vertical-align: center;
    background-color: transparent;
    color: black;
    width: 100%;
    height: auto;
    /* Adjust height for mobile */
  }
  .modal-header .text {
    padding-top: 10px;
    /* Adjust padding for mobile */
    padding-bottom: 5px;
    /* Adjust padding for mobile */
    font-size: 18px;
    /* Adjust font size for mobile */
    color: #888;
  }
  /* Adjust input fields in the modal body for mobile */
  .modal-body input[type='text'],
  .modal-body input[type='email'],
  .modal-body input[type='tel'],
  .modal-body input[type='password'],
  .modal-body select {
    width: 100% !important;
    padding: 10px;
    /* Adjust padding for mobile */
    margin-bottom: 10px;
    /* Adjust margin for mobile */
  }
}

/* Modal Footer */

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

.modal-footer:after {
  content: '.';
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

/* The Close Button */

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

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

/* Modal Form  */

.form-objs {
  width: 100%;
}

.form-objl {
  width: 49%;
  float: left;
}

.form-objl input[type='button'],
.form-objl input[type='submit'],
.form-objl input[type='reset'],
.form-objr input[type='reset'],
.form-objr input[type='button'],
.form-objr input[type='submit'] {
  width: 100%;
  margin: 5px 20px 40px 5px !important;
  padding: 15px 20px !important;
}

.form-objr {
  width: 49%;
  float: right;
}

/* Hidden Form */

.hidfrm {
  width: 85%;
  margin: 0 auto;
}

.hidfrml {
  width: 60%;
  padding: 0 !important;
  margin: 0 !important;
  float: left;
}

.hidfrml input[type='text'],
.hidfrml input[type='password'],
.hidfrml input[type='tel'],
.hidfrmr input[type='text'],
.hidfrmr input[type='tel'],
.hidfrmr input[type='password'] {
  width: 100% !important;
  margin-left: 0px !important;
}

.hidfrmr {
  width: 40%;
  float: right;
}

/* Tabs Menu */

.tabs {
  padding: 0px;
}

.tabs-btn {
  width: 100%;
  height: 200px;
  border: 1px solid transparent;
  background-color: transparent;
  cursor: pointer;
}

.tabs-btn img {
  width: 50%;
}

.tabs-btn label {
  width: 100%;
  margin: 0 auto;
  padding-top: 10px;
  font-size: 1.2em;
}

.tabs-col {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.tabs:after {
  content: '.';
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

/* Styles for mobile */

@media only screen and (max-width: 767px) {
  .form-objs {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .form-objl,
  .form-objr {
    width: 100%;
    float: none;
  }
  .form-objl input[type='button'],
  .form-objl input[type='submit'],
  .form-objl input[type='reset'],
  .form-objr input[type='reset'],
  .form-objr input[type='button'],
  .form-objr input[type='submit'] {
    width: 100%;
    margin: 5px 0 20px 0 !important;
    padding: 15px 20px !important;
  }
  .hidfrm {
    width: 100%;
    margin: 0 auto;
  }
  .hidfrml,
  .hidfrmr {
    width: 100%;
    float: none;
  }
  .hidfrml input[type='text'],
  .hidfrml input[type='password'],
  .hidfrml input[type='tel'],
  .hidfrmr input[type='text'],
  .hidfrmr input[type='tel'],
  .hidfrmr input[type='password'] {
    width: 100% !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
  }
  .tabs-col {
    padding: 0 !important;
  }
}

/* Modal Colum */

.col-sm-6 {
  width: 50%;
}

@media (min-width: 768px) {
  .col-sm-6 {
    float: left;
  }
}

.col-sm-6 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.login-logo {
  height: auto;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 20px;
}

a:active {
  text-decoration: none;
  color: #888;
}

a:visited {
  text-decoration: none;
  color: #888;
}
.errormsg {
  margin: 0 auto;
  padding: 15px;
  width: 100%;
  background: red;
  color: white;
  text-align: center;
}
