/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
  1. Global Stylings
    a. Primary Thon Header
    b. Tile Hover Effect
    z. General Classes
      i. page-leading
      ii. gold text block
      iii. 2x2 tile template
      iv. page benner template
  2. Nav Header
    a. Sub-Menu Links
    b. Sub-Menu Boarder Color
	3. Home Page
		a. Hero Image
    b. Milestone
    c. Meet Our Families
    d. Promo Video
    e. Events
    f. Merch and Store
    g. Corperate Sponsers
	4.



*/

/* --------------------------------------------------------------
>>> INFORMATION TO KNOW:
----------------------------------------------------------------

*/


/* ========== Global Stylings ==========
  Styling for classes that may be
  on any page on thon.org. IDs should
  rarely be used here (due to the nature
  of IDs).
*/

/* ----- Media Queries -----
  These are for adjusting certain classes
  based of the size of the screen where
  scarling with responsive units is difficult
  or unnecessary.
 */
 /* tablets and desktop */
@media only screen and (min-width: 768px) {
    h1.thon-header {
      font-size: 48px;
    }
    .page-lead {
      font-size: 24px;
    }
    .thon-header::before {
      content: url(./../2018/01/Ribbon3half.png);
    }
}
/* phones */
@media only screen and (max-width: 767px) {
    h1.thon-header {
      font-size: 24px;
    }
    .page-lead {
      font-size: 24px;
    }
    .thon-header::before {
      content: url(./../2018/01/Ribbon2half.png);
    }
}

/* ----- Primary Thon Header -----
    This header should be used for titles of
    a section on a page. A "ribbon bar" will be
    displayed underneath the next of these headers.
    Keep headers to one line.

    The pseudo-elements ::before and ::after attacted
    to this class are doing the job of adding the ribbon
    and the gradient bar.
 */

 /*  headers for Primary Thon Header */
h1.thon-header {
  display: block;
  font-family: "Gill Sans";
  font-weight: lighter !important;
  position: relative;
  background-repeat: no-repeat;
  background-position: 50%;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  background-position: center bottom;
  background: inherit;
  margin-bottom: 5%;
  text-transform: uppercase;
}
/* Ribbon */
.thon-header::before {
  /* content: url(./../2018/01/Ribbon3half.png); */
  position: absolute;
  left: 0;
  right: 0;
  top: 35px !important;
  z-index: 1
}
/* Faded Bars */
.thon-header::after {
  content: " ";
  position: absolute;
  height: 2.5px;
  left: 0;
  width: 100%;
  top: 56px;

  /* Permalink - use to edit this gradient: http://colorzilla.com/gradient-editor/#ffffff+20,e5e5e5+48,ffffff+48,ffffff+52,e5e5e5+52,ffffff+80 */
  background: #ffffff; /* Old browsers */
  background: -moz-linear-gradient(left, #ffffff 20%, #e5e5e5 48%, #ffffff 48%, #ffffff 52.5%, #e5e5e5 52.5%, #ffffff 80%); /* FF3.6-15 */
  background: -webkit-linear-gradient(left, #ffffff 20%,#e5e5e5 48%,#ffffff 48%,#ffffff 52.5%,#e5e5e5 52.5%,#ffffff 80%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right, #ffffff 20%,#e5e5e5 48%,#ffffff 48%,#ffffff 52.5%,#e5e5e5 52.5%,#ffffff 80%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
}

/* ----- Hovereffect -----
  General hovereffect with text overlay.
  See "Meet Out Family" section on the home page

  Example of how to use:

  <div class="no-padding col-lg-X col-md-X col-sm-X col-xs-X"> <!- Wrapper for responsive column, where X is your column value (12/# of col)->
    <div class="hovereffect"> <!- Wrapper for image and overlay ->
      <img src="http://placehold.it/400x400" alt="">
      <div class="overlay"> <!- Wrapper overlay text ->
        <h2>Title </h2> <!- h2 must be used for the title of the block ->
        <p>Example Text</p> <!- p tag must be used for the contents ->
        <a href="/path/to/wherever" target="_blank" class="btn btn-primary">Example Link</a>
      </div>
    </div>
  </div>

*/

.hovereffect {
  width: 100%;
  height: 100%;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
  background: #ffc915;
}

.hovereffect .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    padding: 50px 20px;
}

.hovereffect img {
  display: block;
  position: relative;
  max-width: none;
  width: 100%;
  height: 100%;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hovereffect:hover img {
  opacity: 0.4;
  filter: alpha(opacity=40);
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

.hovereffect h2 {
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  position: relative;
  font-size: 17px;
  overflow: hidden;
  padding: 0.5em 0;
  margin-top: -20px;
  background-color: transparent;
}

.hovereffect h2:after {
  position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 2px;
   background: #fff;
   content: '';
   -webkit-transition: -webkit-transform 0.35s;
   transition: transform 0.35s;
   -webkit-transform: translate3d(-100%,0,0);
   transform: translate3d(-100%,0,0);
}

.hovereffect:hover h2:after {
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

.hovereffect a, .hovereffect p {
  color: #FFF;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(100%,0,0);
    transform: translate3d(100%,0,0);
}

.hovereffect:hover a, .hovereffect:hover p {
  opacity: 1;
 filter: alpha(opacity=100);
 -webkit-transform: translate3d(0,0,0);
 transform: translate3d(0,0,0);
}

/* ----- General Classes -----
  Classes for general styling such as
  page lead ins, blocked text, etc.

*/

.page-banner, .tile-wrapper {
  margin-bottom: -35px !important;
}
.no-padding {
  padding: 0 0 0 0 !important;
}
/* ----- General Page Leading Paragraph -----
  Styling for page leading paragraph. Can really
  be used for any HTML tag.
 */
.page-lead {
  padding-left: 1em;
  padding-right: 1em;
  line-height: 100%;
}
/* ----- Gold Text Block ----
  Gold text block for whatever needed
  for. All letters are uppercase. Spacing
  above and below.
*/
.gold-text-block {
  margin-top: 3%;
  margin-bottom: 3%;
  padding-left: 1em;
  padding-right: 1em;
  color: #ffc915;
  font-size: 2rem;
  text-transform: uppercase;
}
/* 2x2 Tile template styling
  View 2x2 Tile template for HTML code
*/
.tiles{
  height: 50vh !important;
  text-align: center;
  font-size: 1.5em;
  background-repeat;
  background-size: cover;

}

.tile-text {
  padding-right: 5%;
  padding-left: 5%;
}

/* Page Banner template styling
  View Page Banner template for HTML code
 */

 .banner-text-left{
   position: absolute;
   text-align: left;
   top: 5%;
   width: 40%;
   left: 5%;
   color: white;
   line-height: 1.5;
   font-size: 2.5rem;
 }
 .banner-text-center{
   position: absolute;
   text-align: center;
   top: 5%;
   right: 0;
   left: 0;
   margin: auto;
   width: 40%;
   color: white;
   line-height: 1.5;
   font-size: 2.5rem;
 }
 .banner-text-right{
   position: absolute;
   text-align: right;
   top: 5%;
   width: 40%;
   right: 5%;
   color: white;
   line-height: 1.5;
   font-size: 2.5rem;
 }

/* ========== Button Row Styling ========== */
.large-button {
  width: 20vw;
  height: 50px;
  font-size: 20px;
  padding-top: 10px;
  background-color: #14245F;
}
.large-button:hover {
  background-color: #29376D;
}

/* ========== Nav Header Styling ========== */

/* Sub-Menu Links */
.main-navigation .menu-main-menu li li a:hover {
  color: #FFC915;
}

/* Sub-Menu Boarder Color */
.main-navigation .menu-main-menu li ul {
  border-top: 2px solid #FFC915;
}

#menu-item-21 {
  /*background-color: gold;
  margin-top: 10px;
  height: 10px;*/
}

/* ========== Home Page Styling ========== */

/* ----- Hero Image -----
  Specific styling for the Hero Image
  at the beginning of the home page.
*/
/* ----- Media Queries -----
  These are for adjusting certain classes
  based of the size of the screen where
  scarling with responsive units is difficult
  or unnecessary.
 */
@media only screen and (min-width: 768px) {
    /* tablets and desktop */
    .video-text {
      font-size: 42px;
    }
    .dance-font {
      font-size: 64px;
    }
    #hero-link {
      font-size: 17.5px;
    }
}

@media only screen and (max-width: 767px) {
    /* phones */
    .video-text{
      font-size: 16px;
    }
    .dance-font {
      font-size: 20px;
    }
    #hero-link {
      font-size: 8px;
    }
}
#hero-video {
  position: relative;
  display: inline-block;
}
#hero-link {
  background-color: #ffc915 !important;
  opacity: 1 !important;
  border: none;
  height: 2.5em;
  padding: 2% 2.5% 0 2.5% !important;
  text-shadow: none;
}
#hero-link:hover {
  color: white;
}
video {
  display: block;
}
.video-text {
  position: absolute;
  font-family: gill sans;
  color: #F5F5F5;
  /*opacity: .8;*/
  text-shadow: 2px 2px 10px grey;
  letter-spacing: 2px;
  font-weight: lighter;
  display: inline-block;
  line-height: 100%;
}
.dance-font {
  font-family: "Dancing Script" !important;
  color: #ffc915;
  display: inline-block;
}
#left-home-text {
  left: 2.5%;
  top: 0%;
  margin-top: 15px;
  display: inline-block;
}
#right-home-text {
  bottom: 7.5%;
  text-align: right;
  right: 2.5%;
  display: inline-block;
}

/* ----- Milestone Section -----
  Specific styling for the Milestone Section
  of the home page.
*/
/* ----- Media Queries -----
  These are for adjusting certain classes
  based of the size of the screen where
  scarling with responsive units is difficult
  or unnecessary.
 */
@media only screen and (min-width: 768px) {
    /* tablets and desktop */
    #milestone-header {
      font-size: 40px;
    }
    .milestone-stat{
      font-size: 72px;
    }
    .milestone-desc {
      font-size: 20px;
    }
    .hover-wrapper {
      display: flex;
    }
}

@media only screen and (max-width: 767px) {
    /* phones */
    #milestone-header {
      font-size: 20px;
    }
    .milestone-desc {
      font-size: 24px;
    }
    /* Milestone Table reformat for mobile */
    #milestone-table thead {
      clip: rect(0 0 0 0);
      overflow: hidden;
      position: absolute;
    }
    #milestone-table tr {
      padding-top: 50px;
      display: block;
      color: #FFC915 !important;
    }
    #milestone-table td {
      display: block;
      font-size: 56px !important;
    }
    #milestone-table td:before {
      content: attr(data-label);
    }
    #read-more-button {
      /* background: #ffc915; */
      /* height: 47.5vw; */
      /* height: 240px; */

    }
}
#milestone-wrapper {
  background-image: url(./../2018/01/Hero_banner_4.jpg) !important;
  background-size: cover;
  background-attachment: fixed;
  width: 100%;
  height: 100%;
  color: white;
}
#milestone-header {
  padding-top: 2.5em;
  display: inline-block;
  font-weight: normal;
  text-transform: uppercase;
  position: relative;
  letter-spacing: 2px;
  text-align:center;
  line-height: normal;
}
.milestone-stat{
  margin-top: 100px;
  color: #FFC915;
  margin-bottom: -25px;
}
.milestone-desc {
  color: #ffffff;
  padding-bottom: 2.5em;
  letter-spacing: 1px;
}
/* ----- Meet Our Family -----
  Specific styling for the Meet Our Family
  Section of the home page.
*/

#read-more-button {
  background: #ffc915;
}
#read-more-button p {
  padding-top: 36%;
  text-align: center;
  font-size: 30px;
  line-height: normal;
}
#read-more-button a:hover {
  color: #fff;
}

/* ----- Promo Video -----
  Specific styling for the Promo Video
  Section of the home page.
*/
#promo-wrapper {
  background-image: url(./../2018/01/Hero_banner_4.jpg) !important;
  background-size: cover;
  background-attachment: fixed;
  padding-top: 5%;
  padding-bottom: 5%;
}
/* ----- Events -----
  Specific styling for the Events
  Section of the home page.
*/
.event -title {
  font-weight: lighter !important;
  text-transform: uppercase !important;
  margin-bottom: -5px;
}

/* ----- Merch and Store -----
  Specific styling for the Merch and
  Store Section of the home page.
*/
#merch-wrapper {
  color: white;
  text-transform: uppercase;
  text-align: center;
  font-size: 3rem;
  padding-bottom: 5%;
}
.merch-row {
  max-height: 100px;
  overflow: hidden;
  transition: max-height 0.25s;
  -webkit-transition: max-height 0.25s;
  -moz-transition: max-height 0.25s;
  -ms-transition: max-height 0.25s;
  -o-transition: max-height 0.25s;
}
.merch-row:hover {
  max-height: 200px;
  height: 200px;
}
/* Individual Merch Row Ids */
#merch1 {
  background: linear-gradient(rgba(255, 201, 21, .4), rgba(255, 201, 21, 0.4)),
                rgba(20, 36, 95, 0) url() no-repeat center;
}
#merch1:hover {
  background: linear-gradient(rgba(255, 201, 21, .4), rgba(255, 201, 21, 0)),
                rgba(20, 36, 95, 0) url() no-repeat center;
}
#merch2 {
  background: linear-gradient(rgba(20, 36, 95, .2), rgba(20, 36, 95, 0.2)),
                rgba(20, 36, 95, 0) url() no-repeat center;
}
#merch2:hover {
  background:  linear-gradient(rgba(20, 36, 95, 0.4), rgba(20, 36, 95, 0)),
                rgba(20, 36, 95, 0) url() no-repeat center;
}
#merch3 {
  background: linear-gradient(rgba(255, 201, 21, .4), rgba(255, 201, 21, 0.4)),
                rgba(20, 36, 95, 0) url() no-repeat center;
}
#merch3:hover {
  background: linear-gradient(rgba(255, 201, 21, .4), rgba(255, 201, 21, 0)),
                rgba(20, 36, 95, 0) url() no-repeat center;
}
