/**
 * Front Page Styling
 */

/* Font Face Declarations */
@font-face { 
  font-family: 'Abril Text'; 
  src: url('../fonts/abril_text/woff2/AbrilText-Light.woff2') format('woff2'); 
  font-weight: 300; 
  font-style: normal; 
}
@font-face { 
  font-family: 'Abril Text'; 
  src: url('../fonts/abril_text/woff2/AbrilText-LightItalic.woff2') format('woff2'); 
  font-weight: 300; 
  font-style: italic; 
}
@font-face { 
  font-family: 'Abril Text'; 
  src: url('../fonts/abril_text/woff2/AbrilText-Regular.woff2') format('woff2'); 
  font-weight: 400; 
  font-style: normal; 
}
@font-face { 
  font-family: 'Abril Text'; 
  src: url('../fonts/abril_text/woff2/AbrilText-Italic.woff2') format('woff2'); 
  font-weight: 400; 
  font-style: italic; 
}
@font-face { 
  font-family: 'Abril Text'; 
  src: url('../fonts/abril_text/woff2/AbrilText-Semibold.woff2') format('woff2'); 
  font-weight: 600; 
  font-style: normal; 
}
@font-face { 
  font-family: 'Abril Text'; 
  src: url('../fonts/abril_text/woff2/AbrilText-SemiboldItalic.woff2') format('woff2'); 
  font-weight: 600; 
  font-style: italic; 
}
@font-face { 
  font-family: 'Abril Text'; 
  src: url('../fonts/abril_text/woff2/AbrilText-Bold.woff2') format('woff2'); 
  font-weight: 700; 
  font-style: normal; 
}
@font-face { 
  font-family: 'Abril Text'; 
  src: url('../fonts/abril_text/woff2/AbrilText-BoldItalic.woff2') format('woff2'); 
  font-weight: 700; 
  font-style: italic; 
}
@font-face { 
  font-family: 'Abril Text'; 
  src: url('../fonts/abril_text/woff2/AbrilText-Extrabold.woff2') format('woff2'); 
  font-weight: 800; 
  font-style: normal; 
}
@font-face { 
  font-family: 'Abril Text'; 
  src: url('../fonts/abril_text/woff2/AbrilText-ExtraboldItalic.woff2') format('woff2'); 
  font-weight: 800; 
  font-style: italic; 
}

@font-face { 
  font-family: 'Gotham Narrow'; 
  src: url('../fonts/gotham_narrow/woff2/GothamNarrow-Light_Web.woff2') format('woff2'); 
  font-weight: 300; 
  font-style: normal; 
}
@font-face { 
  font-family: 'Gotham Narrow'; 
  src: url('../fonts/gotham_narrow/woff2/GothamNarrow-LightItalic_Web.woff2') format('woff2'); 
  font-weight: 300; 
  font-style: italic; 
}
@font-face { 
  font-family: 'Gotham Narrow'; 
  src: url('../fonts/gotham_narrow/woff2/GothamNarrow-Book_Web.woff2') format('woff2'); 
  font-weight: 400; 
  font-style: normal; 
}
@font-face { 
  font-family: 'Gotham Narrow'; 
  src: url('../fonts/gotham_narrow/woff2/GothamNarrow-BookItalic_Web.woff2') format('woff2'); 
  font-weight: 400; 
  font-style: italic; 
}
@font-face { 
  font-family: 'Gotham Narrow'; 
  src: url('../fonts/gotham_narrow/woff2/GothamNarrow-Medium_Web.woff2') format('woff2'); 
  font-weight: 500; 
  font-style: normal; 
}
@font-face { 
  font-family: 'Gotham Narrow'; 
  src: url('../fonts/gotham_narrow/woff2/GothamNarrow-MediumItalic_Web.woff2') format('woff2'); 
  font-weight: 500; 
  font-style: italic; 
}
@font-face { 
  font-family: 'Gotham Narrow'; 
  src: url('../fonts/gotham_narrow/woff2/GothamNarrow-Bold_Web.woff2') format('woff2'); 
  font-weight: 600; 
  font-style: normal; 
}
@font-face { 
  font-family: 'Gotham Narrow'; 
  src: url('../fonts/gotham_narrow/woff2/GothamNarrow-BoldItalic_Web.woff2') format('woff2'); 
  font-weight: 600; 
  font-style: italic; 
}
@font-face { 
  font-family: 'Gotham Narrow'; 
  src: url('../fonts/gotham_narrow/woff2/GothamNarrow-Black_Web.woff2') format('woff2'); 
  font-weight: 700; 
  font-style: normal; 
}
@font-face { 
  font-family: 'Gotham Narrow'; 
  src: url('../fonts/gotham_narrow/woff2/GothamNarrow-BlackItalic_Web.woff2') format('woff2'); 
  font-weight: 700; 
  font-style: italic; 
}

body.path-frontpage,
body.path-reset-password {
  font-family: "Gotham Narrow", sans-serif !important;
  letter-spacing: 0.025rem;
  color: #f8f9fa;
}

body.path-frontpage .page-wrapper .stagecoach-tagline *:focus, 
body.path-frontpage .ui-dialog .stagecoach-tagline *:focus,
body.path-reset-password .page-wrapper .stagecoach-tagline *:focus, 
body.path-reset-password .ui-dialog .stagecoach-tagline *:focus {
  outline: none;
  box-shadow: none;
}

.front-page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Gotham Narrow", sans-serif !important;
  letter-spacing: 0.025rem;
}

.page-content {
  margin-bottom: 0;
}

/* Header */
.front-page-header {
  background: #2c3e50;
  color: #f8f9fa;
  padding: 2rem 0;
  text-align: center;
  font-family: "Gotham Narrow", sans-serif !important;
  letter-spacing: 0.025rem;
}

.front-page-header .container {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

body.path-frontpage .messages--status {
  background-color: #161B26 !important;
}

body.path-frontpage .messages {
  margin-block: 0 !important;
}

body.path-frontpage .messages-list {
  margin: 0 !important;
}

.front-page-header .site-title {
  margin: 0 0 0.5rem 0;
  font-size: 2.5rem;
  font-weight: 300;
}

.front-page-header .site-tagline {
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.9;
}

.client-logo {
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  text-indent: -9999px;
  display: block;
  background-color: #FFF9F0;
  -webkit-mask: url(/themes/custom/email_machine/aud/images/ux/logo_audubon_crane.svg) no-repeat 0 0;
  mask: url(/themes/custom/email_machine/aud/images/ux/logo_audubon_crane.svg) no-repeat 0 0;
  height: 60px;
  width: 200px;
}

.stagecoach-logo  {
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  text-indent: -9999px;
  display: block;
  background: url(/themes/custom/email_machine/images/stg-logo@2x.png) no-repeat 0 0;
  background-size: contain;
  height: 61px;
  width: 179px;
}

.site-motto {
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
}

/* Main Content */
.front-page-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  background: #f8f9fa;
  background-image: url(/sites/default/files/2025-09/Aud_APA-2019_Ruby-throated-Hummingbird_P1-8054-5_GSL_Photo-Steven-Biegler-Web.jpg);
  background-size: cover;
}

.login-section {
  background: #2c3e50de;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: auto;
}

.login-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #f8f9fa;
  font-family: "Abril Text", serif;
  font-weight: 700;
}

.login-form-wrapper .form-item {
  margin-bottom: 1rem;
}

.form-actions, .field-actions {
  justify-content: center;
}

.login-form-wrapper input[type="text"],
.login-form-wrapper input[type="password"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.login-form-wrapper input[type="submit"] {
  text-decoration: none;
  color: #161B26;
  font-size: 24px;
  font-weight: 600;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  background-color: #FEAB01;
  padding: 16px 42px;
  border: 0px solid #FEAB01;
  display: inline-block;
  line-height: 1;
}

.login-form-wrapper input[type="submit"]:hover {
  background: #fec348;
}

.form-element:focus {
  box-shadow: 0 0 0 2px #f8f9fa,
    0 0 0 5px #FEAB01;
}

.form-element:hover:focus {
  box-shadow: 0 0 0 2px #f8f9fa,
    0 0 0 5px #4670d9,
}

.password-reset-link {
  text-align: center;
  margin-top: 1rem;
}

.password-reset-link a {
  color: #f8f9fa;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.9;
}

.password-reset-link a:hover {
  color: #FEAB01;
  text-decoration: underline;
  opacity: 1;
}

/* Password Reset Page Specific Styles */
.reset-description {
  text-align: center;
  color: #f8f9fa;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  font-size: 0.95rem;
}

.back-to-login-link {
  text-align: center;
  margin-top: 1rem;
}

.back-to-login-link a {
  color: #f8f9fa;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.9;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.back-to-login-link a:hover {
  color: #FEAB01;
  text-decoration: underline;
  opacity: 1;
}

/* Style the password reset form elements */
.login-form-wrapper input[type="email"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}
.client-photo-caption {
  font-size: 13px;
  font-style: italic;
  font-weight: 400;
  line-height: 15px;
  letter-spacing: normal;
  padding: 10px 0;
  color: #FFFFFE;
}

/* Footer */
.front-page-footer {
  background: #34495e;
  color: white;
  padding: 1.5rem 0;
  text-align: center;
}

.front-page-footer p {
  margin: 0;
  opacity: 0.8;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 0 0 auto;
  padding: 0 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .front-page-header .site-title {
    font-size: 2rem;
  }
  
  .login-section {
    margin: 0 1rem;
  }
  .front-page-header .container {
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .front-page-header .container div {
    padding: 1rem 0;
  }
}

.page-content {
    margin-top: 0 !important;
}

div#block-email-machine-content {
  margin-top: 0 !important;
}

@media screen and (min-width: 38em) {
  .toolbar-tray-open:not(.toolbar-vertical) .layout-container, body:not(.toolbar-tray-open) .layout-container {
    margin-right: 0;
    margin-left: 0;
  }
}