@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');

body {
    font-family: 'Titillium Web',sans-serif;
    font-size: 16px;
    font-style: normal;
}

a {
    font-weight: bold;
}
 
h2 {
    font-size: 35px;
    font-weight: 400;
}

.terms-table-border {
    border: 1px solid #000;
}

.owl-theme .owl-dots .owl-dot.active span {
    background: #39A53F!important;
}

.owl-theme .owl-dots .owl-dot span {
    background: none!important;
    border: 2px solid #39A53F;
}
 
.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
 
.header-wrapper {
    position: relative;
    background-image: url('../img/homepage/header.png?v=3');
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 0;
    padding-top: 42%; /* (img-height / img-width * container-width) */
                /* (853 / 1280 * 100) */
}
 
.header-text {
    position: absolute;
    font-family: 'Titillium Web',sans-serif;
    font-weight: lighter;
    right: 13%;
    top: 5px;
    color: #000;
    font-size: 4vw;
    text-align: right;
}

.header-text-mobile {
    font-family: 'Titillium Web',sans-serif;
    font-weight: bold;
    right: 13%;
    top: 5px;
    color: #000;
    font-size: 38px;
}
 
.header-bg {
    background-color: #64b7ff;
    padding: 15px 5px 10px 32px;
    color: #FFF;
    box-shadow: 0px 3px 6px #00000029;
}
 
.header-bg h1 {
    font-weight: 200;
}
 
.bg-grey {
    background-color: #E6E7E9;
}
 
.bg-greyDark {
    background: #B0B3B3;
}
 
.text-green {
    color: #39A53F;
}
 
.text-yellow {
    color: #E3CA6D;
}
 
.text-orange {
    color: #F19068;
}
 
.text-grey {
    color: #E6E7E9;
}
 
.text-grey-dark {
    color: #B0B3B3;
}
 
.text-black {
    color: #000;
}

.btn-green {
    background-color: #5ED965;
    border-radius: 24px;
    color: white;
    box-shadow: 0px 3px 6px #00000029;
}

.btn-green:hover {
    background-color: #31b237;
    color: white;
}
 
.btn-yellow {
    background-color: #E3CA6D;
    color: white;
}
 
.btn-yellow:hover {
    background-color: #E3CA6D;
    color: white;
}
 
.btn-outline-yellow {
    border-color: #E3CA6D;
    color: #E3CA6D;
}
.btn-outline-yellow:hover {
    background-color: #E3CA6D;
    color: white;
}
 
.btn-blue {
    background-color: #80ADE3;
    color: white;
}
 
.btn-blue:hover {
    background-color: #80ADE3;
    color: white;
}
 
.btn-outline-blue {
    border-color: #80ADE3;
    color: #80ADE3;
}
 
.btn-outline-blue:hover {
    background-color: #80ADE3;
    color: white;
}
 
.btn-orange {
    background-color: #F19068;
    color: white;
}
 
.btn-orange:hover {
    background-color: #F19068;
    color: white;
}
 
.btn-outline-orange {
    border-color: #F19068;
    color: #F19068;
}
 
.btn-outline-orange:hover {
    background-color: #F19068;
    color: white;
}
 
.form-outline-grey-dark {
    border-color: #B0B3B3;
    color: #B0B3B3;
}
 
a {
    color: inherit;
    text-decoration: none;
}
 
a:hover, a:focus {
    color: inherit;
    text-decoration: none;
}
 
table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
}
td {
    padding: 5px 0;
}
 
.navbar {
    box-shadow: 0px 3px 6px #00000029;
}

.logo-left {
    max-height: 106px;
    margin-right: 10px;
}
 
 
.logo-right {
    max-height: 106px;
    position: absolute;
    right: 0;
    top: 0;
}
 
@media only screen and (max-width: 992px) {
    .logo {
        position: relative;
        max-height: 24px;
    }
}
 
.nav-link {
    font-size: 18px;
    font-weight: 200;
    color: #000!important;
}
 
footer {
    color: #FFF;
    font-weight: 200;
}

.footer-container {
    max-width: 800px;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-left: auto;
}

.footer-bg-homepage {
    position: absolute;
    bottom: 0;
    height: 44vw;
    width: 100%;
    background-image: url('../img/footer_bg.png');
    background-size: cover;
    z-index: -1;
}

.footer-bg-other {
    position: absolute;
    bottom: 0;
    height: 140%;
    width: 100%;
    background-image: url('../img/footer_other.png');
    background-size: cover;
    background-position: top;
    z-index: -1;
}

.footer-link-head {
    font-size: 20px;
    font-weight: 200;
}
 
.footer-link {
    font-size: 16px;
    font-weight: 200;
}

.fab,.fas {
    display: inline-flex;
    background-color: #FFF;
    justify-content: center;
    align-items: center;
    height: 36px;
    width: 36px;
    font-size: 22px;
    color:#31b237;
    border-radius: 4px;
}

/* info */

.quote-wrapper {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 10px #00000029;
    border-radius: 40px;
    height: 520px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.quote-text {
    height: 170px;
}

.quote-icon {
    display: initial!important;
    height: 36px;
    width: 42px!important;
}

.quote-img {
    display: initial!important;
    height: 132px;
    width: 132px!important;
    margin-bottom: 30px;
}
 
/* Candidates */
 
.candidate-item-overlay {
    margin-top: 10px;
    position: absolute;
    left: 36px;
    top: 36px;
}
 
.candidate-image-box {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 5px;
    border: 2px solid #E6E7E9;
    box-shadow: 0px 3px 6px #00000029;
}
 
.candidate-text-box {
    height: 196px;
    padding: 15px;
    background-color: #E6E7E9;
    box-shadow: 0px 3px 6px #00000029;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
 
.candidate-title {
    font-size: 23px;
    font-weight: bold;
}
 
/* candidate detail */
 
.candidate-detail-logo {
    max-height: 220px;
    width: auto;
    box-shadow: 0px 3px 6px #00000029;
}
 
.team-info-box {
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 8px;
}
 
/* Career */
 
.career-box {
    background-color: #E6E7E9;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 8px;
}
 
/* prizes */
 
.prize-subtitle {
    display: block;
    font-weight: bold;
    font-size: 23px;
    color: #000;
}
 
.prize-money {
    display: block;
    font-weight: normal;
    font-size: 16px;
    color: #000;
}
 
.category-wrapper {
    background-color: #f3f3f3;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
 
/* scrollbar */
.custom-scroll::-webkit-scrollbar-track
{
    border-radius: 10px;
    background-color: #EBECEC;
}
 
.custom-scroll::-webkit-scrollbar
{
    width: 12px;
    background-color: white;
}
 
.custom-scroll::-webkit-scrollbar-thumb
{
    border-radius: 10px;
    background-color: #B0B3B3;
}
 
.border-grey-dark {
    border-color: #B0B3B3;
}
 
.border-radius-8 {
    border-radius: 8px;
}
 
.form-control-underline {
    border: none!important;
    border-bottom: 1px solid black!important;
    border-radius: 0!important;
}
 
.navbar .active {
    color: blue;
}
 
.cursor-pointer {
    cursor: pointer;
}
 
.border-radius-10 {
    border-radius: 10px;
}
 
.faq-item .faq-header h5 {
    background: #FFFFFF;
}
.faq-item .faq-header h5.collapsed {
    background: #FFFFFF;
}
 
.faq-item > .faq-header.collapsed {
    background: #FFFFFF;
    border:none;
    border-radius: 10px;
 
 
}
.faq-item > .faq-header {
    background: #FFFFFF;
    border-radius: 10px 10px 0 0;
    border-left: solid 1px #FFFFFF;
}
 
.faq-body {
    border-top: none;
    border-radius: 0 0 10px 10px;
}
 
.homepage-event-header {
    max-height: 184px;
    width: 100%;
    max-width: 304px;
    border-radius: 20px;
}

.event-image-box {
    border-radius: 20px;
}

.event-text-box {
    text-align: center;
    width: 304px;
}

.event-title {
    font-weight: bold;
    color: #000;
    font-size: 18px;
}

.event-description {  
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* number of lines to show */
    line-clamp: 4;
    -webkit-box-orient: vertical;
    margin-bottom: 20px;
    max-height: 100px;
}

.event-button {
    background-color: #39A53F;
    border-radius: 15px;
    color: #FFF;
    height: 60px;
    width: 100%;
}
 
#timeline {
    position: relative;
    padding-top: 4%;
    color: #FFF;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}
 
#timeline .begin-stroke {
    position: absolute;
    left: 0;
    background-image: linear-gradient(to right, #80ADE3 40%, #39A53F 20%);
    background-position: top;
    background-size: 32px 4px;
    background-repeat: repeat-x;
    padding: 14px 50px;
    width: 11vw;
    z-index: 1;
}
 
#timeline .stroke {
    position: absolute;
    height: 2px;
    width: 100%;
    border: 2px solid #31b237;
}
 
#timeline .end-stroke {
    position: absolute;
    right: 0;
    background-image: linear-gradient(to right, #80ADE3 40%, #39A53F 20%);
    background-position: top;
    background-size: 32px 4px;
    background-repeat: repeat-x;
    padding: 14px 50px;
    width: 11vw;
    z-index: 1;
}
 
#timeline .timeline-card {
    position: relative;
    border-radius: 4px 4px 0px 0px;
    height: 124px;
    width: 124px;
    background-color: #0000005C;
    margin-top: 20px;
}
 
 
 
#timeline .active-event:after {
    content: '';
    border-radius: 25px;
    background: #5ED965;
    height: 34px;
    width: 34px;
    bottom: -18px;
    position: absolute;
    z-index: 10;
}
 
#timeline .non-active-event:after {
    content: '';
    border-radius: 25px;
    background: #5ED965;
    height: 20px;
    width: 20px;
    bottom: -12px;
    position: absolute;
    z-index: 10;
}
 
#timeline h2, #about h2 {
    color: #FFF;
}
 
#timeline h2:after {
    border-color: #FFF;
}

/* For students */


* { box-sizing: border-box; }

/* ---- grid ---- */

.grid {
  max-width: 1140px;
}

/* clearfix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- grid-item ---- */

.grid-sizer,
.grid-item {
  width: 1%;
}

.grid-item {
    height: 120px;
    float: left;
  }

.grid-item--width1 { width:  30%; }
.grid-item--width2 { width:  44%; }
.grid-item--width3 { width:  25%; }

.grid-item--width4 { width:  18%; }
.grid-item--width5 { width:  25%; }
.grid-item--width6 { width:  30%; }
.grid-item--width7 { width:  25%; }
.grid-item--width8 { width:  43%; }

.grid-item--height1 { height: 202px; }
.grid-item--height2 { height: 283px; }
.grid-item--height3 { height: 486px; }

@media only screen and (max-width: 991px) {

    .header-wrapper {
        padding-top: 50%;
    }

    .quote-wrapper {
        height: 530px;
        margin-top: 8px;
        margin-bottom: 8px;
    }
    
    .quote-text {
        height: 180px;
    }
 
    #participate .owl-carousel .owl-item img {
      height: 80%;
      width: auto;
    }
 
    #timeline .timeline-card {
        margin-top: 0px;
    }
 
    #timeline {
        background: none!important;
    }
 
    #timeline .begin-stroke, #timeline .end-stroke {
      display: none!important;
    }
   
    #timeline .stroke-mobile {
      position: absolute;
      height: 150%;
      width: 1px;;
      left: 0px;
      border-left: 4px solid #31b237;
    }
 
    #timeline .active-event:after {
      content: '';
      border-radius: 25px;
      background: #F19068;
      height: 24px;
      width: 24px;
      left: -12px;
      bottom: 62px;
      position: absolute;
    }
   
    #timeline .non-active-event:after {
      content: '';
      border-radius: 25px;
      background: #5ED965;
      height: 16px;
      width: 16px;
      bottom: 66px;
      left: -8px;
      position: absolute;
    }

    .footer-bg-homepage {
        height: 92vw;
    }
 
  }

  @media only screen and (max-width: 425px) {
    .footer-bg-homepage {
        height: 336vw;
        background-image: url('../img/footer_mobile.png');
    }
  }
