/*
Theme Name: US Vision
Theme URI: https://www.usvision.com
description: US Vision Corporate
Author: John Doe
Author URI: https://modop.com
Template: Divi
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Text */
.text--paragraph {
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  line-height: 22px;
  font-weight: 300;
  color: #000000;
}

.heading--page {
  font-family: "Bodoni Moda", serif;
  font-size: 56px;
  line-height: 66px;
  font-weight: 400;
  color: #000000;
  text-transform: uppercase;
}

.heading--section {
  font-family: "Bodoni Moda", serif;
  font-size: 24px;
  line-height: 29px;
  font-weight: 400;
  color: #000000;
  text-transform: uppercase;
  word-break: keep-all;
}

.heading--cta {
  font-family: "Bodoni Moda", serif;
  font-size: 28.6px;
  line-height: 34.4px;
  font-weight: 400;
  color: #000000;
}

.heading--subsection {
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  line-height: 24px;
  font-weight: 600;
  color: #000000;
}

.heading--block {
  font-family: "Bodoni Moda", serif;
  font-size: 42px;
  line-height: 22.6px;
  font-weight: 400;
  color: #45423c;
}

.heading--sub-block {
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  line-height: 22.6px;
  letter-spacing: 3px;
  font-weight: 500;
  color: #45423c;
}

.heading--grid {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 3px;
  color: #000000;
}

/* Links */
.link--brands {
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  font-weight: 600;
  text-decoration: underline;
}

.link--brands:hover {
  text-decoration: underline;
}

.link--footer {
  font-family: "Raleway", sans-serif;
  font-weight: "500";
  text-decoration: none;
  font-size: 16px;
  line-height: 28px;
  color: #606060;
}

.link--footer:hover {
  color: #000000;
}

/* Anchor tags desguised as Buttons */
.link--button {
  font-family: "Raleway", sans-serif;
  font-size: 15px;
  line-height: 22.6px;
  background-color: transparent;
  padding: 16px 32px 16px 40px;
  cursor: pointer;
}

/* within Button */
.btn--black {
  border: 4px solid #000000;
  color: #000000;
}

.btn--grey {
  border: 4px solid #45423c;
  color: #45423c;
}

.link--button:hover .arrow {
  transition: all 0.4s ease;
  width: 35px;
  margin-right: 5px;
}

.arrow {
  height: 2px;
  width: 25px;
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin-right: 15px;
  margin-bottom: 4px;
}

.arrow--black {
  background: black;
}

.arrow--grey {
  background: #45423c;
}

.arrow:before {
  right: -2px;
  bottom: -3px;
  transform: rotate(-45deg);
}

.arrow:after {
  right: -2px;
  top: -3px;
  transform: rotate(45deg);
}

.arrow:before,
.arrow:after {
  content: "";
  background: black;
  position: absolute;
  height: 2px;
  width: 10px;
  border-radius: 30%;
}

.arrow--grey:before {
  background: #45423c;
}

.arrow--grey:after {
  background: #45423c;
}

/* Lists, implemented in a Nav Menu*/
.ordered-list {
  list-style: decimal;
  height: 15vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.ordered-list__item {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 26px;
  font-weight: 500;
  color: black;
  cursor: pointer;
}

.ordered-list__item:hover {
  color: #ed9a5f;
}

.menu--nav__list {
  list-style: none;
  width: 25vw;
  text-align: right;
  height: 35vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 60px 40px 10px 0px;
  background-color: white;
}

.menu--nav__item {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: black;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-end;
}

.link--nav {
  text-decoration: none;
  color: inherit;
}

.link--nav span {
  border-bottom: 4px solid white;
  max-width: fit-content;
}

.link--nav span:hover,
.link--nav span:active {
  border-bottom: 4px solid #ed9a5f;
}

/* Form */
.form__container {
  width: 50%;
  margin: auto;
}

.form__field {
  display: flex;
  flex-direction: column;
}

.form__label {
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  line-height: 22.6px;
  letter-spacing: 4px;
  font-weight: 500;
  color: #000000;
  text-transform: uppercase;
}

.form__input[type="text"],
.form__input[type="tel"],
.form__input[type="email"] {
  height: 60px;
  margin: 20px 0;
}

.form__textarea {
  resize: none;
  height: 195px;
  margin: 20px 0 40px 0;
}

.form__button--container {
  display: flex;
  justify-content: center;
}

/* Table */
.table__wrapper {
  border-radius: 6px;
  border-collapse: collapse;
  width: 50%;
  margin: auto;
  font-size: 16px;
  font-family: "Raleway", sans-serif;
}

.table__row:first-of-type {
  background-color: #ed9a5f;
}

.table__row th,
.table__row td {
  text-align: left;
  padding: 16px;
  color: black;
}

.table__body tr:nth-of-type(odd) {
  background-color: #f3f3f3;
}

/* Social */
.social__link:nth-child(2) {
  margin: 0 10px;
}

.social__dashicon {
  color: white;
  background: #45423c;
  padding: 5px;
  height: 41px;
  width: 41px;
}

.social__dashicon:hover {
  background-color: #ed9a5f;
  transition: all 0.3s ease;
}

.social__dashicon:before {
  font-size: 30px;
}

/* Banner */
.banner__container {
  position: relative;
  width: 100vw;
  height: 70vh;
  background-image: url(/wp-content/uploads/2021/05/black-pink-frame-glasses.jpg);
  background-size: cover;
}

.banner__content {
  position: absolute;
  right: 0;
  bottom: 65px;
  width: 70%;
  height: 45%;
  border: 8px solid white;
  border-right: 0;
}

.banner__content h1 {
  padding: 20px 0 0 20px;
}

/* Navbar */

.nav__row {
  transition: .3s;
  overflow: visible !important;
}

.nav__module .et_pb_code_inner {
  position: static;
}

.nav__container {
  display: flex;
  justify-content: space-around;
  height: 30px;
}

.nav__container img {
  height: 14px;
  margin-top: auto;
}

.nav__link-panel {
  position: absolute;
  width: 175px;
  height: 220px;
  top: 0;
  left: 0;
  text-align: right;
  transform: translatex(-100%);
  background-color: white;
  padding-top: 75px !important;
  padding-right: 25px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.nav__row.nav__row--active {
  transition: .3s;
  transform: translatex(70%);
}

/*Hamburger animation*/
.nav__button {
  width: 24px;
  height: 6px;
  position: relative;
  background: transparent;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  border: none;
}

.nav__button span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: white;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

.nav__button span:nth-child(1) {
  top: 0px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

.nav__button span:nth-child(2) {
  top: 8px;
  width: 80%;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

.nav__button span:nth-child(3) {
  top: 16px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

.nav__button.button--active span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 0px;
  left: 8px;
}

.nav__button.button--active span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

.nav__button.button--active span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 17px;
  left: 8px;
}

/* Footer */

.menu--footer .et_pb_menu__menu>nav>ul {
  display: flex;
  flex-direction: column;
}

.menu--footer .et_pb_menu__menu>nav>ul>li>a:hover {
  color: #ed9a5f;
}

.menu--footer .et_pb_menu__wrap {
  justify-content: flex-start;
}

/* * * Styles for Brand Page * * */

/* Main content of the page */
.main__container {
  margin: 100px 0;
}

/* Intoductory segment to the main content */
.segment__container {
  width: 90%;
  margin: 0 auto 80px;
  display: flex;
  flex-direction: column;
}

.grid__row {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.segment__content {
  margin-bottom: 100px;
}

.grid__column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
}

.segment__title {
  position: relative;
  flex: 1;
  height: 25vh;
  margin-left: 42px;
  margin-right: 12px;
}

.segment__title:before {
  content: "";
  position: absolute;
  border-left: 8px solid #EDAE64;
  height: 37%;
  top: 7px;
  left: -42px;
  bottom: 0;
}

.segment__text {
  flex: 2;
  padding-top: 40px;
}

/* Main Grid */
.grid__container {
  width: 75%;
  margin: 0 auto;
}

.grid__img {
  border: 1px solid #CDCDCD;
  width: 25%;
  height: 218px;
  flex: 1;
  justify-content: center;
  margin: 0 55px 55px 0;
}

.grid__img div {
  margin: auto;
  height: inherit;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  padding: 0 38%;
}

.grid__img div#jc-penny {
  background-image: url(/wp-content/uploads/2021/05/jcp_optical_hori_4c-1.jpg);
}

.grid__img div#meij {
  background-image: url(/wp-content/uploads/2021/05/meij-optical-logo-250-1.jpg);
}

.grid__img div#boscovs {
  background-image: url(/wp-content/uploads/2021/05/boscovs-logo-sm-1.jpg);
}

.grid__img div#optical-center {
  background-image: url(/wp-content/uploads/2021/05/320x320-1.jpg);
}

.grid__text-wrapper {
  padding-top: 1px;
  padding-bottom: 25px;
  display: flex;
  flex: 2;
  flex-direction: column;
  justify-content: space-between;
  max-height: 218px;
}

/* Footer CTA */
.cta__container {
  position: relative;
  width: 100vw;
  height: 60vh;
  background-image: url(/wp-content/uploads/2021/05/black-gold-frame-glasses.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  margin-top: -60px;
}

.cta__content {
  position: absolute;
  bottom: 50px;
  display: flex;
  align-items: center;
}

.cta__content h2 {
  padding-bottom: 0;
  margin-right: 40px;
}

.message__copy h2 {
  margin-bottom: 26px;
}

/* * * Styles for Careers Page * * */

.message__copy ul {
  margin-bottom: 20px;
}

/* * * Styles for Careers Page * * */

.message__copy#insurance p {
  width: 85%;
}

.job__container {
  margin-right: 20px;
}

.cookie-bar-btn {
	background-color: #FFF !important;
    color: #000;
    text-transform: uppercase;
    font-weight: 600
}


/* * * Media Queries for elements scoped Brand's page * * */


/* small phones (portrait and landscape) ----------- */
@media only screen and (min-width : 320px) and (max-width : 480px) {

  .grid__container {
    margin-top: -20px
  }

  .grid__text-wrapper {
    margin-bottom: 15px;
  }
}

/* small phones and small tablets(portrait and landscape) ----------- */
@media only screen and (min-width : 320px) and (max-width : 812px) {

  .grid__row {
    flex-direction: column;
  }

  .grid__container {
    width: 85%;
  }

  .grid__img {
    width: 100%;
    margin-bottom: 30px;
    padding: 0 40px;
  }

  .grid__img div {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: inherit;
  }

  .grid__text-wrapper {
    min-height: 220px;
    margin-bottom: 5px;
  }
}

/* tablets (portrait and landscape) ----------- */
@media only screen and (min-width : 768px) and (max-width : 1023px) {
  .grid__img {
    width: 50%;
  }
}

/* * * Media Queries for elements scoped for the entire project/ Goblal Styles* * */


/* Mobile - Very Small and up  ----------- */
@media only screen and (min-width : 320px) {
  .segment__container {
    margin-top: -30px;
  }
}

/* Mobile - Regular (361 includes iPhone 12 Mini inside Very small query) ----------- */
@media only screen and (min-width : 361px) {

  .heading--page {
    font-size: 28px;
    line-height: 32px;
  }

  .heading--subsection {
    font-size: 18px;
    line-height: 18px;
  }

  .heading--block {
    font-size: 26px;
    line-height: 28px;
  }

  .heading--grid {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 3px;
  }

  /* Links */
  .link--brands {
    font-size: 14px;
    line-height: 22px;
  }

  .link--footer {
    font-size: 14px;
    line-height: 22px;
  }

  /* Links disguised as Buttons */
  .arrow {
    width: 20px;
  }

  .arrow:before {
    right: -3px;
  }

  .arrow:after {
    right: -3px;
  }

  .arrow:before,
  .arrow:after {
    width: 10px;
  }

  /* Lists, implemented in a Nav Menu*/
  .menu--nav__wrapper {
    display: flex;
    justify-content: flex-end;
  }

  .menu--nav__list {
    width: 80%;
  }

  /* Form */
  /* -webkit-text-size-adjust, added by WP, takes care of font re-size */
  .form__container {
    width: 95%;
  }

  .form__label {
    font-size: 14px;
    line-height: 18px;
  }

  .form__textarea {
    margin: 20px 0 16px 0;
  }

  .form__input[type="text"],
  .form__input[type="tel"],
  .form__input[type="email"] {
    height: 45px;
    margin: 18px 0;
  }

  /* Table */
  .table__wrapper {
    width: 100%;
    font-size: 14px;
  }

  /* Banner */
  .banner__content {
    width: 65%;
    height: 40%;
  }

  .banner__content h1 {
    padding: 30px 0 0 30px;
  }

}

/* Between Mobile and Tablet*/
@media only screen and (min-width : 481px) {

  .banner__content {
    width: 55%;
    height: 50%;
  }

  .banner__content h1 {
    padding: 40px 0 0 40px;
    font-size: 50px;
    line-height: 60px;
  }
}

/* Tablets */
@media only screen and (min-width : 768px) {

  .heading--page {
    font-size: 50px;
    line-height: 60px;
  }

  .heading--section {
    font-size: 35px;
    line-height: 41px;
  }

  .banner__content#brands h1 {
    color: white;
  }

  .segment__container {
    width: 85%;
  }

  .segment__title:before {
    height: 54%;
  }

  .cta__container {
    height: 66vh;
    margin-top: -30px;
  }

  .cta__content {
    display: flex;
    flex-direction: column;
    width: 85%;
    bottom: 44px;
  }

  .cta__content h2 {
    margin: 0 auto;
    text-align: center;
  }

  .nav__row.nav__row--active {
    transition: .3s;
    transform: translatex(90%);
  }

  .nav__container img {
    height: 20px;
  }

  .nav__button {
    width: 33px;
    height: 20px;
  }

  .nav__button span {
    height: 3px;
  }

  .nav__button span:nth-child(3) {
    top: 16px;
  }

  .nav__button.button--active span:nth-child(3) {
    top: 23px;
  }

  .menu--nav__item {
    font-size: 22px;
  }

  .nav__link-panel {
    width: 315px;
    height: 320px;
    padding-top: 90px !important;
    padding-right: 45px !important;
  }
}

/* Tablets (landscape) ----------- */
@media only screen and (min-width : 768px) and (max-width : 1024px) and (orientation : landscape) {
  .banner__content h1 {
    font-size: 50px;
  }

  .segment__title:before {
    height: 68%;
  }

  .nav__button span:nth-child(2) {
    top: 8px !important;
  }

  .nav__row.nav__row--active {
    transform: translatex(70%) !important;
  }

  #menu--footer--left.et_pb_menu_0_tb_footer {
    width: 50%;
  }
}

/* Desktop */
@media only screen and (min-width : 981px) {

  .text--paragraph {
    font-size: 16px;
  }

  .heading--section {
    font-size: 42px;
    line-height: 48px;
  }

  .banner__content {
    width: 40%;
    height: 60%;
    border: 12px solid #FFFFFF;
    border-right: 0;
  }

  .banner__content h1 {
    padding: 60px 0 0 60px;
  }

  .banner__content#brands h1 {
    color: black;
  }

  .segment__container {
    width: 75%;
    flex-direction: row;
  }

  .segment__title:before {
    height: 37%;
  }
}


/* Desktop Size Down Small */
@media only screen and (min-width : 981px) and (max-width : 1024px) {
  .parallax__card {
    width: 55% !important;
  }

  .message__copy h2 {
    font-size: 38px;
    line-height: 46px;
  }

  .parallax__image {
    width: 80%;
    left: 45%
  }
}

/* from tablet max breakpoint to Large Desktop */
@media only screen and (min-width : 981px) and (max-width : 1404px) {
  .cta__content--column {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: flex-end;
    align-items: center;
    margin: 0 auto;
  }

  .cta__content--column:last-child {
    width: 100%;
  }

  .cta__content--column h2 {
    margin-bottom: 30px;
    text-align: center;
    line-height: 35px;
  }

}

/* Desktop Size Down Medium */
@media only screen and (min-width : 1025px) and (max-width : 1280px) {
  .parallax__card {
    width: 50% !important;
  }
}