/* --------------- COMMON --------------- */

* {
    background-color: #F5FAFA;
    margin: 0; 
}

body {
    left: 0;
    right: 0;
    padding-top: 55px;
    padding-bottom: 15px;
    text-align:center;
    font-family: "segoe ui light", verdana, sans-serif;
    font-size: 1rem;
}

main{
    font-size: 1.1rem;
}

main p::first-letter{
    font-size: 1.5rem;
}

ul{
    list-style-type: none;
}

a{
    color: #ff6600; /*#ff3300;*/
}

a:hover{
    color: #ff9900;
}

/*a:visited{
    color:#ff6600;
}*/

/*h1 {
    color: #669999;
    font-family: "segoe ui", verdana, sans-serif;
    font-size: 1.8rem;
}*/

h2 {
    color: #669999;
    font-family: "segoe ui", verdana, sans-serif;
    font-size: 1.4rem;
}

h3 {
    
    color: #669999;
    font-family: "segoe ui", verdana, sans-serif;
    font-size: 1.2rem;
}


#button-own
{
    display: inline-block;
}
        
    #button-own > a
    {
        display: inline-block;
        text-decoration: none;
        text-transform: uppercase;
        font-size: 1.6rem;
        outline: 0;
        padding: 20px 10px;
        width: 250px;
        border: none;
        background-color: #339999; 
        color: azure;
        border-radius: 4px;
        margin: 5px;
        transition: all 0.5s;
        cursor: pointer;
        margin-bottom: 50px;
    }


    #button-own > a:hover::after
    {
        content: " \00bb";
    }


/*
.button {
    display: inline-block;
    border-radius: 4px;
    background-color: #339999;
    border: none;
    color: azure;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.6rem;
    padding: 20px;
    width: 250px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
}

.button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
    background-color: #339999;
}

.button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 25px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}

.button-wrap{
    border-top: 3px double #339999;
    padding-top: 50px;
    padding-bottom: 50px;
}

.button-wrap a, .button-wrap a:visited{
    text-decoration: none;
    background: none;
    color: azure;
}
*/


/* --------------- NAVIGATION --------------- */

.nav-bar{
    opacity: 0.9;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    list-style-type: none;
    overflow: hidden;
    color: white;
    background-color: #339999;
    margin-top: 5px, #339999;
    margin-left: none;
    padding-top: 9px;
}

.nav-bar ul{
    background-color: #339999;
    line-height: 2rem;
    margin-bottom: 13px;
}

.nav-bar li{
    background-color: #339999;
    display: inline;
}

.nav-bar a, .nav-bar a:visited{
    text-decoration: none;
    display: inline-block;
    width: 15%;
    margin-right: 2.5%;
    text-align: center;
    line-height: 2rem;
    background-color: #339999;
    color: aliceblue;
    font-style: bold;
    font-size: 1.2rem;
}

.nav-bar a:hover{
    color: azure;
    font-size-adjust: 1.25rem;
    font-weight: bold;
}


/* --------------- MAIN --------------- */

#header-main {
    padding-top: 230px;
    padding-bottom: 350px;
    background-image: url("images/header.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: aliceblue;
    font-family: "segoe ui", verdana, sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    color: aliceblue;
    font-size: 1.8rem;
}

#header-main p{
    position: relative;
    top: 70px;
    background: none;
    font-size: 1.6rem;
}

#title-main{
    position: relative;
    top: 50px;
    background: none;
}

#intro-main{
    border-top: 10px solid #339999;
    padding: 50px 10% 50px 10%;
}

#intro-main h1{
    color: #669999;
    font-family: "segoe ui", verdana, sans-serif;
    font-size: 1.6rem;
}

#content-main{
    border-top: 3px double #339999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 50px;
    flex-direction: column;
    text-align: center;
}
    
.sec-main{
    padding-top: 50px;
    position: relative;
    width: 75%;
    left: 0;
}

#dates{
    padding-top: 50px;
    position: relative;
    right: 0;
    text-align: center;
    flex-direction: column;
}

#invited-speakers{
    border-top: 3px double #339999;
    padding-top: 50px;
    padding-bottom: 50px;
}

#committee-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
}

#organization{
    border-top: 3px double #339999;
    padding-top: 50px;
    padding-bottom: 50px;
}


/* --------------- SIDE ---------------*/

#header-side h2{
    padding-top: 50px;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: bold;
}

.sec-side{
    padding-top: 50px;
    padding-bottom: 50px;
    width: 80%;
    padding-left: 10%;
}

.sec-side em{
    font-weight: bold;
    font-style: normal;
}


/* --------------- PROGRAM ---------------*/


.timetable{
    table-layout: fixed;
    width: 70%;
    margin-left: 15%;
    margin-right: 15%;
    margin-bottom: 70px;
    border-collapse: collapse;
}

.timetable tr{
    height: 2.5rem;
    border-bottom: solid 1px #339999;
}

.timetable caption{
    padding-top: 20px;
    padding-bottom: 10px;
    font-weight: bold;
    font-family: "segoe ui", verdana, sans-serif;
    font-size: 1.4rem;
}

.row_n1{
  background-color: #F3F3F3;
}

.row_n2{
  background-color: #EEEEEE;
}

.inv-speaker{
    background-color: #96CCCC;
}

.session-head{
    color:  #657382;
}


/* --------------- ABSTRACTS ---------------*/

#submit{
    padding-top: 25px;
    border-top: none;
    border-bottom: 3px double #339999;
}


/* --------------- REGISTRATION ---------------*/

#registration-link{
    padding-top: 50px;
    padding-bottom: 70px;
    font-size: 2.5rem;
}

/* --------------- FOOTER --------------- */

.credits{
    border-top: 3px double #339999;
    padding-top: 50px;
}

.logo-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 250px;
}

.logo-container{
    flex: 100%;
    max-width: 100%;
    max-height: 250px;
    padding: 5px;
}

.logo{
    max-width: 90%;
    max-height: 90%;
}

.copyright{
    display: flex;
    padding-top: 30px;
    padding-bottom: 15px;
}

.copyright > div{
    flex: 1;
}


/* --------------- MEDIA QUERIES --------------- */

/*@media only screen and (max-width: 1600px) {
    #content-main, #dates {
        flex-direction: column;
        text-align: center;
    }
    
    .sec-main, #dates {
        left: 0;
    }
    
    .sec-main {
        width: 90%;
    }
    
}*/

@media only screen and (max-width: 800px) {
    
    .nav-bar a, .nav-bar a:visited{
    width: 25%;
    } 
    
    #header-main {
    margin-top: 34px;
}
    
    .logo-wrapper{
        height: 100px;
    }
}

@media only screen and (max-width: 600px) {
    
    #committee-wrapper{
        flex-direction: column;
        text-align: center;
    }
    
    #org-comittee{
        padding-top: 25px;
    }
}