/* From index.css */
/* Global Styles */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-size: 100%;
}

body > * {
  font-family: "Lato", sans-serif;
  line-height: 1.4;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: "Nunito", sans-serif;
  line-height: 1;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.6rem;
}

h4 {
  font-size: 1.4rem;
}

p {
  line-height: 1.4;
}

a {
  color: #36bae6;
  font-weight: bold;
}

a:hover {
  color: #e06630;
}

i {
  padding-left: 0.5rem;
}

main.wrapper {
  max-width: 1300px;
  margin: auto;
}

/* ############ 3. Navigation ############ */
.logo {
  max-width: 170px;
  margin-top: 15px;
  margin-bottom: 15px;
  /* 
  margin-top: 13px;
  margin-bottom: 19px; */

  /* max-width: 150px; */
  /* max-width: 120px; */
  /* max-width: 100px; */
  /* width: 100%;
  height: auto;
  padding-top: 0.5rem; */
}

/* //:> xCUR.. */
.navWrap {
  position: sticky; /*  ** note the menu will not be sticky until we add more page content */
  top: 0;
  z-index: 99;
  height: 48px;
  /* height: 55px; */
  width: 100%;
  background-color: #fff;
  background: rgb(138, 138, 138);
  background: linear-gradient(
    188deg,
    rgba(138, 138, 138, 1) 0%,
    rgba(255, 255, 255, 1) 100%,
    rgba(255, 255, 255, 1) 100%
  );
  /* background: rgb(120, 119, 128);
  background: linear-gradient(
    0deg,
    rgba(120, 119, 128, 1) 0%,
    rgba(255, 255, 255, 1) 100%,
    rgba(255, 255, 255, 1) 100%
  ); */
  /* background-color: #f6f0f0; */
  /* background-color: #a3a3ad; */
  border-bottom: 1px solid #e0e5eb;
  box-shadow: 0px 1px 8px #223055;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* display: grid;
  grid-template-columns: repeat(3, 1fr); */
}
.navWrap a {
  /* grid-column: 2/3; */
  grid-column: 1/2;
  grid-row: 1/2;
  padding: 0.75rem 1rem;

  /* font-size: large; */
  text-decoration: none;
}
.phone:hover {
  color: #3887a2;
}
.navToggleLabel {
  grid-column: 3/4;
  grid-row: 1/2;
  margin-left: 30px;
  margin-top: 10px;
}

input#navToggle {
  display: none;
}

input#navToggle ~ label {
  position: relative;
  padding: 0.25rem;
  width: 2rem;
  height: 1.25rem;
  height: 2rem;
}

/* //:> xtodo.. hamburger menu lines change color..  */
input#navToggle ~ label > span,
input#navToggle ~ label > span::before,
input#navToggle ~ label > span::after {
  content: "";
  display: block;
  position: absolute;
  top: 0.75rem;
  height: 0.125rem;
  width: 1.75rem;
  opacity: 1;
  background: #6a57c2;
  transition: 0.14s ease-in-out;
}

input#navToggle ~ label > span::before {
  top: -0.5rem;
}

input#navToggle ~ label > span::after {
  top: 0.5rem;
}

#navToggle:checked ~ label > span {
  width: 0;
  background: rgba(18, 18, 18, 0);
}

#navToggle:checked ~ label > span::before {
  transform: rotateZ(45deg);
  top: 0;
}

#navToggle:checked ~ label > span::after {
  transform: rotateZ(-45deg);
  top: 0;
}

#navToggle:checked ~ nav {
  left: 0;
}

nav {
  position: absolute;
  z-index: -1;
  top: 3rem;
  left: -110%;
  width: 100%;
  transition: 0.22s ease-in-out;
}

nav::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: -1;
  height: 100vh;
  width: 100vw;
  background-color: #d0d6d8;
  background-size: cover;
}

nav ul {
  list-style-type: none;
}

/* //:> xCUR.. */

/* original  */
/*
nav ul li a {
  display: inline-block;
  text-decoration: none;
  width: 100%;
  padding: 0.75rem 1rem;
  color: #5950bf;
  border-bottom: solid 1px rgba(255, 255, 255, 0.5);
  transition: 0.14s ease-in-out;
}
*/

/* //:> xWW..3 */
nav ul li a {
  display: inline-block;
  text-decoration: none;
  width: 100%;
  padding: 0.75rem 1rem;
  /* var.. purple  */
  color: #5950bf;
  border-bottom: solid 1px rgba(255, 255, 255, 0.5);
  transition: 0.14s ease-in-out;
}

nav ul li a:hover {
  color: #38ac2e;
  background: #e0e5eb;
}

nav ul li:last-of-type::before {
  content: "";
  display: block;
  /* padding: 0.5rem; */
}

nav .btn {
  background: #fff;
  border-bottom: none;
  border-radius: 4px;
  box-shadow: inset 0 0 5px #eeb80c;
  color: #223054;
  width: 40%;
  padding: 0.25rem 0.6rem;
  letter-spacing: 1px;
  text-shadow: 0 0 1px rgb(19, 177, 231);
  display: flex;
  justify-content: center;
  margin: auto;
}

nav .btn:hover {
  background-color: #223054;
  box-shadow: inset 0 0 5px #13b1e7;
  color: #fff;
}

/* ######### 10a-ii. Navigation, Large screen rules ######### */
@media screen and (min-width: 700px) {
  .navWrap {
    display: grid;
    grid-template-columns: 100px minmax(auto, 1100px);
    /* grid-template-columns: 5fr 10fr 20fr; */
    justify-content: center;
    /* height: 60px; */
    height: auto;
  }
  /* .navWrap a {
    grid-column: 2/3;
    background-color: #fff;
    width: 45%;
  } */

  .navToggleLabel {
    display: none;
  }

  nav {
    position: initial;
    /* grid-column: 3/4; */
  }

  nav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /* height: 100%; */
  }

  nav ul li a {
    border-bottom: none;
  }
  /* nav ul li {
    display: flex;
    align-items: center;
  } */

  nav ul li a:hover {
    background: transparent;
  }

  nav::after,
  nav ul li:last-of-type::before {
    display: none;
    padding: initial;
  }

  nav .btn {
    width: auto;
    background: #13b1e7;
    color: #fff;
    letter-spacing: normal;
    text-shadow: none;
    box-shadow: none;
  }

  nav.btn:hover {
    box-shadow: inset 0 0 5px #13b1e7;
    background-color: #223054;
  }
  .phone {
    display: flex;
    align-items: center;
  }
}
