@font-face{
  font-family: 'Barchella Drumal';
  src: url(../fonts/barchella_drumal.woff2);
}

@font-face{
  font-family: 'Sans Serif Book FLF';
  src: url(../fonts/sansserifbookflf.woff2);
}

@font-face{
  font-family: 'San Serif FLF Demibold';
  src: url(../fonts/sansserifflf-demibold.woff2);
}

@font-face{
  font-family: 'San Serif FLF';
  src: url(../fonts/sansserifflf.woff2);
}


@font-face{
  font-family: 'fontawesome';
  src: url(../fonts/fa-solid-900.woff2);
}


* {
  box-sizing: border-box;
}


html {
  height: 100%;
  margin: 0;
}

body {
  font-family: 'San Serif FLF Demibold';
  font-size: 1.7em;
  background-image: url("../images/background.png");
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
  height: 100%;
}

a {
  color: inherit;
}

.titles {
  font-family: 'Barchella Drumal';
  font-size: 1.8em;
  text-align: center;
  margin-bottom: 60px;
}

.mainContent {
   min-height: 52vh;
   margin: 50px 80px 0px 80px;
}

#modalContent2 {
  display: none;
  text-align: center;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('../images/teselation2.png');
  background-position: center;
 }

 .headerOld {
  width: auto;
  background-color: white;
  border: outset;
  display: flex;
  justify-content: center;
  align-items: center;
 }


 .comingSoon {
  text-align: center;
  width: auto;

  font-family: 'San Serif FLF Demibold';
 }


 .newsMessage {
  text-align: center;
  width: auto;
  font-size: .95em;
  font-family: 'San Serif FLF Demibold';
  margin-top: 50px;
  margin-bottom: 30px;
 }


 .mainImage {
   display: flex;
   align-content: center;
   justify-content: center;
   margin: 20px;
 }

 .mainImage img{
  height: auto;
  max-width: calc(100% - 40px);
 }

 .fatherDDance {
  height: auto; 
  max-width: calc(45% - 40px);
 }

 .mainAd {
  height: auto; 
  max-width: calc(50% - 40px);
 }

 .defaultTextSection {
  font-size: 0.75em;
  margin: 0px 230px 70px 230px;
  line-height: 1.70em;
 }

 .shownLink {
  text-decoration: underline;
  color: #3a515f;
  cursor: pointer;
 }

 .contactUsForm {
  cursor: pointer;
 }


 #emailForm_indSubject_label {
   display: none;
 }


 .footer {
   width: 100%;
   padding: 10px 0;
   color: white;
   justify-content: center;
   text-align: center;
   align-items: center;
   background-color: #333;
   font-size: .7em;
   font-family: 'Sans Serif Book FLF';

 }

 .footer div {
   width: 100%;
   padding-top: 10px;
   display: flex;
   padding-bottom: 20px;
   justify-content: center;
   text-align: center;
   align-items: center;
 }

 .footer div:last-child {
   padding-bottom: 10px;
 }


 .footer span {

   padding: 10px;
   justify-content: space-between;
  text-align: center;
  align-items: center;

 }


 .iFramesDiv {
   display: flex;
   justify-content: center;
   text-align: center;
   margin: 0;
   padding: 1rem;
   margin-bottom: 40px;
   position: relative;
   overflow: hidden;
 }

 .iFrameItem {
  display: flex;
  justify-content: center;
   text-align: center;
   width: 50rem;
   height: 35rem;
 }


 .clearIt {
   clear: both;
 }


 .navBar {
   display: flex;
   align-items: center;
   background-color: #333;
   color: white;
   width: 100%;
   font-family: 'San Serif FLF Demibold';
 }

 .navRow {
   position: relative;
   font-size: .65em;
   margin: 0;
   padding: 0;
   min-height: 40px;
   margin-top: 0px;
   top: 0;
   left: 0;
   width: 100%;
 }



 .navTopLinks {
  display: flex;
 }

 .navLinks ul {
   margin: 0;
   padding: 0;
   list-style: none;
   text-transform: uppercase;
 }


 .navLinks ul li {
   width: 100%;
   text-align: center;
   position: relative;
 }

 .navLinks ul li a {
   color: white;
   text-decoration: none;
   /* text-transform:uppercase; */
   padding: 10px;
   display: block;
 }

 .navLinks ul li a:hover {
   color: white;
   background-color: #3A515F;
   text-decoration: none;
 }

 /* .navLinks ul {
  justify-content: space-between;
   margin: 0;
   padding: 0;
   display: flex;
   text-align: center;
 }

 .navLinks ul li {
   list-style: none;
   text-align: center;
   position: relative;
   white-space: nowrap;
 }

 .navLinks ul li a {
   text-decoration: none;
   color: white;
   padding: 10px;
   display: block;
 } */


 .navLinks .navTopLinks .liTopLink:hover {
  text-decoration:underline;

}


.toggleButton {
  position:absolute;
  margin-top: 0.50em;
  right: 1em;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  z-index: 5;
}

.toggleButton .bar {

  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 10px;
}


.subMenu {
  position: absolute;
  width: 100%;
  background-color: #333;
  flex-wrap: wrap;
  visibility: hidden;
  transition: 0.15s;
  left: 0;
  text-decoration: none;
  /* display:none; */
  /* top: -600% */
  /* z-index: -1; */
}

.navLinks ul li:hover .subMenu {
  visibility: visible;
}

.subMenu li {
  z-index: 3;
}


.modal {
  position: fixed;
  background-color: rgba(0,0,0,0.5);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  overflow: auto;
  display: none;
  justify-content: center;
  align-items: flex-start;
}

.modal.modal-show .modal-content {
  animation: fadeInDown 0.5s ease-in-out forwards;
}

.modal.modal-hide .modal-content {
  animation: fadeInUp 0.3s ease-in-out forwards;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-3rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOutUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-3rem);
  }
}


.modal-content {
  position: relative;
  background-color: #ffffff;
  width: 40%;
  max-height: 100%;
  min-width: 600px;
  margin: 2rem;
  padding: 2rem;
  border-radius: 0.25rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  overflow: auto;
  font-size: 0.8em;
}

.modal-content h1 {
  text-align: center;
  margin-bottom: 2rem;
}


.modal-content p {
  margin: 1rem 0;
  line-height:  1.5rem;
}

.modal-close {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.75em;
  font-weight: bold;
  padding: 0 0.75rem;
  color: rgba(0,0,0,0.2);
  cursor: pointer;
  user-select: none;
}

.modal-close:hover, .modal-close:focus {
  color: rgba(0,0,0,0.5);
}


.emailFormLabel {
  padding: 0.5rem 0.15rem 0 0.15rem;
  font-size: 0.85em;
}

.emailFormElement {
  padding: 0.25rem;
  margin-bottom: 0.15rem;
  width: 100%;
}

.emailFormMobile{
  width: 26rem;
}


 .beige {
  color: 'EADEC8';
}

.lightYellow {
  color: 'fddb9c';
}

.orangeYellow {
  color: 'FEC156';
}

.lightBlue {
  color: 'B3BEC2';
}

.medBlue {
  color: '829AA4';
}

.darkBlue {
  color: '3A515F'
}

.blackBlue {
  color: '1F1E23';
}



@media only screen and (max-width: 1400px) {

  .defaultTextSection {
    font-size: 0.75em;
    margin: 0px 30px 70px 30px;
    line-height: 1.70em;
  }
}


 @media only screen and (max-width: 1200px) {

  .mainImage {
    height: auto;
  }

  .mainAd {
    height: auto; 
    max-width: calc(60% - 40px);
   }

 }




 @media only screen and (max-width: 730px) {

  .header {
    width: 100%;
    height: auto;
  }

  .toggleButtonBox{
    width: 100%;
    align-items: right;
    justify-content: right;
  }

  .mainContent {
    min-height: 45vh;
    margin: 30px 0px 0px 0px;
  }

  .titles {
    font-size: 1.4em;
  }

  
 .fatherDDance {
  height: auto; 
  max-width: calc(55% - 40px);
 }

 .mainAd {
  height: auto; 
  max-width: calc(90% - 40px);
 }


  .footer {
    width: 100%;
    font-size: .6em;
    clear:both;
  }

  .header img {
    align-items: center;
    height: auto;
    width: 100%;
   }

   .comingSoon {
    font-size: 1.10em;
   }

   .newsMessage {
    font-size: .75em;
    margin-bottom: 2rem;
   }


   .mainImage {
    height: auto;
  }


   .toggleButton {
     display: flex;
   }

   .navBar {
     flex-direction: column;
     align-items: flex-start;
     margin-top: 3px;
     margin-bottom: 2rem;
   }

   .navLinks {
     display: none;
     width: 100%;
   }


   .navLinks ul {
     width:100%;
     flex-direction: column;
   }

   .navLinks ul li a {
    /* text-align: center; */
    padding-left: 35%;
  }


   .navLinks li a {
     padding: .5em 1em;
   }

   .navLinks.active {
     display: flex;
   }

   .subMenu {
     position: relative;
     left: 0;
     top: 0;
     transition: none;
     visibility: visible;
     display: none;
     /* z-index: -1; */
   }

   .subMenu li {
     margin-left: 3%;
     text-align: left;
     text-decoration: none;
   }


   .navLinks ul li {
    width: 100%;
    text-align: left;
    text-decoration: none;
  }

  .navLinks .navTopLinks .liTopLink:hover {
    text-decoration: none;
  }

  .navLinks .navTopLinks .liTopLink:hover .dropDown {
    text-decoration:underline;
  }

   .display {
     display: block;
   }

   .modal-content {
     padding: 1rem 0.5rem 0.5rem 0.5rem;
     margin: 0.75rem;
     width: 100%;
     min-width: 0px;
     font-size: 0.7em;
   }

   .modal-content h1{
    margin-bottom: 1.5rem;
   }


   .emailFormMobile{
    width: 95%;
  }
 }
