.calendar-cta-module-header-container{
  display:flex;
  width:100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 0px;
  background-color: none;
  color: black;
  margin:0px;
  font-family: Arial, Verdana, Helvetica;
}


#ptag-header{
  padding:0px;
}

.header-font{
  color:#fff;
}

.ptag-text{
  max-width:1000px;
}

.cta-optional-title {
  font-size: 20px;
  font-family: Arial, Verdana, Helvetica;
  margin: auto;
}

.calendar-cta-module-flex-container {
  display: flex;
  padding-top: 10px;
  padding-bottom: 10px;
  align-items: center;
  justify-content: center;
  margin: auto;
  background-color: var(--TRGGrey);
}

.calendar-cta-module-flex-child {
  flex:1 ;
  background-color: white;
  border: 1px solid black;
  align-items: center;
  text-align: center;
  min-width: 150px;
  min-height: 350px;
  max-width: 230px;
  padding: 25px;
  box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}



#main_cta{
  flex: 1.5 ;
  border: 1px solid black;
  min-width: 240px;
  min-height: 400px;
  margin-top: 5px;
  margin-bottom: 5px;
  background-color: #094d87;
  color: white;
}

#AltL{
  margin-left:10px;
  background-color: #2F4F4F;
  color: white;
}

#AltR{
  margin-right: 10px;
}

.button {
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  min-width: 80px;
  margin: 10px 5px 5px 5px;
  cursor: pointer;
  font-family: Arial, Verdana, Helvetica;
  font-weight: bold;
}

.alt-button {
  background-color: white; 
  color: #2F4F4F; 
  border: 1px solid #094d87;
}

.alt-button:hover {
  background-color: #094d87;
  color: white;
}

.right-button{
  background-color: #094d87;
  color:white;
}

.right-button:hover {
  background-color: #2F4F4F;
}

.main-button {
  background-color: #2F4F4F; 
  color: white; 
  border: 1px solid  black;
  margin-top:30px;
}

.main-button:hover {
  border: 1px solid #094d87;
  background-color: black;
  color: white;
}

.cta-desc-text {
  margin: auto;
  font-size: 14px;
  font-family: Arial, Verdana, Helvetica;
}

.cta-headaer {
  font-family: Arial, Verdana, Helvetica;
}

@media only screen and (max-width: 999px) {
  .header-font{
    font-size:22px;
  }
}

@media only screen and (max-width: 887px) {
  .calendar-cta-module-flex-child{
    min-height:421px !important;
  }
}

@media only screen and (min-width: 1000px) {
  .calendar-cta-module-flex-child {
    min-width: 302px;
    min-height: 408px;
    max-height: 600px;
  }

  #main_cta{
    min-width: 352px;
    min-height: 400px;
    max-height: 600px;
  }

}

@media screen and (max-width: 999px) and (min-width: 850px) {
  .calendar-cta-module-flex-child {
    min-width: 33.33%;
    max-width: 200px;
    min-height: 407px;
    max-height: 450px;
  }
  .calendar-cta-module-flex-child
  #main_cta{
    min-width: 33.33%;
    min-height: 400px;
    max-height: 500px;
  }

}

@media screen and (max-width: 849px) and (min-width: 731px) {
  .calendar-cta-module-flex-child {
    min-width: 33.33%;
    max-width: 150px;
    min-height: 395px;
    max-height: 450px;
  }

  #main_cta{
    min-width: 33.33%;
    min-height: 400px;
    max-height: 500px;
  }

}

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

  .calendar-cta-module-flex-child:nth-child(2) {
    order: -1  
  }

  .calendar-cta-module-flex-container {
    flex-direction: column;
    width: 100%;
  }

  .calendar-cta-module-flex-child {
    margin-top: 0vh;
    margin-bottom: 0vh;
    min-width: 90%;
    min-height: 150px;
    max-height: 600px;
  }

  #main_cta{
    min-width: 90%;
    min-height: 150px;
    max-height: 600px;
    margin-top:0px;
    margin-bottom:0px;
  }

  #AltL{
    margin-left:0px;
  }

  #AltR{
    margin-right: 0px;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 999999; /*this is to make is so the modal is the only thing shown when activated */
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}


.modal-content {
  margin: 10% auto;
  width: 80%;
  box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
  animation-name: modalopen;
  animation-duration: var(--modal-duration);
}


.modal-header h2,
.modal-footer h3 {
  margin: 0;
  font-size: 20em;
}

.modal-header {
  background: var(--TRGBlue);
  padding: 15px;
  color: #fff;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  text-align: center;
}

.modal-body {
  padding: 10px 20px;
  background: #fff;
}


.schedule-close, .form-close{
  color: #ccc;
  float: right;
  font-size: 30px;
  color: #fff;
}

.schedule-close:hover, .form-close:hover,
.schedule-close:focus, .form-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

@keyframes modalopen {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#form-content {
  min-width:300px;
  width: 40%;
}

/* ------------------------ Form Stlying ---- */



#form-body {
  display:block;
  background-color:white;
}


#form-body .field label {
  margin-top:10px;
  margin-bottom:4px;
  background-color:transparent; 
  font-family: Arial, Verdana, Helvetica;
  font-size: 17px;
  font-weight: 200;
}

.hs_message .hs-input,
#form-body .field input , #form-body .field textarea {
  margin-bottom:10px;
  padding:5px;
  background-color:white;
  width: 96%;
}

#form-body .field textarea {
  min-width: 200px;
  min-height: 50px;
  width: 96%;
}

#form-body .hs-button a {
  background-color: var(--lynchBlue);
  padding 15px !important;
  text-align: center;
  margin: 5px auto !important;
}

/*
#form-body .field:first-of-type {
width: 47%;
float: left;
}
#form-body .field:nth-child(2){
width: 47%;
float: right;	
}

#form-body .field:nth-child(3){
width: 47%;
float: none;	
}

#form-body .field:nth-child(4){
width: 47%;
float: none;	
}
*/



#form-body .hs-button {
  display:flex;
  justify-content: center;
  align-content:center;
  text-decoration:none;
  padding: 10px 20px;
  background-color: #094d87;;
  border: none;
  cursor: pointer;
  margin:10px auto;
  color:white;
  font-family: Arial, Verdana, Helvetica;
  font-size: 17px;
  font-weight: 200;
  text-align:center;
}

#form-body .hs-button:hover {
  background-color: black;
}

#form-body .hs-button:active {
  transform: scaleY(1.2);
}

/* ------------------------ Form Stlying for viewports smaller then 840 px ---- 
@media only screen and (max-width: 840px) { 

#form-body .field:first-of-type{
width: 100%;
float:none;
}

#form-body .field:nth-child(2),#form-body .field:nth-child(3),#form-body .field:nth-child(4),#form-body .field textarea {
width: 100%;
float:none;
}
*/
/* ------------------------ End Form Stlying ---- */ 


/*== Mobile == */
@media only screen and (max-width: 440px) { 
  .modal-content {
    margin: 10% auto;
    width: 98%;
  }
  .modal-body {
    padding:5px 0px 0px 0px;
  }
}
