
Theme Name: MJC
Author: Chloe Lane
Version: 1.0

*/

/* ============
     ALL
   =========== */

* {
  font-family: 'Source Serif Pro', serif;
  max-width:100%;
  
}

img {
  margin:0;
}

h1 {
  font-size:2rem;
}

@media (max-width:300px) {
  h1 {
    font-size:2rem;
}}

@media (max-width:650px) {
  h1 {
    font-size:2rem;
}}

@media (max-width:1314px) {
  h1 {
    font-size:1.5rem;
}}

h2 {
  font-size:3.5rem;
}

@media (max-width:300px) {
  h2 {
    font-size:2rem;
}}

@media (max-width:650px) {
  h2 {
    font-size:2.75rem;
}}

h3 {
  font-size:3rem;
}

@media (min-width:300px) {
  h3 {
    font-size:2rem;
}}

@media (max-width:650px) {
  h3 {
    font-size:2.5rem;
}}

h4 {
  font-size:2.5rem;
}

@media (min-width:300px) {
  h4 {
    font-size:2rem;
}}

@media (max-width:650px) {
  h4 {
    font-size:2.25rem;
}}

h5 {
  font-size:2rem;
}

@media (min-width:300px) {
  h5 {
    font-size:2rem;
}}

@media (max-width:650px) {
  h5 {
    font-size:2rem;
}}

h6 {
  font-size:1.5rem;
}

@media (min-width:300px) {
  h6 {
    font-size:1rem;
}}

@media (max-width:650px) {
  h6 {
    font-size:1.25rem;
}}



h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin:0;
}

img{
  display:block;
  max-width:100%;
}

body{
  margin:0;
  text-align:center;

}

a {
  text-decoration: none!important;
  
}


.container{

  display:-ms-grid;
  display:grid;
  -ms-grid-columns: (1fr)[12];
  grid-template-columns: repeat(12, 1fr);
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  max-width:100%;

}



button {
  border-style: solid;
  border-color: white;
  color:white;
  border-radius: 12px;
  background-color: transparent;
  background-repeat: no-repeat;
  overflow: hidden;
  width: 200px;
  height: 50px;
  font-size:1rem;
  margin:1rem;
  text-align:center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  
}

button a:visited {
  color:white;
  text-decoration: none;
}


video {
  min-width:100%;


}

@media (min-width:200px) {
  video {
    width:100%;

  }
}

.page-header {
  background-image: url("images/page-header-img.png");
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
  width:100% ; 
  height:550px;
  display:block;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;
  background-position: top;
}

@media (max-width:900px) {
  .page-header{
    height:400px;
  }
}

@media (max-width:600px) {
  .page-header{
    height:250px;
  }
}

@media (max-width:350px) {
  .page-header{
    height:200px;
  }
}

.page-header-title {
  margin-top:10%;
  color:white;
  font-size:2rem!important;
  margin-top:2rem;
}

.page-sub-title {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;
  margin-top:2rem;
}

.page-text {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;
  max-width:100%;
  margin-left:2rem;
  margin-right:2rem;
  margin-bottom:1.5rem;
  font-size:1.5rem;
  margin-top:2rem;
}

.page-title-1{
    -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;
  max-width:100%;
  margin-left:2rem;
  margin-right:2rem;
  margin-bottom:1rem;
  margin-top:1rem;
}

@media (max-width: 600px) {
  .page-text {
    font-size:1.2rem;
  }

}

.margin-top {
  margin-top:2rem;
}

/* ============
     NAVIGATION
   =========== */


nav {
  width: 100%;
  background: black;
}

nav ul {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

nav ul li {
  list-style: none;
  display: inline-block;
  padding: 20px;
  color:white;
  text-transform: capitalize;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  text-transform: capitalize;
}

.toggle {
  width: 25%;
  padding: 10px 20px;
  background: black;
  text-align: left;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: white;
  font-size: 30px;
  display: none;
  text-transform: capitalize;
}

@media (max-width: 1000px) {
  .toggle {
    display: block;
  }

 nav ul {
    width: 100%;
    display: none;
    color:white;
    text-transform: capitalize;
  }

  ul li {
    display: block;
    text-align: center;
    color:white;
    text-transform: capitalize;

  }

  nav .active {
    display: block;
  }

  .navbar-brand {
    display: none;
  }
}

.video-title {
  color:white;
  display:-ms-grid;
  display:grid;
  -ms-grid-columns: (1fr)[12];
  grid-template-columns: repeat(12, 1fr);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;


}

.logo-text {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.logo {
  width:80px;

}

@media (max-width: 1000px) {
  .logo {
    width:65px;
  }

}

@media (max-width: 400px) {
  .logo {
    width:45px;
    margin-left:1rem;
  }
}
.logo-main {
  margin-right:1rem;
  margin-top:1rem;

}


.page-title { 
  text-align:left;
  margin-left:1rem;
  margin-top:1.5rem;

 }

 @media (max-width: 1000px) {
  .page-title {
    margin-top:1.2rem;
  }

}
 @media (max-width: 400px) {
  h1 {
    font-size:1rem;
    margin-right:1rem;

  }

  .page-title {
    margin-left:0.2rem;
  }
}

.mjc-sub{
  font-size:1.5rem;
  text-align:left;
  margin-left:1rem;


}

@media (max-width: 1000px) {
  .mjc-sub {
    font-size:1rem;
  }

}
@media (max-width: 400px) {
  .mjc-sub {
    font-size:0.6rem;
    margin-right:1rem;
    margin-left:0.2rem;
  }

}
/* ============
     FOOTER
   =========== */

.footer-main {
  background-color:black;
  height:200px;
  color:white;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;

  }



.footer-left {
  text-align:left;
  padding:2rem;
}

.footer-right {
    
  padding:2rem;
  text-align:right;
  margin-left:40%;
}



.footer-text {
  font-size:1rem!important;
  padding:0.5rem;
  color:white;
}

.footer-text a:visited {
  color:white;
}

@media (max-width:400px) {
  .footer-text {
    font-size:0.3!important;
    padding:0.2rem;
  }
}

.footer-text a:visited {
  color:white;
}

.icon {
  margin-left:1rem;
  margin-top:0.5rem;
  color:#3b5998;
}

@media (max-width:400px) {
  .icon {
    margin-left:0.5rem;
  }
}

.icon:visited {
  color:#3b5998;
}

/* ============
     HOMEPAGE
   =========== */


.page-text {
  max-width:60%;
}

@media (max-width:900px) {}
.page-text {
  max-width:90%
}
}

.home-header {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;

}

.partner { 
  margin-top:1.5rem;
 }

.main-highlights {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;
  background-color: black;
  min-width:100%;
  margin-bottom:2rem;
  font-size:1.25rem;

}

.main-highlights {

  list-style: none;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  color:white;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;


}

.highlights {
  color:white;
  padding:1.25rem;

}

.home-thursday{
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;
  max-width:1000px;
  margin-left:2rem;
  margin-right:2rem;
  margin-bottom:2rem;
  font-size:1.5rem;
  max-width:90%;

}

@media (max-width: 600px) {
  .home-thursday {
    font-size:1.2rem;
  }

}

.home-thursday-features {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-bottom:2rem;


}

.home-beginners {
  background-image: url("images/beginners-class.png");
  width:350px;
  height:250px;
  background-repeat:no-repeat;
  background-size:cover;
  background-position:top;
  color:white!important;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin:1rem;

}

.home-beginners a:visited {
  color:white!important;
}

.home-beginners a:link {
  color:white!important;
}

.home-intermediate {
  background-image: url("images/intermediate-class.png");
  width:350px;
  height:250px;
  background-repeat:no-repeat;
  background-size:cover;
  background-position:top;
  color:white!important;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin:1rem;

}

.home-intermediate a:visited {
  color:white!important;
}

.home-intermediate a:link {
  color:white!important;
}


.home-freestyle {
  background-image: url("images/freestyle.png");
  width:350px;
  height:250px;
  background-repeat:no-repeat;
  background-size:cover;
  color:white!important;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin:1rem;
  text-decoration: none;

}

.home-freestyle a:visited {
  color:white!important;
  text-decoration: none!important;
}

.home-freestyle a:link {
  color:white!important;
}


.thursday-class {
  background-color: rgba(0,0,0,0.7);
  padding:0.5rem;
}

.home-newsletter {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;
  background-image: url("images/flyer.png");
  background-repeat:no-repeat;
  background-size:cover;
  background-position:top;
  min-width:80%; 
  height:700px;
  color:white;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom:2rem;
  -ms-flex-line-pack: center;
      align-content: center;
}

.flyer-main {
  font-size:4rem;
}

@media (max-width: 850px) {
  .flyer-main {
    font-size:3rem;
  }

}

.flyer-sub {
  font-size:3rem;
  margin-bottom:1rem;

}

@media (max-width: 850px) {
  .flyer-sub {
    font-size:2rem;
  }

}

.flyer-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-item-align: center;
      align-self: center;
}


.home-events-title {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;


}

.home-events-main {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;

}

.special-events-listings {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  margin:2rem;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;


}

.sub-events-title {
  font-size:2.25rem;
  margin-bottom:1.5rem;
}

.sub-events-info {
  font-size:1.5rem;

}

.event-button {
  color:black;
  border-color: black;
  font-size:0.9rem;
  width:150px;
  height:40px;
  background-color:white;
  text-transform: capitalize;
}

.event-button a:visited {
  color:black;
  text-decoration: none!important;
}


.event-border {
  border-style:solid;
  border-color:black;
  border-width: 3px;
  padding-bottom:1rem;
  margin:0.5rem;

  max-width:304px;
}

.events-thumbnail {
  max-width:300px;
  margin:0rem;
  margin-bottom:1rem;
  border-bottom:3px solid black;

}

.home-dancers-title {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;
  margin-bottom:2rem;

}

.home-our-dancers {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap:wrap;
      flex-wrap:wrap;
  max-width:900px;
  align-self: center;
  margin-bottom:2rem;

}

@media (max-width:1000px) {
  .home-our-dancers {
    max-width:100%;
  }
}

.our-dancers-image {
  max-width:350px;

}


/* ============
     ABOUT US
   =========== */



.about-two {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align:center;
      -ms-flex-align:center;
          align-items:center;
  -ms-flex-line-pack: center;
      align-content: center;
}


.about-member {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;
  color:black!important;
  width:65%;
  border-style: solid;
  border-color:black;
  padding:1.5rem;
  margin-bottom:2rem;

}

.about-member ul li {
  list-style: none;
  display: inline-block;
  padding: 20px;
  color:white;
  text-transform: capitalize;
}

.about-member ul {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.about-gdpr {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;

}

.black {
  color:black!important;
  font-size:1.5rem;
}

.about-member-black {
  color:black!important;
  width:100%;
}


.about-image {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-line-pack: center;
      align-content: center;
}

.about-image-2 {
  margin-bottom:2rem;
}

/* ============
     DANCE NIGHTS
   =========== */


.dance-times {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-wrap:wrap;
      flex-wrap:wrap;
  -webkit-box-pack: left;
      -ms-flex-pack: left;
          justify-content: left;
  margin-bottom:2rem;


}

@media (max-width:1150px) {
  .dance-times {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

.dance-times-content {
  text-align:left;
  max-width:50%;
  padding-left:1rem;
  margin-top:1rem;

}

@media (max-width: 850px) {
  .dance-times-content {
    max-width:80%;
    margin-left:0;
  }

}

.dance-night-image {
  width:425px;
  max-width:100%;

}

.dance-night-text {
  font-size:1.5rem;
  margin-top:0.5rem;
}

.all-times {
  width:80%;
  display:flex;
  justify-content: center;
  flex-direction: column;
}


/* ============
     SPECIAL EVENTS
   =========== */


.page-events-main {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;

}



.special-events-listings-page {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  margin:0rem;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-wrap:wrap;
      flex-wrap:wrap;
  margin-bottom:4rem;
}



.sub-events-title-page {
  font-size:2.25rem;
  margin-bottom:1.5rem;
  text-decoration: underline;
}

.sub-events-info-page {
  font-size:1.5rem;
  margin-right:1rem;

}

.event-border-page {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  margin-left:2rem;
  border-bottom:3px solid black;
  padding-bottom:1rem;
  margin:0.5rem;
  text-align:left!important;
  max-width:100%;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap:wrap;
      flex-wrap:wrap;
}


@media (max-width:750px) {
  .event-border-page {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align:center!important;

  }
}

.events-thumbnail-page {
  max-width:400px;
  margin:0rem;
  margin-bottom:1rem;
  margin-right:2rem;
  margin-top:1rem;

}

@media (max-width:750px) {
  .events-thumbnail-page {
    margin-right:0;

  }
}


/* ============
     VIDEOS
   =========== */



@media (max-width:1300px) {
  .wp-block-columns {
    flex-wrap:wrap;
    justify-content: center;
    padding:0;
    margin:0;
  }

.wp-block-columns {
  display:block!important;
}
.wp-block-column:not(:first-child) {
  margin-left:0!important;
}

.wp-block-column: nth-child(2n) {
    margin-left:0!important;
  }


}
/* ============
     GALLERY
   =========== */

.gallery-content {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;
  max-width:70%;
}

@media (max-width:800px) {
  .gallery-content {
    max-width:100%;
  }
}

/* ============
     CONTACT US
   =========== */

.find-us-title {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;
}

.find-us-map {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;
  margin-top:2rem;
  margin-bottom:2rem;
}

.find-us-info {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;
  margin-top:3rem;
  font-size:1.5rem;
  margin-left:2rem;
  text-align:left!important;
  min-width:250px;
  margin-bottom:3rem;
}

@media (max-width:500px) {
  .find-us-info {
    margin-left:0rem;
    margin-bottom:3rem;
    margin-top:1.5rem;
    text-align:center!important;

  }
}

.questions-title {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;
  margin-bottom:4rem;
  text-align:left!important;

} 

.contact-main {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -ms-flex-wrap:wrap;
      flex-wrap:wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.ninja-form {
  -ms-grid-column: 1;
  -ms-grid-column-span: 12;
  grid-column: 1 /  span 12;
  width:80%;
}

/* ============
     WORDPRESS
   =========== */



figcaption {
  padding: 40px 0px 9px!important;
}

.wp-block-gallery {
  padding:1rem!important;
}

.wp-block-column {
  flex-basis:auto;
}

@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
.wp-block-gallery .blocks-gallery-image figure, .wp-block-gallery .blocks-gallery-item figure { height: auto; }
 .wp-block-gallery figcaption,
.wp-block-image figcaption {
    left: 0;
    right: 0;
}
}

@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (-webkit-min-device-pixel-ratio: 2) {
.wp-block-gallery .blocks-gallery-image figure, .wp-block-gallery .blocks-gallery-item figure { height: auto; }
 .wp-block-gallery figcaption,
.wp-block-image figcaption {
    left: 0;
    right: 0;
}
}

.show-video {
  max-width:auto!important;
}