﻿/****************************************/
/* Global Styles */
/****************************************/

html {
  box-sizing: border-box;
  font-family: Montserrat !important;
  color: #191919;
}

*, *:before, *:after {
  box-sizing: inherit;
  font-family: inherit !important;
  color: inherit;
}

.spacer {
  margin-top: 15px;
}

body {
  background-color: #f7f7f7;
}

html, body {
  -webkit-overflow-scrolling: touch;
}

.disable-select {
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* supported by Chrome and Opera */
}

.hover {
  text-decoration: underline;
}

  .hover:hover {
    cursor: pointer;
  }

.link-hover {
  text-decoration: none;
}

  .link-hover:hover {
    cursor: pointer;
    text-decoration: underline;
  }

.a-brand-hover a:hover {
  text-decoration: underline;
}

.brand-color {
  color: #d6001c !important;
}

a.notyet {
  opacity: 0.5 !important;
  text-decoration: none !important;
}


#body input[type=text],
#body input[type=email],
#body input[type=password], #body textarea,
#body select {
  background: #ffffee;
  border: 1px solid #aaaaaa;
  color: #444;
  font-size: 9pt;
  padding: 5px;
}

  #body input[type=text].error,
  #body input[type=email].error,
  #body input[type=password].error,
  #body textarea.error,
  #body select.error {
    background-color: Yellow;
  }

.ui-widget select {
  font-size: 14px;
}

.no-appearance {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.hidden {
  display: none; /* do not put !important on this */
}

.noscroll {
  overflow: hidden;
}

.rounded {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.rounded-border {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.two-column {
  -webkit-columns: 2;
  -moz-columns: 2;
  columns: 2;
}

.shadow {
  -moz-box-shadow: 3px 3px 4px #bbb;
  -webkit-box-shadow: 3px 3px 4px #bbb;
  box-shadow: 3px 3px 4px #bbb;
}

.sort-stores-by {
  font-size: 9pt;
  font-weight: normal;
}

.sort-stores-by-choice {
  text-decoration: underline;
  cursor: pointer;
}

.custom-radio-group div {
  margin-top: 5px;
}

.miter-color {
  color: #d6001c;
}

.store-mgr-warn-dialog .user-list, .store-mgr-warn-dialog .manager-list {
  margin-left: 22px;
  font-style: italic;
}

.store-mgr-warn-dialog p {
  margin: 5px 0;
}

.store-mgr-warn-dialog .stop-showing {
  margin: 22px 0 11px;
}

/****************************************/
/* From Invision Style Guide */
/****************************************/
h1 {
  font-family: Termina !important;
  font-weight: bold !important;
  font-size: 44px !important;
  line-height: 52px !important;
  color: #132048 !important;
}

h2 {
  font-family: Termina !important;
  font-weight: bold !important;
  font-size: 32px !important;
  line-height: 38px !important;
  color: #132048 !important;
}

h3 {
  font-family: Termina !important;
  font-weight: bold !important;
  font-size: 18px !important;
  line-height: 22px !important;
  letter-spacing: 1.5px !important;
  color: #132048 !important;
}

h4 {
  font-weight: bold !important;
  font-size: 12px !important;
  line-height: 19px !important;
  letter-spacing: 1px !important;
  color: #132048 !important;
}

p {
  font-size: 13.5px !important;
  line-height: 22px !important;
  color: #191919 !important;
}

  p.medium {
    font-size: 18px !important;
    line-height: 28px !important;
  }

  p.large {
    font-size: 22px !important;
    line-height: 28px !important;
  }

/****************************************/
/* Custom Controls */
/****************************************/

.custom-radio-group label {
  margin-top: 0;
  display: inline-block;
  background-image: url(/images/radio-sprite2.png);
  background-position: 0 0;
  height: 13px;
  width: 13px;
  padding: 4px 0 0 22px;
  background-repeat: no-repeat;
  white-space: nowrap;
}

.custom-radio-group input[type=radio]:checked + label {
  background-position: 0 -13px;
}

.custom-radio-group input[type=radio] {
  display: none;
}

  .custom-radio-group input[type=radio]:checked + label {
    background-position: 0 -13px;
  }

.custom-checkbox input[type=checkbox] {
  display: none;
}

  .custom-checkbox input[type=checkbox]:checked + label {
    background-position: 0 0;
  }

.custom-checkbox label {
  display: inline-block;
  background-image: url(/images/checkbox.png);
  background-position: 0 -18px;
  height: 18px;
  width: 20px;
  padding: 4px 0 0 22px;
  background-repeat: no-repeat;
  white-space: nowrap;
}

/****************************************/
/* Boxed Group */
/****************************************/
div.boxed-group {
  padding: 12px 8px 8px 8px;
  position: relative;
  border-color: #888;
}

div.boxed-group-label {
  font-family: "Segoe UI", helvetica, sans-serif;
  position: absolute;
  top: -9px;
  background: #fff;
  padding: 0 2px;
  color: #444;
  font-weight: bold;
}
/****************************************/
/* Banner / Footer */
/****************************************/
.banner-outer {
  background-color: #ffffff;
}

.banner {
  padding: 0 10px;
  display: flex;
  max-width: 1024px;
  margin: 0 auto;
}

.banner-logo {
  flex-grow: 1;
  margin: 27px 10px 27px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

  .banner-logo img {
    margin-right: 14px;
  }

footer {
  background-color: #313234;
  margin-top: 28px;
  padding: 0 5px;
}

  footer a {
    text-decoration: none;
  }

.footer-text {
  font-size: 11px;
  padding: 11px 0 11px;
  color: #fff;
  max-width: 1024px;
  margin: 0 auto;
}

.all-but-the-footer {
  min-height: calc(100vh - 61px);
}

body.miwindows .banner-logo img {
  height: 38.6px;
}

body.sunrisecollection .banner-logo img {
  height: 150px;
  margin-top: -50px;
  margin-bottom: -50px;
  margin-left: -40px;
}

body.milgard .banner-logo img {
  height: 33px;
}

body.feldco .banner-logo img {
  height: 94px;
}

body.wao .banner-logo img {
  height: 60px;
}

.customer-portal {
  white-space: nowrap;
  display: inline-block;
  font-size: 32px;
  font-weight: bold;
}

.hamburger-wrapper {
  display: none;
}

.banner-rule-box {
  height: 6px;
  box-shadow: 0 1.8px 3.6px #00000029;
  /*border: 3px solid #132048;*/
  background-color: #132048;
  opacity: 1;
}

.banner-right {
  flex-grow: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
}

.home-by {
  font-weight: bold;
  font-size: 8.5px;
  margin-bottom: 28px;
}

  .home-by:before {
    content: 'By MITER Brands™';
  }

body.no-login .home-by {
  margin-top: 15px;
}

body.no-login .mobile-menu-bar {
  display: none;
}

/****************************************/
/* User Identity */
/****************************************/

.user-identity {
  font-size: 9.5px;
  line-height: 180%;
  display: block;
  flex-grow: 1;
  margin-bottom: 5px;
  margin-top: 10px;
}

  .user-identity .logged-in-as,
  .user-identity .logged-out,
  .user-identity .switch-brands,
  .user-identity .admin {
    display: inline-block;
  }

  .user-identity .logged-in-as-name,
  .user-identity .log-out,
  .user-identity .user-profile {
    white-space: nowrap;
  }

  .user-identity .switch-brands-outer {
    position: relative;
    white-space: nowrap;
  }

  .user-identity .switch-brands {
    white-space: nowrap;
    text-transform: lowercase;
    position: relative;
  }

/****************************************/
/* Brand Menu */
/****************************************/
.brand-menu {
  display: inline-block;
  text-align: left;
  background-color: #f7f7f7;
  position: absolute;
  right: 0;
  top: 14px;
  z-index: 1;
  visibility: hidden;
  white-space: nowrap;
}

  .brand-menu li {
    padding: 1px 6px;
    border-top: 1px solid #c5c5c5;
    position: relative;
    /*top: -3px;*/
  }

    .brand-menu li:first-child {
      border-top: none;
    }

    .brand-menu li:hover {
      background-color: #c5c5c5;
      color: #ffffff;
    }

    .brand-menu li img {
      height: 24px;
      top: 5px;
      border: none !important;
      top: 7px;
    }

  .brand-menu.ui-widget-content .ui-state-active {
    background: inherit;
    border: inherit;
    color: inherit;
  }

/****************************************/
/* Main Content */
/****************************************/

.main-content {
  display: flex;
  position: relative;
  justify-content: center;
}

.left-rail-filler {
  flex-grow: 1;
}

/****************************************/
/* Main Menu */
/****************************************/

.main-menu-outer {
  padding-top: 40px;
  width: 186px;
  min-width: 186px;
  font-size: 13px;
  background-color: #f7f7f7;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.home-icon {
  height: 29px;
  display: inline-block;
  border-bottom: 1px solid transparent;
}

.open .home-icon {
  border-bottom: 1px solid #62666A;
}

.main-menu {
  border-right: 1px solid #62666A;
  padding-right: 6px;
  position: relative;
}

  .main-menu .close-box {
    width: 20px;
    height: 20px;
    background-image: url(/images/close20w.png);
    position: absolute;
    top: 5px;
    right: 5px;
    display: none;
  }

  .main-menu ul {
    margin-left: 22px;
    padding-bottom: 10px;
  }

  .main-menu > ul {
    margin-left: 23px;
  }

  .main-menu a {
    line-height: 120%;
  }

  .main-menu li {
    margin: 10px 0 0 0;
  }

  .main-menu > ul > li a {
    font-size: 13px;
    font-family: montserrat !important;
    font-weight: 600;
    color: #132046;
  }

.expandable {
  position: relative;
}

.main-menu li.expandable ul {
  display: none;
}

.main-menu li.expandable.open ul {
  display: block;
}

body.altmenu .menu-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-top: 7.5px solid transparent;
  border-bottom: 7.5px solid transparent;
  border-left: 7.5px solid #62666A;
  border-right: none;
  top: 1px;
  left: -18px;
  cursor: pointer;
}

body.altmenu .open .menu-arrow {
  transform: rotate(90deg);
}

body.altmenu.menu-init .menu-arrow {
  transition: transform 0.5s;
}

.main-menu .app-store-icon {
  display: none;
}

  .main-menu .app-store-icon .android {
    width: 120px;
    height: 40px;
    margin-top: -16px;
  }

/****************************************/
/* Mobile Menu */
/****************************************/
.mobile-menu-bar {
  display: none;
  cursor: pointer;
}

.mobile-menu-bar {
  height: 47px;
  background-color: #132048;
  position: relative;
  padding: 12px 0 0 38px;
}

.hamburger-icon {
  height: 24px;
}

.hamburger-icon {
  height: 24px;
  width: 24px;
  background-image: url(/images/menu.svg);
  background-size: cover;
  display: inline-block;
}

body.menu-showing .hamburger-icon {
  background-image: url(/images/close.svg);
}

.mobile-menu-bar .burger-icon {
  width: 16px;
  height: 16px;
  background-image: url(/images/wh-menu.svg);
  background-size: cover;
  display: inline-block;
  position: absolute;
  top: 16px;
  left: 12px;
}

.mobile-menu-bar .menu-bar-title {
  color: #ffffff;
  font-size: 24px;
}

/****************************************/
/* Dialogs */
/****************************************/
.dialog {
  display: none;
}

.ui-dialog .ui-dialog-titlebar-close {
  right: 10px;
  top: 6px;
  margin: 0;
  width: 20px;
  height: 20px;
  padding: 0;
  background: none;
  border: none;
}

  .ui-dialog .ui-dialog-titlebar-close span {
    margin: 2px;
    background-image: url(/images/close20w.png) !important;
    background-position: 0 0;
    background-size: contain;
    width: 20px;
    height: 20px;
    top: 8px;
    left: auto;
    right: 4px;
  }

    .ui-dialog .ui-dialog-titlebar-close span:hover {
      top: 10px;
      right: 2px;
    }

body .ui-dialog-titlebar {
  background-image: none;
  border-radius: 0;
  background-color: #63666a;
}

body .ui-dialog {
  color: #333;
  font-size: 10pt;
  text-align: left;
  border-radius: 0;
  padding: 0;
  max-width: 100%;
}

body .ui-dialog-title {
  color: #fff;
  font-size: 12pt;
  padding: 3px 0 2px;
  width: auto;
}

/****************************************/
/* Alert Dialog */
/****************************************/
.alert-dialog .ui-dialog-titlebar-close {
  display: none;
}

#alert-dialog .inner {
  max-width: 600px;
  min-width: 200px;
  text-align: left;
  width: auto;
}

#alert-dialog .message {
  color: #334f80;
  margin-top: 20px;
  min-height: 50px;
  line-height: 150%;
  font-size: 12pt;
}

#alert-dialog .button-box {
  float: right;
  margin-top: 18px;
}

#alert-dialog input[type=button] {
  margin-left: 4px;
}


/****************************************/
/* Lightboxes */
/****************************************/

.ui-dialog.lightbox {
  font-size: 10pt;
  position: fixed;
  border: none;
  -moz-box-shadow: 3px 3px 4px #333;
  -webkit-box-shadow: 3px 3px 4px #333;
  box-shadow: 3px 3px 4px #333;
}

  .ui-dialog.lightbox .ui-dialog-titlebar {
    border: none;
    background-color: #63666a;
    padding: 15px 1em 15px 30px;
  }

  .ui-dialog.lightbox .ui-dialog-title {
    font-size: 13.3px;
    font-family: Termina !important;
    letter-spacing: 1px;
  }

#body .lightbox-dialog {
  max-height: calc(100vh - 100px) !important;
  overflow-y: auto !important;
  border: 6px solid #d7d2cb;
  border-top: none;
}

  #body .lightbox-dialog.cms-dialog {
    padding: 0;
  }

.lightbox-dialog table {
  margin-top: 7px;
}
/*
.lightbox-dialog tr:nth-child(odd) {
  background: #eeeeee;
}
*/
.lightbox-dialog td {
  padding: 7px 4px;
}

  .lightbox-dialog td.title {
    font-size: 10pt;
  }

  .lightbox-dialog td a {
    color: #191919;
    font-size: 11px;
    text-decoration: none;
  }

    .lightbox-dialog td a:hover {
      text-decoration: underline;
    }

.lightbox-dialog table.links {
  width: 100%;
  padding: 5px;
}

.ui-dialog.lightbox {
  font-size: 10pt;
  position: fixed;
  border: none;
  -moz-box-shadow: 3px 3px 4px #333;
  -webkit-box-shadow: 3px 3px 4px #333;
  box-shadow: 3px 3px 4px #333;
  min-width: 380px;
}

  .ui-dialog.lightbox .ui-dialog-titlebar {
    border: none;
    background-color: #63666a;
    padding: 15px 1em 15px 30px;
  }
/*
  .ui-dialog.lightbox .ui-dialog-title {
    letter-spacing: 1px;
  }
*/
/****************************************/
/* Buttons */
/****************************************/
body .button-1 {
  background-color: #fd3544;
  border: none;
  color: #ffffff;
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  padding: 6px 24px;
  text-decoration: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: none;
}

  body .button-1:hover {
    opacity: 0.7;
  }

  body .button-1:active {
    left: 1px;
    position: relative;
    top: 1px;
  }

body .button-2 {
  background-color: #ffc456;
  border: none;
  color: #ffffff !important;
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  padding: 6px 24px;
  text-decoration: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

  body .button-2:hover {
    opacity: 0.7;
  }

  body .button-2:active {
    position: relative;
    top: 1px;
  }

  body .button-1.disabled,
  body .button-1:disabled,
  body .button-2.disabled,
  body .button-2:disabled {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    color: #bbbbbb !important;
    cursor: default !important;
    display: inline-block;
    top: 0;
  }

body .button-smaller {
  font-size: 15px;
  padding: 5px 12px 3px;
}

body .button-smallest {
  font-size: 13px;
  padding: 4px 9px 3px;
}

body .button-hidden {
  display: none;
}
/****************************************/
/* Right Outer Content */
/****************************************/
.right-outer-content {
  max-width: 838px;
  /* ReSharper disable once InvalidValue */
  overflow-x: clip;
}

.right-outer-content {
  flex-grow: 1;
  min-height: 300px;
  display: flex;
}

/****************************************/
/* Page Panel */
/****************************************/

.page-panel {
  background-color: #ffffff;
  padding: 12px;
  box-shadow: #000000 1.95px 1.95px 2.6px;
  box-shadow: rgba(0, 0, 0, 0.5) 1.95px 1.95px 2.6px;
}

  .page-panel h2 {
    font-weight: bold;
    font-size: 16px;
  }

  .page-panel h3 {
    font-weight: 700 !important;
    font-size: 11.5px !important;
    color: #132048 !important;
    letter-spacing: 0 !important;
    line-height: 14px !important;
  }

  .page-panel p {
    font-size: 14px;
    margin-top: 6px;
    line-height: 130%;
  }

/****************************************/
/* Featured Content */
/****************************************/

.featured-content {
  display: none;
}

  .featured-content .content {
    margin-top: 8px;
    font-size: 11.5px !important;
    line-height: 130% !important;
  }

/****************************************/
/* No Log In (like parts book) */
/****************************************/

#body.no-login .user-identity {
  display: none;
}

#body.no-login:not(.bug) .hamburger-wrapper {
  display: none !important;
}


#body.no-login:not(.bug) .main-menu-outer {
  display: none;
}

/****************************************/
/* Fraud Alert
/****************************************/

.fraud-alert-outer {
  width: 100%;
  background-color: #D6001C;
}

.fraud-alert {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-family: Montserrat;
  font-size: 11.5px;
  margin: 5px 0;
  width: 100%;
  max-width: 1024px;
  margin: 0px auto;
}

  .fraud-alert .message {
    color: #ffffff;
    line-height: 120%;
  }

    .fraud-alert .message div {
      margin: 10px 10px;
    }

    .fraud-alert .message .title {
      font-weight: bold;
      text-transform: uppercase;
    }

  .fraud-alert .cta {
    margin: 18px 10px 21px 20px;
  }

    .fraud-alert .cta a {
      white-space: nowrap;
      text-decoration: none;
      background-color: #132048;
      color: #ffffff;
      padding: 12px 20px;
      border-radius: 4px;
    }

/****************************************/
/* Responsive
/****************************************/

@media only screen and (max-width: 379px) {
  .ui-dialog.lightbox {
    min-width: 320px;
  }

    .ui-dialog.lightbox .ui-dialog-title {
      font-size: 12px;
    }
}

@media only screen and (max-width: 450px) {
  body.milgard .banner-logo img {
    height: calc(11.54vw - 18.9px);
  }
}

@media only screen and (max-width: 500px) {
  body.sunrisecollection .banner-logo img {
    height: 100px;
    margin-left: -20px;
  }
}

/*@media only screen and (max-width: 820px) {
  .customer-portal {
    font-size: calc(8vw - 33.6px);
  }
}

@media only screen and (max-width: 670px) {
  .customer-portal {
    font-size: 20px;
  }
}
*/
/*@media only screen and (max-width: 500px), (max-height: 500px) {*/
/* mobile vs tablet */
/*}*/
