/*phones*/
@media screen and (max-width: 640px) {
  .bottom-border {
    border-bottom: none;
  }

  .bottomContent {
    background-color: #484848;
    color: #fff;
  }

  .claimcount {
    margin: 0;
  }

  .contact-box {
    margin: 30px 5% 10px;
  }

  .dealer-info.mobile {
    margin-left: 16px;
  }

  .desktop {
    display: none;
  }

  #formwizard section {
    border: none;
  }

  .start-claim section {
    margin-bottom: unset !important;
    width: 100%;
  }

  .start-claim section.affl-pad {
    margin-bottom: unset;
  }

  .start-claim-id {
    padding: 0 !important;
    background-color: white;
    background-image: none;
  }

  .start-claim-id table {
    height: auto !important;
  }

  .start-claim-id table select {
    width: auto;
    min-width: 0px;
  }

  .start-claim-id h6 {
    margin-top: 40px;
  }

  .start-claim-id .section-padding {
    border: none !important;
  }

  .start-claim-id table .left-tab-left-el,
  .start-claim-id table .left-tab-right-el {
    width: 90%;
    display: block !important;
    position: relative;
    left: 0;
  }

  .start-claim-id table .left-tab-left-el input {
    width: 100% !important;
  }

  .start-claim-id table .left-tab-right-el {
    margin-top: 60px !important;
  }

  .start-claim-id table .left-tab-left-el {
    margin-top: 40px !important;
  }

  .start-claim-id table td.col-30-45 {
    width: 45%;
  }

  .start-claim-id table td.col-40-10 {
    width: 10%;
  }

  .start-claim-id section.bottom-claim {
    height: auto !important;
  }

  .start-claim-id section.bottom-claim fieldset {
    float: none !important;
    display: block !important;
  }

  .start-claim-id section.bottom-claim fieldset label {
    left: 25px !important;
    top: -12px !important;
  }

  .start-claim-id section.bottom-claim a {
    float: none !important;
    display: block !important;
    width: auto !important;
  }

  .start-claim-id section.bottom-claim a.color {
    height: 40px;
    padding-top: 27px !important;
  }

  div.bkg-container {
    background-color: white;
    background-image: none;
  }

  div.claim-details {
    padding: 0 !important;
    background-color: white;
    background-image: none;
  }

  div.claim-details {
    padding: 0px;
    background-image: none;
  }

  div.claim-details .section-padding {
    padding: 0px;
  }

  div.claim-details .section-padding .mob-pad {
    padding: 20px;
  }

  div.claim-details .graybox ul li::before {
    width: 10px;
  }

  div.claim-details .graybox p {
    padding-left: 20px;
  }

  div.claim-details .spc-left {
    padding-left: 15px;
  }

  div.claim-details .spc-right {
    padding-right: 15px;
  }

  div.claim-details div.spc-left {
    width: 100%;
  }

  div.claim-details div.spc-right {
    width: 100%;
    padding-left: 15px;
    float: none !important;
  }

  div.claim-details .section-padding .mob-pad.right label,
  div.claim-details .section-padding .mob-pad.right h5 {
    float: right;
    margin: 0 !important;
  }

  div.claim-details .section-padding {
    border: none !important;
  }

  div.claim-details table.right,
  div.claim-details table.right {
    padding-left: 0;
    padding-right: 0;
  }

  .double-login-box {
    flex-direction: column;
  }

  .filter-open .filter {
    width: 300px !important;
  }

  #formwizard section.fixed-width {
    width: 100%;
    padding: 25px;
    flex-shrink: unset;
  }

  .gray-info-box {
    border-top: 1px solid #bcbcbc;
    border-left: none;
  }

  .home-carousel div img {
    height: 100%;
    width: 100%;
    object-position: center;
    object-fit: cover;
    overflow: hidden;
  }

  .home-carousel .slick-track {
    height: 25vh;
  }

  .mobile {
    display: block;
  }

  .modal {
    padding: 15px !important;
  }

  .no-mobile-pad {
    padding: 0 !important;
  }

  .non-mobile {
    display: none !important;
  }

  .home-tile a.button {
    margin-top: 30px;
  }

  #formwizard .relationship-buttons {
    width: calc(100% - 30px);
    background-color: #efefef;
    padding: 15px;
    display: block;
  }

  #formwizard .relationship-selects {
    background-color: #000000;
    padding: 10px 15px;
  }
  #formwizard .relationship-selects h6 {
    color: #ffffff;
  }
  #formwizard .relationship-selects select {
    background-color: #ffffff;
    width: 100%;
    margin: 10px auto;
    padding: 15px 20px;
  }

  #main .middleContent .home-claim-search .start-claim {
    position: unset;
    width: calc(100% - 10px);
    padding: 20px 25px;
    background-color: #efefef;
    margin: -15px 0 15px -20px;
  }

  #main .middleContent .home-claim-search .start-claim fieldset {
    padding: 0;
  }

  #main .middleContent .home-claim-search .start-claim input {
    width: unset;
    flex: 1;
  }

  .search .grid-box {
    grid-template-columns: 1fr !important;
  }

  .search-results {
    grid-template-columns: 1fr;
    padding: 0 0 25px;
  }

  .select-tile {
    height: unset;
    width: unset;
    margin: 15px;
  }

  .sticker-box {
    text-align: center;
  }

  .sticker-box h5 {
    margin: 35px 0;
  }

  .sticker-link {
    text-align: center;
    margin: 35px 0;
  }

  .tablet {
    display: none;
  }

  .tab-title-right span,
  .tab-title-left span {
    font-size: 12px;
  }

  .tile-row {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  .tile-row h4,
  .tile-row p {
    height: unset;
  }

  .title {
    text-align: left;
  }

  .title h4 {
    margin-left: 10px;
  }

  section.no-mobile-border {
    border: 0;
    border-bottom: 1px solid #bcbcbc;
  }

  .section-padding {
    padding: 20px;
  }

  .section-padding ul {
    padding: 0 0 0 10px;
  }

  .section-padding ul li::before {
    margin-left: -17px;
    margin-right: 10px;
  }

  #select.title h4 {
    margin-left: 10%;
  }

  .vehicle-modal .grid {
    grid-template-columns: 1fr !important;
  }

  .vehicle-modal .car-image {
    width: 100%;
    max-width: 300px;
  }

  .vehicle-modal .modal-right {
    /*    Needed to keep absolute from getting height overlap in column mode*/
    min-height: 330px;
  }

  .vehicle-results {
    min-height: 18vh !important;
  }

  .vehicle-tile {
    margin-right: 0;
  }
}

/*tablet and below*/
@media screen and (max-width: 960px) {
  .conduct-modal {
    display: none;
    position: fixed;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    overflow: scroll;
    height: calc(100vh - 80px);
    background-color: rgba(0, 0, 0, 0.6);
  }

  .conduct-modal .modal-content {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #bcbcbc;
    margin: auto;
    width: 80%;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
  }

  .conduct-modal .close-button {
    color: #ffffff;
    font-weight: bold;
    margin: 40px 0;
    display: block;
    cursor: pointer;
  }

  .conduct-modal .conduct-agree {
    padding: 20px 20%;
    display: inline-block;
  }

  .conduct-modal .x-button {
    float: right;
  }

  @-webkit-keyframes animatetop {
    from {
      top: -300px;
      opacity: 0;
    }
    to {
      top: 0;
      opacity: 1;
    }
  }
  @keyframes animatetop {
    from {
      top: -300px;
      opacity: 0;
    }
    to {
      top: 0;
      opacity: 1;
    }
  }

  .desktop {
    display: none;
  }

  .desktop-table {
    display: none;
  }

  div.start-claim-id table.left,
  div.start-claim-id table.right {
    width: 100% !important;
    height: auto !important;
  }

  div.claim-details table.left,
  div.claim-details table.right {
    width: 100% !important;
    height: auto !important;
    padding-left: 0;
    padding-right: 0;
  }

  div.start-claim-id table .emptycell {
    display: none;
  }

  .start-claim-id table.right.military .bold {
    margin-bottom: 40px;
  }

  #formwizard section.search {
    width: calc(100% - 50px);
    max-width: unset;
    padding: 15px 25px;
    border: none;
  }

  #formwizard .mob-select select {
    min-width: 0px;
  }

  #formwizard .bottom-check label {
    position: relative;
    left: 40px;
    top: -35px;
    width: 85%;
  }

  #formwizard .bottom-button .button.color {
    height: 45px;
    padding: 25px 0 0 50px;
  }

  #formwizard table td.pad20 {
    padding-right: 20px;
  }

  header .logos img {
    margin-top: 15px;
  }

  .home-carousel .img-overlay {
    bottom: 30px;
    top: unset;
    left: unset;
    max-width: unset;
    width: calc(100% - 70px);
    text-align: center;
    margin-left: 35px; /*keeps text clear of the arrows */
  }

  .home-carousel .img-overlay .img-text-lg {
    font-size: 30px;
    line-height: 30px;
    text-shadow: 2px 2px 2px #0000008b;
  }

  .home-carousel .img-overlay .img-text-sm {
    font-size: 18px;
    line-height: 24px;
    text-shadow: 2px 2px 2px #0000008b;
  }

  .non-desktop {
    display: block;
  }

  .relationship-top {
    flex-direction: column;
  }

  .search h5 {
    background: url('/content/images/window-close.jpg') no-repeat center right 25px;
    cursor: pointer;
    width: 100%;
  }

  .search .grid-box {
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 15px;
  }

  .search-container {
    flex-direction: column;
  }

  .start-claim section.bottom-pad {
    margin-bottom: 32%;
  }

  .start-claim section.affl-pad {
    margin-bottom: 28%;
  }

  .start-claim-id table.right.military {
    padding-top: 60px;
  }

  .tab-title-right {
    text-align: right;
    width: 150px;
  }

  .tab-title-right label {
    margin-right: 0 !important;
  }

  .tile-row {
    grid-auto-flow: unset;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 12px;
  }

  .title h4 {
    font-size: 18px;
    line-height: 22px;
  }

  .vehicle-results {
    min-height: 30vh;
  }
}

/* tablet only */
@media screen and (min-width: 641px) and (max-width: 960px) {
  .tablet {
    display: block;
  }

  #main .middleContent .home-claim-search .start-claim {
    top: 42px;
  }
  #main .middleContent .home-claim-search .start-claim input {
    width: 250px;
  }

  .modal-right {
    min-height: 400px;
  }
}

/* extra small screens */
@media screen and (max-width: 399px) {
  #contact .middleContent img {
    display: none;
  }
}

/* tablet screen font cap*/
@media screen and (max-width: 960px) {
  div.start-claim-id h6 {
    margin-top: 40px;
  }

  h1 {
    font-size: 48px;
  }
  h2 {
    font-size: 36px;
  }
  h3 {
    font-size: 30px;
  }
  h4 {
    font-size: 24px;
  }
  h5 {
    font-size: 18px;
  }
  h6 {
    font-size: 16px;
  }
  .img-text-sm {
    font-size: 2.5vw;
  }
  .img-text-lg {
    font-size: 4vw;
  }

  .tablet-mobile {
    display: block;
  }

  .tablet-mobile-table {
    display: table-row;
  }

  div.claim-details .section-padding .mob-pad.right label,
  div.claim-details .section-padding .mob-pad.right h5 {
    float: right;
    margin: 0 !important;
  }
}

/* extra small font cap*/
@media screen and (max-width: 479px) {
  h1 {
    font-size: 7vw;
  }
  h2 {
    font-size: 6vw;
  }
  h3 {
    font-size: 5.75vw;
  }
  h4 {
    font-size: 5.5vw;
  }
  h5 {
    font-size: 4vw;
  }
  h6 {
    font-size: 3.2vw;
  }
  .img-text-sm {
    font-size: 4vw;
  }
  .img-text-lg {
    font-size: 7vw;
  }
}
