/*
* Mixin for easy media queries
* @include bp(tablet-only) { SCSS here };
* Default css is for mobile screens
*/

@font-face {
   font-family: "Open Sans,sans-serif; font-weight: 700;";
   src: url("../fonts/opensans/OpenSans-Regular.eot");
   src: url("../fonts/opensans/OpenSans-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/opensans/OpenSans-Regular.woff") format("woff"), url("../fonts/opensans/OpenSans-Regular.ttf") format("truetype"), url("../fonts/opensans/OpenSans-Regular.svg#OpenSans") format("svg");
 }
 
 @font-face {
   font-family: "Open Sans,sans-serif; font-weight: 800;";
   src: url("../fonts/opensans/OpenSans-Regular.eot");
   src: url("../fonts/opensans/OpenSans-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/opensans/OpenSans-Regular.woff") format("woff"), url("../fonts/opensans/OpenSans-Regular.ttf") format("truetype"), url("../fonts/opensans/OpenSans-Regular.svg#OpenSans") format("svg");
 }
 
 @font-face {
   font-family: "icomoon";
   src: url("../fonts/icomoon/icomoon.eot");
   src: url("../fonts/icomoon/icomoon.eot?#iefix") format("embedded-opentype"), url("../fonts/icomoon/icomoon.woff") format("woff"), url("../fonts/icomoon/icomoon.ttf") format("truetype"), url("../fonts/icomoon/icomoon.svg#icomoon") format("svg");
 }
 
 /*Sass Variables---------------------------------------------------------------------------*/
 
 /*=Global
 ---------------------------------------*/

html, body{ height: 100%;}
 
 html::-webkit-scrollbar {
   display: none;
 }

 .trivia #main-content p {
   margin: 0 0 20px 0;
   line-height: 1.3;
   font-size: 14px;
   font-variant-numeric: lining-nums;
 }
 /* images */

img {
  height: auto;
  max-width: 100%;
}
 /*=Icons
 ---------------------------------------*/
 
 [class^="icon-"],
 [class*=" icon-"],
 .filter-button-group ul li a:after,
 .filter-trigger:before, .video-trigger:before {
   /* use !important to prevent issues with browser extensions that change fonts */
   font-family: 'icomoon' !important;
   speak: none;
   font-style: normal;
   font-weight: normal;
   font-variant: normal;
   text-transform: none;
   line-height: 1;
   /* Better Font Rendering =========== */
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
 }
 
 .icon-tick:before,
 .filter-button-group ul li a:after {
   content: "\e901";
 }
 
 .icon-cross:before {
   content: "\e903";
 }
 
 .icon-arrow-top:before {
   content: "\e900";
 }
 
 .icon-timeline:before {
   content: "\e902";
 }

 .icon-video:before {
   content: "\e904";
 }

.icon-earth:before {
   content: "\e905";
 }
 
 /*=Defaults
 ---------------------------------------*/
  /*body,#mCSB_1 {
   font-family: "Open Sans,sans-serif; font-weight: 700;", sans-serif;
   line-height: 1.2;
   overflow-x: hidden;
   font-size: 15px;
   -webkit-font-smoothing: antialiased;
   background-color: #ffffff;
 }*/
 
 body.lft-menu-on,
 body.rgt-menu-on {
   overflow: hidden;
 }
 
 #mCSB_1 p {
   color: #212221;
 }

 #mCSB_1 p a {
   color: #868686;
   font-size:14px;
 }
 
 #mCSB_1 h2
 {
   font-family: "Open Sans,sans-serif; font-weight: 800;", serif;
   font-weight: normal;
   margin-bottom: 15px;
   margin-top: 0;
   line-height: 1.2;
   color: #212221;
   font-size: 22px;
   font-variant-numeric: lining-nums;
 }
 


 #mCSB_1 h3 {
    font-family: "Open Sans,sans-serif; font-weight: 800;", serif;
   font-size:16px;
   margin-bottom: 15px;
 }

 .flex-box {
   display: -webkit-flex;
   display: -ms-flexbox;
   display: flex;
   -webkit-justify-content: space-between;
   justify-content: space-between;
   -webkit-flex-wrap: wrap;
   flex-wrap: wrap;
 }
  
 /* Main Content Styles
 ---------------------------------------*/
 
 .scroll-wrap {
   height: 100vh;
   position: relative;
 }
 
 .pop-up {
   position: relative;
   width: 100%; 
   height: 100%;
   background-color: #000;
   padding: 20px 80px 0 40px;
	-webkit-box-shadow: -15px 0px 15px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: -15px 0px 15px 0px rgba(0,0,0,0.3);
	box-shadow: -15px 0px 15px 0px rgba(0,0,0,0.3);
 }
 
 .pop-up h1 {
   color: #fff;
   font-size: 20px;
   margin-bottom: 10px;
 }
 
 .pop-up h1 strong {
   font-size: 40px; 
   
   display: block;
   font-weight: normal;
 }
 
 
 .pop-up p {
   color: #ffffff!important;
   font-size: 16px;
 }
 
 .pop-up a.btn {
   border-color: #9b883b;
   font-size: 14px; 
	 color: #FFF;
	 padding: 10px 30px;
 }
 
/* .pop-up a.btn:hover {
   background-color: #9b883b;
   border-color: #9b883b;
   color: #ffffff;
 }*/

#mainvideo {
	margin-bottom:10px;
}
 
 .overlay {
   width: 100%;
   max-width:800px;
   height: 100%;
   position: fixed;
   z-index: 3;
   padding-top: 60px;
   top:0;
   right: 0;
   -webkit-transition: all 0.3s ease-in-out;
   -moz-transition: all 0.3s ease-in-out;
   -ms-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;
   transition: all 0.3s ease-in-out;
 }
 
 #main-content {
   position: relative;
   overflow: hidden;
   padding-top: 60px;
   height: 100vh;
   z-index: 1;
   width:100%;
   margin-bottom:0!important;

 }
 
 .post-pool {
   min-height: 101vh;
   overflow: hidden;
   transition: all 0.5s ease;
 }

.post-pool.inactive {
    -webkit-filter: grayscale(100%);
   filter: grayscale(100%);
}
 
 .post-item {
   width: 100%;
   float: left;
   background-color: #ffffff;
   text-align: center;
   box-shadow: inset -1px 0 0 #efefef, inset 1px 0 0 #efefef;
   overflow: hidden;
   border-bottom: 1px solid #efefef;
 }
 
 .post-item .post-desc {
   padding: 15px 20px 30px;
 }
 
 .post-item .post-media {
   overflow: hidden;
   padding: 0 1px;
   background-color: #efefef;
   width:calc(100% - 2px);
   width:-webkit-calc(100% - 2px);
   margin:0 auto;
 }
 
 .post-item .post-media img {
   -webkit-transition: all 1s ease-out;
   -moz-transition: all 1s ease-out;
   -ms-transition: all 1s ease-out;
   -o-transition: all 1s ease-out;
   transition: all 1s ease-out;
   margin:0 auto;
   transform: scale(1.05);
	
 }
 
 .top-controls {
   position: fixed;
   right: 0;
   z-index: 100;
   top: 60px;
 }
 
 .bottom-controls {
   position: fixed;
   z-index: 100;
   bottom: 0;
   right: 0;
 }
 
 .filter-trigger, .video-trigger,
 .scroll-top {
   background-color: #9b883b;
   width: 40px;
   text-align: center;
   cursor: pointer;
   -webkit-transition: all 1s ease-out;
   -moz-transition: all 1s ease-out;
   -ms-transition: all 1s ease-out;
   -o-transition: all 1s ease-out;
   transition: all 1s ease-out;
 }
 
 .filter-trigger {
   background-color: #9b883b;
   position: relative;
   z-index: 1;
   width: 40px;
   text-align: center;
   cursor: pointer;
 }

 
 .video-trigger {
   background-color: #9b883b;
   position: relative;
   z-index: 1;
   width: 40px;
   height:40px;
   text-align: center;
   cursor: pointer;
 }

 .filter-trigger:before {
   content: "\e9ca";
   color: #ffffff;
   font-size: 23px;
   line-height: 40px;
 }

 .video-trigger:before {
   content: "\e904";
   color: #ffffff;
   font-size: 17px;
   line-height: 40px;
 }

 
 .filter-trigger.active:before {
   content: "\e903";
   font-size: 18px;
 }

 .video-trigger.active:before {
   content: "\e903";
   font-size: 18px;
 }

.filter-trigger.active{
	background-color:#000;
}

.video-trigger.active{
	background-color:#000;
}
 
 .scroll-top i {
   color: #ffffff;
   font-size: 23px;
   line-height: 40px;
 }
 
 .start-date,
 .end-date {
   font-size: 12px;
   color: #fff;
   line-height: 40px;
   background-color: #9b883b;
   text-align: center;
   height: 37px;
 }
 
 .filter-button-group {
   position: fixed;
   height: 100%;
   padding: 50px 0 0 35px;
   width: 330px;
   right: -40px;
   top: 60px;
   z-index: 2;
   background-color: #000000;
   transform: translateX(100%);
   -webkit-transition: all 0.5s ease-in-out;
   -moz-transition: all 0.5s ease-in-out;
   -ms-transition: all 0.5s ease-in-out;
   -o-transition: all 0.5s ease-in-out;
   transition: all 0.5s ease-in-out;
   -webkit-box-shadow: -15px 0px 15px 0px rgba(0,0,0,0.3);
   -moz-box-shadow: -15px 0px 15px 0px rgba(0,0,0,0.3);
   box-shadow: -15px 0px 15px 0px rgba(0,0,0,0.3);
 }
 
 .filter-button-group.slide-in {
   transform: translateX(0%);
 }
 
 .filter-button-group ul {
   list-style-type: none;
 }
 
 .filter-button-group ul li {
   margin-bottom: 15px;
 }
 
 .filter-button-group ul li a {
   text-transform: capitalize;
   position: relative; color: #FFF;
 }
 
 .filter-button-group ul li a:before {
   content: "";
   display: inline-block;
   width: 14px;
   height: 14px;
   border: 1px solid #cacaca;
   margin-right: 10px;
   vertical-align: middle;
 }
 
 .filter-button-group ul li a:after {
   position: absolute;
   left: 0;
   top: 0;
   display: none;
 }
 
 .filter-button-group ul li a.active:after {
   display: block;
 }
 
 .filter-button-group h3 {
   color: #fff;
   font-size: 24px;
   margin-bottom: 10px;
 }

 body .mCSB_inside > .mCSB_container {
   margin-right: 40px;
   z-index: 99;
   overflow: visible;
 }
 
 body .mCSB_scrollTools {
   width: 80px;
   z-index: 99;
   opacity: 1;
   height: calc(100vh - 269px);
   top: 177px;
   position: fixed;
   overflow-y: hidden;  
 }
 
 body .mCSB_scrollTools .mCSB_draggerContainer {
   width: 80px;
   left: 0px;
   /*background: url(../images/time-line.png) repeat-y right 0;*/
   background: url(../media/time-line-alt.png) repeat-y right 0;
   padding-bottom: 10px;
 }
 
 body .mCSB_scrollTools:after {
   content:'';
   display:block;
   position:absolute; 
   width:10px;
   height:100%;
   right:13px;
   -webkit-mask-image: url(../media/dotted.svg);
   mask-image: url(../media/dotted.svg);
   -webkit-mask-size: 1px auto;
   mask-size: 1px auto;
   background: linear-gradient(0deg, #b5ae92, #b5ae92, #9a8e5f, #ffffff , #9a8e5f, #b5ae92, #b5ae92, #b5ae92, #b5ae92);
   background-size: 100% 250%;
   -webkit-animation: AnimationName 5s infinite;
   -moz-animation: AnimationName 5s infinite;
   animation: AnimationName 5s infinite;  
    
 
 }
 header{
   transform:none!important;
 }

  .trivia footer{
    display: none;
  }

 // @include bp(maxMD) {
 //  .trivia footer{
 //    position: relative; z-index: 99999; display: block;
 //   }
 // }

 @-webkit-keyframes AnimationName {
     0%{background-position:50% 250%}
     50%{background-position:50% 0%}
    100%{background-position:50% 0%}
 }
 @-moz-keyframes AnimationName {
     0%{background-position:50% 250%}
     50%{background-position:50% 0%}
    100%{background-position:50% 0%}
 }
 @keyframes AnimationName { 
     0%{background-position:50% 250%}
     50%{background-position:50% 0%}
    100%{background-position:50% 0%}
 }
 
 
 body .mCS-rounded.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
   background-color: #cc0000;
   width: 38px;
   height:25px;
   border-radius: 0;
   right: 0;
   line-height: 25px;
   font-size: 15px;
   font-weight: bold;
   color: #fff;
 }
 
 body .mCS-rounded.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar:before,
 body .mCS-rounded.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar:after {
   content: "";
   display: block;
   position: absolute;
 }
 
 body .mCS-rounded.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar:before {
   border-width: 12.5px;
   border-color: transparent transparent transparent #CC0000;
   border-style: solid;
   right: -25px;
 }
 
 body .mCS-rounded.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar:after {
   height: 1px;
   width: 30px;
   position: absolute;
   top: 12px;
   right: -41px;
   background-color: #CC0000;
 }
 
 body .mCS-rounded.mCSB_scrollTools .mCSB_draggerRail {
   display: none;
 }
 
 /* Footer Styles
 ---------------------------------------*/
 
 #footer {
   text-align: center;
   padding-top: 30px;
 }
 
 #footer p {
   color: #959595;
   font-size: 12px;
 }
 
 @media (min-width: 768px) {
   h1 {
     font-size: 38px;
   }
 
   h2 {
     font-size: 24px;
   }
 
   .container-fluid {
     padding-left: 30px;
     padding-right: 30px;
   }
 
   #header .branding {
     margin-right: 20px;
   }
 
   #header .feat-author {
     padding-top: 10px;
   }
 
   .nav-trigger {
     display: none;
   }
 
   .main-menu {
     display: inline-block !important;
   }
 
   .main-menu > ul > li a {
     line-height: 60px;
   }
 
   .main-menu ul li {
     display: inline-block;
   }
 
   .main-menu ul li a {
     padding: 0 10px;
   }
 
   .main-menu ul li ul {
     display: block !important;
   }
 
   .pop-up {
     padding: 20px 80px 0 40px;
   }
    
   .pop-up h1 strong {
     font-size: 36px;
   }
    
   .pop-up p {
     padding: 0;
	 font-size: 16px;
    }
 
   .post-pool {
     padding-bottom: 300px;
   }
 
   .post-item {
     width: calc(100% / 3);
   }
 }
 
 @media (min-width: 1280px) {
   h3 {
     font-size: 22px;
   }
 
   h4 {
     font-size: 20px;
   }
 
   #header .branding {
     margin-right: 40px;
   }
 
   .main-menu ul li a {
     padding: 0 30px;
   }
 
   .pop-up {
     padding: 20px 80px 0 40px;
   }
 
   .post-item {
     width: calc(100% / 4);
   }
 
   .no-touch .post-item:hover .post-media img {
     transform: scale(1.2);
   }
 }
 
 @media (min-width: 1400px) {
   .post-item {
     width: calc(100% / 5);
   }
 }
 
 @media (min-width: 1720px) {
   .post-item {
     width: calc(100% / 6);
   }
 }
 
 @media (max-width: 767px) {
	.overlay {
		max-width: calc(100% - 20px);	 
    }	 
   .pop-up {
	   padding: 20px 60px 0 20px;
   }
   #header {
     padding: 12px 0 0;
   }
 
   #header .col-2 {
     position: absolute;
     right: 0;
   }
 
   #header .branding {
     padding-bottom: 12px;
   }
 
   .main-menu {
     display: none;
     margin: 0 -15px 0;
     background-color: #ed4343;
     position: absolute;
     width: calc(100%);
   }
 
   .main-menu ul li:not(:last-child) {
     border-bottom: 1px solid #ef6060;
   }
 
   .main-menu ul li.has-children {
     padding-right: 45px;
   }
 
   .main-menu ul li.has-children:hover {
     background-color: #dc302b;
   }
 
   .main-menu ul li.has-children:hover > a {
     background-color: transparent;
   }
 
   .main-menu ul li.has-children i {
     position: absolute;
     right: 0;
     top: 0;
     width: 45px;
     text-align: center;
     line-height: 45px;
     color: #fff;
     transform: rotate(180deg);
     -webkit-transition: all 0.5s ease-in-out;
     -moz-transition: all 0.5s ease-in-out;
     -ms-transition: all 0.5s ease-in-out;
     -o-transition: all 0.5s ease-in-out;
     transition: all 0.5s ease-in-out;
     display: block;
   }
 
   .main-menu ul li.has-children i.menu-on {
     transform: rotate(0);
   }
 
   .main-menu ul li.has-children ul {
     display: none;
     width: 100%;
   }
 
   .main-menu ul li.has-children ul a {
     padding-left: 30px;
   }
/*  
   #main-content {
    height:100vh!important;
  } */
   html.touch, html.touch body{overflow: hidden;}
   body .mCSB_scrollTools{
    height: calc(100vh - 300px);
   }
   .filter-button-group{
     height:100vh!important;
   }
   .issafari #main-content {
    height: calc(100vh - 75px)!important;
  }
   body.issafari .mCSB_scrollTools {
     height: calc(100vh - 329px)!important;
   }
   body.issafari .filter-button-group {
    height: calc(100vh - 119px)!important;
  }   
  .bottom-controls {
    bottom: 0!important;
  }
  .pop-up p {
     padding: 0;
	 font-size:14px;
  }
  .pop-up h1 {
	font-size:16px;
  }
 }
 
 @media (min-width: 768px) and (max-width: 1279px) {
  html.touch, html.touch body{overflow: hidden;}
   .issafari #main-content {
     height: calc(100vh - 30px)!important;
   }
 
   body.issafari .mCSB_scrollTools {
     height: calc(100vh - 280px)!important;
   }
 }

.extra-content h2.number{
    font-family: "Open Sans,sans-serif; font-weight: 800;", serif;
    font-weight: normal;
    margin-bottom: 15px;
    margin-top: 0;
    line-height: 1.2;
    color: #212221;
    font-size: 22px;
    font-variant-numeric: lining-nums;
}



.extra-content p {
	color: #212221;
	line-height: 1.3;
    font-size: 15px;
	font-family: "Open Sans,sans-serif; font-weight: 700;", sans-serif;
  margin-top: 20px;
}

.extra-content p:first-of-type {
  margin-top: 0;
}

.extra-content {
	max-width:800px!important;
}

.extra-content p a{
	color: #cc0000;
	text-decoration: none;
}

.extra-content.withVideo {
  max-width: 800px;
}

.extra-content.withVideo iframe {
  height: 360px;
}

.extra-content.withVideo > div {
  margin: 0 -10px; height: 100%;
}

.extra-content.withVideo > div > div {
  float: right; width: 50%; padding: 0 20px;
}

@media (max-width: 1024px) {
  .extra-content.withVideo {
    max-width: 600px;
  }

  .extra-content.withVideo iframe {
    height: 476px;
  }  

  .extra-content.withVideo > div {
    margin: 0;
  }

  .extra-content.withVideo > div > div {
    float: none; width: 100%; padding: 0;
  } 
}