
/* MOBILE MEDIA QUERIES Nexus 7 Android portrait / Galaxy Tab */


@media screen and (max-width: 768px) {


.header {
	display: grid;
	width: 100%;
	grid-template-columns: 1fr;
	grid-template-rows: auto;
	/* background: url(../bus.jpeg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: contain;
	-o-background-size: cover;
	background-size: cover;
	padding: 10vh 1rem; */
}

.bg-home {
	background: url(../images/bus_s.webp) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: contain;
	-o-background-size: cover;
	background-size: cover;
	padding: 20vh 1rem;
}

    .head-wrap {
        display:grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        background-color: white;
    }

    .fifty-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        align-items: center;
        justify-content: center;
    
    }

}

.topnav {
    overflow: hidden;
    background-color: transparent;
    /*changed from white for background*/
}

.topnav button.icon {
  background: none;
  border: none;
  color: black;
  font-size: 20px;
  padding: 14px 16px;
  cursor: pointer;
}

/* When the button is clicked or focused */
.topnav button.icon:focus,
.topnav button.icon:active {
  outline: 2px solid transparent;  /* teal border instead of black */
  outline-offset: 2px;         /* adds spacing so it looks neat */
}


.topnav a,
.topnav button {
    float: left;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 16px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: none;   /* reset button background */
    border: none;       /* reset button border */
    cursor: pointer;    /* keep pointer cursor */
}

.topnav a:hover,
.topnav button:hover {
    background-color: #05A69E;
    color: white;
}

.topnav .icon {
    display: none;
}

@media screen and (max-width: 768px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav .icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a,
    .topnav.responsive button {
        float: none;
        display: block;
        text-align: left;
    }
}


/* .topnav {
    overflow: hidden;
    background-color: transparent;

  }
  
  .topnav a {
    float: left;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 16px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  }
  
  .topnav a:hover {
    background-color: #05A69E;
    color: white;
  }
  
  .topnav .icon {
    display: none;
  }
  
  @media screen and (max-width: 768px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
      float: right;
      display: block;
    }
  }
  
  @media screen and (max-width: 768px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }
  
  } */


  /*todo icons */
  .fa {
	padding: 20px;
	font-size: 25px;
	width: 30px;
	text-align: center;
	text-decoration: none;
	margin: 5px 2px;
	color:white;
  }
  
  /* Hover for AF4 fa but for AF5 it will be fas */
  .fa:hover {
	  opacity: 0.8;
	  color: #05A69E;
	  transition: .6s ease;
  }
  .fa-phone {
	background:transparent;
	color: black;
	padding-right: 20px; 
	padding-top: 10px; 
	text-decoration: none;
	transition: .6s ease;
  }
  .fa-envelope {
	background:transparent;
	color: black;
	padding-right: 20px; 
	padding-top: 10px; 
	text-decoration: none;
	transition: .6s ease;
  }

  /*back to top*/
  .cd-top {
	  display: inline-block;
	  height: 40px;
	  width: 40px;
	  position: fixed;
	  bottom: 40px;
	  right: 10px;
	  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	  /* image replacement properties */
	  overflow: hidden;
	  text-indent: 100%;
	  white-space: nowrap;
	  background: #04A09E url("../images/cd-top-arrow.svg") no-repeat center 50%;
	  visibility: hidden;
	  opacity: 0;
	  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
	  -moz-transition: opacity .3s 0s, visibility 0s .3s;
	  transition: opacity .3s 0s, visibility 0s .3s;
	}
	.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
	  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
	  -moz-transition: opacity .3s 0s, visibility 0s 0s;
	  transition: opacity .3s 0s, visibility 0s 0s;
	}
	.cd-top.cd-is-visible {
	  /* the button becomes visible */
	  visibility: visible;
	  opacity: 1;
	}
	.cd-top.cd-fade-out {
	  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
	  opacity: .5;
	}
	.no-touch .cd-top:hover {
	  background-color: #F29E92;
	  opacity: 1;
	}
	@media only screen and (min-width: 768px) {
	  .cd-top {
		right: 20px;
		bottom: 20px;
	  }
	}
	@media only screen and (min-width: 1024px) {
	  .cd-top {
		height: 60px;
		width: 60px;
		right: 30px;
		bottom: 30px;
	  }
	}