/*--- Roadsafe Home Style Sheet ---*/

.page {
	width:100%;
	max-width:900px;
	margin:auto;
}

div.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background-color: white;
  padding-bottom: 10px;
  box-shadow: -8px 6px 6px -1px rgba(255, 255, 255, 0.5), 15px 6px 6px -1px rgba(255, 255, 255, 0.5);
  z-index: 1;
}

body {

}

.blue-link {
	color:blue;
	padding:10px;
	line-height: 1.6;
}

h1 {
	font-size: min(max(14px, 4vw),25px);
	margin-top:5px;
	margin-bottom:5px;
	margin-right:5px;
}

h2 {
	font-size: min(max(14px, 4vw),25px);
	margin-top:5px;
	margin-bottom:5px;
	margin-right:5px;
}

h3 {
	font-size: min(max(12px, 3vw),22px);
	margin-top:2px;
	margin-bottom:2px;
	padding: 5px;
}

h4 {
	font-size: min(max(12px, 3vw),22px);
	margin-top:5px;
	margin-bottom:5px;
	margin-right:5px;
	margin-left:10px;
	padding: 8px;
}

p {
	font-size: min(max(12px, 3vw),18px);
	padding:8px;
	line-height: 1.6;
	text-align: justify;
	text-justify: inter-word;
}

.special-p {
  padding: 5px;
}

.special-p:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 12px 30px 0 rgba(0, 0, 0, 0.19);
}

.special-p-1 {
	width:100%;
	margin:auto;
}

.special-p-1:hover {
  background-color: #A9CCE3;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 12px 30px 0 rgba(0, 0, 0, 0.19);
}

.special-p-services {
  padding: 0px;
}

.special-p-services:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.main-heading-box-services {
  width: 100%;
  background-color:#669900;
  margin:auto;
  text-align:center;
  border-style:solid;
  border-width:1px;
}

/* Rate Us */

.RateUs {
  width:90%;
  color: black;
  background-color:#A9CCE3;
  cursor: pointer;
  padding: 10px;
  display:block;
  margin:auto;
  border: none;
  text-align: center;
  outline: none;
  font-size: min(max(8px, 3vw),18px);
  font-family: inherit;
  transition: 0.4s;
}

.RateUs:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 12px 30px 0 rgba(0, 0, 0, 0.19);
}

.RateUs:active {
  background-color:white; 
  animation: colorful-button 0.5s ease-in-out;
  animation-iteration-count: infinite;
}

/* Accordion for projects */

.accordion {
  width:90%;
  color: black;
  background-color:#A9CCE3;
  cursor: pointer;
  padding: 10px;
  display:block;
  margin:auto;
  border: none;
  text-align: left;
  outline: none;
  font-size: min(max(8px, 3vw),18px);
  font-family: inherit;
  transition: 0.4s;
}

.accordion:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 12px 30px 0 rgba(0, 0, 0, 0.19);
}

.accordion:active {
  background-color:white; 
  animation: colorful-button 0.5s ease-in-out;
  animation-iteration-count: infinite;
}

.DownloadInfo {
  width:90%;
  color: black;
  background-color:#A9CCE3;
  cursor: pointer;
  padding: 10px;
  display:block;
  margin:auto;
  border: none;
  text-align: left;
  outline: none;
  font-size: min(max(8px, 3vw),18px);
  font-family: inherit;
  transition: 0.4s;
}

.DownloadInfo:hover {
  color:black;
  transform: scale(1.05);
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 12px 30px 0 rgba(0, 0, 0, 0.19);
}

.DownloadInfo:active {
  color:black;
  background-color:white; 
  animation: colorful-button 0.5s ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes colorful-button {
    0% {background-color:white;}
    25% {background-color:#A9CCE3;}
    50% {background-color:white;}
    75% {background-color:#A9CCE3;}
}

/* Accordion for Expert consulting */

.accordion2 {
  width:100%;
  color: black;
  background-color:white;
  cursor: pointer;
  padding: 10px;
  display:block;
  border: none;
  text-align: left;
  outline: none;
  font-size: min(max(8px, 3vw),18px);
  font-family: inherit;
  transition: 0.4s;
}

.panel1 {
  width:100%;
  display:block;
  margin-left:auto;
  margin-right:auto;
  font-size: min(max(8px, 3vw),18px);
  background-color: #F5F5F5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 1.0s ease-in-out;
  text-align: justify;
  line-height: 2.0;
  margin-bottom:10px;
}

.accordion1 {
  width:90%;
  display:block;
  margin:auto;
  color: black;
  background-color:#A9CCE3;
  cursor: pointer;
  padding: 5px;
  border: none;
  text-align: left;
  outline: none;
  font-size: min(max(8px, 3vw),18px);
  font-family: inherit;
  transition: 0.4s;
}

.panel2 {
  width:90%;
  display:block;
  margin:auto;
  font-size: min(max(8px, 3vw),18px);
  padding: 5px;
  background-color: white;
  max-height: 0px;
  overflow: hidden;
  transition: max-height 1.0s ease-in-out;
  text-align: justify;
  line-height: 2.0;
  margin-bottom:10px;
}

.button-container-left {
  width: 8%;
  float: left;
}

.button-container-right {
  width: 90%;
  float: right;
}

.panel {
  width:100%;
  display:block;
  margin:auto;
  font-size: min(max(8px, 3vw),18px);
  padding: 5px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  text-align: justify;
  line-height: 2.0;
  margin-bottom:10px;
}

.panel201 {
  width:100%;
  display:block;
  margin:auto;
  font-size: min(max(8px, 3vw),18px);
  padding: 5px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  text-align: justify;
  line-height: 2.0;
  margin-bottom:10px;
}

.accordion201 {
  width:100%;
  color: black;
  background-color:#A9CCE3;
  cursor: pointer;
  padding: 10px;
  display:block;
  border: none;
  text-align: left;
  outline: none;
  font-size: min(max(8px, 3vw),18px);
  font-family: inherit;
  transition: 1.0s;
}

ul {
	font-size: min(max(12px, 3vw),18px);
	line-height: 1.8;
}

li {
	margin: 0; 
}

/* Hide short text by default (resolution > 800px) */
.short-text { display: none; }

/* When resolution <= 1200px, hide full text and show short text */
@media (max-width: 900px) {
    .short-text { display: inline-block; }
    .full-text { display: none; }
}

/* unvisited link */
a:link {
  color: black;
  font-size: min(max(8px, 3vw),18px);
  text-decoration:none;
}

/* visited link */
a:visited {
  color: black;
}

/* mouse over link */
a:hover {
  color: red;
}

/* selected link */
a:active {
  color: blue;
}

/* Add a black background color to the top navigation */
.topnav {
  background-color: transparent;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: min(max(8px, 3vw),18px);
  margin: 5px;
  background-color:#669900;
  border-style:solid;
  border-color:black;
  border-width:1px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color:#669900;
  color: black;
  margin: 5px;
  border-style:solid;
  border-color:black;
  border-width:1px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
  margin:5px;
  border-style:solid;
  border-color:black;
  border-width:1px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: min(max(8px, 3vw),18px);
  border: none;
  outline: none;
  color: black;
  padding: 14px 16px;
  background-color:#669900;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 2;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  right:auto;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left; 
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}


/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

.topnav input[type=text] {
  float: right;
  padding: 6px;
  margin-top: 8px;
  margin-right: 16px;
  font-size: min(max(8px, 3vw),18px);
  border: 1px solid black;
  width: 60%;
}

.center-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.center-img-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width:60%;
  animation-name: animation;
  animation-duration: 2s;
}

@keyframes animation {
  from {width:10%;}
  to {width:60%;}
}

.partial-img {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  width: 48%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.full-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transition: transform .2s;
  position: static;
}

.full-img:hover {
  transform: scale(1.1);
  z-index: -1;
}

.full-full-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.footer-image {
  display: inline-block;
  vertical-align: middle;
  height:20px;
  margin-left:10px;
  margin-right:10px;
  transition: transform .2s;
}

.footer-image:hover {
  transform: scale(1.2);
}

.side-footer-image {
  display: inline-block;
  vertical-align: middle;
  transition: transform .2s;
}

.side-footer-image:hover {
  transform: scale(1.2);
}

.footer-social-media {
  overflow: hidden;
  float:right;
}

.sidebar-social-media {
  overflow: hidden;
}

* {
  box-sizing: border-box;
}

.main-content-container {
  width: 68%;
  float: left;
}

.half-left-container {
  width: 50%;
  float: left;
}

.half-right-container {
  width: 50%;
  float: right;
}

.half-left-container-2 {
  width: 40%;
  float: left;
  margin-left:5%;
}

.half-right-container-2 {
  width: 40%;
  float: right;
  margin-right: 5%;
}

.third-left-container {
  width: 30%;
  float: left;
}

.third-center-container {
  width: 30%;
  margin-left: auto;
  margin-right: auto;
}

.third-centerBig-container {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

.third-right-container {
  width: 30%;
  float: right;
}

.NewProjectLayout {
  overflow: hidden;       /* Clears floated children */
  margin-bottom: 2em;     /* Adds space between projects */
  padding: 1em;           /* Inner spacing */
  border-radius: 10px;    /* Rounded corners */
}

.NewProjectLayout:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 12px 30px 0 rgba(0, 0, 0, 0.19);
}

.NewProjectLayout:after {
  content: "";
  display: block;
  clear: both;
}

.switched-main-content-container {
  width: 70%;
  float: right;
}

.switched-main-content-container:hover {
  background-color: #A9CCE3;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 12px 30px 0 rgba(0, 0, 0, 0.19);
}

.switched-main-content-container-employee {
  width: 70%;
  float: right;
  padding:5px;
}

.switched-main-content-container-projects {
  padding:5px;
  width: 75%;
  float: right;
}

.switched-main-content-container-projects:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 12px 30px 0 rgba(0, 0, 0, 0.19);
}

.main-full-content-container {
  width: 100%;
  float: left;
  margin-top: 10px;
  margin-bottom: 10px;
}

.main-full-content-container-employee {
  width: 100%;
  float: left;
  padding: 20px;
  background-color:white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transition: 1.0s;
}

.main-full-content-container-employee:hover{
	transform:translatey(10px);
	background-image: linear-gradient(to bottom right, #A9CCE3, #E6B0AA);
}

.main-full-content-container-Videos {
  width: 100%;
  text-align:center;
  padding: 20px;
  background-color:white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.main-heading-box {
  width: 100%;
  background-color:#669900;
  margin:auto;
  text-align:center;
  border-style:solid;
  border-width:1px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 12px 30px 0 rgba(0, 0, 0, 0.19);
}

.side-content-container {
  width: 30%;
  float: right;
  text-align: center;
}

.switched-side-content-container {
  width: 28%;
  float: left;
  text-align: center;
}

.switched-side-content-container-projects {
  width: 23%;
  float: left;
  text-align: center;
}

.side-heading-box {
  width: 100%;
  background-color:#669900;
  margin:auto;
  text-align:center;
  border-style:solid;
  border-width:1px;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 12px 30px 0 rgba(0, 0, 0, 0.19);
}

.side-link-box {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  text-align:center;
  padding:4px;
  font-size: min(max(8px, 3vw),18px);
}

.bottom-content-container {
  position: relative;
  bottom: 0;
  width: 100%;
  overflow: hidden;
}

.bottom-content-box {
  width: 100%;
  background-color:#669900;
  margin:auto;
  text-align:left;
  border-style:solid;
  border-width:1px;
  margin-top:30px;
  padding: 10px;
  overflow:hidden;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.search-box {
	float:right;
}

.card {
	background-color:silver;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	transition: 0.8s;
}

.card:hover {
  background-color: #A9CCE3;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 12px 30px 0 rgba(0, 0, 0, 0.19);
}

.card-text-container {
	padding: 2px;
}

/* New Card CSS */

.employee-card2 {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  max-width: 300px;
  margin: auto;
  text-align: center;
  background-color: white;
}

.employee-card3 {
  margin: auto;
  text-align: center;
  background-color: white;
}

.employee-card3:hover {
}

.SocialMediaCard {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  max-width: 300px;
  margin: auto;
  text-align: center;
  background-color: white;
  transition: transform 1.0s;
}

.SocialMediaCard:hover{
	transform:translatey(-20px);
	background-image: linear-gradient(to bottom right, #A9CCE3, #E6B0AA);
}

.RSAPCard {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  max-width: 300px;
  margin: auto;
  text-align: center;
  background-color: white;
  background-image: linear-gradient(to bottom right, #A9CCE3, #E6B0AA);
}

.infobutton {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 8px;
  margin-top: 20px;
  color: black;
  background-color:#A9CCE3;
  text-align: center;
  cursor: pointer;
  width: 90%;
  font-size: min(max(8px, 3vw),14px);
  transition: transform .3s;
}

.infobutton:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 12px 30px 0 rgba(0, 0, 0, 0.19);
  transform: scale(1.1);
}

.title {
  color: grey;
  font-size: min(max(12px, 3vw),18px);
  text-align: center;
}

.employee-pic {
	width:50%;
	margin-top:15px;
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 12px 30px 0 rgba(0, 0, 0, 0.19);
	transition: transform .3s;
}

.employee-pic:hover {
	transform: scale(1.1);
}

.star {
	text-align:center;
	display: block;
	padding:5px;
	margin:auto;
	transition: transform .1s;
}

.star:hover {
	transform: scale(1.5);
}

/*--- EndOfFile ---*/
