@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;700&display=swap");
@tailwind base;
@tailwind components;
@tailwind utilities;

body {
  font-family: "Source Sans Pro", sans-serif;
}

.logo-banner {
  /*height: 100%;*/
  width: 100%;
  /*margin: auto;*/
  background: url("marine-banner.jpg") no-repeat;
  background-size: contain;
}

button {
  background-color: #005bc0 !important;
  font-weight: 600 !important;
  color: white !important;
  padding: 0.75rem 2rem !important;
  border-radius: 4px !important;
  font-size: 16px !important;
  height: 40px !important;
  line-height: 1 !important;
}
button:hover {
  background-color: #003b75 !important;
}
.oauth2-form-wrapper button {
  margin-top: 32px;
}
.sso-form-wrapper button {
  margin-top: 32px;
}
input,
label,
button {
  font-family: inherit !important;
}
.login-form-wrapper label {
  color: inherit !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  line-height: 24px !important;
  margin-bottom: 4px !important;
  display: inline-block !important;
}
input[type="text"],
input[type="password"] {
  box-shadow: none !important;
  border-radius: 4px !important;
  border: 1px solid black !important;
  height: 40px !important;
  padding: 8px !important;
  outline: none !important;
}
input[type="text"]:focus,
input[type="password"]:focus {
  border: 1px solid #005bc0 !important;
}
.guest-form-wrapper input[type="text"] {
  margin-bottom: 8px !important;
}

.guest-form-wrapper p {
  margin: 8px 0 !important;
}
.guest-form-wrapper h3 {
  font-weight: 600 !important;
}

/* customize */
button {
  background-color: #005bc0 !important;
  font-weight: 600 !important;
  color: white !important;
  padding: 0.75rem 2rem !important;
  border-radius: 4px !important;
  font-size: 16px !important;
  height: 40px !important;
  line-height: 1 !important;
}
button:hover {
  background-color: #003b75 !important;
}
.oauth2-form-wrapper button {
  margin-top: 32px;
}
.sso-form-wrapper button {
  margin-top: 32px;
}
input,
label,
button {
  font-family: inherit !important;
}
.login-form-wrapper label {
  color: inherit !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  line-height: 24px !important;
  margin-bottom: 4px !important;
  display: inline-block !important;
}
input[type="text"],
input[type="password"] {
  box-shadow: none !important;
  border-radius: 4px !important;
  border: 1px solid black !important;
  height: 40px !important;
  padding: 8px !important;
  outline: none !important;
}
input[type="text"]:focus,
input[type="password"]:focus {
  border: 1px solid #005bc0 !important;
}
.guest-form-wrapper input[type="text"] {
  margin-bottom: 8px !important;
}

.guest-form-wrapper p {
  margin: 8px 0 !important;
}
.guest-form-wrapper h3 {
  font-weight: 600 !important;
}

/* customize */
.logo {
  height: 200px;
  width: 200px;
  background: url("./marine-logo.png") no-repeat;
  background-size: contain;
  margin: 0 auto;
  margin-bottom: 30px;
}
.marine-banner {
  background: url("./marine-banner.jpg") no-repeat;
  background-size: cover;

  width: 849px;
  height: 777px;
}
.text-primary {
  color: rgb(0 91 192);
}
.bg-lightgray {
  background-color: rgb(238 238 238);
}
.text-darkgray {
  color: rgb(113 113 113);
}
.accent-primary {
  accent-color: #005bc0;
}
.oauth2-form-wrapper.oauth2-login {
  background-color: rgb(249 249 249);
  color: rgb(113 113 113);
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}
.sso-form-wrapper.sso-login {
  background-color: rgb(249 249 249);
  color: rgb(113 113 113);
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}
.input-radio-group {
  display: flex;
  align-items: center;
}
.radio-input {
  height: 16px;
  width: 16px;
  accent-color: #005bc0;
  margin-right: 8px;
}
.second-label {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 19px;
  /* identical to box height */

  color: #8b95a1;
}
.login-form-wrapper .form-control {
  background: #ffffff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  display: block;
  width: 95%;
  border: none;
  height: 48px;
  margin-bottom: 20px;
  font-family: "Open Sans";
}
.login-form-wrapper {
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}
.login-form-wrapper .btn-primary {
  width: 95%;
  height: 48px;
  background: #28bbfd;
  border-radius: 4px;
  border: none;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 19px;
}
.guest-form-wrapper.guest-login {
  background-color: rgb(249 249 249);
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 2rem;
  padding-right: 2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  color: rgb(113 113 113);
}
.guest-form-wrapper .form-control {
  background: #ffffff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  border: none;
  height: 48px;
  float: left;
  margin-right: 10px;
  font-family: "Open Sans";
}
.guest-form-wrapper .btn-primary {
  width: 139px;
  height: 48px;
  background: #28bbfd;
  border-radius: 4px;
  border: none;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 19px;
}
@media (max-width: 1536px) {
  /* .container {
    max-width: 1536px;
  } */
}
@media (max-width: 1600px) {
  .marine-banner {
    background-size: contain;
    width: 100%;
    height: 700px;
  }
  .logo {
    height: 159px;
    width: 160px;
  }
}
@media (max-width: 1280px) {
  .container {
    max-width: 1250px !important;
  }
}
@media (max-width: 1200px) {
  .logo {
    height: 140px;
    width: 140px;
  }
  /* .lg\:w-7\/12 {
    width: 62.333333% !important;
  }
  .lg\:w-5\/12 {
    width: 36.666667% !important;
  } */
  .logo {
    height: 120px;
    width: 120px;
  }
  .sso-form-wrapper button {
    margin-top: 16px;
  }
  .sso-form-wrapper.sso-login {
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .login-widgets {
    padding: 20px 6px;
  }
  .marine-banner {
    height: 537px;
  }
}
@media (max-width: 992px) {
  .marine-banner {
    height: 482px;
    background-size: contain;
    background-position: center;
  }
  .login-widgets {
    padding: 20px;
  }
  .p-8 {
    padding: 1rem !important;
  }
  .logo {
    height: 90px;
    width: 90px;
  }
}

@media (max-width: 767px) {
  .marine-banner {
    height: 402px;
    width: 100%;
    background-size: cover;
  }
  .logo {
    height: 80px;
    width: 80px;
  }
  .error-card .text {
    font-size: 20px;
  }
  .error-card .title {
    color: #28bbfd;
    font-size: 57px;
  }
  .error-card {
    padding: 30px;
  }
  .back-home {
    font-size: 14px;
    padding: 4px 12px;
  }
}
@media (max-width: 576px) {
  .marine-banner {
    height: 282px;
  }
}
@media (max-width: 320px) {
  .sso-form-wrapper.sso-login {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .oauth2-form-wrapper.oauth2-login {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .guest-form-wrapper.guest-login {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
}
a {
  word-break: break-all;
}

/*text replacement*/
fieldset > div:nth-child(2) {
  display: none;
}
label[for="oauth2"],
label[for="guest"],
div[class="oauth2-widget"] > p[class="text-acc"]:nth-child(2),
div[class="oauth2-widget"] button {
  font-size: 0 !important;
}
label[for="oauth2"]::after {
  content: "Log in to Adobe Connect via MCeLE";
  font-size: 1rem;
}
label[for="guest"]::after {
  content: "Join the Adobe Connect meeting as a Guest";
  font-size: 1rem;
}
div[class="oauth2-widget"] > p[class="text-acc"]:nth-child(2)::after {
  content: "Use this option if you have a Marine Corps eLearning Ecosystem account.";
  font-size: 1rem;
}
div[class="oauth2-widget"] button::after {
  content: "Login";
  font-size: 1rem;
}
