.navbar.tagline {
  font-size: 1rem;
  font-weight: bold;
  color: white !important;
}

#news-banner {
  width: 100%;
  min-height: 75px;
  padding: 15px;
  font-size: 2rem;
  font-weight: 300;
  line-height: 4rem;
  /* background: #c4ff46; */
  background: #99ccff;
  margin-top: -50px;
}

#jumbotron-contact-us-button, #jumbotron-download-brochure-button {
  margin-bottom: 8px;
}

.title::after, .card-title::after{
  content: " ";
  display: block;
  width: 100px;
  height: 4px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 8px;
  background-color: #ff8a00;
}

.card-img-top{
  width: 450px;
  height: auto;
}

.card{
  margin-left: 32px;
  margin-right: 32px;
}

.hero-logo{
  max-height: 50px;
  width: auto;
}

.hero-image{
  box-shadow: 0px 10px 20px #444;
}

.jumbotron{
  background-color: #f2f2f2;
  min-height: 600px;
}

.features .card {
  min-width: 450px;
  margin: 32px;
  border: 0px;
  color: rgb(33, 37, 41);
  /* cursor: pointer; */
  transition: all 0.2s ease-in;
  position: relative;
  top: 0px;
}

.features .card:hover{
  position: relative;
  top: -16px;
}

.features .card .card-title{
  text-align: center;
}

.modal-dialog {
  max-width:750px;
}

.center-aligned-text{
  text-align: center;
}

.center-aligned-element{
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.left-aligned-text{
  text-align: left;
}

.right-aligned-text{
  text-align: right;
}

.flex{
  display: flex;
}

.flex-column{
  flex-direction: column;
}

.flex-align-center{
  align-items: center;
}

.flex-justify-center{
  justify-content: center;
}

body{
  font-family: 'Open Sans', sans-serif;
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  margin: 0px;
}

#main-content-container{
  width: 100vw;
  height: 100%;
  z-index: 30;
  position: relative;
}

@media (max-width:500px) {
  #main-content-container{
    width: 100vw;
    /* height: 100%; */
  }
}

@media (max-height:720px) {
  #main-content-container{
    /* padding-top: 24px; */
    /* height: 100%; */
  }
}

#highlight-content-container{
  background: url('../images/circuit_traces_bg.png');
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  height: 100vh;
  z-index: 30;
  position: relative;
  padding-left: 16px;
  padding-right: 16px;
}

/* #highlight-content-container :nth-child(1){ order: 1;}
#highlight-content-container :nth-child(2){ order: 2;}
#highlight-content-container :nth-child(3){ order: 3;} */

@media (max-width:640px){
  #highlight-content-container{
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 500px){
  /* #highlight-content-container{
    padding: 0px;
  }
  #highlight-content-container :nth-child(1){ order: 2;}
  #highlight-content-container :nth-child(2){ order: 1;} */
}

.navbar-logo{
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: auto;
  height: 32px;
}

/* **************** bouncy scroll down arrow************* */
a#bouncy_arrow { color: #212529; text-decoration: none; cursor: pointer;}

.arrow {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  top: -58px;
  z-index: 50;
}
.bounce {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

/* ********* end of bouncy scroll down arrow *********** */

@media (max-width: 400px){
  #main-logo{
    width: 100%;
    height: auto;
  }
}

#tagline{
  font-family: 'Raleway', sans-serif;
  color: #666;
  text-align: center;
  width: 100%;
  display: block;
  padding-top: 40px;
  font-size: 40px;
  animation: breathe;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.highlight-content{
  display: flex;
  align-items: center;
  width: 100%;
  height: 240px;
}

.highlight-content div{
  margin-left: auto;
  margin-right: auto;
}

footer{
  margin-top: 32px;
  text-align: center;
  background: #e3e3e3;
  padding-top: 16px;
  padding-bottom: 16px;
}

.row-of-buttons{
  width: 90%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.row-of-buttons :nth-child(1){order: 1 !important;}
.row-of-buttons :nth-child(2){order: 2 !important;}
.row-of-buttons :nth-child(3){order: 3 !important;}

.button-container{
  display: flex;
  justify-content: center;
  align-items:center;
  height: 250px;
  width: 250px;
}

.animation-container{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 40px;
}

.round-button{
  opacity: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  vertical-align: middle;
  cursor: pointer;
  margin: 24px;
  animation: idle;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  transition: opacity 0.4s ease;
}

.round-button :nth-child(1){order: 1 !important;}
.round-button :nth-child(2){order: 2 !important;}
.round-button :nth-child(3){order: 3 !important;}

.round-button.visible{
  opacity: 1;
}

.round-button:hover{
  animation: lively-bounce;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
}

.round-button .icon{
  font-size: 56px;
  color: white;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.round-button .button-text{
  padding-top: 8px;
  font-size: 22px;
  color: black;
  font-family: 'Open Sans', sans-serif;
  display: block;
}

@media (max-height: 720px){
  .highlight-content{
    height: 190px;
  }
  #main-logo{
    width:300px;
    height: auto;
  }
  #tagline{
    font-size: 36px;
  }
  .button-container{
    height: 190px;
    width: 190px;
  }
  .round-button .button-text{
    font-size: 16px;
  }
  .round-button .icon{
    font-size: 50px;
  }
  .round-button{
    width: 160px;
    height: 160px;
    animation: idle-below-720;
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
  }
  .round-button:hover{
    animation: lively-bounce-below-720;
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
  }
}

@media (max-height: 600px){
  .highlight-content{
    min-height: 150px;
  }
  #main-logo{
    width:250px;
    height: auto;
  }
  #tagline{
    font-size: 28px;
  }
  .button-container{
    height: 160px;
    width: 160px;
  }
  .round-button .button-text{
    font-size: 16px;
  }
  .round-button .icon{
    font-size: 42px;
  }
  .round-button{
    width: 140px;
    height: 140px;
    animation: idle-below-600;
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
  }
  .round-button:hover{
    animation: lively-bounce-below-600;
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
  }
}

.row-of-buttons .spacer{
  flex: 1;
}

.yellow-button{
  background-color: #fddd14;
}

.blue-button{
  background-color: #63b4cf;
}

.orange-button{
  background-color: #ff8a00;
}

.green-button{
  background-color: #00de1f;
}

.popup-window-container{
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 100;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: rgba(0,0,0,0.4);
}

.popup-window-container.open{
  display: flex;
}

@media (max-width: 400px){
  .popup-window-container{
    width: 100vw;
  }
}

.popup-window{
  display: none;
  flex-direction: column;
  width: 998px;
  max-height: 80vh;
  background-color: #fff;
  border: 1px solid #999;
  padding-left: 32px;
  padding-right: 32px;
  padding-bottom: 32px;
}

.popup-window-header{
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-window-header .close{
  cursor: pointer;
}

.popup-window-content{
  width: 100%;
  flex: 1;
  overflow-y: auto;
}

@media (max-width: 998px) {
  .popup-window{
    width: 100%;
  }
}
@media (max-height: 600px) {
  .popup-window{
    max-height: 85vh;
    height: 85vh;
  }
}

.popup-window.open{
  display: flex;
}

@keyframes lively-bounce {
  from {
    width: 200px;
    height: 200px;
  }
  15% {
    width: 192px;
    height: 192px;
  }
  to{
    width: 232px;
    height: 232px;
  }
}

@keyframes idle {
  from {
    width: 232px;
    height: 232px;
  }
  to{
    width: 200px;
    height: 200px;
  }
}

@keyframes lively-bounce-below-720 {
  from {
    width: 160px;
    height: 160px;
  }
  15% {
    width: 155px;
    height: 155px;
  }
  to{
    width: 180px;
    height: 180px;
  }
}

@keyframes idle-below-720 {
  from {
    width: 180px;
    height: 180px;
  }
  to{
    width: 160px;
    height: 160px;
  }
}

@keyframes lively-bounce-below-600 {
  from {
    width: 140px;
    height: 140px;
  }
  15% {
    width: 137px;
    height: 137px;
  }
  to{
    width: 159px;
    height: 159px;
  }
}

@keyframes idle-below-600 {
  from {
    width: 159px;
    height: 159px;
  }
  to{
    width: 140px;
    height: 140px;
  }
}

@keyframes breathe {
  from{
    color: #999;
  }
  20%{
    color: #454545;
  }
  to{
    color: #999;
  }
}

@keyframes flex-fade-in {
  from {
    opacity: 0;
    display: none;
  }
  1%{
    display: flex;
  }
  to{
    opacity: 1;
  }
}

@keyframes flex-fade-out {
  from {
    opacity: 1;
    display: flex;
  }
  99%{
    display: none;
  }
  to{
    opacity: 0;
  }
}

.vertical-spacer{
  width: 100%;
  height: 24px;
}

.title{
  font-family: 'Raleway', sans-serif;
  padding-top: 64px;
  font-size: 32px;
  font-weight: 400;
}

.image-container{
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.image-container img{
  width: 100%;
}

.showcase-icon{
  font-size: 80px;
}

.row{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding:24px;
}

.row.odd-row{
  background-color: #eee;
}

.row .col-sm-6{
  padding: 8px;
  flex: 1;
  max-width: 50%;
}

.row .col-sm-4{
  padding: 8px;
  flex: 1;
  max-width: 33.33%;
}

.row .col-sm-8{
  padding: 8px;
  flex: 2;
  max-width: 66.67%;
}

.row .col-sm-12{
  padding: 8px;
  flex: 1;
  width: 100%;
}

@media (max-width:720px) {
  .row .col-sm-8{
    min-width: 100%;
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width:640px) {
  .row .col-sm-6{
    min-width: 100%;
    max-width: 100%;
    width: 100%;
  }

  .row .col-sm-4{
    min-width: 100%;
    max-width: 100%;
    width: 100%;
  }
}

.rectangular-button-container{
  display: flex;
  justify-content: center;
  align-items:center;
  height: 43px;
  width: 160px;
}

.rectangular-button{
  width: 150px;
  height: 40px;
  text-align: center;
  display: inline-block;
  animation: rectangular-button-idle;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
  padding-top: 16px;
}

@media (max-width:640px){
  .rectangular-button-container{
    width: 100%;
  }
  .rectangular-button{
    margin-left: auto;
    margin-right: auto;
  }
}

.rectangular-button:hover{
  animation: rectangular-button-lively-bounce;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
}

a.rectangular-button{
  color: black;
  text-decoration: none;
}

@keyframes rectangular-button-lively-bounce {
  from {
    width: 150px;
    height: 40px;
    padding-top: 16px;
  }
  15% {
    width: 145px;
    height: 39px;
    padding-top: 15px;
  }
  to{
    width: 160px;
    height: 43px;
    padding-top: 20px;
  }
}

@keyframes rectangular-button-idle {
  from {
    width: 160px;
    height: 43px;
    padding-top: 20px;
  }
  to{
    width: 150px;
    height: 40px;
    padding-top: 16px;
  }
}

.map-container{
  margin-right:auto;
  margin-left:auto;
  width: 100%;
  height: 300px;
}

.map-container iframe{
  max-height: 300px;
  height: 100% !important;
  width: 100% !important;
}

@media (max-width:600px){
  .map-container{
    width: 100%;
  }
}

@media (max-width:500px){
  .map-container{
    width: 100%;
    height: 250px;
  }
}

@media (max-width:400px){
  .map-container{
    width: 100%;
    height: 200px;
  }
}


.animatable {
	transition: all 0.2s ease-in;
	opacity: 0;
	position: relative;
}

.fade-in {
	animation-name: fadein;
	animation-fill-mode: forwards;
	animation-duration: 0.7s;
	animation-timing-function: ease;
}

.fade-in-up {
	animation-name: fadeinup;
	animation-fill-mode: forwards;
	animation-duration: 0.7s;
	animation-timing-function: ease;
}

.fade-in-right {
	animation-name: fadeinright;
	animation-fill-mode: forwards;
	animation-duration: 0.7s;
	animation-timing-function: ease;
}

.fade-in-left {
	animation-name: fadeinleft;
	animation-fill-mode: forwards;
	animation-duration: 0.7s;
	animation-timing-function: ease;
}

@keyframes fadein {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes fadeinup {
	0% {
		opacity: 0;
		transform: translateY(300px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeinright {
	0% {
		opacity: 0;
		transform: translateX(300px);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes fadeinleft {
	0% {
		opacity: 0;
		transform: translateX(-300px);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}
