@import url(https://fonts.googleapis.com/css?family=Exo:200,500);

body {
    padding-top: 50px;
}

html, body {
    font-family: "Ubuntu", sans-serif;
}

#myCarousel {
    margin: 0 auto;
}

.carousel, .slide,
.carousel .carousel-inner,
.carousel .carousel-item,
.carousel .carousel-item img,
.carousel .carousel-control {
  border-radius: 1em;
  overflow: hidden;
}

#myCarousel .carousel-control {
    background-color: transparent;
    background-image: none;
}

/* navbar */
.navbar-default {
    background-color: #444444;
    border-color: transparent;
}
/* title */
.navbar-default .navbar-brand {
    color: #fff;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
    color: #fff;
}
/* link */
.navbar-default .navbar-nav > li > a {
    color: #eee;
    margin-top: 10px;
    padding: 5px 15px;
    margin-left: 1em;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    background-color: #fff;
    color: #11487a;
    border-radius: 10px;
    opacity: 0.9;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    background-color: #fff;
    color: #11487a;
    border-radius: 10px;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
    color: #fff;
    background-color: #11487a;
}

.navbar-brand small {
    display:block;
    font-size:12px;
}

.navbar-brand {
    padding-top:8px;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #eee;
}

@media (min-width:768px) {

  .nav.navbar-nav a {
    padding-top:30px;
    padding-bottom:30px;
  }

}

/* REGISTRATION LINK */
li#reg_link {
    text-transform: uppercase;
}
.navbar-default .navbar-nav > li#reg_link > a {
    background-color: #2980B9;
    border-radius: 10px;
    color: #fff;
}
.navbar-default .navbar-nav > li#reg_link > a:hover,
.navbar-default .navbar-nav > li#reg_link > a:focus {
    background-color: #fff;
    border-radius: 10px;
    color: #11487a;
}

.blurb {
    max-width: 1000px;
    text-align: justify;
    margin: 1em auto;
    font-size: 12pt;
}

.starter-template {
    padding: 40px 15px;
    text-align: center;
}

h1 {
    margin-bottom: 1em;
    font-size: 1.7em;
}

.container#about, .container#speakers, .container#schedule,
.container#accomodation, .container#links, .container#venue{
    margin: 2em auto;
}

.container#about {
    margin-top: 0;
}

a {
    color: #afcce1;
}

a:hover {
    color: #444444;
}

strong {
    color: #444444;
}

.btn-default {
    color: #236494;
    border-color: #236494;
}

.btn-default:hover {
    color: #fff;
    background-color: #236494;
    border-color: #236494;
}

#speakers a,
#organizers a {
    color: black;
}

#speakers a .affiliation,
#organizers a .affiliation {
    font-size: 1.2em;
}

h1, h4 {
    color: #2980B9;
}

#venue p {
    margin-left: 0.3em;
    margin-right: 0.3em;
    border: 1px solid #afcce1;
    border-left: 0.5em solid #afcce1;
    padding-left: 0.7em;
    padding-top: 1.1em;
    padding-bottom: 0.4em;
}

h1 {
    text-transform: uppercase;
    font-size: 2.1em;
}

#speakers .speaker,
#organizers .speaker {
    text-align: center;
    padding-bottom: 2em;
}

#speakers .speaker img,
#organizers .speaker img {
    width: 70%;
    border-radius: 50%;
    padding-bottom: 1em;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    transition: .5s;
}

#speakers .speaker img:hover,
#speakers .speaker img:active,
#organizers .speaker img:hover,
#organizers .speaker img:active {
    -webkit-filter: none;
    filter: none;
}

#speakers .speaker .name,
#organizers .speaker .name {
    font-size: 1.2em;
    font-weight: bold;
    color: #444444;
}

#schedule thead th {
    text-align: center;
}

#schedule td {
    height: 5em;
    text-align: left;
    vertical-align: top;
}

#schedule td.break {
    text-align: center;
    vertical-align: middle;
}

#schedule td .topic {
    font-weight: bold;
    font-size: 11pt;
    color: #FFFFFF;
}

#schedule td .slides {
    font-size: 11pt;
    color: #FFFFFF;
}

#schedule td .speaker {
    font-size: 0.95em;
}

th {
    color: #444444;
}

#schedule th, #schedule td {
    text-align: center;
    vertical-align: middle;
}

#schedule td {
    background-color: #444444;
    color: #eee;
    border-color: #afcce1;
    border-size: 0.2em;
}

#schedule td.danger, #schedule td.time {
    background-color: #fff;
    color: #444444;
    border-color: #ddd;
}

#schedule td.active {
    background-color: #fff;
    color: #444444;
    font-weight: bold;
    opacity: 0.75;
    text-transform: uppercase;
}

#accomodation .recessed {
    padding-top: 2.5em;
    padding-left: 1.5em;
    padding-right: 1.5em;
    border: 1px solid #ddd;
}

#accomodation .tab-content,
#links .tab-content {
    min-height: 28em;
    padding-top: 1.5em;
    padding-left: 1.5em;
    padding-right: 1.5em;
    border: 1px solid #ddd;
    border-top: none;
}

#accomodation .clearfix {
    padding-top: 5em;
    min-height: 5em;
}

#accomodation .nav li,
#links .nav li {
    cursor: pointer;
}

#accomodation .tab-content .pull-left {
    padding-bottom: 0.6em;
}

#accomodation .tab-content .pull-right {
    padding-top: 0.35em;
}

#accomodation th {
    text-align: center;
}

#accomodation td:nth-of-type(2),
#accomodation td:nth-of-type(3) {
    text-align: center;
}


#venue h4 {
    margin-top: 0em;
    margin-bottom: 0.25em;
}

#venue p {
    margin-bottom: 2em;
}

#googlemaps {
    -webkit-filter: grayscale(100%) brightness(0.9);
    filter: grayscale(100%) brightness(0.9);
}
#sponsors .col-md-1 {
  padding: 20px;
}
#sponsors .col-md-2 {
  padding: 20px;
}

#sponsors img {
  display: block;
  margin: 0 auto;
}

#sponsors img {
  max-height: 70px;
}

footer {
    background-color: #444444;
    color: #fff;
    width: 100%;
    min-height: 20px;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}

@media
only screen and (max-width: 560px),
(min-device-width: 768px) and (max-device-width: 1024px)  {
    
    .container#about, .container#speakers, .container#schedule,
    .container#accomodation, .container#links, .container#venue,
    .container {
        margin-left: 0.5em;
        margin-right: 0.5em;
    }

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr {
		display: block;
	}

  table::before {
    text-align: center;
    content: "Rotate your device for the best view.";
    font-weight: bold;
    display: block;
  }

	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	tr { border: 1px solid #ccc; }

	td {
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee;
		position: relative;
		padding-left: 50%;
	}

    td.active {
        display: none;
    }

    tr.empty {
        display: none;
    }

	td:before {
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%;
		padding-right: 10px;
		white-space: nowrap;
	}

    #venue .col-md-7 {
        margin-top: 2em;
    }
    
    #schedule td:nth-of-type(2):before { content: "4th:"; }
    #schedule td:nth-of-type(3):before { content: "5th:"; }
    #schedule td:nth-of-type(4):before { content: "6th:"; }
    #schedule td:nth-of-type(5):before { content: "7th:"; }
    #schedule td:nth-of-type(6):before { content: "8th:"; }
    
    #accomodation td:nth-of-type(2):before { content: "Single:"; }
    #accomodation td:nth-of-type(3):before { content: "Double:"; }
}

footer a {
    color: #ccc;
}

footer a:hover {
    color: #ddd;
    text-decoration: none;
}