/* General rules */

html {
    font-family: "Hind", "Helvetica Neue", "Source Sans Pro", Helvetica, Arial, sans-serif; 
    line-height: 140%;
    background-color: #ffffff;
    color: #000000;
}

h1 {
    font-family: 'Montserrat', 'Proxima Nova', 'Helvetica Neue', 'Helvetica', sans-serif;
}

body {
    /*overflow-y: scroll;*/
}

.left {
    float: left;
}

.right {
    float: right;
}

/* Header rules */

#header {
    width: 100%;
    height: 100vh;
    color: #ffffff;
	background-image: url('../images/Tallinn.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
    text-shadow: 0px 0px 5px #000, 0px 0px 5px #000;
    text-align: left;
    overflow: hidden;
    position: relative;
}

#scroll-arrow {
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 0.5em;
}

#scroll-arrow img {
    width: 130px;
}

#toplogo {
    position: relative;
    background-image: url('/2018/static/images/Akadeemia_logo.png');
    background-position: top right;
    background-size: contain;
    background-repeat: no-repeat;
    height: 200px;
}

#banner {
    font-family: 'Montserrat', 'Proxima Nova', 'Helvetica Neue', 'Helvetica', sans-serif;
    max-width: 100%;
}

#title {    
    font-size: 64pt;
    line-height: 95%;
}


#subtitle {
    padding-top: 0.5em;
    font-size: 28pt;
}

#date {
    padding-top: 0.8em;
    font-size: 20pt;
}

/* Menu rules */

#menu {
    position: fixed;
    top: 0px;
    left: 0px;
    bottom: auto;
    width: 100%;
    z-index: 1000;
}

#menu-content {
    height: 50px;
    background-color: rgb(0,118,189);
    color: #ffffff;
}

#menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
    overflow: auto;
}

#menu ul li {
    float: left;
}

#menu ul li a {
    display: block;
    padding: 0.8em;
    text-decoration: none;
/*    background-color: #0076BD;*/
    color: #ffffff;
}

#menu ul li a:hover {
    color: #0076BD;
    background-color: #ffffff;
}

#menu ul li.register {
    float: right;
}

#menu ul li.register a {
    padding-left: 3em;
    font-weight: bold;
    background-image: url('../images/register.png');
    background-size: auto 75%;
    background-repeat: no-repeat;
    background-position: center left;
}

#menu ul li.register a:hover {
    background-image: url('../images/register-inv.png');
}

.navicon-line {
  width: 24px;
  height: 3px;
  margin-bottom: 3px;
  background-color: #fff;
}

.hamburger-wrapper {
    height: 50px;
    width: 50px;
    position: relative;
    z-index: 2;
}

.navicon {
    position: absolute;
    left: 13px;
    top: 17px;
}

.navbar-right {
    background-color: #0076BD !important;
}

.navbar-right nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: auto;
}

.navbar-right ul li a {
    display: block;
    padding: 0.8em;
    text-decoration: none;
    color: #ffffff;
}

.navbar-right ul li a:hover {
    color: #0076BD;
    background-color: #ffffff;
}

/* Subpage general rules */

.subpage-header {
    background-color: #0076BD;
    color: #ffffff;
}

.subpage h1 {
    clear: both;
    padding: 20px 0;
}

.subpage h1 a,
.subpage h1 a:visited {
    color: #ffffff;
}

.subpage p {
    margin-left: 9.8%;
    margin-right: 9.8%;
    text-align: justify;
}

.subpage p+p {
    margin-top: 1.5em;
}

.subpage > p:first-of-type {
    margin-top: 2em;
}

.subpage > p:last-of-type {
    margin-bottom: 2em;
}

/* Photos subpage rules */
#past-photo-container img {
    width: 100%;
    vertical-align: top;
}

#past-photo-container div {
    width: 50%; 
}

#photos-block {
    margin: 0 auto;
}

#view-more-pictures {
    text-align: center;
    margin: 15px;
    font-family: 'Montserrat', 'Proxima Nova', 'Helvetica Neue', 'Helvetica', sans-serif;
    font-size: 1.4em;
}

#view-more-pictures a {
    text-decoration: none;
}



#kings {
    width: 100%;
    height: 70vh;
    background-image: url('../images/kings-mq.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#union {
    width: 100%;
    height: 30vh;
    background-image: url('../images/union-mq.jpg');
    background-position: top right;
    background-repeat: no-repeat;
    background-size: cover;
}

#saal {
    width: 100%;
    height: 50vh;
    background-image: url('../images/saal-mq.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#hall {
    width: 100%;
    height: 30vh;
    background-image: url('../images/dinner-mq.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#venuecontainer {
    display: table;
    margin: 0;
    padding: 0;
    width: 100%;
    text-align: center;
}

.venue {
    display: table-cell;
    margin: 0;
    padding: 0;
    width: 50%;
}

.venue h3, .venue h2 {
    margin: 0.3em 0;
    padding: 0;
}

.googlemap {
    width: 90%;
    height: 50vh;
    margin-bottom: 2em;
}

#footer {
    width: 100%;
    height: 40vh;
    background-color: #0076BD;
    color: #ffffff;
}

#footer #contact {
    list-style-type: none;
    margin: 0;
    padding: 2em 9.8%;
    font-size: 1.0em;
}

#footer #contact li {
    margin: 0.3em;
}

#footer #contact li img {
    margin: -0.1em 1em;
}

#footer a,
#footer a:visited {
    color: #ffffff;
}

.schedule-divider span {
    font-size: larger;
}

.schedule-divider {
    border-bottom: 1px solid rgb(0,118,189);
}

.schedule-row {
    margin-top: 13px !important;
}

.schedule-description p {
    margin: 0;
    padding: 0;
}

ul.schedule {
    list-style-type: none;
    display: table-cell;
    padding: 0;
}

.schedule small {
    font-style: italic;
}

.schedule sup {
    z-index: -1;
}

.schedule li {
    padding-bottom: 0.7em;
}

.schedule li:last-child {
    padding-bottom: 0;
}

.schedule li span:first-of-type {
    color: #0076BD;
    font-weight: bold;
    font-size: 125%;
    float: left;
    width: 130px;
}

.schedule .talktitle {
    font-weight: bold;
    font-style: italic;
}

.schedday {
    display: block;

    font-size: 1.5em;
    margin: 1em 0 0.5em 0;
}

.schedsection {
    display: block;

    font-size: 0.9em;
    margin: 1em 0 0 0;
}

.schedule-divider hr {
    margin: 0 0 0.5em 0;
}

#registration-container {
    margin: 1em;
}

#registration-text {
   font-size: 15pt;
   cursor: pointer;
}

#registration-spoiler {
    border-left: 0.3em solid #0076BD;
    display: none;
}

#registration-spoiler p {
    margin-left: 2em;
}

#registration-spoiler ul {
    list-style-type: none;
    margin-left: 2em;
    padding: 0px;
}

.border-panel {
    border-right: 1px blue dashed;
}

.speaker-card {
    max-width: 260px;
    margin: 0 auto 20px auto;
}

.speaker-photo {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    padding-top: 100%;
}

.speaker-info {
    line-height: 100%;
}

.speaker-info div,h3 {
    margin-bottom: 0.2em;
}

.speaker-info h3 {
    margin: 0.4em 0;
}

.panel-description {
}

.panel-description p {
    margin: 0;
}

.speaker-info .speaker-role {
    font-style: italic;
    font-size: small;
}

.speaker-info .speaker-title {

}

.speaker ul {
    list-style-type: none;
    margin: 0 5%;
    padding: 0;
    text-align: left;
}

.speaker ul li {
    text-indent: -0.3em;
}

.speaker ul li:before {
    content: "• ";
    color: #0076BD;
}


.soclogo {
    width: 15%;
    height: auto;
    margin: 1em 2em;
    vertical-align: middle;
}

.latvians {
    width: 10%;
    height: auto;
}

.sponsorlogo {
    width: 10%;
    height: auto;
    margin: 2%;
    vertical-align: middle;
}

.narrowerlogo {
    width: 7%;
}

.widelogo {
    width: 15%;
}

.widerlogo {
    width: 20%;
}

.widestlogo {
    width: 25%;
}

.workshoplist {
    text-align: justify;
}

.workshoplist span {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5em;
}

.workshoplist li+li {
    padding-top: 1em;
}

#overlay {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;

    background-color: rgba(0, 0, 0, 0.9);
}

a,
a:visited {
    color: #0076BD;
}

.soclist {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.soclist li {
    margin: 0;
    padding: 0;
}

#committeelist {
    margin: 1em 9.8%;
    padding: 0;
    list-style-type: none;
}

#committeelist li {
    padding-top: 0.75em;
}

h3.regnotice {
    margin: 1em 0;
    padding: 0 9.8%;
}

.margins {
    margin: 0 9.8%;
}

p.notice {
    font-weight: bold;
    font-size: 1.5em;
}

p.sponsornotice {
    font-weight: bold;
    font-size: 1.25em;
}

h2.about_subtitle {
    font-weight: bold;
    font-size: 2em;
    text-align: center;
    margin: 0;
}

.blue {
    color: #0076BD;
}

.bold {
    font-weight: bold;
}

.centered,
.subpage p.centered {
    text-align: center;
}

#slidercontainer {
    margin: 2em 25%;
    padding: 0;
    overflow: hidden;
}

span.slidesjs-navigation {
    font-weight: bold;
    font-size: 2em;
    color: #000000;
    cursor: pointer;
}

span.slidesjs-navigation:hover {
    color: #0076BD;
}

span.slidesjs-previous {
    float: left;
}

span.slidesjs-next {
    float: right;
}

.video {
    margin: 2em 0;
    text-align: center;
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
}

.vimeo {
    width: 100%;
}

#sponsors {
    margin-bottom: 1em;
}

.maps-container {
    position: relative;
}

.maps-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
}

.ticket-container {
    margin: 2em 9.8%;
}

.patron-container {
    text-align: center;
    margin: 2em auto;
}

/* SPEAKERS */
#placekitten {
    background-image: url("http://placekitten.com/g/512/512");
}


/* MOBILE ONLY STYLES */

@media only screen and (max-width: 767px) {
    #title {    
        font-size: 15vw;
    }

    #past-photo-container div {
        width: 95%;
    }
}   