/*PRODUCTS -TSA HEALTHEX DESIGN BRIEF*/
:root {
  --deepspacesparkle: rgb(56,95,113);
  --onyx: rgb(50,55,59);
  --mangolia: rgb(245,240,246);
  --sunray: rgb(244,184,96);
  --green: rgb(112,181,131);
  --frenchbistre: rgb(143,117,79);
}
.deepspacesparkle{color: var(--deepspacesparkle);}
.onyx{color: var(--onyx);}
.mangolia{color:var(--mangolia);}
.sunray{color: var(--sunray);}
.white{color:white;}
.smaller-image{
  width: 150px;
  height: 40px;
  margin:auto;
}
html{
  scroll-behavior: smooth;
  background: var(--mangolia);
  font-family: Raleway, Open Sans;
}
ul {list-style: none;}
a{text-decoration: none;}
form{text-align: left;}
ol{align: center;}
h1{
  width:50%;
  height: 100px;
  text-align:center;
  font-size: 5rem;
  font-family:sans-serif;
  border: 5px solid #f4f4f4;
  margin:auto;
  padding:2%;
  margin-bottom:1%;
}
/*NAVIGATION*/
nav {
  display: flex;
  justify-content: space-around;
  width: 100%;
  background: #ffcd24;
}
h2{
  font-size:22px;
}
.navlist {
  list-style: none;
  text-decoration: none;
}
.navlist a {
  font-size: 25px;
  padding: 15px;
  color: black;
  font-weight: bolder;
}
li{
  display:inline;
}
a:hover{
  background: #135F72;
  border-radius: 5px;
  color:white;
  font-family: sans-serif;
  font-weight:normal;
}

/*IDS*/
#logo2:hover{
  background: none;
}
#pricetable{
  width:95%;
  height:100%;
  background: #f4f4f4;
  color: #135f72;
  text-align: left;
  padding:1%;
  border: 2px solid var(--green);
  margin:auto;
  font-family: sans-serif;
}
#ptable{text-align:center;}
#types{
  font-size: 20px;
  text-decoration: underline;
}
#type{width:300px;}
#prices{
  font-size: 20px;
  font-weight: 700;
}
#talk{
  text-align: center;
  font-size:15px;
  padding-bottom:2%;
  background-color: #135F72;
  color:white;
  height:40%;
  margin:auto;
}
#review{
  padding-top:1%;
}
#video-comm{
  padding:20px;
}
#download{
  display:grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto;
}
#bookappointment, #appointmentform{
  text-align: left;
  color:black;
  background:#2aabe4;
  padding-bottom:70px;
  margin-bottom:-50px;
}
/*GRIDS*/
#grid{
  display: grid;
  grid-column-gap: 15px;
  grid-row-gap: 20px;
  grid-template-columns: auto auto;
  grid-template-rows: auto;
  justify-content: space-evenly;
}
#grid2{
  display: grid;
  grid-template-columns: 50% auto;
  grid-template-rows: auto auto;
  justify-content: space-evenly;
  padding:50px;
  padding-left:10%;
  background-color: #135F72;
}
#grid3{
  display: grid;
  grid-template-columns: 300px auto auto auto 300px;
  grid-template-rows: auto;
  justify-content: space-evenly;
}
#grid4{
  display:grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto auto auto auto;
  color:white;
  padding:4%;
  grid-row-gap: 1%;
  grid-column-gap: 1%;
  margin-bottom: 7%;
}
#box{
  background:#9dc8e4;
  padding-top:1%;
  padding-left:10%;
  padding-right:10%;
  margin-bottom:1%;
  font-family: sans-serif;
  color:black;
}
#tablestables{
  background:#135f72;
}
#app{
  background:#9dc8e4;
}
/*FOOTER*/
footer{
  text-align: center;
  background:#135f72;
  color:white;
  padding-top:20px;
  padding-left:20px;
  padding-right:20px;
  padding-bottom:5px;
}
/*FORM*/
form{
  text-align: center;
}
#bookform{
  width:65%;
  background:var(--deepspacesparkle);
  margin:auto;
  margin-bottom:1%;
  color: var(--mangolia);
  padding: 5%
}
.submitappoint{
  color: #f4f4f4;
  border-radius: 10px;
  border-color: #135F72;
  width:300px;
  height:50px;
  font-size: 20px;
  border-width: 5px;
  background: #135f72;
  font-family: sans-serif;
}
.submitappoint:hover{
  background: var(--green);
  color:white;
  font-weight: bold;
  border-color:var(--green);
}
input{
  width:400px;
  height:25px;
  border-radius: 10px;
  padding:2px;
  margin:1%;
}
select{
  appearance:none;
  outline:2px;
  background-color: var(--mangolia);
  width:400px;
  height:30px;
  border: 1px solid black;
  border-radius: 10px;
  margin:1%;
}
label{
  width:200px;
}
td{
  width:500px;
}
.topnav {
  background-color: #135F72;
  overflow: hidden;
}
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}
.topnav a:hover {
  background-color: var(--mangolia);
  color: black;
}
.topnav a.active {
  background-color: #135F72;
  color: white;
}
.topnav .icon {
  display: none;
}
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  #grid3{
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto auto auto auto;
    justify-content: space-evenly;
  }
  #grid{
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto;
    justify-content: space-evenly;
    padding:5%;
  }
  #grid2{
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto;
    justify-content: space-evenly;
    padding-left:10%;
    background-color: #135F72;
    padding:10%;
    padding-top:5%;
  }
  label{
    width:25%;
  }
  td{
    width:55%;
  }
  input,select{
    width:200px;
    height:25px;
    border-radius: 5px;
    padding:2px;
    margin-top:1%;
    margin-bottom:1%;
  }
  #ptable{
    display:none;
  }
  #pricetable{
    display: none;
  }
  #bookform{
    width:90%;
    background:var(--deepspacesparkle);
    margin:auto;
    margin-bottom:5%;
    color: var(--mangolia);
    padding: 1%;
  }
  .submitappoint{
    color: white;
    border-radius: 10px;
    border-color: #135F72;
    width:55%;
    height:40px;
    font-size: 15px;
    font-family: sans-serif;
  }
  h1{
    width:100%;
    height: 100%;
    text-align:center;
    font-size: 3rem;
    padding-top:100px;
    padding-bottom: 2%;
    font-family:sans-serif;
    margin:auto;
    border:none;
  }
}
@media screen and (min-width:1000px){
  #myTopnav{
    display:none;
  }
  #grid4{
    display:none;
  }
}
@media screen and (max-width:1000px){
  nav{
    display:none;
  }
  #ptable{
    display:none;
  }
  #pricetable{
    display:none;
  }
}
#header{
  padding-top:7%;
  padding-bottom:1%;
  background:#2aabe4;
}
.hvr-grow-shadow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px #135f72;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: box-shadow, transform;
  transition-property: box-shadow, transform;
}
.hvr-grow-shadow:hover, .hvr-grow-shadow:focus, .hvr-grow-shadow:active {
  box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
