body {
  font-family: allstatesansw-regular, Verdana, sans-serif;
  font-style: normal;
  font-weight: 500;
  background-color: #e4e9ed;
  margin: 0px;
}

form {
  display: block;
  width: 100%;
  text-align: center;
}

input[type="submit"],
input[type="input"],
input[type="text"],
input[type="password"] {
  border: 2px solid #2F3847;
  box-sizing: border-box;
  background: #FFFFFF;
  font-weight: 400;
  height: 44px;
  font-size: 16px;
  line-height: 24px;
  padding: 10px 12px;
  color: #2F3847;
}

input[type="input"]:focus,
input[type="text"]:focus,
input[type="password"]:focus {
  border: 3px solid #2F3847;
  outline-color: #45BCE5;
}

input.radio-button {
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  background: #FFFFFF;
  border: 2px solid #2F3847;
  outline-color: #45BCE5;
  margin-top: 26px;
  margin-left: 24px;
}

label.radio-button-label.selected:focus {
  border: 3px solid #2F3847;
  outline-color: #45BCE5;
}

input.error {
  border: 2px solid #C91228;
}

img.allstate-logo-header {
  height: 43px;
  margin-left: 64px;
}

img.allstate-logo-footer {
  height: 43px;
  margin-left: 64px;
}

span.close {
  float: right;
  font-size: 28px;
}

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

div.desktop-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 30px 0px 23px 0px;
  width: 100%;
  height: 43px;
  background: #0E1941;
}

div.page-title-header {
  width: 207px;
  height: 24px;
  margin-right: 64px;

  font-weight: 400;
  font-size: 16px;
  line-height: 24px;

  text-align: right;

  color: #FFFFFF;

  flex: none;
  order: 1;
  flex-grow: 1;
}

div.desktop-content {
  width: 100%;
  min-width: 360px;
  height: 808px;
  background: #0033A0;
  display: flex;
  justify-content: center;
}

div.desktop-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 30px 0px 18px 0px;
  width: 100%;
  height: 72px;
  background: #FFFFFF;
  flex-wrap: wrap;
}

div.copyright_notice {
  height: 24px;
  font-weight: 300;
  font-size: 12px;
  line-height: 24px;
  color: #2F3847;
  margin-left: 32px;
}

div.footer_links {
  height: 24px;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  color: #1372E2;
  margin-left: 120px;
  cursor: pointer;
}

span.terms-note-btn{
  cursor: pointer;
  color: #007AFF;
}

.footer-link-group {
  display: flex;
}

.footer-group {
  display: flex;
}

img.footer-line {
  display: none;
  visibility: hidden;
}

img.allstate-logo-footer-white {
  display: none;
  visibility: hidden;
}

.footer-content {
  display: flex;
  align-items: center;
}

@keyframes image-spin {
  from {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
  }
}

@font-face {
  font-family: 'allstatesansw-regular';
  src: local('allstatesansw-regular'), url(../assets/allstatesansw/allstatesansw-regular.woff) format('woff');
  src: local('allstatesansw-regular'), url(../assets/allstatesansw/allstatesansw-regular.ttf) format('truetype');
}

@font-face {
  font-family: 'allstatesansw-bold';
  src: local('allstatesansw-bold'), url(../assets/allstatesansw/allstatesansw-regular.woff) format('woff');
  src: local('allstatesansw-bold'), url(../assets/allstatesansw/allstatesansw-regular.ttf) format('truetype');
}


@media (max-width: 1080px) {
  body {
    width: 100%;
    min-width: 360px;
  }

input[type="submit"],
input[type="input"],
input[type="text"],
input[type="password"] {
  height: 24px;
  font-size: 16px;
  line-height: 10px;
}

  div.desktop-header {
    display: none;
  }

  img.allstate-logo-header {
    height: 29px;
    margin-left: 16px;
  }

  div.copyright_notice {
    margin-left: 0;
    color: #FFFFFF;
    margin-top: 4px;
  }

  div.footer_links {
    margin-left: 0;
    align-items: center;
    color: #FFFFFF;
    margin-top: 16px;
  }

  .footer-group {
    flex-direction: column-reverse;
  }

  .footer-link-group {
    align-items: center;
  }

  img.footer-line {
    display: block;
    visibility: visible;
    background: #EEEEEE;
    height: 15px;
    margin: 14px 12px 0 12px;
  }

  div.desktop-footer {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    background: #0033A0;
    margin-top: 2px;
    padding: 30px 0px 60px 0px;
  }

  img.allstate-logo-footer-white {
    height: 43px;
    display: block;
    visibility: visible;
  }

  img.allstate-logo-footer {
    display: none;
    visibility: hidden;
    margin-left: 0px;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }


  @media (max-width: 640px) {
    div.desktop-content {
      height: fit-content;
    }
  }
}
