/* Home page (English + Hindi) */
.portrait {
  left: 0;
  margin: 0 auto;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
  background: #fff;
  z-index: 999999;
}
.portrait img { display: block; width: 80%; }
@media screen and (orientation: portrait) { .portrait { display: block; } }
@media screen and (orientation: landscape) { .portrait { display: none; } }

.langSwitch { position: fixed; top: 20px; right: 20px; z-index: 99999; }

/* Ken Burns slideshow */
.ss-slides-wrap { position: relative; display: block; line-height: 0; }
.ss-slides {
  position: relative;
  overflow: hidden;
  display: block;
  height: 100vh;
  -webkit-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
}
.ss-slide {
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  line-height: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  -webkit-transition: all 8.5s ease-in-out;
  transition: all 8.5s ease-in-out;
}
.ss-slide.notrans { -webkit-transition: none; transition: none; }

#ss-prev, #ss-next {
  position: absolute;
  top: 50%;
  z-index: 50;
  width: 30px;
  height: 36px;
  text-indent: -111px;
  overflow: hidden;
  line-height: normal;
}
#ss-prev:hover, #ss-next:hover { opacity: 0.3; }
#ss-prev { background: url("/images/rightNavOFF.png") center top no-repeat; right: 20px; }
#ss-next { background: url("/images/leftNavOFF.png") center top no-repeat; left: 20px; }
.hi #ss-prev { background-image: url("/Hindi/images/rightNavOFF.png"); }
.hi #ss-next { background-image: url("/Hindi/images/leftNavOFF.png"); }

/* Overlay content */
.logoHome {
  width: 306px;
  height: 110px;
  float: left;
  position: absolute;
  z-index: 99999;
  top: 13%;
  left: 50%;
  margin-left: -153px;
}

.titleTxt {
  width: 680px;
  height: auto;
  float: left;
  position: absolute;
  z-index: 99999;
  font-size: 18px;
  top: 30%;
  left: 50%;
  margin-left: -340px;
  text-align: center;
  line-height: 22px;
  opacity: 0;
}
#a0 { opacity: 1; }

.homeEvent {
  width: 912px;
  height: auto;
  margin: 0 0 0 -456px;
  padding: 0;
  float: left;
  list-style: none;
  position: absolute;
  z-index: 99999;
  bottom: 23%;
  left: 50%;
  text-align: center;
}
.homeEvent li { width: 150px; float: left; position: relative; cursor: pointer; margin-right: 40px; }
.homeEvent li div { width: 110px; height: 110px; float: left; margin-left: 10px; }
.homeEvent li span {
  color: #fff;
  font-size: 15px;
  margin-top: 20px;
  float: left;
  width: 100%;
  -webkit-transition: all 100ms linear;
  transition: all 100ms linear;
}
.homeEvent li div.statesmanship { background: url("/images/nmIcon.png") center top no-repeat; }
.homeEvent li div.action-words { background: url("/images/action-words.png") center top no-repeat; }
.homeEvent li div.optimism { background: url("/images/optimism.png") center top no-repeat; }
.homeEvent li div.humanface { background: url("/images/humanface.png") center top no-repeat; }
.homeEvent li div.popular { background: url("/images/popular.png") center top no-repeat; }
.hi .homeEvent li div.statesmanship { background-image: url("/Hindi/images/nmIcon.png"); }
.hi .homeEvent li div.action-words { background-image: url("/Hindi/images/action-words.png"); }
.hi .homeEvent li div.optimism { background-image: url("/Hindi/images/optimism.png"); }
.hi .homeEvent li div.humanface { background-image: url("/Hindi/images/humanface.png"); }
.hi .homeEvent li div.popular { background-image: url("/Hindi/images/popular.png"); }
.homeEvent li:hover div { background-position: 0 -112px; }
.homeEvent li:hover span {
  color: #fff;
  margin-top: 10px;
  -webkit-transition: all 150ms ease-in;
  transition: all 150ms ease-in;
}

.verticalLine {
  width: 96%;
  height: 1px;
  position: absolute;
  z-index: 99999;
  bottom: 12%;
  left: 2%;
  background: #9d9a99;
  line-height: 0;
}

.socialIcon {
  width: 315px;
  height: 26px;
  position: fixed;
  z-index: 99;
  bottom: 4%;
  left: 50%;
  margin: 0 0 0 -157px;
  padding: 0;
  float: left;
  list-style: none;
}
.socialIcon li { float: left; margin-right: 16px; width: 24px; height: 25px; background-position: 0 0; cursor: pointer; }
.socialIcon li:hover { background-position: 0 -26px; }
@media (max-width: 1024px) { .socialIcon { bottom: 10px; left: 45%; } }
@media (max-height: 650px) { .socialIcon { bottom: 3%; } }

#events { display: inline; overflow: hidden; border: none; height: 100vh; vertical-align: baseline; }

/* Preloader (white screen, 1px black bar with percentage, grows on complete) */
#qLoverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 666999;
  background: #fff;
  -webkit-transition: opacity 0.5s linear;
  transition: opacity 0.5s linear;
}
#qLbar {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 1px;
  background: #000;
  -webkit-transition: width 0.5s ease-out, height 0.5s ease-out, top 0.5s ease-out, margin-top 0.5s ease-out;
  transition: width 0.5s ease-out, height 0.5s ease-out, top 0.5s ease-out, margin-top 0.5s ease-out;
}
#qLpercentage {
  position: absolute;
  top: 50%;
  right: 0;
  width: 100%;
  margin-top: -59px;
  text-align: center;
  font-size: 50px;
  line-height: normal;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
}
#qLoverlay.qLgrow #qLbar { top: 0; height: 100%; }
#qLoverlay.qLdone { opacity: 0; }
