/*
 Theme Name: Astra Child (Chemtopper)
 Theme URI:  https://www.expertonlinetutor.com
 Description: Child theme for Astra – moves custom navbar to hooks, enqueues scripts properly.
 Author:      Chemtopper
 Template:    astra
 Version:     1.0.0
 Text Domain: astra-child
*/

/* Your child custom styles here (optional) */
/* Center the form nicely within Astra's container */
.page-id-425 .ct-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
}

/*STYLES FOR HOME PAGES*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font: 16px Arial;
}

/*the container must be positioned relative:*/
.autocomplete {
  position: relative;
  display: inline-block;
  width: 100%;
}
form{
  width:90%;
  margin-left: 5%;
  display: inline-flex;
  flex-direction:row;
  justify-content: center;
  align-items: center;

}
input {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-size: 16px;
}

input[type=text] {
  background-color: #f1f1f1;
  width: 100%;
}

input[type=submit] {
  background-color: DodgerBlue;
  color: #fff;
  cursor: pointer;
  width: 100%;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important;
  color: #ffffff;
}
.container{
  position: relative;
}
.search-container{
  margin-top: 20px;
  width: 94%;
  margin-left: 3%;
  background-image: url('images/search-background.jpg');
  display: flex;
  justify-content: center;
  align-items: center;
  height:230px;
    border-radius: 20px;
}
.search-trans{
  width: 60%;
  height: 200px;
  display: flex;
  flex-direction:column;
    justify-content: center;
  align-items: center;
   background-color: rgb(34,69,150,.4);
   border-radius: 20px;
}
.heading{
  width: 100%;
  text-align: center;
  color: #0DCDDD;
  font-size:24px;
  margin:20px;
}
.heading-white-bg{
  width: 100%;
  text-align: center;
  color: #000000;
  font-size:24px;
  margin:5px;
}

.help-container{
  background: #204696;
  width: 94%;
  margin-left: 3%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding-top:20px;
  padding-bottom: 20px;
  border-radius: 20px;
}
.help-container ul li
{
  list-style: none;
color: white;
font-size: 20px;
margin: 10px;
}
.subject-container{
  background:white;
  width: 94%;
  margin-left: 3%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  padding-top:10px;
  padding-bottom: 20px;
}
.subject-list{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: center;
  align-items: center;
  width:100%;

}
.subject-list a{
  width: 100%;
  text-align:left;
  color: #1b44a5;
  font-size: 18px;
  text-decoration: none;
}
.tutor-container{
  background: #204696;
  width: 94%;
  margin-left: 3%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding-top:20px;
  padding-bottom: 20px;
    border-radius: 20px;
}
.card-container{
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.card1{
  width: 80%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.card1 span{
  color:white;
  display: -webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 5px;
}
.card1 a{
  color:white;
  display: -webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 5px;
  font-weight:bold;
}
.card1 img{
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  margin: auto;
}
.card1 i{
  color:yellow;
}
.card1 button{
  color:white;
  padding: 5px;
  margin: 10px;
  border: none;
  background: rgb(88,168,255);
  cursor: pointer;
}
.offer-container{
  background:white;
  width: 94%;
  margin-left: 3%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding-top:20px;
  padding-bottom: 20px;
    border-radius: 20px;
}
.offer-container .card-container {
flex-direction: row;
}
.offer-container .card-container span{
color:black;
width: 100%;
font-size: 18px;
font-weight: 200;
opacity: .7;
text-align:left;

}
.offer-container .card-container .sub-heading{
  color:black;
  width: 100%;
  font-size:20px;
  font-weight: 200;
  opacity: .8;
  text-align:center;
  margin: 10px;
}
.offer-container .card-container card{
color:black;
}
.online-tutoring-container{
  background: #204696;
  width: 94%;
  margin-left: 3%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding-top:20px;
  padding-bottom: 20px;
    border-radius: 20px;
}
.online-tutoring-container p{
  margin: 20px;
  color:white;
    font-size: 17px;
}
.online-tutoring-container ul li{
  color:white;
  font-size: 17px;
}
.online-tutoring-container button{
  color:white;
  padding: 5px;
  margin: 10px;
  border: none;
  background: rgb(88,168,255);
  cursor: pointer;
}
.map-image-container{
  width: 100%;
  margin-top:20px;
  background-color: transparent;
  display: flex;
  justify-content: center;
}
.background-faces-container{
  width:78%;
  margin-left:50px;
  background-color: transparent;
  display:grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  position:fixed;
  z-index:-1;
  padding: 0;
  top:100px;
  overflow: hidden;

}
.background-faces-container img{
  position: relative;
  width:94%;
}
.review-container{
  background: #204696;
  width: 94%;
  margin-left: 3%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding-top:20px;
  padding-bottom: 20px;
  margin-bottom: 20px;
    border-radius: 20px;
}
.review-container p{

  color:white;
  margin: 20px;
  font-size: 17px;
}
.review-container marquee span{
  font-size: 20px;
  color: white;
  display:flex;
   align-items: center;
}
@media only screen and (max-width: 600px) {

  .autocomplete {
    position: relative;
    display: inline-block;
    width:100%;

  }

  input {
    border: 1px solid transparent;
    background-color: #f1f1f1;
    padding: 10px;
    font-size: 16px;

  }
  form{
    width:90;
    margin-left: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

  }
  input[type=text] {
    background-color: #f1f1f1;
    min-width: 100%;
  }

  input[type=submit] {
    background-color: DodgerBlue;
    color: #fff;
    cursor: pointer;
    width: 100%;
  }
.search-trans{
  width: 90%;
  overflow:visible;
}
.subject-list{
grid-template-columns: 1fr ;
justify-content:center;
align-items: center;

}
.subject-list a{
  width: 100%;
  text-align:center;
  color: #1b44a5;
  font-size: 18px;
  text-decoration: none;
}
.card-container{
  display:flex;
  flex-direction:column;
  justify-content: center;
  align-items: center;
}

.offer-container .card-container {
flex-direction:column;
align-items: center;
justify-content: center;
}
.background-faces-container{
  grid-template-columns: 1fr;
  margin-left:0;
  border-radius: 20px;
  overflow: hidden;
  width:90%;
  margin-top: 20px;
}
}
