@import url('https://fonts.googleapis.com/css?family=Sofia');
@import url('https://fonts.googleapis.com/css?family=Amatic+SC:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Pacifico');
@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,500&display=swap');

* {
  font-weight: 300;
  -webkit-font-smoothing: antialiased;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  line-height: 22px;
  font-weight: 300;

  margin: 0;

  text-align: center;
}

h1 {
  margin: 40px 0;
  padding: 0 8%;
  font-family: 'Sofia', sans-serif;
  font-size: 4em;
  line-height: 90px;
}
h2 {
  padding: 0 8%;

  font-family: 'Roboto', sans-serif;
  font-weight: 100;
  font-size: 3em;
  line-height: 60px;
}
h3 {
  padding: 1% 5%;

  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  color: #333;
  font-size: 1.6em;
}
h4 {
  margin: 20px 0;
  padding: 0 6%;

  -webkit-font-smoothing: auto;

  font-family: 'Amatic SC', sans-serif;
  font-weight: 400;
  font-size: 1.8em;
  line-height: 45px;
}

p {
  padding: 0 4%;
  white-space: wrap;
  font-weight: 300;

  color: #3e4144 inherit;

  line-height: 21px;
}
p a { text-decoration: underline; }
mark {
  font-family: 'Pacifico';

  color: #942E2C;
  line-height: +20px;
  background-color: inherit;
}
mark::selection { background-color: inherit; }
a {
  color: inherit;
  white-space: nowrap;

  transition: .3s;
  transition-property: background-color, font-size, color;
}

.dark  { color: #ffffff; }
.overlay {
  width: 100vw;
  height: 100vh;

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;

  display: none;
  overflow: hidden;

  background-color: rgba(0, 0, 0, .5);
}

img {
  object-fit: cover;
  object-position: center;
}
.bgimage {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Navigation Bar */
#navigationbar {
  margin: 0;
  padding: 0;

  height: 64px;
  max-height: 64px;

  top: 0;
  position: sticky;
  position: -webkit-sticky;
  z-index: 4;
  font-size: 16px;

  overflow: hidden;
  list-style: none;

  background-color: #ffffff;
  border-bottom: #aaaaaa solid 1px;
}
#navigationbar li {
  float: left;
  display: block;
}
#navigationbar li a {
  padding: 0 20px;

  color: #2b2c2d;
  font-size: 1.15em;
  line-height: 63px;
  text-decoration: none;
  vertical-align: text-top;

  display: block;

  transition: .4s;
  transition-property: background-color, color;
}
#navigationbar li a:not(.nohover):hover { background-color: #eaeaea; }

#navigationbar li a.active {
  color: #ffffff;
  font-weight: 300;
  color: #941100;
}
#navigationbar li a.active:hover {
  background-color: #ffffff;
  color: #941100;
}

#navigationbar li a.highlight {}

#navigationbar.large-screen { display: none; }
#navigationbar.small-screen { display: block; }

/* Hidden Navigation Bar */
#hidden-navigationbar ul {
  margin: 0;
  padding: 0;

  width: 90vw;
  height: 85vh;

  position: fixed;
  top: 7.5vh;
  left: 5vw;
  z-index: 10;
  display: block;

  overflow: hidden;

  list-style: none;

  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 10px 10px #dadada;
}
#hidden-navigationbar ul a li {
  font-family: "Amatic SC";
  font-weight: 400;
  font-size: 1.6em;

  position: absolute;
  display: inline-block;

  -webkit-animation-name: bubbly;
  animation-name: bubbly;
  animation-iteration-count: infinite;

  border-radius: 50%;
  transition: .3s;
}

#hidden-navigationbar ul a[href*="/about"] > li {
  width: 25vw;
  height: 25vw;

  top: 2%;
  left: 4%;

  color: white;
  line-height: 25vw;
  font-size: 1.9em;

  --bxshadow-color: #e62200;

  -webkit-animation-duration: 2s;
  animation-duration: 2s;

  background-color: #ff5133;
  box-shadow: 0 0 15px 10px #e62200;
}
#hidden-navigationbar ul a[href*="/newsletters"] > li {
  width: 38vw;
  height: 38vw;

  line-height: 38vw;
  top: -2%;
  right: 3%;
  z-index: 1;
  font-size: 2.2em;

  --bxshadow-color: #e69500;

  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  animation-delay: .5s;

  background-color: #ffb733;
  box-shadow: 0 0 15px 10px #e69500;
}
#hidden-navigationbar ul a[href*="/articles"] > li {
  width: 30vw;
  height: 30vw;

  line-height: 30vw;
  top: 18%;
  left: 13%;
  font-size: 2.1em;

  --bxshadow-color: #00839a;

  animation-duration: 2s;
  -webkit-animation-duration: 2s;

  background-color: #00c4e6;
  box-shadow: 0 0 15px 10px #00839a;
}
#hidden-navigationbar ul a[href*="/gallery"] > li {
  width: 23vw;
  height: 23vw;

  line-height: 23vw;
  font-size: 1.8em;

  top: 28%;
  right: 6%;

  --bxshadow-color: #617415;

  animation-duration: 2s;
  -webkit-animation-duration: 2s;

  background-color: #97b520;
  box-shadow: 0 0 15px 10px #617415;
}
#hidden-navigationbar ul a[href*="/admissions"] > li {
  width: 45vw;
  height: 45vw;

  color: white;
  line-height: 45vw;
  font-size: 2.6em;

  --bxshadow-color: #e60051;

  animation-duration: 2s;
  -webkit-animation-duration: 2s;

  top: 52%;
  left: -6%;
  background-color: #ff337b;
  box-shadow: 0 0 15px 10px #e60051;
}
#hidden-navigationbar ul a[href*="/student_life"] > li {
  width: 34vw;
  height: 34vw;

  color: white;
  line-height: 34vw;
  font-size: 2em;

  --bxshadow-color: #777;

  animation-duration: 2s;
  -webkit-animation-duration: 2s;

  top: 46%;
  left: 50%;
  background-color: #999;
  box-shadow: 0 0 15px 10px var(--bxshadow-color);
}
#hidden-navigationbar ul a[href*="/contact"] > li {
  margin: -20vw 0;

  width: 54vw;
  height: 54vw;

  line-height: 52vw;
  vertical-align: text-bottom;
  font-size: 3.4em;

  bottom: 0%;
  left: 30vw;

  --bxshadow-color: #61ffff;

  animation-duration: 2s;
  -webkit-animation-duration: 2s;

  background-color: #adffff;
  box-shadow: 0 0 15px 10px #61ffff;
}

@keyframes bubbly {
  0% {
    box-shadow: 0 0 15px 10px var(--bxshadow-color);
  }
  50% {
    box-shadow: 0 0 20px 15px var(--bxshadow-color);
  }
  100% {
    box-shadow: 0 0 15px 10px var(--bxshadow-color);
  }
}

@media (min-width: 590px) {
  #hidden-navigationbar ul a[href*="/about"] > li {
    width: 20vw;
    height: 20vw;

    line-height: 20vw;
    top: 3%;
    left: 6%;
  }
  #hidden-navigationbar ul a[href*="/student_life"] > li {
    width: 26vw;
    height: 26vw;

    line-height: 26vw;
    top: 46%;
    left: 70%;
    z-index: 1;
  }
  #hidden-navigationbar ul a[href*="/newsletters"] > li {
    width: 30vw;
    height: 30vw;

    line-height: 30vw;
    top: -2%;
    right: 3%;
    z-index: 1;
    font-size: 2.2em;

    --bxshadow-color: #e69500;

    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    animation-delay: .5s;

    background-color: #ffb733;
    box-shadow: 0 0 15px 10px #e69500;
  }
  #hidden-navigationbar ul a[href*="/articles"] > li {
    width: 29.5vw;
    height: 29.5vw;

    line-height: 29.5vw;
    top: 14%;
    left: 22%;
  }
  #hidden-navigationbar ul a[href*="/gallery"] > li {
    width: 18vw;
    height: 18vw;

    line-height: 18vw;
    top: 32%;
    right: 25%;
  }
  #hidden-navigationbar ul a[href*="/admissions"] > li {
    width: 42vw;
    height: 42vw;

    line-height: 42vw;
    font-size: 2.2em;
    top: 41%;
    left: -6%;
  }
  #hidden-navigationbar ul a[href*="/contact"] > li {
    margin: -20vw 0;

    width: 50vw;
    height: 50vw;

    line-height: 44vw;
    vertical-align: text-bottom;
    font-size: 3.4em;
    bottom: 0%;
    left: 25vw;
  }
}
@media (min-width: 900px) {
  #navigationbar.large-screen { display: block; }
  #navigationbar.small-screen { display: none; }

  #hidden-navigationbar { display: none; }
}

.fb-page {
  overflow: hidden;
  border-radius: 8px;
}

header.content-block {
  margin-bottom: 40px;
  z-index: 3;

  background-color: #fff;
  box-shadow: 0 -16px 30px 20px rgba(0,0,0,.2);
  border-radius: 0 0 20px 20px;
}

/* Content */
.content-block {
  margin: 0;
  overflow: hidden;
  text-align: center;
}
.content-block h4 { margin-top: -20px; }

.content-block .title-wrap, .content-block .contact-title-wrap { overflow: hidden; }
.content-block .title-wrap h1, .content-block .contact-title-wrap h1 {
  margin: 20px 0;
  font-size: 3.8em;
  line-height: 85px;
}
.content-block .title-wrap h1 a, .content-block .contact-title-wrap h1 a {
  font-family: 'Sofia';
  font-size: inherit;
  text-decoration: none;
}
.content-block .title-wrap h1 a:hover, .content-block .contact-title-wrap h1 a:hover { text-decoration: underline; }
.content-block .title-wrap h4, .content-block .contact-title-wrap h4 {
  margin: 15px 0;
  font-size: 1.7em;
  line-height: 45px;
}

.content-block .content-wrap, .content-block .contact-content-wrap {
  padding: 1% 2%;
  overflow: hidden;
}
.content-block .content-wrap.content, .content-block .contact-content-wrap.content { text-align: left; }
.content-block .content-wrap a, .content-block .contact-content-wrap.content a { text-decoration: underline; }

.content-block .content-wrap button {
  padding: 0 50px;
  margin: 0 15px auto;

  cursor: pointer;
  font-size: 1.6em;
  font-family: 'Roboto', sans-serif;
  vertical-align: middle;
  font-weight: 300;
  line-height: 75px;

  background-color: #fff;

  --bxshadow-color: #aaa;
  --actbxshadow-color: #bbb;
  border: none;
  box-shadow: 0 0 6px 3px var(--bxshadow-color);
  -webkit-border-radius: 45px;
  -moz-border-radius: 45px;
  border-radius: 45px;

  transition: .4s;
  transition-property: box-shadow;
}
.content-block .content-wrap button:active { color: #000; }
.content-block .content-wrap button:hover { box-shadow: 0 0 14px 7px var(--actbxshadow-color); }
.content-block .content-wrap button[onclick*='/admissions\''] {
  width: 65%;

  color: #fff;
  background-color: inherit;

  border: 2px solid #fff;
  box-shadow: 0 0 6px 3px #eee;
}
.content-block .content-wrap button[onclick*='/admissions\'']:hover { box-shadow: 0 0 14px 7px #fff; }
@media (max-width: 413px) {
  .content-block .content-wrap button { font-size: 1.4em; }
}

.table-content a { text-decoration: none; }
@media (min-width: 780px) {
  .table-content {
    width: 100%;

    display: table;
    table-layout: fixed;
  }

  .table-content .left, .table-content .right, .table-content .share {
    float: none;
    display: table-cell;
    vertical-align: top;
  }

  .table-content .left.border {
    border-right: #dedede solid 1px;
    border-collapse: collapse;
  }
  .table-content .right.border {
    border-left: #dedede solid 1px;
    border-collapse: collapse;
  }

  .table-content .f3 { width: 60%; }
  .table-content .f2 { width: 40%; }

  .table-content .share { width: 1fr; }
}

.btn {
  width: 40px;
  height: 40px;

  position: absolute;
  top: 50%;

  z-index: 2;

  cursor: pointer;
  line-height: 40px;
  font-size: 1.8em;
  text-decoration: none;

  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px 8px #a0a0a0;

  transition: .3s;
}
.btn.right { right: 30px; }
.btn.left { left: 30px; }
.btn:hover {
  font-size: 2.4em;
  box-shadow: 0 0 16px 8px #d0d0d0;
}

/* Reviews */
.reviewblock {
  box-shadow: 0 0 10px 5px rgba(0,0,0,.2);

  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;

  background-color: #ffffff;

  transition: .4s;
  transition-property: box-shadow;
}
#reviewgallery-hidden {
  display: none;
  justify-content: center;
  align-items: center;
}
#reviewgallery-hidden .next { right: 20px; }
#reviewgallery-hidden .back { left:  20px; }

#reviewgallery-hidden .reviewblock {
  padding: 30px;

  width: 65vw;
  max-height: 90vh;
  display: none;

  box-shadow: 0 0 20px 10px #d0d0d0;
}

#reviewgallery-hidden .reviewblock .pfpic {
  margin: auto;

  min-width: 180px;
  width: 180px;

  min-height: 180px;
  height: 180px;

  border-radius: 50%;
  border: 2px solid #e0e0e0;
  box-shadow: 0 0 10px 10px #e0e0e0;
}
#reviewgallery-hidden .reviewblock .name {
  width: 100%;
  padding: 0;
  margin: 30px 0 15px 0 auto;

  white-space: normal;
  line-height: 1.1em;

  text-align: center;
  font-size: 1.7em;
}
#reviewgallery-hidden .reviewblock .designation {
  margin: 15px 0 20px 0;

  font-size: 1.3em;
  font-weight: 400;
  font-family: "Amatic SC", sans-serif;
  -webkit-font-smoothing: auto;
}
#reviewgallery-hidden .reviewblock .content {
  overflow: scroll;
  max-height: 25vh;
  white-space: normal;
}

@media (max-width: 900px) {
  #reviewgallery-hidden .reviewblock { width: 85vw; }

  #reviewgallery-hidden .right, #reviewgallery-hidden .left { top: 85%; }
}


#reviewgallery {
  height: 70vh;
  max-height: 67vh;

  padding: 14px 0;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: auto;
  white-space: nowrap;
}
#reviewgallery .reviewblock {
  padding: 20px;
  width: 90%;
  max-height: 100%;

  cursor: pointer;

  top: 0;
  display: none;
  overflow: hidden;
}
#reviewgallery .reviewblock:hover { box-shadow: 0 0 14px 7px rgba(0,0,0,.2); }

#reviewgallery .reviewblock .pfpic {
  margin: auto;

  min-width: 150px;
  width: 150px;

  min-height: 150px;
  height: 150px;

  border-radius: 50%;
  border: 2px solid #e0e0e0;
  box-shadow: 0 0 10px 10px #e0e0e0;
}
#reviewgallery .reviewblock .name {
  width: 100%;
  padding: 0;
  margin: 30px 0 15px 0 auto;

  white-space: normal;
  line-height: 1.1em;

  text-align: center;
  font-size: 1.8em;
}
#reviewgallery .reviewblock .designation {
  margin: 15px 0 20px 0;

  -webkit-font-smoothing: auto;

  font-family: "Amatic SC", sans-serif;
  font-weight: 400;
  font-size: 1.4em;
}
#reviewgallery .reviewblock .content {
  overflow: auto;
  max-height: 14vh;
  white-space: normal;
}

@media (max-width: 375px) {
  #reviewgallery .reviewblock .pfpic {
    min-width: 170px;
    width: 170px;

    min-height: 170px;
    height: 170px;
  }
  #reviewgallery .reviewblock .content { display: none; }
}

/* Footer */
#contact {
  background-color: #323232;
  box-shadow: inset 0 30px 30px -30px #0c0c0c;
}
#map {
  margin-top: 10px;

  width: 100%;
  height: 44vh;

  overflow: hidden;
  background-color: #efefef;
}
