/*=============CSS Begin============*/
/*==========By Eloise Cai============*/
/*For all*/
*{
    -webkit-transition:all 500ms cubic-bezier(.19,1,.22,1) 0ms;
    -moz-transition:all 500ms cubic-bezier(.19,1,.22,1) 0ms;
    -ms-transform: all 500ms cubic-bezier(.19,1,.22,1) 0ms;
    -o-transform: all 500ms cubic-bezier(.19,1,.22,1) 0ms;
    transform: all 500ms cubic-bezier(.19,1,.22,1) 0ms;
    padding:0;margin:0;
}

html,body{padding:0;margin:0;font-size:16px;}

a{text-decoration:none;color:inherit;}

p{padding:0;margin:0;}

a:hover{
    color:red;
    text-decoration: none;
    cursor: pointer;
}

a:focus, a:visited{
    text-decoration: none;
}

i:hover{
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
}

h1{font-size:30px;font-weight:200;}
h2{font-size:26px;font-weight:200;}
h3{font-size:20px;font-weight:200;letter-spacing:1.4px;}
h4{font-size:16px;font-weight:200;letter-spacing:.5px;line-height: 20px;}
h5{font-size:15px;font-weight:200;}

.btn-group button{
    background-color:white;
    color:black;
    padding:10px;
}

.dropdown-toggle::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: .3em;
    vertical-align: middle;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-left: .3em solid transparent;
}

.dropdown-menu a{
    padding-left:10px;
}

.dropdown-menu{
    box-shadow: none;
    min-width: 140px;
    background: white;
}

.btn-group.open .dropdown-toggle{
    box-shadow: none;
}

.slide div{
    display: inline-block;
}

.fp-controlArrow.fp-prev{
    border-width: 25.5px 20px 25.5px 0;
    border-color:transparent #000 transparent transparent;
}

.fp-controlArrow.fp-next{
    border-width: 25.5px 0 25.5px 20px;
    border-color:transparent transparent transparent #000;
}

.fp-slides{
    z-index: 1;
    margin-top:30px;
}

.slide .wrap{
    height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/*footer start*/
.main-footer{
    height:50px;
    position: absolute;
    bottom:0px;
    width: 100%;
    background-color: white;
}

.center{
    position: absolute;
    bottom: 2vh;
    width: 100%;
    color: black;
    text-align: center;
}

.homepage-center{
    position: absolute;
    bottom: 0px;
    width: 100%;
    text-align: center;
    color:black;
}

#mc_embed_signup{clear:left; font:18px Helvetica,Arial,sans-serif; width:100%;}
@media only screen and (max-width: 700px) {
    #mc_embed_signup{font-size:12px;}
}

/*footer end*/

/*media query for all start*/
@media only screen and (max-width: 1100px) {
    .center{
        bottom:2vh;
    }
    
    .fp-controlArrow.fp-next{
        border-width: 25.5px 0 25.5px 17px;
        top:70vh;
    }

    .fp-controlArrow.fp-prev{
        border-width: 25.5px 17px 25.5px 0;
        top:70vh;
    }
}

@media only screen and (max-width: 870px) {
    h1{font-size:30px;}
    h2{font-size:22px;}
    h3{font-size:18px;}
    h4{font-size:16px;line-height: 15px;}
    
    .main-footer{
        height: 30px;
    }
}

@media only screen and (max-width: 470px) {
    /*spc for smaller screen*/
    h1{font-size:26px;}
    h2{font-size:20px;}
    h3{font-size:13px; margin:0;}
    h4{font-size:14px;line-height: 16px;}
    
    .main-footer{
        display: none;
    }
    
    .fp-slides{
        margin-top:0px;
    }
}
@media only screen and (max-width: 320px) {
    /*spc for smaller screen*/
    h1{font-size:18px;}
    h3{font-size:14px;}
    h4{font-size:14px;line-height: 16px;}
}
/*media query for all end*/

/*For all ends*/

/*connect with us start*/

.connect-with-us{
    background-image: url(https://www.sfu.ca/~xca65/2017tedxsfu/img/titile-connect-with-us.png);
    background-repeat: no-repeat;
    background-position: 50px 0;
}

.social-media{
    position: relative;
    font-size:30px;
    left:350px;
    top:250px;
}

.social-media:hover{
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
}

.contact-title{
    position: absolute;
    left:120px;
    width:800px;
}

.link{
    color: #2b69c7;
    border-bottom: 1px dotted #2b69c7;
}
/*connect with us end*/

/*Navigation Bar*/

.inner-nav{
    width:100%;
    height:10vh;
    border-bottom: 1px solid black;
    -webkit-transform:translateY(-30%);
    -moz-transform: translateY(-30%);
    -ms-transform: translateY(-30%);
    -o-transform: translateY(-30%);
    transform: translateY(-30%); 
}

.inner-nav-list{
    margin-left: 220px;
    /*offset from left*/
}

.inner-nav-list >li{
    display: inline-block;
}

.inner-title-left{
    position:absolute;
    top:10vh;
    left:10px;
    background-color: white;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    padding:10px;
}

.inner-title-left img{
    width:200px;
    float: left;
}/*logo image on the left*/

.inner-title-right{
    background-color: white;
    position:absolute;
    right:10px;
    font-size: 1.5em;
    margin-top: -12vh;
    padding:10px;
}/*next page link on the right*/

.RT-offset{
    margin-top: -30px;
}
/*inner right title offset*/

.inner-subtitle{
    -webkit-transform: rotate(30deg) translateX(30%);
    -moz-transform: rotate(30deg) translateX(30%);
    -ms-transform: rotate(30deg) translateX(30%);
    -o-transform: rotate(30deg) translateX(30%);
    transform: rotate(30deg) translateX(30%);
    background-color: white;
    height:10px;
    padding:20px 20px 40px 20px;
    font-size:1em;
    margin-top:4vh;
}

/*Nav bar interaction*/
.Quick-navigation-item{
    color:rgb(220,220,220);
}

.Quick-navigation-item.active{
    color:red;
}

.Quick-navigation-item.visited{
    color:black;
}
/*Nav bar interaction*/

/*inner nav mediaquery start*/
@media only screen and (min-width: 1800px) {
    .inner-nav{
        border-bottom: 2px solid black;
    }
}

@media only screen and (max-width: 870px) {
    .inner-title-right{
        right:0px;
        padding:0;
        top:0px;
    }
    
    .inner-title-left img{
        width:150px;
    }
    
    .inner-nav-list > li{
        display: none;
    }
    
    .inner-title-left{
        top:10vh;
        padding: 0;
        margin:0;
    }
    
    .inner-nav{
        border-bottom: 0px;
    }
    
  .inner-nav li {
    text-align: center;
    width: 100%;
    border-top: 1px solid white;
  }
}

@media only screen and (max-width: 470px) {
    .inner-title-right{
        top:20px;
    }
    
    .RT-offset{
        top:50px;
    }
}
/*inner nav mediaquery end*/


/*Navigation Bar end*/

/*About page Start*/
#conference-box{
    background-image: url(https://www.sfu.ca/~xca65/2017tedxsfu/img/Downtown-Vancouver-sunset-sm.jpg);
    background-size:auto 60vh;
    background-repeat: no-repeat;
    background-position: 305px 16vh;
}

.small-images{
    width:461px;
    margin-left: 100px;
}

.big-images{
    width:744px;
}

.info{
    color:white;
    position: relative;
    left:370px;
}

.info-fill{
    margin:auto;
    width:100%;
    padding:0 20%;
    text-align: left;
}

/*button Start*/
.btn-1 {
    color:white;
    cursor:pointer;
    display: block;
    font-weight: 600;
    letter-spacing: 3px;
    margin:auto;
    padding:10px 40px;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    
    font-size: 1.5em;
    border: 4px solid red;
    position: relative;
    width: 410px;   
} 

.btn-2 {
    color:black;
    font-size: 1.5em;
    border: 4px solid red;
    padding:10px 20px;
    position: relative;
    /*margin:18%;*/
}

.btn-1:hover, .btn-2:hover {
    background:red;
    color:white;
}

/*about page media query start*/
@media only screen and (max-width: 1100px){
    .info-fill{
        padding:0 15%;
    }
}

@media only screen and (max-width: 870px) {
    #conference-box{
        background-position: 20vw;
    }
    
    .info{
        left:30%;
        width:60%;
    }
    
    .small-images{
        margin-left: 10px;
    }
    .btn-1 {
        font-size: 1em;
        width: 290px;
        left: 0;
    }
    /*second li*/
    .info-fill{
        padding:0 10%;
    }
}
@media only screen and (max-width: 470px) {
    /*spc for smaller screen*/
    .small-images,.big-images{
        width:80vw;
    }
}
/*about page media query end*/

/*button End*/
/*About page End*/

/*apply Starts*/
.apply-container{
    margin: auto;
    width: 100%;
}

.left-intro{
    width: 50%;
    border-right:1px solid grey;
}

.left-intro h2{
    width: 80%;
    font-weight:400;
    margin: auto;
}

.right-intro{
    width:40%; 
    vertical-align:top;
    margin-left:30px;
}

.right-intro h3{
    font-size:19px;
}

.right-intro h4{
    margin-bottom: 30px;
}
/*this affect team page as well*/
/*media query apply starts*/
@media only screen and (max-width: 1070px) {
    .apply-title{
        margin-left:0px;
    }

    .right-intro h3{
        font-size: 16px;
    }
    
    .right-intro h4{
        margin-bottom: 5px;
    }
    
    .btn-2 {
        padding:4px 20px;
        margin:0;
    }
}
@media only screen and (max-width: 870px) {
    
    .left-intro{
        width: 90%;
        padding-bottom: 10px;
        border: 0px;
        border-bottom:1px grey solid;
    }
    
    .left-intro h2{
        display: none;
        font-size: 28px;
        width:90%;
        margin:auto;
        padding-bottom: 10px;
        border-bottom: 1px solid grey;
    }
    
    .right-intro h4{
        margin-bottom: 20px;
    }
    
    .right-intro{
        width:90%;
    }
    
    .right-intro h2{
        width:90%;
        font-size:24px;
    }
    
    .social-media{
        left:260px;
    }
    
    .btn-2{
        margin:10%;
    }
    
    .connect-with-us{
        background-size:470px;
        background-position: 0px 0px;
    }
}

@media only screen and (max-width: 470px) {
    .right-intro h2{
        font-size:18px;
    }
    
    .btn-2{
        margin:0;
    }
    
    .connect-with-us{
        background-size:90%;
    }
    
    .social-media{
        left:50vw;
        top:40vw;
    }
}

@media only screen and (max-width: 370px) {
    .social-media{
        top:40vw;
    }
}
/*media query apply ends*/
/*apply Ends*/

/*Team Page Starts*/
.three-profile{
    width: 100%;
    position: relative;
}

.profile-container{
    margin-left:10px;
    width: 32%;
    margin-top:16vh;
    vertical-align: top;
}

.img-container{
    width:35%;
    height:auto;    
}

.img-container img{
    width:100%;
}

.profile-container div{
    display: inline-block;
    vertical-align: top;
}

.team-bio{
    width:60%;
    margin-left: 10px;
    height:60vh;
    overflow-y: auto;
}

.team-bio h4{
    margin-top:0px;
}

.team-title{
    position: absolute;
    left:0px;
    height: 15vh;
    width:auto;
}

.advisor-title{
    position: absolute;
    left:0px;
    height: 15vh;
    width:auto;
}

.coordinator-title{
    position: absolute;
    left:30vw;
    height: 15vh;
    width:auto;
}

/*Jasmine's bio*/
#long{
    height: 60vh;
    overflow-y: auto;
}

.profile-container h3{
    font-size:18px;
}

@media only screen and (max-width: 1010px){
    .profile-container{
        margin-left: 5px;
        width: 30%;
    }
    
    .profile-container h3{
        font-size:14px;
    }
    
    .profile-container h4{
        font-size:14px;
    }
    
    .team-bio{
        margin-left: 5px;
        width: 60%;
    }
}

@media only screen and (max-width: 570px) {
    .img-container{
        width:20%;   
    }
    
    .team-page .small-images{
        width:9%;   
    }
    
    .team-bio{
        width: 70%;
        height: 20vh;
        margin:0;
    }
    
    .profile-container{
        height: 25vh;
        margin-top:0;
    }
    
    .team-page ul li{
        width:90vw;
    }
    
    .profile-container{
        width:90vw;
    }
}

/*Team Page Ends*/

/*contact start*/
.contact-container{
    width: 50%;
    float: left;
    padding-top:20vh;
    height: 80vh;
    border-right:1px grey solid;
}

.contact-text{
    padding-left: 10%;
}

.contact-page-title{
    width: 80%;
}
@media only screen and (max-width:720px){
    .contact-container{
        width: 100%;
        height: auto;
        padding-top:10px;
        border:0;
        border-bottom: 1px grey solid;
    }
    
    .contact-text{
        border: 0;
    }
    
    .contact-container h1{
        font-size: 1.2em;
    }
    
    .contact-container h2{
        font-size: 1.1em;
    }
    
    .contact-container h3{
        font-size: 0.9em;
    }
}
/*contact end*/

/*faq start*/
.faq-left{
    height: 80vh;
}

.column-base .faq-container{
    height: 80vh;
    padding:0 10%;
    width: 50%;
    float: left;
    border-right:1px grey solid;
}

@media only screen and (max-width:1100px){
    .faq-left{
        height: auto;
    }
    
    .faq-container h1{
        font-size:1.4em;
    }
}

@media only screen and (max-width:470px){
    .faq-left{
        height: auto;
    }
}

/*faq end*/

/*Partner start*/
.partner-wrap{
    margin-top: 5vh;
}

.partner-intro-l{
    width: 35%;
    padding:0 20px;
    height: 80vh;
    float: left;
    border-right: 1px grey solid;
}

.partner-intro-r{
    width: 65%;
    padding:0 20px;
}

.partner-title{
    width: 100%;
}

.partner-text{
    width: 100%;
}

.partner-container{
    width:100%;
    padding:20px 20%;
}

.partner-container div{
    display:inline-block;
    vertical-align: top;
}

.partner-img{
    width: 300px;
}

.partner-img img{
    width: 100%;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
}

.partners-lineup .partner-info img{
    overflow: hidden;
    margin:0 10px;
    width:130px;
    display: inline-block;
    vertical-align: middle;
}

.partner-info{
    padding: 20px 60px;
}

/*specific for title partner*/
.title-partner-img{
    float: left;
    width: 200px;
    margin-top: 20px;
}

.title-partner-img img{
    width:100%;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
}
.title-partner{
    width: 100%;
}

.title-partner img{
    width: 400px;
}

.title-partner-text{
    width: 95%;
}

.title-partner-text h2{
    float: left;
}

@media only screen and (max-width: 1320px) {
    .PT-inner-l{
        margin-top:0px;
    }
    
    .partner-wrap{
        margin-top: 0vh;
    }
    
    .my-partner-menu .inner-subtitle{
        display:none;
    }
    
    .partners-lineup .partner-info img{
        width:60px;
    }
}

@media only screen and (max-width: 870px) {
    .title-partner img{
        width: 70%;
    }
    
    .partner-container img{
        width:250px;
        margin:0;
    }
    .partner-container h2{
        font-size:1.3em;
    }
 
    .partner-container .partner-text{
        width:100%;
    }
    
    .partners-lineup .partner-info img{
        width:60px;
    }
    
    .title-partner-text h2{
        font-size: 1.3em;
    }
}

/*past talks start*/

/*past talks end*/

/*Partner end*/
/*Speakers start*/

.speaker-image{
    width:25%;
    padding:3%;
}

.speaker-bio{
    margin-top: 30px;
    height:70vh;
    vertical-align: top;
    width:65%;
    overflow-y:auto;
    overflow-x:hidden;
}

.speakers-img-container{
    position: relative;
    width:243px;
    margin-right:20px;
}

.video-overlay{
    position: absolute;
    color:#ff2a03;
    bottom: 0px;
    right:10px;
    cursor: pointer;
}

.color-overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top:10px;
    left: 0px;
    background-color: rgba(255,255,255,0);
}

.color-overlay p{
    position: absolute;
    bottom: 20px;
    right:60px;
    color: rgba(255,255,255,0);
    font-weight: 600;
}

.speakers-img-container:hover .color-overlay{
    background-color: rgba(255,255,255,0.7);
    cursor: pointer;
}

.speakers-img-container:hover .color-overlay p{
    color: rgba(255,42,3,1);
}

.speakers-img-container img{
    float:left;
    width:100%;
    padding-top:5%;
}

.buy-ticket-SC{
    position: absolute;
    width:30%;
    right:-25%;
    height:100px;
    bottom:0px;
}

.buy-ticket-btn{
    width:70%;
    float: left;
    padding:5px;
    height:100px;
    color:#ff2a03;
    display: flex;
    align-items: center;
    border:8px solid #ff2a03;
}

.tips{
    width:50px;
    float: left;
    height:100px;
    background-color:#ff2a03;
    color:white;
    padding-top:30px;
    cursor: pointer;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.3);
}

/*.arrow{
    float: left;
    margin-left: -73px;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width:23px 23px 25px 0px;
    border-color:transparent black transparent transparent ;
}*/

#rotate{
    position: relative;
    -webkit-animation: rotation 4s infinite both;
    -moz-animation: rotation 4s infinite both;
    animation: rotation 4s infinite both;
}

@-webkit-keyframes rotation {
0% {
        -webkit-transform: rotate(0deg);
    }
    10%,30%{
        -webkit-transform: rotate(70deg);
    }
    20%, 40%{
        -webkit-transform: rotate(-70deg);
    }
    50%{
        -webkit-transform: rotate(0deg);
    }
}

@-moz-keyframes rotation{
    0% {
        -webkit-transform: rotate(0deg);
    }
    10%,30%{
        -webkit-transform: rotate(10deg);
    }
    20%, 40%{
        -webkit-transform: rotate(-10deg);
    }
    50%{
        -webkit-transform: rotate(0deg);
    }
}

@keyframes rotation{
    0% {
        -webkit-transform: rotate(0deg);
    }
    10%,30%{
        -webkit-transform: rotate(30deg);
    }
    20%, 40%{
        -webkit-transform: rotate(-30deg);
    }
    50%{
        -webkit-transform: rotate(0deg);
    }
}

.buy-ticket-btn:hover{
    color:white;
    background-color:rgba(255,42,3,0.9);
}

.buy-ticket-btn p{
    margin:auto;
    text-align: center;
    font-size:1.2em;
    font-weight: 400;
}

@media only screen and (min-width: 1225px) and (max-height: 630px){
    .speaker-image{
        width: 20%;
    }
    
    .speakers-img-container{
        width: 200px;
    }
    
    .speaker-name h2{
        font-size:1.5em;
        margin:0;
    }
}

/*speakers media query start*/
@media only screen and (max-width: 1225px) {
    .speakers-img-container{
        width:200px;
    }

    .speaker-image h2{
        font-size:20px;
        padding:0 10px;
        margin:0px;
    }
    
    .buy-ticket-btn p{
        font-size:0.9em;
    }
}
@media only screen and (max-width: 870px){
    .speaker-image{
        padding-top: 15%;
        width:210px;
    }
    
    .speaker-bio{
        width:60%;
        margin-top:130px;
        padding: 0;
        height: 70vh;
    }
}

@media only screen and (max-width: 540px) {
    .speaker-bio h3,
    .speaker-bio h5,
    .speaker-bio h4
    {
        margin:0;
    }
    
    .speaker-image{
        padding:0;
        width:90%;
        height:220px;
        overflow: hidden;
    }
    
    .speakers-img-container{
        width:100%;
    }
    
    .speakers-img-container img{
        padding:0;
        margin: 0;
        width:100%;
    }
    
    .speaker-image .speaker-name{
        position: absolute;
        margin:0;
        color:white;
        top:155px;
    }
    
    #andy-name{
        top:135px;
    }
    
    #one-LName{
        top:175px;
    }
    
    .speaker-name h2{
        font-weight: 400;
    }
    
    .speaker-bio{
        margin:3%;
        width:85%;
        height:35vh;
    }
    
    .speaker-container{
        margin-left:30px;
    }
    /*offset for elim chu*/
    #elimChu{
        margin-top:-70px;
    }
    
    #glen-tibbits{
        margin-top:-50px;
    }
    
    #mark-friesen{
        margin-top:-40px;
    }
}
/*speakers media query end*/
/*Speakers end*/
@include media-breakpoint-up(sm) {
  * {
    font-size: 8px;
  }
}

/*HOMEPAGE START*/
#landing-page .slide div,
#home-detail .slide div{
    display: block;
}

.homepage .fp-controlArrow{
    border-color:transparent transparent transparent #ff2a03;
}

.homepage .fp-controlArrow.fp-prev{
    border-color:transparent #ff2a03 transparent transparent;
}

.relative-container{
    width: 100%;
    height: 100%;
    position: relative;
}
/*page1*/
video#bgvid{
    position: fixed;
    top:0;
    left: 0;
    /*min-width: 100vw;
    min-height: 100vh;*/
    width: 100vw;
    height: 100vh;
    background: url(https://www.sfu.ca/~xca65/2017tedxsfu/img/Downtown-Vancouver-sunset-sm.jpg) no-repeat;
    background-size:cover;
    z-index: -100;
}

#landing-page{
    background-color: rgba(0,0,0,0.7);
}

.landing-wrap{
    height: 100vh;
    width: 100vw;
    padding: 5vh 5vw;
    position: relative;
}

.home-logo{
    width: 200px;
    float: left;
}

.home-logo img{
    width: 200px;
}

.home-menu{
    float: right;
    color:white;
    font-size:1.2em;
    border-bottom: 4px solid #ff2a03;
}

.header{
    height: 10vh;
}
/*theme*/
.theme-section{
    width: 100%;
    height: 50vh;
    padding-top:10vh;
    padding-bottom: 10vh;
}

.theme-logo img{
    width: 50%;
    float: left;
}

.play-btn{
    float: left;
    width: 50%;
    padding-top:88.5px;
    padding-left:30%;
}

.play-text{
    color:white;
    width: 110px;
    text-align: right;
    float: left;
    margin-right:10px;
}

.play-arrow{
    float: left;
    cursor: pointer;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 35px 0 35px 40px;
    border-color: transparent transparent transparent #ff2a03;
}
/*date section*/
.date-section{
    width: 100%;
    height: 30vh;
}

.home-left-info{
    float: left;
}

.home-block-l{
    position: absolute;
    left: 0px;
    width: 5vw;
    height: 10vh;
    background-color: #ff2a03;
}

.home-info{
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    margin-left: 20px;
    vertical-align:middle;
}

.home-right-info{
    float: right;
}
.home-block-r{
    position: absolute;
    right: 0px;
    width: 15vw;
    height: 10vh;
    background-color: #ff2a03;
    color:white;
}

.pre-sale{
    font-weight: 600;
    width: 80%;
    border-bottom: 2px solid white;
    font-size:1.2em;
    padding:0 4px;
}

.free-pass{
    width: 80%;
    font-size: 0.9em;
    line-height: 1em;
    padding:2px 4px;
}

.home-ticket-btn{
    color:white;
    margin-right: 10vw;
    width: 400px;
    height: 10vh;
    display: flex;
    align-items: center;
    border:8px solid #ff2a03;
}

.home-ticket-btn:hover{
    background-color:rgba(255,42,3,0.5);
}

.home-ticket-btn p{
    width: 300px;
    margin:auto;
    text-align: center;
    font-size:2em;
}

/*Scrolling button*/
.mouse_scroll {
    position: absolute;
    bottom:0px;
	display: block;
	margin: 0 auto;
	width: 24px;
	height: 100px;
	margin-top: 125px;
    margin-left: 50vw;
    transform: translateX(-50%);
}

.m_scroll_arrows
{
  display: block;
  width: 5px;
  height: 5px;
  -ms-transform: rotate(45deg); /* IE 9 */
  -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
  transform: rotate(45deg);
   
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  margin: 0 0 3px 4px;
  
  width: 16px;
  height: 16px;
}

.unu
{
  margin-top: 1px;
}

.unu, .doi, .trei
{
    -webkit-animation: mouse-scroll 1s infinite;
    -moz-animation: mouse-scroll 1s infinite;
}

.unu
{
  -webkit-animation-delay: .1s;
  -moz-animation-delay: .1s;
  -webkit-animation-direction: alternate;
}

.doi
{
  -webkit-animation-delay: .2s;
  -moz-animation-delay: .2s;
  -webkit-animation-direction: alternate;
  margin-top: -6px;
}

.trei
{
  -webkit-animation-delay: .3s;
  -moz-animation-delay: .3s;
  -webkit-animation-direction: alternate;
  margin-top: -6px;
}

.mouse
{
height: 42px;
width: 24px;
  border-radius: 14px;
  transform: none;
  border: 2px solid white;
  top: 170px;
}

.wheel
{
  height: 5px;
  width: 2px;
  display: block;
  margin: 5px auto;
  background: white;
  position: relative;
  
  height: 4px;
  width: 4px;
  border: 2px solid #fff;
  -webkit-border-radius: 8px;
          border-radius: 8px;
}

.wheel
{
  -webkit-animation: mouse-wheel 1s linear infinite;
  -moz-animation: mouse-wheel 1s linear infinite;
}

@-webkit-keyframes mouse-wheel
{
   0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(6px);
    -ms-transform: translateY(6px);
    transform: translateY(6px);
  }
}

@-moz-keyframes mouse-wheel
{
  0% { top: 1px; }
  25% { top: 4px; }
  50% { top: 8px;}
  75% { top: 2px;}
  100% { top: 1px;}
}

@-webkit-keyframes mouse-scroll {

  0%   { opacity: 0;}
  50%  { opacity: .5;}
  100% { opacity: 1;}
}
@-moz-keyframes mouse-scroll {

  0%   { opacity: 0; }
  50%  { opacity: .5; }
  100% { opacity: 1; }
}
@-o-keyframes mouse-scroll {

  0%   { opacity: 0; }
  50%  { opacity: .5; }
  100% { opacity: 1; }
}
@keyframes mouse-scroll {

  0%   { opacity: 0; }
  50%  { opacity: .5; }
  100% { opacity: 1; }
}
/*Scrolling button*/

@media only screen and (max-width: 850px) {
    .play-btn{
        padding-left: 20%;
        padding-top:0;
    }
    
    .pre-sale{
        width: 100%;
        font-size:0.8em;
    }
    
    .free-pass{
        width: 100%;
        font-size:0.6em;
    }
    
    .mouse_scroll{
        height: 50px;
    }
}

@media only screen and (max-width: 470px){
    .theme-logo img{
        width: 100%;
    }
    
    .play-btn{
        padding:0;
        width: 100vw;
    }
    
    .pre-sale{
        border-bottom: 0;
        height: 100%;
        width: 90%;
        font-size: 0.5em;
    }
    
    .free-pass{
        display: none;
    }
    
    .play-arrow{
        border-width: 30px 0 30px 35px;
    }
    
    .home-right-info{
        width: 100%;
    }
    
    .home-ticket-btn{
        width: 100%
    }
    
    .home-ticket-btn p{
        width: 90%;
        font-size: 1.5em;
    }
    
    .mouse_scroll{
        display: none;
    }
    
    .landing-wrap{
        padding-top:70px;
        background: url(https://www.sfu.ca/~xca65/2017tedxsfu/img/Downtown-Vancouver-sunset-sm.jpg) no-repeat;
        background-size: cover;
    }
    video#bavid{
        display: none;
    }
}

/*page2 section2*/
.slide2-wrap{
    position: relative;
    width: 100vw;
    height: 100vh;
    padding-top:10vh;
    background-color: white;
}

.home-image-l{
    position: absolute;
    left: 0px;
    width: 60vw;
    height: 80vh;
    overflow: hidden;
    background-image: url(https://www.sfu.ca/~xca65/2017tedxsfu/img/Downtown-Vancouver-sunset.jpg);
    background-size: cover;
    transform: translateX(-66%);
}

.home-image-r{
    position: absolute;
    right: 0px;
    width: 60vw;
    height: 80vh;
    overflow: hidden;
    background-image: url(https://www.sfu.ca/~xca65/2017tedxsfu/img/H20Lab-bg.jpg);
    background-size: cover;
    transform: translateX(66%);
}

.center-info{
    height: 85vh;
    width: 100%;
}

.multiply{
    font-size: 3em;
    font-weight: 800;
    width: 380px;
    margin: auto;
    padding-bottom: 10px;
    color:#ff2a03;
}

.multiply img{
    width: 150px;
    vertical-align: baseline;
}

.home-lab-info{
    width: 40vw;
    padding:20px;
    margin: auto;
    text-align: center;
    border-bottom: 2px black solid;
    overflow: hidden;
    height: 100px;
}

.prize-info{
    height: 30vh;
    overflow-y:auto;
}

.prize-info >div{
    width: 40vw;
    margin: auto;
    overflow-y:auto;
}

.prize-detail p{
    padding-top:10px;
}

.home-icon{
    height: auto;
    width: 60px;
    float: left;
    padding:10px;
}

.logo-title-l{
    padding-right: 10px;
    position: absolute;
    right: 0;
    top: 40vh;
    width: 20vw;
}

.logo-title-r{
    position: absolute;
    padding-left: 10px;
    left: 0;
    top: 40vh;
    width: 20vw;
}

.home-title-faq-r{
    position: absolute;
    padding-right: 10px;
    border-right: 10px #ff2a03 solid;
    right: 0;
    bottom: 10px;
    width: 20vw;
}

.auqa-logo-r{
    position: absolute;
    right: 10px;
    width: 15vw;
    top:10px;
}

.home-title-faq-l{
    position: absolute;
    padding-left: 10px;
    border-left: 10px #ff2a03 solid;
    left: 0;
    bottom: 10px;
    width: 20vw;
}

.home-date-l{
    position: absolute;
    right: 0;
    bottom: 10vh;
    color: white;
    width: 20vw;
    text-align: right;
    padding-right: 10px;
    border-right: 10px #ff2a03 solid;
}

.tedx-lofo-l{
    position: absolute;
    left: 10px;
    width: 15vw;
    top:10px;
}

.home-date-r{
    position: absolute;
    left: 0;
    bottom: 10vh;
    color: white;
    width: 20vw;
    margin-left: 0;
    padding-left: 10px;
    border-left: 10px #ff2a03 solid;
}

.home-p2-btn{
    width: 25vw;
    margin: auto;
    border: 8px #ff2a03 solid;
    background-color:white;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.home-p2-btn:hover{
    background-color: #ff2a03;
    color:white;
}

.home-p2-btn p{
    width: 90%;
    margin:auto;
    text-align: center;
    font-size:1.5em;
    font-weight: 600;
}

.scroll-indicator{
    height: 20px;
}

.scroll-indicator i{
    margin-left: 50vw;
    transform: translateX(-50%);
}

@media only screen and (max-width: 1200px) {
    .home-lab-info{
        display: block;
        position: relative;
        width: 50vw;
        height: 100px;
        padding:5px;
    }
    
    .home-lab-info:after{
        position: absolute;
        bottom: 0;
        left: 0;
        height: 40%;
        width: 100%;
        content: "";
        background: linear-gradient(to top, rgba(255,255,255,1) 10%, rgba(255,255,255,0) 70%);
        pointer-events: none;
    }
    
    .home-lab-info.expanded:after{
        position: absolute;
        bottom: 0;
        height: 40%;
        width: 100%;
        content: "";
        background: linear-gradient(to top, rgba(255,255,255,0) 10%, rgba(255,255,255,0) 70%);
        pointer-events: none;
    }
    
    .prize-info >div{
        width: 50vw;
    }
    
    .multiply{
        padding-bottom: 1px;
    }
    
    .logo-title-l,
    .logo-title-r{
        top:10vh;
    }
}

@media only screen and (max-width: 960px){
    .multiply{
        width: 45vw;
    }
    .multiply img{
        width: 15vw;
    }
    
    .home-lab-info{
        font-size:0.85em;
        height: 60px;
    }
    
    .prize-info{
        height: auto;
    }
    
    .prize-detail p{
        font-size:1em;
    }
    
    .home-date-l,
    .home-date-r{
        font-size:0.5em;
        font-weight: 400;
    }
}

@media only screen and (max-width: 550px){
    .part2{
        display:none;
    }
    
    .multiply{
        width: 100%;
        font-size:3em;
    }
    
    .multiply .multiply-container{
        width: 260px;
        margin: auto;
    }
    
    .multiply img{
        width: 100px;
    }
    
    .home-lab-info{
        height: 60px;
    }
    
    .slide2-wrap{
        padding-top:0px;
    }
    
    .home-image-l,
    .home-image-r{
        margin-top: 10vh;
    }
    
    .prize-detail p{
        font-size: 0.6em;
        padding-top: 5px;
        width: 40vw;
        float: left;
    }
     
    .home-icon{
        padding:5px;
        padding-top:10px;
        width: 9vw;
        height: auto;
    }
    
    .home-date-l{
        right: auto;
        left: 0;
        width: 60%;
        text-align: left;
        border-right: 0px;
    }
    .home-date-r{
        left:auto;
        right: 0;
        color: white;
        width: 65%;
        padding-left: 0px;
        padding-right: 5px;
        border-left:0;
        text-align: right;
    }
    
    .home-p2-btn{
        width: 40vw;
        margin-top: 20px;
    }
    .p2-btn-text{
        font-size:0.8em;
        width: 100%;
    }
}

/*page2 section1 & page2 section3*/
.slide1-wrap{
    position: relative;
    width: 60vw;
    height: 100%;
    padding:10vh 0;
    overflow-y: auto;
    background-color: white;
}

.slide1-wrap .FAQ-container,
.slide3-wrap .FAQ-container{
    width: 40vw;
    margin: auto;
    margin-bottom: 30px;
}

.slide3-wrap{
    position: relative;
    margin-left: 40vw;
    width: 60vw;
    height: 100%;
    padding:10vh 0;
    overflow-y: auto;
    background-color: white;
}

.question{
    font-size: 1.3em;
    color:#ff2a03;
}

@media only screen and (max-width: 550px){
    .slide1-wrap,
    .slide3-wrap{
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .slide1-wrap .FAQ-container,
    .slide3-wrap .FAQ-container{
        width: 50vw;
        margin-bottom: 10px;
    }
    
    .question{
        font-size: 0.8em;
    }
    
    .answer{
        font-size: 0.5em;
    }
}
/*HOMEPAGE END*/
/*Slide in menu start*/
nav#slide-menu{
    position: fixed;
	top: 0;
    padding-top:10px;
	right: -300px;
	bottom: 0;
	display: block;
	float: right;
	width: 100%;
	max-width: 184px;
	height: 100vh;
    background-color: black;
    z-index: 10;
}

nav#slide-menu > ul{
    display: block;
    margin: 40px;
    padding: 0;
    list-style: none;
    opacity: 0.5;
}

nav#slide-menu li{
    color: #dfe5eb;
    padding: 6px 0;
    cursor: pointer;
}

.menu-trigger{
    position: absolute;
    right:10px;
    cursor: pointer;
    z-index: 20;
    transform: translateY(50%);
}

body.menu-active .menu-trigger{
    padding-top:20px;
}

.menu-trigger .line{
    width:20px;
    height:2px;
    display: block;
    background-color: white;
}

.menu-trigger .line1{
  -webkit-transform:rotate(45deg);
  -ms-transform:rotate(45deg);
  -o-transform:rotate(45deg);
  transform:rotate(45deg);
}

.menu-trigger .line2{
  -webkit-transform: translateY(-1px) rotate(-45deg);
  -ms-transform: translateY(-1px) rotate(-45deg);
  -o-transform: translateY(-1px) rotate(-45deg);
  transform: translateY(-1px) rotate(-45deg);
}

body.menu-active nav#slide-menu { right: 0px; }
body.menu-active nav#slide-menu ul { right: 0px; opacity: 1; }
body.menu-active .home-menu{ border-bottom: 0px solid black; }

@media only screen and (max-width: 550px){
    nav#slide-menu{
        padding-top:70px;
    }
}
/*Slide in menu end*/

/*Blog post page start*/
.blog-main{
    width: 100%;
    max-width: 2000px;
    margin-left:80px;
}

.blog-main .blog-container{
    position: relative;
    display: inline-block;
    width:28%;
    margin:0 10px;
    padding: 20px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
    vertical-align: top;
    height:75vh;
    overflow:hidden;
    cursor: pointer;
}

.blog-main .blog-container:after{
    position: absolute;
    bottom: 0px;
    height: 40%;
    width: 100%;
    content: "";
    background: linear-gradient(to top, rgba(255,255,255,1) 2%, rgba(255,255,255,0) 20%);
    pointer-events: none;
}

.title-img-con{
    width: 100%;
}

.title-img-con img{
    width: 100%;
}

.title-block{
    width: 100%;
    margin-top: 5px;
    position: relative;
}

.blog-title{
    font-size:1.5em;
    width: 70%;
    text-align: left;
}

.blog-author{
    font-size:0.8em;
    font-style: italic;
    text-align: right;
    position: absolute;
    right:0;
    bottom: 3px;
    color:#bcbcbc;
    letter-spacing: 0.5px;
}

.blog-content{
    font-size:0.8em;
    margin-top:10px;
    letter-spacing: .3px;
}
/*Blog post page end*/

/*light box start*/

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  
  padding-top: 20px;
  padding-left:200px;
  padding-right:200px;
  left: 0;
  top: 0px;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 50px 100px;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 60px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
    margin-left:-100px;
  color: black;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */

img {
  margin-bottom: -4px;
}

.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19)
}

.content-title{
    font-size:2em;
}

.content-author{
    font-size:0.8em;
    font-style: italic;
    position: absolute;
    right: 100px;
    top:70px;
}

.title-block .inline{
    display: inline-block;
}

.content-text{
    font-size:0.8em;
    margin-bottom:10px;
    padding-top:10px;
}

.content-img img{
    width:100%;
    padding-top:20px;
}

.caption{
    font-size:0.5em;
    margin-top: -50px;
    font-style: italic;
    color:#bcbcbc;
}

.add-content{
    font-size:0.7em;
    font-style: italic;
}

@media only screen and (max-width: 1320px) {
    .modal-content{
        padding:50px 50px;
    }
    
    .modal{
        padding-left: 50px;
        padding-right: 50px;
    }
    
    .blog-author{
        display:none;
    }
    
    .blog-main{
        margin-left: 20px;
    }
    
    .content-author{
        display: none;
    }
    
    .blog-main .blog-container{
        padding:3px;
    }
    
    .blog-title{
        width: 100%;
    }
}

@media only screen and (max-width: 620px){
    .modal-content{
        padding:10px 10px;
    }
    
    .blog-main{
        margin-left: 10px;
    }
    
    .modal{
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .blog-title{
        font-size:0.8em;
        font-weight: 600;
    }
    
    .blog-main .blog-container{
        margin-right:0px;
        margin-left: 5px;
    }
}

.mobile-blog-contnet{
    width: 89%;
    padding-top:10px;
    overflow:auto;
}

.new_center{
    margin-top:20px;
    width: 100%;
    color: black;
    text-align: center;
}
/*light box end*/