/* Site Refresh/Reskin - Spring 2020 */

/* Color Palate */
.primary-tile {
  background-color: #0b5584;
}
.secondary {
  background-color: #6e9ab5;
}
.tertiary {
  background-color: #d6e5eb;
}
.primary-accent {
  background-color: #f7c31c;
}
.secondary-accent {
  background-color: #f3dd6d;
}
.links-tile {
  background-color: #0069cc;
}
.alert {
  background-color: #fec3c3;
}
.monochrome-black {
  background-color: #000000;
}
.monochrome-dark {
  background-color: #62666a;
}
.monochrome-mid {
  background-color: #d0d0ce;
}
.monochrome-light {
  background-color: #ededed;
}
.monochrome-white {
  background-color: #ffffff;
}

/* Fonts */
.dsaribold {
  font-family: "D Sari Bold", Arial, sans-serif;
}
.oswald-bold {
  font-family: "Oswald-Bold", Arial, sans-serif;
}

/* Global */
body {
  /* font: 400 1rem/1.7em "Proxima Nova", Arial, sans-serif !important;
  /* 1rem = 16px in all browsers */
  /* color: #000000; */
  /* text-size-adjust: 100%; */
  /* -webkit-font-smoothing: antialiased; */
}

p,
#content-wrapper span {
  margin: 3px 0 10px;
}

a:link {
  color: #0069cc;
}

/* Lists, Tabs, etc. */
ul.primary {
  background-color: transparent;
}

span.ext {
  background: unset;
  display: none;
}

/* .sg-button,
.button-link-blue a,
.pane-node-prepopulate ul a,
.pane-node-prepopulate li a {
  font-weight: 800 !important;
  background: #0B5583 !important;
  border-radius: 0px !important;
  transition-duration: 0s !important;
  font-family: "Proxima Nova", Arial, sans-serif !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.25;
  padding: 0 20px !important;
  height: 50px !important;
  font-size: 13px !important;
  min-width: 0 !important;
  width: 250px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
}

.sg-button:hover,
.button-link-blue a:hover,
.button-link-blue a:hover,
.pane-node-prepopulate ul a:hover {
  background: #000000 !important;
  border-color: #000000;
  box-shadow: none !important;
} */

code,
kbd,
pre,
samp {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
  "Courier New", monospace;
  font-size: 1rem;
}

.markItUpEditor {
  font-size: 18px;
  letter-spacing: 0.15px;
}

.color-wrap {
  padding: 16px;
}

.color-tile {
  width: 100%;
  padding: 16px;
}

.color-tile label {
  font-weight: 400;
}

h3.style-guide {
  border-bottom: 1px dashed #0b5584;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.color-tile.monochrome-white {
  border: 1px solid #ededed;
  padding: 15px;
}

.color-tile.monochrome-black {
  color: #ffffff;
}

.color-tile.alert {
  padding: 16px !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

.color-tile.alert label {
  margin: 0;
  padding: 0;
  font-weight: 400 !important;
}

/* Frames */
.frame-inner {
  text-align: center;
  margin-bottom: 40px;
  min-width: 320px;
}

p.paragraph-title {
  font: 600 16px "Oswald-Bold", Arial, sans-serif !important;
  letter-spacing: 2px;
  color: #0b5584;
  text-transform: uppercase;
  margin-bottom: 0;
  text-align: center;
}

h2.paragraph-headline {
  font: 800 48px "Proxima Nova", Arial, sans-serif !important;
  color: #000000;
  display: block;
  margin-top: 0 !important;
  margin-bottom: 0;
  text-align: center;
}

/* Accordion */
/* #accordionGroup h3 button a {
  text-decoration: none;
  font-size: 16px;
} */

/* User Login Page */
/* .container #user-login-panel {
  width: auto !important;
  overflow: hidden;
} */

/* Region Top */
.region.region-page-top {
  position: relative;
  min-width: 320px;
}

/* Global Navigation */
.nys-global-header {
  z-index: 399 !important;
}

.nys-global-header h1 {
  font-weight: 700 !important;
  padding-left: 0 !important;
}

.nys-global-header.horizontal.stacked ul li ul > li a:hover {
  background-color: #6e9ab5;
}

.nys-global-header > ul li a:link,
.nys-global-header > ul li a:visited {
  font-weight: 700;
}

.nys-global-footer {
  min-width: 320px;
}

#nygov-universal-footer {
  min-width: 320px;
}

.nys-global-footer .footer-container .reg-to-vote .reg-to-vote-title {
  margin-bottom: 5px;
}

.nys-global-footer .footer-button {
  background-color: #0b5584;
}

.nys-global-footer .footer-button:hover,
.nys-global-footer .footer-button:active {
  background-color: #062b42;
}

.nys-global-footer .footer-container .social-media,
.nys-global-footer .footer-container .reg-to-vote {
  padding-bottom: 35px;
}

.social-media-icon {
  margin-right: 10px;
  /* height: 14px; */
  /* width: 14px; */
  /* background-size: 14px 14px; */
  /* position: relative; */
  /* top: -3px; */
}

.nys-global-footer .footer-container .reg-to-vote {
  padding-bottom: 0px !important;
}

.nys-global-footer .footer-container .reg-to-vote-body p {
  font-size: 18px !important;
  font-weight: bold !important;
  line-height: 1.2em !important;
  margin-bottom: 26px;
}

.nys-global-footer .footer-container .reg-to-vote-body {
  padding: 0 20px 0 !important;
}

.nys-global-footer .footer-container .reg-to-vote-body .footer-cta-wrap {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-content: center;
  text-align: center;
}

.nys-global-footer .footer-container a.footer-button:link,
.nys-global-footer .footer-container a.footer-button:visited {
  font-size: 13px;
  min-width: 260px;
  padding: 0;
  font-weight: 800;
  max-width: 400px;
  margin: 0 auto;
  height: 50px;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  letter-spacing: 2px;
}

/* Frames */
.frame-title {
  font: 600 16px "Oswald-Bold", Arial, sans-serif;
  letter-spacing: 2px;
  color: #0b5584;
  text-transform: uppercase;
}

.frame-headline {
  font: 600 1.8rem "Proxima Nova", Arial, sans-serif;
  color: #000000;
  display: block;
  margin-bottom: 0.3em;
}

/* Universal Navigation */
div#nygov-universal-navigation span.ext {
  background: unset;
}

/* MyDMV Menu */
div#mydmv-menu {
  position: absolute;
  z-index: 1002;
  right: 50px;
  word-break: break-all;
  width: 115px;
  text-align: right;
  bottom: 22px;
}

div#mydmv-menu ul li a {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  font-family: "Proxima Nova", Arial, sans-serif;
}

div#mydmv-menu ul li:first-child {
  margin-bottom: 40px;
}

div#mydmv-menu ul li.first {
  margin-bottom: 30px;
  line-height: 3;
}

div#mydmv-menu ul li.first a {
  color: #f7c31c;
  line-height: 2;
}

div#mydmv-menu ul li a:hover {
  color: #ffffff;
}

.nys-global-footer h4,
.nys-global-footer span,
.nys-global-footer a,
.nys-global-footer a:link,
.nys-global-footer a:visited,
.nys-global-footer a:hover,
.nys-global-footer a:active {
  font-family: "Proxima Nova", Arial, sans-serif !important;
}

.nys-global-footer .footer-container h3 a {
  font-weight: 700;
  font-family: "D Sari Bold", Arial, sans-serif !important;
}

/* Global Agency Nav */
@media (min-width: 1024px) and (max-width: 1099.98px) {
  .nys-global-header.stacked.horizontal > ul li {
    margin: 0 1.5%;
  }
}

@media (min-width: 1023px) {
  .nys-global-footer .footer-container a.footer-button:link,
  .nys-global-footer .footer-container a.footer-button:visited {
    height: 50px;
    font-size: 13px;
    font-weight: 800;
  }
}

@media (min-width: 1100px) {
  .nys-global-header.stacked.horizontal > ul li {
    margin: 0 2%;
  }
}

@media (min-width: 1200px) {
  .nys-global-header.stacked.horizontal > ul li {
    margin: 0 30px;
  }
}

@media (min-width: 1024px) {
  .nys-global-header.stacked.horizontal {
    height: 118px !important;
  }

  .nys-global-header.stacked.horizontal h1 {
    height: 51px !important;
    margin-left: 45px !important;
  }

  ul#nys-global-nav {
    display: flex;
    justify-content: flex-start;
  }

  .nys-global-header.stacked.horizontal > ul {
    padding: 10px 0 0 45px !important;
  }

  .nys-global-header.stacked.horizontal > ul li:nth-child(3) {
    margin-left: 0px;
  }

  /*
  .nys-global-header.stacked.horizontal>ul li {
    margin: 0 .75%;
  }
  */

  .nys-global-header.stacked.horizontal > ul li ul li {
    margin: auto;
    display: block !important;
  }

  /* Global footer */
  .nys-global-footer .footer-container {
    padding-bottom: 35px;
  }

  .nys-global-footer .footer-container .reg-to-vote {
    padding-bottom: 0px !important;
    padding-left: 2%;
    padding-right: 2%;
  }

  .nys-global-footer .footer-container .reg-to-vote p {
    margin-bottom: 0;
    font-size: 16px !important;
    font-weight: bold !important;
    padding-right: 60px;
  }

  .nys-global-footer .footer-cta-wrap {
    margin-top: 15px;
    flex-direction: row !important;
    align-items: center;
  }

  .nys-global-header.stacked.horizontal > ul li:first-child,
  .nys-global-header.stacked.horizontal > ul li:nth-child(2) {
    display: none;
  }
}

@media all and (max-width: 1023px) {
  div#mydmv-menu {
    display: none;
  }
}

@media (max-width: 1292px) and (min-width: 1024px) {
  div#mydmv-menu {
    word-break: normal;
    width: auto;
    bottom: 60px;
  }

  div#mydmv-menu ul li.first {
    margin-bottom: 20px;
    padding-right: 40px;
  }
}

/* ---------------County Services Selection Pages---------------- */

.page-get-driver-learner-permit-select-county #page-title,
.page-register-new-vehicle-select-county #page-title {
  display: none !important;
}

.county-services-wrapper {
  margin: 3% auto 16%;
  display: flex;
  flex-direction: column;
  min-height: 50vh;
  padding: 0 10%;
  min-width: 320px;
}

.county-services-wrapper p {
  font-family: "Proxima Nova", Arial, sans-serif;
  font-weight: normal;
  font-size: 18px;
  line-height: 27px;
}

.county-services-wrapper p.red {
  color: red;
  margin-top: 35px;
  font-weight: 600;
  font-size: 18px;
}

.county-services-wrapper .top-text-wrapper p.required {
  font-weight: 600;
  font-size: 18px;
  margin-top: 20px;
}

.county-services-wrapper .top-text-wrapper p.required span {
  color: red;
  padding-left: 0.15em;
  font-weight: 400;
  font-size: 18px;
}

.county-services-wrapper .county-select {
  display: flex;
  margin: 2em auto 0;
}

.county-services-wrapper .county-select select {
  font-family: "Proxima Nova", Arial, sans-serif !important;
  padding: 14px;
  border: 1px solid #b7b7b7 !important;
  border-radius: 0 !important;
  font-size: 16px !important;
  color: #000 !important;
  height: auto !important;
  /* width: 690px; */
  align-items: flex-start;
  padding-bottom: 10.5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: "";
  margin-top: 2em;
  font-weight: 600;
}

.county-services-wrapper .county-select select.form-select {
  background: url(/sites/all/themes/dmvtheme/images/arrow-down-blue.png)
  no-repeat transparent 98%;
  background-size: 2%;
  height: 50px!important;
}

.county-services-wrapper .views-exposed-form .views-exposed-widget {
  padding: 0;
  margin-top: 1em;
}

.county-services-wrapper .county-select .views-exposed-form .views-exposed-widget .form-submit {
  margin-top: 0;
  border: 1px solid #b7b7b7 !important;
  width: 100%;
}

.county-services-wrapper .results-message {
  /* width: 60%; */
  margin: 1em auto 20px;
}

.views-field.views-field-field-orig-permit-link,
.views-field.views-field-field-orig-reg-link {
  margin-top: 4%;
}

.county-services-wrapper .views-row {
  text-align: center;
}

.county-services-wrapper .views-row .views-field-name {
  display: none;
  text-align: center;
}

.county-services-wrapper .views-row .views-field-description {
  text-align: center;
  margin-top: 1%;
}

.county-services-wrapper .views-row .views-field-description .non-online-messaging {
  max-width: 600px;
  margin: 0 auto;
  color: maroon;
  font-size: 16px;
  font-weight: normal;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.county-services-wrapper .views-row .views-field-description .non-online-messaging .warning-icon {
  color: maroon;
}

.county-services-wrapper a.cta,
.county-services-wrapper a.cta.chevron {
  border-color: #0b5584;
  background-color: #0b5584;
  padding-top: 12.5px;
  cursor: pointer;
  font: 800 13px/1.85 "Proxima Nova", Arial, sans-serif;
  min-height: 50px;
  letter-spacing: 2px;
  margin: 0 auto;
  padding: 13px 2%;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center !important;
  display: inline-block !important;
  color: #fff !important;
  width: 100%;
  max-width: 400px;
}

.county-services-wrapper a.cta.chevron:hover {
  border-color: #000;
  background-color: #000;
}

.county-services-wrapper a.cta.chevron:after {
  font-family: FontAwesome;
  content: "\f054";
  color: #ffffff;
  font-weight: bold;
  font-size: 13px;
  margin-right: 13px;
  float: right;
  /*     display: flex; */
  /*     align-items: center; */
  /*     justify-content: center; */
}

.county-services-wrapper button,
.county-services-wrapper input[type="reset"],
.county-services-wrapper input[type="submit"],
.county-services-wrapperinput[type="button"] {
  text-transform: uppercase;
  text-decoration: none;
  font: bold 13px/1.2 "Proxima Nova", Arial, sans-serif;
  padding: 16px 24px;
  text-align: center;
  color: #000;
  letter-spacing: 2px;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  border-width: 1px;
  box-shadow: none;
}

.county-services-wrapper button:hover,
.county-services-wrapper input[type="reset"]:hover,
.county-services-wrapper input[type="submit"]:hover,
.county-services-wrapperinput[type="button"]:hover {
  border-color: #0b5584;
  background-color: #0b5584;
  color: #fff;
}

.ajax-progress-throbber {
  display: none;
}

div#edit-tid-wrapper {
  position: relative;
}

div#edit-tid-wrapper label {
  position: absolute;
}

/* ---------------Devices---------------- */

@media (max-width: 768.9px) {
  .county-services-wrapper {
    padding: 0;
    margin: 3% auto 16%;
  }

  .county-services-wrapper .county-select select.form-select {
    background-position: 94% 55%;
    background-size: 10px;
    width: 100%;
  }
  select {
    width: 100px;
    float: left;
  }
  .views-exposed-form {
    display: flex;
    margin: 0px;
    min-width: 300px;
  }

  .views-exposed-widgets.clearfix {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
  }

  div#edit-tid-wrapper {
    height: 100px;
    padding: 0;
  }

  .views-exposed-widget.views-submit-button {
    padding: 0;
    margin-top: 1em;

  }

  .views-exposed-widget.views-reset-button {
    padding: 0;
    margin-top: 1em;
  }
}

/* ---------------County Services Selection Pages---------------- */

.page-get-driver-learner-permit-select-county #page-title,
.page-register-new-vehicle-select-county #page-title {
  display: none !important;
}

.county-services-wrapper {
  margin: 3% auto 16%;
  display: flex;
  flex-direction: column;
  min-height: 50vh;
  padding: 0 10%;
  min-width: 320px;
}

.county-services-wrapper p {
  font: normal 18px/27px "Proxima Nova", Arial, sans-serif;
}

.county-services-wrapper .county-select {
  /*   display: flex;
    margin: 2em auto 0; */
}

.county-services-wrapper .county-select select {
  font-family: "Proxima Nova", Arial, sans-serif !important;
  padding: 14px;
  border: 1px solid #b7b7b7 !important;
  border-radius: 0 !important;
  font-size: 16px !important;
  color: #000 !important;
  height: auto !important;
  padding-bottom: 10.5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: "";
  margin-top: 2em;
  font-weight: 600;
}

.county-services-wrapper .county-select select.form-select {
  background: url(/sites/all/themes/dmvtheme/images/arrow-down-blue.png)
  no-repeat transparent 98%;
  background-size: 2%;
}

.county-services-wrapper .views-exposed-form .views-exposed-widget {
  padding: 0;
}

/* .county-services-wrapper
  .county-select
  .views-exposed-form
  .views-exposed-widget
  .views-exposed-widget.views-submit-button {
  display: none;
}
 */

.county-services-wrapper .results-message {
  /* width: 60%; */
  margin: 1em auto 20px;
}

.county-services-wrapper p.county-results {
  font-weight: 600;
  text-align: center;
  margin: 1em auto 20px;
}

.county-services-wrapper .views-row .views-field-description p {
  text-align: center;
  margin: 0 auto 20px;
}

.county-services-wrapper .views-field.views-field-field-orig-permit-link,
.county-services-wrapper .views-field.views-field-field-orig-reg-link {
  margin-top: 4%;
}

.county-services-wrapper .views-row {
  text-align: center;
}

.county-services-wrapper .views-row .views-field-name {
  display: none;
  text-align: center;
}

.county-services-wrapper .views-row .views-field-description p .green {
  color: #2e8540;
}

.county-services-wrapper a.cta,
.county-services-wrapper a.cta.chevron {
  border-color: #0b5584;
  background-color: #0b5584;
  padding-top: 12.5px;
  cursor: pointer;
  font: 800 13px/1.85 "Proxima Nova", Arial, sans-serif;
  min-height: 50px;
  letter-spacing: 2px;
  margin: 0 auto;
  padding: 13px 2%;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center !important;
  display: inline-block !important;
  color: #fff !important;
  width: 100%;
  max-width: 400px;
}

.county-services-wrapper a.cta.chevron:hover {
  border-color: #000;
  background-color: #000;
}

.county-services-wrapper a.cta.chevron:after {
  font-family: FontAwesome;
  content: "\f054";
  color: #ffffff;
  font-weight: bold;
  font-size: 13px;
  margin-right: 13px;
  float: right;
}

.county-services-wrapper button,
.county-services-wrapper input[type="reset"],
.county-services-wrapper input[type="submit"],
.county-services-wrapperinput[type="button"] {
  text-transform: uppercase;
  text-decoration: none;
  font: bold 13px/1.2 "Proxima Nova", Arial, sans-serif;
  padding: 16px 24px;
  text-align: center;
  color: #000;
  letter-spacing: 2px;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  border-width: 1px;
  box-shadow: none;
}

.county-services-wrapper button:hover,
.county-services-wrapper input[type="reset"]:hover,
.county-services-wrapper input[type="submit"]:hover,
.county-services-wrapperinput[type="button"]:hover {
  border-color: #0b5584;
  background-color: #0b5584;
  color: #fff;
}

.county-services-wrapper .ajax-progress-throbber {
  display: none;
}

.county-services-wrapper div#edit-tid-wrapper,
.county-services-wrapper div#edit-tid-wrapper--2 {
  position: relative;
}

div#edit-tid-wrapper label {
  position: absolute;
}

/* ---------------Devices---------------- */

@media (max-width: 768.9px) {
  .county-services-wrapper {
    padding: 0;
    margin: 3% auto 16%;
    max-width: 300px;
  }

  .county-services-wrapper .county-select select.form-select {
    background-position: 94% 55%;
    background-size: 10px;
    width: 100%;
  }

  .county-services-wrapper select {
    width: 100px;
    float: left;
  }

  .county-services-wrapper .views-exposed-form {
    display: flex;
    margin: 15px;
    min-width: 300px;
  }

  .county-services-wrapper .views-exposed-widgets.clearfix {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
  }

  .county-services-wrapper div#edit-tid-wrapper,
  .county-services-wrapper div#edit-tid-wrapper--2 {
    height: 100px;
    padding: 0;
  }

  .county-services-wrapper .views-exposed-widget.views-submit-button {
    padding: 0;
  }

  .county-services-wrapper .views-exposed-widget.views-reset-button {
    padding: 0;
    margin-top: 1em;
  }
}

/* ---------------Tablet---------------- */

@media all and (max-width: 1023.9px) and (min-width: 769px) {
  .county-services-wrapper {
    max-width: 80%;
  }

  .county-services-wrapper .county-select select.form-select {
    background-position: 98% 55%;
    background-size: 2.5%;
  }

  .county-services-wrapper select,
  .county-services-wrapper select--2 {
    width: 400px;
  }

  .county-services-wrapper .views-exposed-form {
    display: flex;
    margin: 15px;
    min-width: 300px;
  }

  .county-services-wrapper .views-exposed-widgets.clearfix {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
  }

  .county-services-wrapper div#edit-tid-wrapper,
  .county-services-wrapper div#edit-tid-wrapper--2 {
    height: 100px;
    padding: 0;
  }

  .county-services-wrapper .views-exposed-widget.views-submit-button {
    padding: 0;
  }

  .county-services-wrapper .views-exposed-widget.views-reset-button {
    padding: 0;
    margin-top: 1em;
  }

  .county-services-wrapper input#edit-submit-county-service-selector {
    height: 50px;
    width: 100%;
  }

  .county-services-wrapper input#edit-reset {
    height: 50px;
    width: 100%;
  }
}

/* ---------------Specifc Desktop---------------- */

@media all and (min-width: 1024px) {
  .county-services-wrapper .county-select select.form-select {
    background-position: 98% 55%;
    background-size: 2.5%;
  }
  .county-services-wrapper select,
  .county-services-wrapper select--2 {
    width: 600px;
  }
  .county-services-wrapper  .views-exposed-form {
    display: flex;
    margin: 15px;
    min-width: 300px;
  }

  .county-services-wrapper .views-exposed-widgets.clearfix {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
  }

  .county-services-wrapper div#edit-tid-wrapper,
  .county-services-wrapper div#edit-tid-wrapper--2 {
    height: 100px;
    padding: 0;
    position: relative;
  }

  .county-services-wrapper .views-exposed-widget.views-submit-button {
    padding: 0;
  }

  .county-services-wrapper .views-exposed-widget.views-reset-button {
    padding: 0;
    margin-top: 1em;
  }

  .county-services-wrapper input#edit-submit-county-service-selector,
  .county-services-wrapper input#edit-submit-county-service-selector--2 {
    height: 50px;
    width: 100%!important;
  }

  .county-services-wrapper input#edit-reset,
  .county-services-wrapper input#edit-reset--2 {
    height: 50px;
    width: 100%!important;
  }
}

.county-services-wrapper.view-display-id-registration_county {
  margin: 0px !important;
  display: flex;
  flex-direction: column;
  /*  min-height: 50vh;
    /*padding: 0 10%;*/
  min-width: 200px !important;
}
