@font-face {
  font-family: ButlerRegular;
  src: url(./assets/fonts/butler_regular-webfont.woff2);
}
@font-face {
  font-family: Fjalla One;
  src: url(./assets/fonts/FjallaOne-Regular.ttf);
}
@font-face {
  font-family: Monda;
  src: url(./assets/fonts/Monda-Regular.ttf);
}

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url(./assets/fonts/MaterialIcons-Regular.woff); /* For IE6-8 */
  src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url(./assets/fonts/MaterialIcons-Regular.woff) format('woff2'),
}

body {
  margin: 0;
  padding: 0;
  font-family: Monda;
}

#root {
  width: 100%;
  height: 100vh;  
}

* {
  box-sizing: border-box;
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 3.7em;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}

#homeMain {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background-image: url('./assets/img/bg1.jpg');
  background-position: center top;
  background-size: auto 800px;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

#homeSlider {
  width: 100%;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#homeSlider>h1 {
  font-size: 3.5em;
  font-family: Fjalla One;
  font-weight: 700;
  color: #fff;
  margin-left: 25px;
  text-shadow: 2px 2px 2px #000000;
}

.homeWrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  padding: 0;
  background-color: #f7f9fd;
}

.homeWrapper:nth-child(odd) {
  background-color: #fff;
}

.homeContainer {
  width: 90%;
  margin: 0 auto;
}

.homeRow {
  width: 100%;
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.homeRowAlternative {
  align-items: stretch;
}

@media (min-width: 768px) {
  #homeMain {
    background-size: 100% auto;
  }
  #homeSlider {
    height: 80vh;
  }
  #homeSlider>h1 {
    font-size: 5em;
    margin-right: 350px;
  }
  .homeRow {
    flex-direction: row;
    margin: 30px 0;
    justify-content: space-evenly;
  }
}

@media (min-width: 1367px) {
  #homeMain {
    background-size: 100% auto;
  }
  #homeSlider>h1 {
    font-size: 5.5em;
    margin-right: 400px;
  }
  .homeRow {
    margin: 50px 0;
  }
}

/* SECTION HEADING */
.sectionHeadingContainer {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}

.sectionHeadingLine {
  width: 50px;
  height: 2px;
  border-radius: 1px;
  background-color: #232323;
  align-self: center;
}

.sectionHeadingContainer > h1 {
  margin: 15px;
}
/* END SECTION HEADING */

/* NEWS FRAME */
.newsFrameContainer {
  width: 100%;
  display: flex;  
  align-items: center;
  flex-direction: column;
}

.newsFrameItem {  
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
  text-align: center;
}

.newsFrameItem > h2 {
  margin: 0;
  padding: 2px 12px;
  background-color: #fff200;
  border-radius: 1px;
  color: #232323;
}

.newsFrameItem > p {
  width: 90%;
  font-size: 1.1em;
}

@media (min-width: 768px) {
  .newsFrameItem > p {
    width: 66%;
  }
}
/* END NEWS FRAME */

/* HEADER */
#headerContainer {
  width: 100%;
  height: 75px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: #2b2b2b;
   /* #ed1c24; */
  transition: all 0.5s ease-in;
  z-index: 99;
}

.headerLogoLink {
  max-width: 50%;
}

.headerLogo {
  z-index: 100;
  margin: 0 0 0 20px;
  align-self: center;
  max-width: 100%;
}

.headerMobileNav {
  height: 100%;
  max-width: 140px;
  width: 50px;
  margin-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#headerMobileMenu {
  width: 100%;
  position: absolute;
  top: -600px;
  left: 0;
  right: 0;
  transition: all 0.3s ease-out;
  z-index: 80;
}

.headerMobileMenuActive {
  top: 75px !important;
}

#headerMobileMenu ul {
  list-style: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

#headerMobileMenu ul li {
  border-top: 1px solid #222222;
  background-color: #2b2b2b;
  padding: 15px 0;
  text-align: center;
}

#headerMobileMenu ul li a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #fff200;
  font-weight: 500;
  font-size: 1.25em;
  text-transform: uppercase;
  margin: 0 15px;
  font-family: Fjalla One;
}

nav {
  display: none;
}

.headerMenuStripe {
  width: 100%;
  height: 3px;
  margin: 4px 0;
  border-radius: 1px;
  background-color: #fff200;
  align-self: flex-end;
}

.headerMenuStripe:nth-child(2) {
  width: 50%;
}

.headerMenuStripe:nth-child(3) {
  width: 80%;
}

@media (min-width: 1000px) {
  #headerContainer {
    height: 100px;
  }
  .headerLogo {
    margin: 0 0 0 50px;
  }
  .headerLogoRaw {
    height: 60px;
    width: 60px;
    margin: 0 0 0 50px;
  }
  .headerLogoRaw>h1 {
    font-size: 1.2em;
  }
  nav {
    position: static;
    margin-right: 50px;
    padding: 0;
    display: flex;
    align-items: center;
  }
  nav>ul {
    text-align: center;
    background-color: transparent
  }
  nav>ul li {
    display: inline-block;
    border-bottom: none;
  }
  nav>ul li a {
    position: relative;
    text-decoration: none;
    font-size: 1.2em;
    font-family: Fjalla One;
    padding: 10px;
    color: #fff200;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0 15px;
  }
  nav>ul li span {
    position: relative;
    text-decoration: none;
    font-size: 1.2em;
    font-family: Fjalla One;
    padding: 10px;
    color: #fff200;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0 15px;
  }
  nav>ul li a:hover {
    color: #eeea99;
  }
  nav>ul li a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #eeea99;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
  }
  nav>ul li a:hover:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
  .headerMobileNav {
    display: none;
  }
  #dropdown-link:hover .dropdown-container {
    opacity: 1;
    display: block !important;
  }
  .dropdown-content:hover {
    opacity: 1;
    display: block !important;
  }
  .dropdown-container {
    opacity: 0;
    display: none !important;
    position: absolute;
    padding-top: 10px;
    min-width: 190px;
    z-index: 101;
    transition: opacity 0.3s ease-in;
  }
  .dropdown-content {
    border-radius: 5px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  }
  .dropdown-content>ul {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .dropdown-content>ul>a>li {
    display: block;
    padding: 15px 0;
  }
  .dropdown-content>ul>a:hover>li {
    background-color: #f7f9fd;
    border-radius: 5px;
    cursor: pointer;
    color: #b90e13;
  }
  .dropdown-content>ul>a {
    all: unset;
  }
  .dropdown-content>ul>a:hover {
    all: unset;
  }
  .dropdown-content>ul>a:before {
    all: unset;
  }
  .headerCustomMaterialIcons {
    font-size: 1em;
  }
}
/* END HEADER */

/* FOOTER */
.footerContainer {
  box-sizing: border-box;
  padding: 10px 20px 10px;
  background-color: transparent;
  color: #292929;
}

.footerRow {
  height: 50px;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

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

.footerContent {
  width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footerLineContainer {
  width: 10%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.footerLine {
  height: 1px;
  border-radius: 1px;
  background-color: #232323;
}

.footerContent>h4 {
  font-family: Fjalla One;
  font-size: 1.2em;
  text-align: center;
}

.footerLinks {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.footerLinks>a {
  color: #292929;
  margin: 0 0 5px 0;
  text-decoration: none;
}

.footerLinks>h4 {
  margin: 10px 0;
}

@media (min-width: 768px) {
  .footerContainer {
    width: 100%;
    padding: 25px 50px 25px;
  }
  .footerContent {
    width: 30%;
  }
  .footerLineContainer {
    width: 25%;
  }
}
/* END FOOTER */

/* BUTTON */
.button {
  font-size: 1.4em;
  font-weight: 500;
  font-family: Fjalla One;
  text-transform: uppercase;
  padding: 0.5em 0.75em;
  background-color: transparent;
  border: 2px solid #ed1c24;
  color: #ed1c24;
  border-radius: 2px;
  cursor: pointer;
  /*box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);*/
  transition: all 0.4s ease-out;
}

@media (min-width: 768px) {
  .button:hover {
    background-color: #ed1c24;
    color: #f2f2f2;
  }
  .button:focus {
    background-color: transparent;
  }
}
/* END BUTTON */

/* TEXTBOX */
.textBoxContainer {
  color: #232323;
  border: 4px solid #232323;
  background-color: #fff;
  border-radius: 1px;
  margin: 30px 0;
  padding: 25px;
  box-sizing: border-box;
  text-align: center;
  -webkit-box-shadow: 3px 3px 16px -4px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 3px 3px 16px -4px rgba(0, 0, 0, 0.75);
  box-shadow: 3px 3px 16px -4px rgba(0, 0, 0, 0.75);  
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.textBoxHeader {
  margin: 0 0 10px 0;
  padding: 0;
  font-weight: 600;
  font-size: 30px;
}

.textBoxParagraph {
  margin: 0 0 10px 0;
  font-size: 18px;
}

@media (min-width: 768px) {
  .textBoxContainer {
    margin: 0 30px;
  }
}
/* END TEXTBOX */

/* UNDERLINED TEXT */
.underlinedTextStyle {
  color: #232323;
  text-align: center;
}

.underlinedTextLineStyle {
  height: 3px;
  width: calc(100% - 50px);
  position: relative;
  left: 25px;
  right: 25px;
  bottom: 0;
  background-color: #232323;
}/* END UNDERLINED TEXT */

/* FAHRSCHULKLASSEN */
#statisticsIndicatorMain {
  width: 100%;
}

.statisticsIndicatorHeader {
  text-align: center;
  margin-bottom: 0;
  color: #292929;
}

.statisticsIndicatorContainer {
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
  flex-wrap: wrap;   
}

.statisticsIndicatorCaption {
  color: #fff;
  background-color: #232323;
  padding: 2px 12px;
  width: 100%;
  word-wrap: break-word;
  font-size: 2em;
}

.statisticsIndicatorStaticsBox {
  text-align: center;
  color: #292929;
  margin-bottom: 20px;
}

.statisticsIndicatorStaticsBox>h1 {
  font-size: 3.8em;
  font-family: Fjalla One;/*ButlerRegular;*/
  font-weight: 900;
}

.statisticsIndicatorSpacer {
  height: 4px;
  width: 40px;
  margin: 0 auto 30px auto;
  background-color: #292929;
}

@media (min-width: 768px) {
  .statisticsIndicatorContainer {
    flex-direction: row;
  }
  .statisticsIndicatorStaticsBox {
    margin: 0 100px 50px 100px;
  }
  .statisticsIndicatorHeader {
    margin-bottom: 50px;
  }  
}
/* END FAHRSCHULKLASSEN */

/* PROGRESS INDICATOR */
#progressIndicatorContainer {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
.progressIndicatorRow {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
.progressIndicatorRow:nth-child(2) {
  order: 3;
}
.progressIndicatorRow:nth-child(3) {
  order: 2;
}
.progressIndicatorCaption {
  text-align: center;
  margin-bottom: 25px;
}
.progressIndicatorCaption > p {
  font-size: 1.1em;
}
.progressIndicatorStripeContainer {
  display: flex;
  height: 80px;
  width: 180px;
  justify-content: center;
}
.progressIndicatorIndicator {
  width: 180px;
  height: 180px;
  background-color: #fff;
  border: 8px solid #ed1c24;
  border-radius: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #232323;
}
.progressIndicatorStripe {
  width: 8px;
  height: 100%;
  background-color: #ed1c24;
}
.progressIndicatorDescription {
  width: 100%;
  color: #232323;
  text-align: center;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  #progressIndicatorContainer {
    width: 80%;
  }
  .progressIndicatorRow {
    flex-direction: row;
    justify-content: center;
  }
  .progressIndicatorRow:nth-child(2) {
    order: 2;
  }
  .progressIndicatorRow:nth-child(3) {
    order: 3;
  }
  .progressIndicatorStripeContainer {
    height: 180px;
    width: 250px;
    align-items: center;
  }
  .progressIndicatorStripe {
    width: 100%;
    height: 8px;
  }
  .progressIndicatorDescription {
    width: 180px;
  }
  .progressIndicatorSpacer {
    height: 100%;
    width: 250px;
  }
}
/* END PROGRESS INDICATOR */

/* DRIVING LICENSES */
.drivingLicenseClassesContainer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.drivingLicenseClassesBoxWrapper {
  width: 100%;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 300px;
  margin-bottom: 75px;
}

.drivingLicenseClassesRow {
  margin: 50px 0;
}

.drivingLicenseClassesRow>p {
  font-size: 1.1em;
}

.drivingLicenseClassesIcon {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 20px;
  cursor: pointer;
}

.drivingLicenseClassesIcon>img {
  width: 80px;
}

.drivingLicenseClassesIcon>h3 {
  margin-top: 12px;
  border: 2px solid transparent;
  padding: 2px 8px;
  border-radius: 2px;
}

.drivingLicenseClassesBox>h1 {
  background-color: #000;
  padding: 0 10px;
  cursor: pointer;
}

#drivingClassesInfoSection {
  margin-top: -100px;
}

.drivingLicenseClassesBox {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.drivingLicenseClassesBoxB {
  background-image: url('./assets/img/vehicles/classB.jpg');
  background-size: auto 800px;
  background-position: center;
  background-repeat: no-repeat;
}

.drivingLicenseClassesBoxL {
  height: 200px;
  background-image: url('./assets/img/vehicles/classL.jpg');
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
}

.drivingLicenseClassesBoxA {
  height: 200px;
  background-image: url('./assets/img/vehicles/classA.jpg');
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
}

.drivingLicenseClassesBoxMofa {
  height: 200px;
  background-image: url('./assets/img/vehicles/classA2.jpg');
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
}

.drivingLicenseClassesBoxAM {
  height: 200px;
  background-image: url('./assets/img/vehicles/classAM.jpg');
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .drivingLicenseClassesBoxWrapper {
    grid-template-columns: 40% 35% 25%;
    grid-template-rows: 600px;
    margin-bottom: 100px;
  }
  .drivingLicenseClassesBoxL {
    height: 50%;
  }
  .drivingLicenseClassesBoxA {
    height: 67%;
  }
  .drivingLicenseClassesBoxMofa {
    height: 50%;
  }
  .drivingLicenseClassesBoxAM {
    height: 33%;
  }
}
/* END DRIVING LICENSES */

/* NEWS PAGE */
#newsMain {
  width: 100%;  
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f7f9fd;
}

#newsContainer {
  width: 100%;    
  margin-top: 75px;
  flex: 1;
  display: flex;  
  flex-direction: column;  
  align-items: center;
}

.newsContainerRow {
  width: 95%;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  #newsContainer {    
    margin-top: 125px;    
  }
  .newsContainerRow {
    width: 40%;
    margin-bottom: 20px;
  }
}
/* END NEWS PAGE */

/* NEWS POST */
.newsPostContainer {
  width: 100%;
  display: flex;  
  flex-wrap: wrap;  
  background-color: #fff;
  margin-bottom: 40px;
  padding: 10px 25px;
  border-radius: 2px;
  -webkit-box-shadow: 3px 3px 16px -4px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 3px 3px 16px -4px rgba(0, 0, 0, 0.75);
  box-shadow: 3px 3px 16px -4px rgba(0, 0, 0, 0.75); 
}

.newsPostHeading {
  display: flex;  
}

.newsPostHeading:nth-child(1) {
  display: flex;
  align-items: center;  
}

.newsPostHeading>div>h2 {
  margin-bottom: 0;
}
.newsPostDate {
  margin-top: 0;
  margin-left: 5px;
  color: #aaaaaa;
  font-size: 0.8em;
}

.newsPostSplitter {
  width: calc(100% - 30px);
  height: 1px;
  margin: 0 15px;
  background-color: #dcdcdc;  
}

.mewsPostSplitter > p {
  text-align: justify;
}

.newsPostLogoWrapper {
  height: 100%;  
  display: flex;
  align-items: center;
  align-self: center;
  padding: 15px 10px 0 10px;
}

.newsPostLogo {
  height: 35px;
  width: 35px;
  background-color: #232323;
  border-radius: 1px; 
  align-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.newsPostLogo>h1 {
  margin: 0;
  font-size: 0.8em;
  color: #fff;
  font-family: Fjalla One;
  text-transform: uppercase;
}
/* END NEWS POST */

/* ABOUT */
#aboutMain {
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: #f7f9fd;
}

.aboutContainer {
  width: 100%;
  margin-top: 75px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.aboutWrapping {
  display: flex;
  flex-direction: column;
  width: 90%;
}

.aboutPicturesContainer {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.aboutPicturesContainer>img {
  margin: 20px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
}

.aboutPicturesContainer>img:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}

.addressInfo {
  margin-bottom: 50px;
}

@media (min-width: 768px) {
  .aboutContainer {
    margin-top: 125px;
  }
  .aboutWrapping {
    width: 70%;
  }
}
/* END ABOUT */

/* DATA PROTECTION */
#dataProtectionMain {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f7f9fd;
}

.dataProtectionContainer {
  width: 100%;
  margin-top: 75px;
  flex: 1;
  display: flex;
  justify-content: center;
}

.dataProtectionWrapping {
  display: flex;
  flex-direction: column;
  width: 90%;
  word-wrap: break-word;
}

@media (min-width: 768px) {
  .dataProtectionContainer {
    margin-top: 125px;
  }
  .dataProtectionWrapping {
    width: 70%;
  }
}
/* END DATA PROTECTION */

/* IMPRINT */
#imprintMain {
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: #f7f9fd;
}

.imprintContainer {
  width: 100%;  
  margin-top: 75px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.imprintWrapping {
  display: flex;
  flex-direction: column;
  width: 90%;
}

.imprintWrapping>b { 
  margin-top: 20px;
}

@media (min-width: 768px) {
  .imprintContainer {
    margin-top: 125px;
  }
  .imprintWrapping {
    width: 70%;
  }
}
/* END IMPRINT */

/* CONTACT */
#contactMain {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f7f9fd;
}

#contactContainer {
  width: 100%;
  margin-top: 90px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contactRow {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px 0;
  padding: 0;
}

.contactColumn {
  width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 20px;
}

.contactHeader {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0 10px 35px 10px;
}

.contactHeader>div {
  margin-bottom: 25px;
}

.contactHeader>div>span {
  font-size: 2.5em;
  font-family: Fjalla One;
  font-weight: 700;
  color: #232323;
}

.contactHighlight {
  background-color: #232323;
  border-radius: 1px;
  color: #fff !important;
  padding: 5px 10px 0 10px;
  margin-left: 50px;
}

.contactHightlight2 {
  margin-left: 20px !important;
}

#contactForm {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.conactInput {
  width: 100%;
  border: 0px;
  border-bottom: 2px solid #c5a4a4;
  background-color: transparent;
  font-size: 1.5em;
  font-family: Fjalla One;
  border-radius: 0px;
  margin-bottom: 20px;
  resize: none;
}

.conactInput:focus {
  outline-width: 0;
  border-bottom: 2px solid #ed1c24;
}

.conactInput:active {
  border-bottom: 2px solid #8cbd3d;
}

.contactButton {
  font-size: 1.4em;
  font-weight: 500;
  font-family: Fjalla One;
  text-transform: uppercase;
  padding: 0.5em 0.75em;
  background-color: transparent;
  border: 2px solid #929292;
  color: #929292;
  border-radius: 2px;
  cursor: pointer;
  /*box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);*/
  transition: all 0.4s ease-out;
  margin: 20px 0;
  cursor: not-allowed;
}

.contactButtonValid {
  border: 2px solid #ed1c24;
  color: #ed1c24;
  cursor: pointer;
}

.arrow {
  color: #ed1c24;
  width: 40px;
  height: 60px;
  z-index: 1;
  /*change with size of arrow to make sit on bottom */
  /*   background-image: url(); */
  /*   background-size: contain; */
}

.arrow>i {
  font-size: 4em;
}

.bounce {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

@media (min-width: 768px) {
  #contactContainer {
    margin-top: 150px;
  }
  .contactRow {
    padding: 0;
  }
  .contactHeader {
    padding: 0;
  }
  .contactColumn {
    padding: 75px 75px 0 75px;
    width: 50%;
  }
  .contactHeader>div {
    margin-bottom: 50px;
  }
  .contactHeader>div>span {
    font-size: 4.5em;
  }
  .contactHighlight {
    margin-left: 250px;
  }
  .contactHightlight2 {
    margin-left: 150px !important;
    padding: 10px 20px 0 20px;
  }
  .contactButtonValid:hover {
    background-color: #ed1c24;
    color: #f2f2f2;
  }
  .contactButtonValid:focus {
    background-color: transparent;
  }
  .arrow>i {
    font-size: 5em;
  }
}

@media (min-width: 1920px) {
  .contactHeader>div>span {
    font-size: 5.5em;
  }
}

/* animations */

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

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
/* END CONTACT */

/* DRIVING CLASS POPUP */
#drivingClassesPopup {
  max-height: 80%;
  background-color: #fff;
  border-radius: 2px;
  position: fixed;
  left: 5%;
  right: 5%;
  top: 15%;
  padding: 5px 20px;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  z-index: 200;
}

.drivingClassesColumn {
  padding: 0;
}

@media (min-width: 768px) {
  #drivingClassesPopup {
    flex-direction: row;
  }
  .drivingClassesColumn {
    padding: 0 50px;
  }
}
/* END DRIVING CLASS POPUP */

#imgModal {
  max-width: 95%;
  max-height: 95%;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#imgModal > img {
  width: auto;
  height : auto;
  max-height: 100%;
  max-width: 100%;
}
