/* Vars */
/* CSS HEX
 --buff: #dfb07c;
 --linen: #f1e7e0;
 --seasalt: #fcfaf9;
 --gunmetal: #032c3b;
 --platinum: #ccd5d8;
 --seasalt-2: #f5f7f7;
 */
/* CSS HSL
 --buff: hsla(32, 61%, 68%, 1);
 --linen: hsla(25, 38%, 91%, 1);
 --seasalt: hsla(20, 33%, 98%, 1);
 --gunmetal: hsla(196, 90%, 12%, 1);
 --platinum: hsla(195, 13%, 82%, 1);
 --seasalt-2: hsla(180, 11%, 96%, 1);
 */
/* Type
 font-family: "proxima-nova", sans-serif;
 font-weight: 100-900;
 font-style: normal;
 */
:root {
  --buff: #dfb07c;
  --linen: #f1e7e0;
  --seasalt: #fcfaf9;
  --gunmetal: #032c3b;
  --platinum: #ccd5d8;
  --seasalt-2: #f5f7f7;
}

@phone: 576px;
@tablet: 768px;
@desktop: 991px;

/********************/
/* Navbar overrides */
/********************/
#navbarDropdown {
  text-align: center;
}

.buff {
  color: var(--buff);
}

.linen {
  color: var(--linen);
}

.seasalt {
  color: var(--seasalt);
}

.gunmetal {
  color: var(--gunmetal);
}

.platinum {
  color: var(--platinum);
}

.seasalt-2 {
  color: var(--seasalt-2);
}

.fwThin {
  font-weight: 200;
}

.fwLight {
  font-weight: 400;
}

.fwMed {
  font-weight: 600;
}

.fwBold {
  font-weight: 800;
}

.caps {
  text-transform: uppercase;
}

.giant {
  font-size: 14vw;

  @media (min-width: @phone) {
    font-size: 8vw;
  }
  @media (min-width: @tablet) {
    font-size: 7.5vw;
  }

  @media (min-width: @tablet) {
    font-size: 7.5vw;
  }

  @media (min-width: @desktop) {
    font-size: 5rem;
  }
}

.biggest {
  font-size: 3em;
}

.bigger {
  font-size: 2em;
}

.big {
  font-size: 1.5em;
  line-height: 2em;
}

.centered {
  text-align: center;
}

/* Universal */
html,
:root {
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  font-family: 'proxima-nova', sans-serif;
}

h1 {
  font-size: 3em;
  line-height: 1em;
  color:var(--gunmetal);
}

h3 {
  font-size: 1.5em;
  color: var(--gunmetal);
  font-weight: 200;
}

h4{
    font-size:1.2em;
}

p{
    font-weight:300;
}
a {
  color: var(--gunmetal);
  transition: color 0.25s ease;
  text-decoration: none;

  &:hover {
    color: var(--buff);
  }
}

img {
  max-width: 100%;
}

.insideContent {
    a {
        text-decoration: underline;
    }
}

.content,
.footer,
.insideContent {
  ul,
  ul li {
    list-style: none;
    padding-left: 0em !important;
    margin-block-start: 0em;
  }

  li {
    margin: 0.5em 1em;
  }

  ul li::before {
    content: '\f5c9';
    color: var(--buff);
    font-family: FontAwesome;
    margin-right: 0.75em;
  }

}

selection {
  background-color: var(--linen);
  color: var(--gunmetal);
}

/* Weird Bootstrap Fixes */

.text-right {
  text-align: right;
}

.input-group-btn .btn {
  border-radius: 0px 5px 5px 0;
}

/* Page */

html {
  position: relative;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  color: var(--gunmetal);
  background-color: var(white);
}

.wrapper {
  max-width: 1200px !important;
  margin: 0 auto !important;
}

main {
  /*margin-bottom: 1em;*/

  .dropdown-menu {
    right: 0;
  }
}

header {
  padding-top: 56px;
  padding-bottom: 35px;
  color: var(--white);
  background-color: var(--grayLT);
  margin-bottom: 2.5em;
  text-shadow: 2px 2px 5px var(--grayMD);
  background-image: url('/assets/template/img/foot_bg.png');
  background-position: right top;
  background-repeat: no-repeat;

  h1 {
    margin-top: 50px;
    margin-bottom: 0;
    font-size: 3em;
  }
}

aside {
  background-color: var(--white);
  padding: 2em 1em;
  border-radius: 10px;
  border-bottom: 1px solid var(--grayLT);
  margin-bottom: 1em;

  h3 {
    color: var(--grayMD);
  }
}

/* Menu */

.navBg {
  background: var(--gunmetal);

  ul li {
    margin: 0em 1em;
  }

  .wrapper {
    @media (max-width: @phone) {
      padding: 0;
      margin: 0;
    }
  }
}

.nav {
  justify-content: flex-end !important;
  align-items: center;

  ul li {
    list-style: none !important;
  }

  li.nav-item::before {
    display: none;
  }

  li {
    margin: 0em;
  }

  .seasalt a:hover {
    color: var(--gunmetal);
  }
}

.dropdown .dropdown-menu {
  margin-top: 0;
}

.dropdown:hover .dropdown-menu {
  //display: none !important;
}

.navbar {
  background-color: transparent !important;
  background-attachment: fixed;
  background-position: bottom;
  box-shadow: 0 3px 5px var(--grayLT);
  justify-content: space-evenly !important;

  ul li {
    list-style: none;
  }
}

.menuLabel {
  margin-bottom: 0em;
}

.navbar-brand {
  margin-right: 5vw;
}

.navbar-collapse {
  justify-content: space-around;
}

.navbar-nav {
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.navbar img {
  height: 3em;
}

.navbar-brand {
  font-size: ~'calc(16px + (20 - 16) * ((100vw - 300px) / (1600 - 300)))';
}

.nav-item {
    margin-top: 5px;
    margin-bottom: 5px;
  a {
    color: var(--grayLT);
  }
  &.dark a {
    color: var(--buff);
  }
  
  &.light a{
      color: var(--seasalt);
  }
       &.light a:hover{
          color:var(--buff);
      }
} 

#navbarSupportedContent {
    .dropdown-toggle {
        text-align: center;
    }
}

.dropdown-group {
    text-align: center;
    
    .caret,.root-link {
        display: inline;
    }
}

.buttonBlue {
  background: var(--gunmetal);
  border-bottom: 5px solid var(--seasalt);
  color: var(--seasalt);
  padding: 0.5em 2em;
  transition: 0.3s color, 0.3s background;
  color: white !important;
}

.buttonBlue:hover {
  background: var(--seasalt-2);
  border-bottom: 5px solid var(--gunmetal);
  color: var(--gunmetal);
}

.navbar-toggler::before {
  content: 'Menu';
  font-family: 'proxima-nova', sans-serif;
  color: var(--gunmetal);
  font-weight: 300;
  padding: 0.25em 0.5em;
}

a.navbar-brand,
.nav-item.active a {
  color: var(--white);
}

.dropdown-menu {
  background-color: var(--grayXL);
}

a.dropdown-item {
  color: var(--grayDK);
  transition: all 0.15s ease-in-out;

  &:hover,
  &:focus,
  &:active {
    color: var(--white);
    background-color: var(--green);
  }
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: var(--purpleDK);
}

.navbar-expand-lg .navbar-nav .nav-link{
    padding:0em!important;
}

.nav {
  .nav-link:hover {
    color: white;
  }
}

.navbar {
  .nav-link:focus,
  .nav-link:hover {
    color: var(--buff) !important;
  }
}

/* Sidebar Menu */

aside .nav-item a {
  color: var(--grayMD);
}

aside .nav-link:focus,
aside .nav-link:hover {
  color: var(--black);
}

/* Buttons */

.btn-primary {
  background-color: var(--green);
  border-color: var(--green);
  transition: all 0.15s ease-in-out;

  &:hover,
  &:focus,
  &:active {
    background-color: var(--orange);
    border-color: var(--orange);
  }
}

.btn-outline-primary,
.page-link {
  color: var(--orange);
  border: 1px solid var(--orange);

  &:hover,
  &:focus,
  &:active {
    color: var(--purple);
    background-color: var(--white);
    border-color: var(--purple);
  }
}

/* Forms */

.form{
    margin-top:5em;
}

label {
  margin-bottom: 0.25em;
  font-weight:300;
}

.form-control {
  margin-bottom: 1em;

  &:focus {
    border-color: var(--purple);
    box-shadow: none;
  }
}

/* Specific Chunks */

.search-form {
  margin: 1em auto 0 auto;
  max-width: 600px;
}

.login_screen {
  margin: 10vmin auto 0;
  max-width: 400px;
  background-color: var(--white);
  padding: 1.5em 1.5em 2em;
  border-radius: 10px;
  border-bottom: 1px solid var(--grayLT);
  margin-bottom: 1em;

  h3 {
    margin-bottom: 0.5em;
  }
}

/* Loading Animation */

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

#cover {
  display: none;
  overflow: hidden;
  position: fixed;
  background: rgba(0, 0, 0, 0.15);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1031;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

.cover-icon {
  color: var(--white);
  height: 120px;
  width: 120px;
  margin: -60px 0 0 -60px;
  text-align: center;
  position: fixed;
  top: 40%;
  left: 50%;
  font-size: 3em;
  /* background-color: rgba(0, 0, 0, 0.1); */
  border-radius: 50%;

  .fa-cog {
    position: absolute;
    margin: 0.7em 0 0 -1.6em;

    &:nth-child(2) {
      animation-direction: reverse;
      font-size: 1.5em;
      margin: -0.2em 0 0 -0.6em;
    }

    &:nth-child(3) {
      font-size: 2em;
      margin: 0.3em 0 0 0;
    }
  }
}

.jumbotron-mobile {
  display: block;
  & {
    @media (min-width: @tablet) {
      display: none;
    }
  }

  .jumbotron-mobile__container {
    text-align: center;
    h1 {
      font-weight: 400;
      text-transform: uppercase;
      color: var(--buff);
    }

    .h1_smile {
      text-transform: lowercase;
      font-size: 4rem;
      position: relative;
      top: -20px;
    }

    .description {
      font-weight: 100;
    }
  }
}

#site-map {
  a:hover {
      color: black;
      text-decoration: underline;
  }
}

.jumbotron {
  display: none;
  & {
    @media (min-width: @tablet) {
      display: block;
    }
  }
  background: url(/assets/template/img/websitehomemain.jpg);
  background-position: center;
  background-size: cover;
  min-height: 100vh;
  height: auto;
  margin: 0;

    .jumbotron__container {
    position: relative;
    top: 80px;
    left: 10%;

    @media (min-width: @tablet) {
      width: 350px;
    }
    @media (min-width: @desktop) {
      width: 450px;
    }

    h1 {
      font-weight: 400;
      font-size: 3.5rem;
      text-transform: uppercase;
      color: var(--buff);
    }

    .h1_smile {
      text-transform: lowercase;
      font-size: 5rem;
      position: relative;
      top: -20px;
    }

    .description {
      font-weight: 100;
      font-size: 1.3rem;
    }
  }
}
.side-text {
  @media (min-width: @tablet) {
      position: relative;
  top: -40px;
  left: 20px;
  }
}
// .jumbotron {
//   position: relative;

//   img {
//     object-fit: cover;
//     width: 100%;
//     position: relative;
//     min-height: 70vh;
//     filter: brightness(80%);

//     @media (min-width: @desktop) {
//       height: 100vh;
//       filter: brightness(100%);
//     }
//   }

//   .jumbotron__container {
//     position: absolute;
//     top: 20%;
//     left: 5%;
//     width: 300px;

//     @media (min-width: 992px) {
//       position: absolute;
//       top: 30%;
//       left: 10%;
//       width: 30%;
//     }

//     h1 {
//       text-transform: uppercase;
//       font-weight: 400;
//       color: black;

//       @media (min-width: @desktop) {
//         color: var(--buff);
//       }
//     }

//     .description {
//       margin-top: 30px;
//       font-weight: 300;
//       font-size: 1.4rem;

//       @media (max-width: @tablet) {
//         text-shadow: 2px 2px 0px #dfb07c;
//         // color: ;
//         color: black;
//         font-weight: 700;
//       }
//     }
//   }
// }

.btn-yellow {
  background-color: var(--buff);
  display: inline-block;
  padding: 10px 20px;
  cursor: pointer;
  color:var(--gunmetal);
  border-radius:0px;
  font-weight:400;
  text-decoration: none !important;

  &.border-black {
    border-bottom: 3px solid var(--gunmetal);
  }

  &.border-white {
    border-bottom: 3px solid var(--seasalt);
  }

  &:hover {
    color: var(--seasalt);
    background-color:var(--gunmetal);
  }
  
  i{
      color:var(--seasalt);
      margin-left:0.25em;
  }
}

.h1_smile,
#feelRadiant h3,
#membership h3,
.theBest {
  margin-top: -0.325em;
}

.h1_smile {
  color: black;
}

.landingImage {
  background: url(../Files/assets/template/img/landingImage.jpg);
  padding: 10em 0em;
  height: 100vh;
  width: 100%;
  background-size: 100% auto;
  background-repeat: no-repeat;
  object-fit: cover;

  h3 {
    line-height: 1.5em;
  }
}



#feelRadiant {
  background: transparent linear-gradient(269deg, #f5f7f7 0%, #f1e7e0 100%) 0%
    0% no-repeat padding-box;
  padding: 3vh 0em;
  opacity: 1;
}

.feelRadianImageMobile {
  display: none;
}

#feelRadiant p {
  line-height: 2em;
  font-size: 1em;
  padding: 1.5em;
}

#membership {
  .wrapper {
    background: transparent
      linear-gradient(180deg, #ffffff 0%, #f5f7f7 36%, #f5f7f7 100%) 0% 0%
      no-repeat padding-box;
        padding: 4rem 3em;
  }

  #membership-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    @media (min-width: @tablet) {
        position: relative;
        left: 80px;
    }
  }

  p {
    margin: 2em 0em;
    line-height: 2em;
    font-size: 1em;
  }
}

.dropdown-menu {
  background-color: white;
  .dropdown-item:hover {
    color: var(--buff);
  }
}

.prefooter-dentist-top {
  @media (min-width: @desktop) {
    display: none;
  }
  display: flex;
  align-items: center;
  justify-content: center;
  img {
    width: 250px;
  }
}

.prefooter {
  background: var(--gunmetal);
  border-bottom: 10px solid var(--buff);
  color: white;

  .container {
      max-width:1200px;
    display: flex;
    align-items: center;
    height: auto;
    text-align: center;
    flex-direction: column;

    @media (min-width: @desktop) {
      height: 200px;
      flex-direction: row;
    }

    img {
      position: inline;
      display: none;
      width: 250px;

      @media (min-width: @desktop) {
        position: relative;
        display: block;
        top: -58px;
        left: 36px;
      }
    }
  }

  p {
    font-size: 1.25em;
    line-height: 2em;
    margin-bottom: 0em;
  }

  a {
    text-align: center;
  }

  .col-3 {
    text-align: center;
  }
}

.footer {
  padding: 5em;
  background: var(--seasalt-2);

  .wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: stretch;
    justify-content: space-between;
    align-items: flex-start;
  }

  p {
    font-weight: 200;
  }

  a {
    font-size: 1em;
    font-weight: 300;
    margin-bottom: 1em;
  }

  a:hover {
    color: var(--buff) !important;
  }

  .bookNow {
    margin-top: 2em;
  }

  .footerContact {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footerAddress::before {
    content: '\f3c5';
    color: var(--buff);
    font-family: FontAwesome;
    margin: 0em 1em;
  }

  .footerPhone::before {
    content: '\f095';
    color: var(--buff);
    font-family: FontAwesome;
    margin: 0em 1em;
  }

  .footerEmail::before {
    content: '\f0e0';
    color: var(--buff);
    font-family: FontAwesome;
    margin: 0em 1em;
  }

  .footer-icons {
    a {
      display: inline-block;
      margin: 10px;
    }
  }
}

.postFooter {
  padding: 2em 0em;
  background: var(--platinum);

  .wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;
  }

  p {
    font-weight: 250;
    margin-bottom: 0em;
  }

  a {
    margin-bottom: 0em;
  }

  a:hover {
    color: black;
    text-decoration: none;
  }
}

.insideContent {
  @media (min-width: @tablet) {
    padding: 5em 5em 10em;
    
  }
  
  .wrapper {
      background: transparent linear-gradient(180deg, #ffffff 0%, #f1e7e0 100%) 0% 0% no-repeat padding-box;
      padding: 2rem;
  }
  
  min-height: 50vh;

  .wrapper {
    /*background: transparent linear-gradient(180deg, #ffffff 0%, #f1e7e0 100%) 0%
      0% no-repeat padding-box;*/
  }

  .insideIntroText {
    padding-bottom: 5em;
  }

  ul li {
    font-weight: 200;
  }

  #deserveBestRow {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    align-content: stretch;
    flex-wrap: nowrap;
    flex-direction: row;
    padding-bottom: 10em;
  }

  #theBest {
    margin-top: -0.75em;
    position: relative;
    top: -40px;
    left: 20px;
    font-style: italic;
  }

  .staff {
    padding: 0em 5em;

    p {
      font-weight: 200;
      line-height: 2em;
      font-size: 1em;
      margin-bottom: 2em;
    }

    .staffImages img {
      width: 100%;
      margin-bottom: 20px;
      @media (min-width: @tablet) {
        margin-left: 20px;
      }
    }
  }
}

.navTopMobile {
  display: none;
}

.prefooter {
  display: flex;
  align-items: center;
  justify-items: center;
}

#feel-radiant-image {
    @media (min-width: @tablet) {
        position: relative;
    left: -75px;
    }
}
@media screen and (max-width: 960px) {
  .wrapper {
    padding: 0em 3em;
  }

  .navTopMobile {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding: 0em;
    margin-top: 2em;
    text-align: center;

    .nav-item {
      margin-bottom: 1em;
    }

    .seasalt {
      color: var(--gunmetal);
    }
  }

  .nav {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
    text-align: center;
  }

  .landingImage,
  #feelRadiant,
  #membership .wrapper {
    height: auto;
  }

  .landingImage {
    background-size: cover;
    background-position: -12vw bottom;
  }

  #feelRadiant {
    padding: 2em 0em;
  }

  #feelRadiantImage {
    background-position: left center;
  }

  #membership .wrapper {
    padding: 5em 3em;
  }

  .landingImageInside {
    height: auto;
  }

  #feelRadiant p {
    padding: 0em;
  }

  #membership h3 {
    font-size: 3em;
  }

  .prefooterCTA {
    margin: 4em 0em 2em;
  }

  .footer {
    padding: 0em;
  }

  .footerServices,
  .footerPatients {
    margin: 2em 0em;
  }

  .footerContact {
    margin-bottom: 2em;
  }

  .postFooter .wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;
  }

  .postFooter p {
    margin-bottom: 1em;
  }

  .insideContent #deserveBestRow {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: nowrap;
    flex-direction: column;

    .flushLeftImage {
      margin-bottom: 3em;
    }
  }

  .insideContent .staff {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: stretch;
    padding: 0em;
  }
}

@media screen and (max-width: 450px) {
  #feelRadiantImageMobile {
    height: 25vh;
    background: no-repeat center
      url(https://pz3z9f0f.modx.dev/clients/rmd/Files/assets/template/img/AdobeStock_422265216.jpeg);
    background-size: cover;
    margin-bottom: 2em;
  }

  #feelRadiantImage {
    background: transparent;
  }

  .mobileMembershipImage {
    height: 25vh;
    background: no-repeat center
      url(https://pz3z9f0f.modx.dev/clients/rmd/Files/assets/template/img/AdobeStock_422265277.jpeg);
    background-size: cover;
    margin-bottom: 2em;
  }

  #membershipImage {
    background: transparent;
  }
}
