/*!
 * Start Bootstrap - Scrolling Nav (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */
@font-face {
    font-family: NexaBold;
    src: url("../fonts/NexaBold.woff") format("woff");
}

body{
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    line-height: 30px;
    color: #0D0D0D;
    text-align: justify;
}

.btn{
  font-family: 'Fira Sans';
}

.navbar-brand, .navbar-nav{
    font-family: 'NexaBold';
}

#scrolltop:hover {
    opacity: 1.0;
}

.even-section{
    background: #FFFFFF;
}

.odd-section{
    background: #144371;
    color: #fff;
}

.even-section h1, .odd-section h1{
    font-size: 45px;
    font-family: 'NexaBold';
    text-align: center;
    padding: 20px;
    color: #DAA520
    /* color: #2e3047 */
}

.odd-section h1{
  color: #DAA520;
  /* color: #fff; */
}

.home-section {
    min-height: 100%;
    width: 100%;
    overflow: hidden;
}

.index-video-wrapper video{
    width: 100%;
    height: 100%;
}

.volume-mute{
    position: absolute;
    bottom: 10px;
    right: 10px;
    margin-left: -20px;
    width: 40px;
    height: 40px;
    color: #EFEFEF;
}

.volume-mute:hover{
    color: #D8D8D8;
}

.about-section{
    min-height: 100%;
    padding-top: 80px;
    padding-bottom:  50px;
    overflow: hidden;
}

.about-section .row{
    display: block;
    height: 100%;
    width: 100%;
}


#mega-logo img{
    display: block;
    margin: auto;
    position: absolute;
}


#megaworld-winning-formula{
    font-family: 'Fira Sans', sans-serif;
    background: #000058;
    min-height: 150px;
    text-align: center;
    font-size: 35px;
    color: #FFFFFF
}

.concept :hover{
  color: #c0cde0;
}

#megaworld-winning-formula span{
    padding: 20px;
}

.townships-section {
    min-height: 120%;
    padding-top: 50px;
    text-align: center;
    padding-bottom: 150px;
    background-color: #000058;
    /* background-color: #151e49; */
}

.townships-section h1{
  color: #DAA520;
  /* color: #fff; */
}

::-webkit-scrollbar {
  width: 1px;
  height: 1px;
}

::-webkit-scrollbar-button {
  width: 1px;
  height: 1px;
}

.horizontal-scroll-wrapper{
    display: block;
    width: 100%;
    max-height: 275px;
    margin: 0;
    overflow-y: auto;
    overflow-x: auto;
    white-space: nowrap;
}

.horizontal-scroll-wrapper > .township-box{
    margin-top: 5px;
    width: 200px;
    height: 260px;
    display: inline-block;
    background: #FFFFFF;
    margin-left: 5px;
    box-sizing: border-box;
    position: relative;
    /* border: 1px solid #1A3B7B; */


}

.flip-container {
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -o-perspective: 1000;
    perspective: 1000;

    /* border: 1px solid #ccc; */
}

.flip-container:hover .flipper,
.flip-container.hover .flipper {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.flip-container, .front, .back {
    width: 100%;
    height: 100%;
}

.flipper {
    -webkit-transition: 0.6s;
    -webkit-transform-style: preserve-3d;

    -moz-transition: 0.6s;
    -moz-transform-style: preserve-3d;

    -o-transition: 0.6s;
    -o-transform-style: preserve-3d;

    transition: 0.6s;
    transform-style: preserve-3d;

    position: relative;
    height: 100%;

    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
}

.front, .back {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;

    position: absolute;
    top: 0;
    left: 0;
    padding: 10px;
}

.front {
    z-index: 2;
    display: block;
    height: 100%;
    width: 100%;
}

.back {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
    background: #2D5196;
    color: #FCFCFC;
}

.back p{
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    padding: 10px;
    line-height: 2em;
    font-size: 12px;
    height: 80%;
    overflow-y: auto;
    white-space: normal;
}

.back a{
    left: 0px;
    bottom: 0px;
    position: absolute;

}

.front img{
    width: 100%;
    padding: 10px;
    max-width: 180px;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.projects{
    display: block;
    width: 100%;
    max-height: 110px;
    margin: 20px 0 0 0;
    overflow-y: auto;
    overflow-x: auto;
    white-space: nowrap;
}

.projects > .project-box{
    width: 150px;
    height: 100px;
    display: inline-block;
    margin-left: 5px;
    box-sizing: border-box;
    position: relative;
}

.project-box  img{
    max-width: 130px;
    display: block;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.project-box:hover{
    width: 150px;
}

.news-section {
    min-height: 100%;
    padding-top: 50px;
    text-align: center;
    padding-bottom: 150px;
    /* margin-bottom: 150px; */
}

.featured-news{
    margin: 0px;
    padding: 0px;
    max-height: 350px;
}

.featured-news > img{
    width: 100%;
    max-height: 350px;
}

.featured-news > .featured-news-title{
    position: absolute;
    bottom: 0;
    width: 100%;
    max-height: 100%;
    background: rgba(255,255,255,0);
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(8,8,8,0.92) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(255,255,255,0)), color-stop(100%, rgba(8,8,8,0.92)));
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(8,8,8,0.92) 100%);
    background: -o-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(8,8,8,0.92) 100%);
    background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(8,8,8,0.92) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(8,8,8,0.92) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#080808', GradientType=0 );
}

.featured-news-title > p {
    font-size: 24px;
    font-weight: bold;
    text-align: left;
    color: #FAFAFA;
    padding: 20px;
}

.featured-news-title > p > a{
    text-align: left;
    text-decoration: none;
    color: #FAFAFA;
}

.featured-news-title > p > a:hover{
    color: #C1C1C1;
}

.other-news{
    padding-left: 10px;
    max-height: 350px;
    height: 350px;
    display: block;
    margin: auto;
    border: 1px solid #E1DFDF;
}

.other-news > .other-news-label{
    font-weight: bold;
    font-size: 14px;
    color: #FFFFFF;
    text-align: left;
}

.other-news-label > span{
    background: #1474D7;
    padding: 5px;
}

.other-news > .sub-news-title{
    text-align: left;
    color: #131313;
    width: 100%;
    border-bottom: 2px solid #E9E9E9;
    padding: 5px;
}

.sub-news-title > a{
    text-decoration: none;
    color: #0F0F0F;
}

.sub-news-title > a:hover, .other-news-more > a:hover{
   color: #0B497E;
}

.other-news > .other-news-more{
    text-align: right;
    font-weight: bold;
    font-size: 12px;
    padding: 5px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.other-news-more > a{
    color: #181818;
    text-decoration: none;
}

.apply-section {
    min-height: 100%;
    padding-top: 120px;
    text-align: center;
    padding-bottom: 150px;
}

.announcement-section {
    min-height: 100%;
    padding-top: 50px;
    text-align: center;
    padding-bottom: 150px;
}

.event-info{
    height: 400px;
    display: block;
    text-align: left;
}

.event-title{
    font-size: 19px;
    font-weight: bold;
}

.event-subtitle{
    padding: 10px;
}

.event-subtitle > .help-block{
    color: #747474;
    margin: 0px;
}

.event-reg-btn{
    margin-top: 20px;
}

.event-deadline{
    position: absolute;
    bottom: 0;
    font-size: 12px;
}

.event-ads{
    height: 400px;
    display: block;
    background: #ccc;
    overflow: hidden;
    padding: 0px;
}

.event-ads > img{
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
}

.faq-section {
    min-height: 100%;
    padding-top: 100px;
    text-align: left;
    padding-bottom: 150px;
    color: #111324;
}

.faq-bg{
    height: 100%;
    position: absolute;
    padding-top: 0px;
    margin-top: -100px;
}

.faq-bg > i{
    font-size: 450px;
    color: #CDCDCD;
    padding-left: 100px;
}

.faq-section .panel-heading{
    background-color: #fff !important;
}

.faq-section .panel-title{
    color: #0B0B0B;
    font-family: 'Roboto', sans-serif;
}

.faq-section .panel-title > .caret{
    color: #ccc;
}

.faq-section .list-group-item{
    border: 0px;
}

.faq-question{
    font-weight: bold;
}

.faq-answer{
    /* padding-left: 20px; */
    text-align: justify;
}

.contact-section {
    min-height: 100%;
    /* padding-top: 50px; */
    text-align: center;
    /* padding-bottom: 150px; */
}

.contact-section .tab-content{
    text-align: left;
}

.links-section{
    min-height: 100%;
    padding-top: 50px;
    text-align: left;
    background: #144371;
    color: #fff;
    font-size: 14px;
    padding-bottom: 20px;
}

.links-section .row > div{
    min-height: 120px;
}

.links-section .links a{
    color: #fff;
    padding-left: 10px;
}

.links img{
    width: 50px;
    background-color: #fff;
}

.footer-section {
    margin: 0px;
    padding: 0px;
    background: #000058;
    color: #F2F2F2;
    font-size: 12px;
    text-align: center;
}

.socials{
    display: block;
    max-width: 250px;
    height: 200px;
    text-align: left;
    position: fixed;
    top: 300px;
    right: 0;
    z-index: 999;
}

.social-item i{
  margin-left: 10px;
  margin-right: 20px;
}

.social-item{
    margin: 0;
    margin-left: 200px;
    display: inline-block;
    min-width: 250px;
    height: 50px;
    background-color: #D79C46;
    text-align: left;
    padding: 8px;
    color: #fff;
}

.social-item:hover{
    background: #D7A762;
    color: white;
    min-width: 250px;
    margin-left: 0px;
    text-align: left;
    text-decoration :none;
}


.btn{
    font-family: "Fira Sans"
}

.thumbnail{
  border: 0px;
}

.thumbnail h4{
  color: #2e3047;
}

.thumbnail a{
  text-decoration: none;
}

.thumbnail p{
  color: #2e3047;
}

.btn-default{
  background-color: #d79c46;
  border-color: #d79c46;
  color: white;
  margin: 1px;
}

.btn-default:hover{
  background-color: #DAAC6A;
  border-color: #DAAC6A;
  color: white;
  margin: 1px;
}


@media(min-width:767px) {
    .navbar {
        padding: 20px 0;
        -webkit-transition: background .5s ease-in-out,padding .5s ease-in-out;
        -moz-transition: background .5s ease-in-out,padding .5s ease-in-out;
        transition: background .5s ease-in-out,padding .5s ease-in-out;
        background: none;
        border:  0;
    }

    .top-nav-collapse{
        background: #000058;
    }

    .navbar img{

    }

    .top-nav-collapse {
        padding: 0;
    }

    .pull-left{

    }

}

@media(max-width: 766px){
   .home-section{
        margin-top: 50px;
   }

   .navbar img{
        background: url('images/logo.png');
   }
}

@media (max-width: 1200px) {
  .navbar-header {
      float: none;
  }
  .navbar-left,.navbar-right {
      float: none !important;
  }
  .navbar-toggle {
      display: block;
  }
  .navbar-collapse.collapse {
      display: none!important;
  }
  .navbar-nav {
      float: none!important;
      margin-top: 7.5px;
  }
  .navbar-nav>li {
      float: none;
  }
  .navbar-nav>li>a {
      padding-top: 10px;
      padding-bottom: 10px;
  }
  .collapse.in{
      display:block !important;
  }
}

/* Bouncing Arrow down */

@-moz-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
@-webkit-keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  40% {
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }
  60% {
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

.arrow {
  position: absolute;
  bottom: 10px;
  left: 50%;
  margin-left: -20px;
  width: 80px;
  height: 80px;
  background-image: url('/images/arrow-down.png');
  /* background-image: url(data:image/svg+xml;base64,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0wLjU5NWwwLDBjMjAuNTA5LTIwLjUwOCwyMC43NzQtNTMuNDkzLDAuNTk2LTczLjY3MiAgbC0xOTAtMTkwYy0yMC4xNzgtMjAuMTc4LTUzLjE2NC0xOS45MTMtNzMuNjcxLDAuNTk1bDAsMGMtMjAuNTA4LDIwLjUwOS0yMC43NzIsNTMuNDkyLTAuNTk1LDczLjY3MUwyMjAuMjQ5LDQ1NS44Njh6Ii8+DQo8L3N2Zz4=); */
  background-size: contain;
}

.bounce {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

.animation-element.slide-left {
  opacity: 0;
  -moz-transition: all 500ms linear;
  -webkit-transition: all 500ms linear;
  -o-transition: all 500ms linear;
  transition: all 500ms linear;
  -moz-transform: translate3d(-100px, 0px, 0px);
  -webkit-transform: translate3d(-100px, 0px, 0px);
  -o-transform: translate(-100px, 0px);
  -ms-transform: translate(-100px, 0px);
  transform: translate3d(-100px, 0px, 0px);
}

.animation-element.slide-left.in-view {
  opacity: 1;
  -moz-transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}

.animation-element.slide-right {
  opacity: 0;
  -moz-transition: all 500ms linear;
  -webkit-transition: all 500ms linear;
  -o-transition: all 500ms linear;
  transition: all 500ms linear;
  -moz-transform: translate3d(-100px, 0px, 0px);
  -webkit-transform: translate3d(-100px, 0px, 0px);
  -o-transform: translate(-100px, 0px);
  -ms-transform: translate(-100px, 0px);
  transform: translate3d(100px, 0px, 0px);
}

.animation-element.slide-right.in-view {
  opacity: 1;
  -moz-transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}

.animation-element.slide-top {
  opacity: 0;
  -moz-transition: all 500ms linear;
  -webkit-transition: all 500ms linear;
  -o-transition: all 500ms linear;
  transition: all 500ms linear;
  -moz-transform: translate3d(-100px, 0px, 0px);
  -webkit-transform: translate3d(-100px, 0px, 0px);
  -o-transform: translate(-100px, 0px);
  -ms-transform: translate(-100px, 0px);
  transform: translate3d(0px, 100px, 0px);
}

.animation-element.slide-top.in-view {
  opacity: 1;
  -moz-transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}

/* Angular Animate */
.not-visible {
  visibility: hidden;
}
/* --- */
