/*
Theme Name:     Neurohack Bootstrap Theme
Theme URI:      http://c2.washington.edu
Description:    _tk child theme.
Author:         UW Creative Communications
Author URI:     http://c2.washington.edu
Template:       _tk
Version:        0.1.0
*/

/* UW FONTS */
@font-face {
    font-family: 'Uni Sans Light';
    src: url('./assets/fonts/unisanslight-webfont.eot');
    src: url('./assets/fonts/unisanslight-webfont.eot?#iefix') format('embedded-opentype'),
         url('./assets/fonts/unisanslight-webfont.woff2') format('woff2'),
         url('./assets/fonts/unisanslight-webfont.woff') format('woff'),
         url('./assets/fonts/unisanslight-webfont.ttf') format('truetype'),
         url('./assets/fonts/unisanslight-webfont.svg#uni_sanslight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Uni Sans Regular';
    src: url('./assets/fonts/unisansregular-webfont.eot');
    src: url('./assets/fonts/unisansregular-webfont.eot?#iefix') format('embedded-opentype'),
         url('./assets/fonts/unisansregular-webfont.woff2') format('woff2'),
         url('./assets/fonts/unisansregular-webfont.woff') format('woff'),
         url('./assets/fonts/unisansregular-webfont.ttf') format('truetype'),
         url('./assets/fonts/unisansregular-webfont.svg#uni_sanslight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
  font-family: 'UniSansBold';
  src: url('./assets/fonts/UniSansBold.eot?#iefix') format('embedded-opentype'),  url('./assets/fonts/UniSansBold.woff') format('woff'), url('./assets/fonts/UniSansBold.ttf')  format('truetype'), url('./assets/fonts/UniSansBold.svg#UniSansBold') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
    font-family: 'Encode Sans';
    src: url('./assets/fonts/EncodeSansCompressed-700-Bold.ttf');
}

/* GLOBAL */
body {
	word-wrap: break-word;
	font-family: 'Open Sans', Arial, sans-serif;
  background-image: url('assets/img/main_BG.png');
}
h1, .h1 {
  font-family: 'Uni Sans Regular', 'Open Sans', Arial, sans-serif;
  font-size: 38px;
}
h2, .h2 {
  font-family: 'Uni Sans Regular', 'Open Sans', Arial, sans-serif;
  font-size: 34px;
}
h3, .h3 {
  font-family: 'UniSansBold', 'Open Sans', Arial, sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
h4, .h4 {
  font-size: 20px;
  font-weight: 600;
}
h5, .h5 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
h6, .h6 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}
.page-title {
  color: #4b2e83;
}
a {
  color: #277bd1;
}
.active, a:hover, a:focus {
  color: #85754d;
}

/* HEADER */
.site-header {
  background-color: #6b6b6b;
  height: 180px;
  background-image: url('assets/img/HEAD_BG.png');
}
.header-items {
  margin-top: 30px;
}
.site-branding img {
  width: auto;
  height: auto;
}
.theme-button a.uw-btn {
  margin-top: 30px;
  letter-spacing: 1.5px;
}
.theme-button a.uw-btn, .theme-button a.uw-btn:hover {
  background-color: #4b2e83;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
}
.theme-button a.uw-btn:hover {
  background-color: #000000;
}
.theme-button a.uw-btn::before, .theme-button a.uw-btn:hover::before {
  background-color: #f5f5f5;
}
/* .theme-button a.uw-btn:hover::before {
  background-color: #d9d9d9;
} */
.theme-button a.uw-btn::after {
  background: url('assets/img/uw-sprite.svg') no-repeat 12px -475px transparent;
}
.theme-button a.uw-btn:hover::after {
  /* background: url('assets/img/uw-sprite.svg') no-repeat -36px -475px transparent; */
  background: url('assets/img/uw-sprite.svg') no-repeat 12px -475px transparent;
}
.theme-button.schedule a.uw-btn {
  background-color: #6b6b6b;
  margin-top: 0;
}
.theme-button.schedule {
  margin-right: 20px;
  margin-top: 5px;
  float: left;
}
.theme-button.schedule a.uw-btn:hover {
  background-color: #4b2e83;
}

/* NAVIGATION */
.navbar {
  margin-bottom: 0;
  border-radius: 4px;
  min-height: 20px;
}
.site-navigation .container {
  padding-bottom: 0;
}
.site-navigation {
  background-color: #999999;
  -webkit-box-shadow: 0px 6px 4px 0px rgba(0,0,0,0.5);
  -moz-box-shadow: 0px 6px 4px 0px rgba(0,0,0,0.5);
  box-shadow: 0px 6px 4px 0px rgba(0,0,0,0.5);
  z-index: 1;
  position: relative;
}
.navbar-default .navbar-nav > li > a, .navbar-default .navbar-brand {
  color: #ffffff;
}
.navbar-default {
    background-color: #999999;
    border: none;
}
.navbar-nav > li > a {
  padding-top: 7px;
  padding-bottom: 7px;
  padding-left: 25px;
  padding-right: 25px;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .current-menu-ancestor > a, .navbar-default .navbar-nav > .current-menu-ancestor > a:hover {
    color: #ffffff;
    background-color: #4b2e83;
}
.dropdown-menu {
  background-color: #d9d9d9;
  padding: 5px 0;
  border-top: 3px solid #8876ae;
  border-radius: 0;
  min-width: 165px;
}
.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
    color: #fffff;
    text-decoration: none;
    background-color: #4b2e83;
    outline: 0;
}
.dropdown-menu li a {
  border-bottom: 1px solid #999999;
  padding: 6px 20px !important;
}
.dropdown-menu li:last-child a {
  border-bottom: 0;
}
.dropdown-menu li a:hover, .dropdown-menu li a:focus {
    color: #ffffff !important;
    text-decoration: none !important;
    background-color: #4b2e83 !important;
    background-image: none !important;
}
.navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover {
  color: #ffffff;
  background-color: #4b2e83;
}

/*SEARCH*/
.navbar-collapse {
  width: auto;
  height: 250px;
}
.navbar-footer {
    display: block;
    width: 5%;
    float: left;
    position: relative;
    margin-right: 0;
}
.navbar-footer .search-form {
    position: absolute;
    left: 0;
    top: 3px;
    z-index: 5;
}
.navbar-footer .search-form label span {
    width: 25px;
    color: #ffffff;
    position: absolute;
    font-size: 1.2em;
    top: 5px;
    left: 0;
    cursor: pointer;
}
.navbar-footer .search-form label span:hover {
    color: #4b2e83;
}
.navbar-footer .search-field {
    background-color: transparent;
    border: none;
    cursor: pointer;
    height: 25px;
    margin: 3px 0;
    padding: 0 0 0 20px;
    position: relative;
    -webkit-transition: width 200ms ease, background 200ms ease;
    transition:         width 200ms ease, background 200ms ease;
    width: 0;
}
.navbar-footer .search-field-toggle {
    background-color: #999999;
    border-bottom: 2px solid #4b2e83;
    cursor: text;
    outline: 0;
    width: 290px;
    margin: 0;
}
.navbar-footer .search-submit {
  display: none;
}
.navbar-footer input[type="search"] {
  -webkit-appearance: textfield;
}



/* HOMEPAGE SECTIONS */
/* centered columns styles */
.row-centered {
    text-align:center;
}
.col-centered {
    display:inline-block;
    float:none;
    /* reset the text-align */
    text-align:left;
    /* inline-block space fix */
    margin-right:-4px;
    vertical-align: top;
}
.inner-wrap {
  padding: 20px 50px 80px 50px;
}
/* carousel */
.slideshow .item {
  /* height: 750px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat; */
  transition: -webkit-transform 0.5s ease;
	transition: transform 0.5s ease;
	transition: transform 0.5s ease, -webkit-transform 0.5s ease;
	-webkit-backface-visibility: visible;
	        backface-visibility: visible;
}
.carousel-control {
  margin-top: 29%;
  width: 5%;
  background-image: none !important;
}
.carousel-caption {
    position: relative;
    width: 100%;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    z-index: 10;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,.6);
    background-color: rgba(0,0,0,.8);
}
.caption-text {
  position: relative;
  bottom: auto;
  top: auto;
  padding: 0 30px 30px 30px;
  text-align: left;
  font-weight: 600;
}
.caption-text h3 {
  margin-bottom: 30px;
  font-size: 16px;
}
.caption-text p {
  font-size: 12px;
}
.caption-text a {
  color: #277bd1;
}

/* instructors */
.instructors, .locations, .sponsors {
  color: #6b6b6b;
}
.instructors {
  background-color: rgba(255, 255, 255, 0.9);
}
.instructors h4, .instructor h4 {
  font-size: 18px;
  line-height: 23px;
}
.instructors h5, .instructor h4 {
  letter-spacing: 0;
}
.instructors h4, .instructors h5 {
  text-align: center;
}
.single-course .instructor h4, .single-course .instructor h5 {
  text-align: left;
}
.instructors a, .instructor a {
  color: #6b6b6b;
  display: block;
}
.instructor:hover a, .instructor:hover a {
  text-decoration: none;
  color: #613ba9;
}
.instructor .image-wrap {
  height: 150px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.locations {
  background-color: rgba(216, 217, 218, 0.9);
}
.locations iframe {
  margin: 0 auto;
  display: block;
}
.sponsors {
  background-color: rgba(255, 255, 255, 1.0);
}
.sponsor {
  margin: 30px 0;
  height: 100px;
  background-size: auto 65px;
  background-repeat: no-repeat;
  background-position: center;
}
.instructor-row, .sponsor-row {
  margin: 30px 0;
}
.instructor:hover img, .sponsor:hover {
  opacity: 0.7;
}

/* MAIN CONTENT */
.main-content {
  margin-top: 0;
}
.main-content .container, .main-content-inner {
  padding-bottom: 0;
}
.main-content-inner {
  /* -webkit-box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.16);
  -moz-box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.16);
  box-shadow: 3px 0px 5px 0px rgba(0,0,0,0.16); */
  -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.26);
  -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.26);
  box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.26);
}
.main-content-inner.col-sm-12 {
  padding-left: 0;
  padding-right: 0;
}
.home .main-content-inner {
  background-color: transparent;
}
.content-padder {
  padding: 30px;
}

/* CALENDAR/SCHEDULE */
/* table.calendar		{ border-left:1px solid #999; }
tr.calendar-row	{  }
td.calendar-day	{ min-height:80px; font-size:11px; position:relative; } * html div.calendar-day { height:80px; }
td.calendar-day:hover	{ background:#eceff5; }
td.calendar-day-np	{ background:#eee; min-height:80px; } * html div.calendar-day-np { height:80px; }
td.calendar-day-head { background:#ccc; font-weight:bold; text-align:center; width:120px; padding:5px; border-bottom:1px solid #999; border-top:1px solid #999; border-right:1px solid #999; }
div.day-number		{ background:#999; padding:5px; color:#fff; font-weight:bold; float:right; margin:-5px -5px 0 0; width:20px; text-align:center; }
td.calendar-day, td.calendar-day-np { width:120px; padding:5px; border-bottom:1px solid #999; border-right:1px solid #999; } */
table.calendar td {
  border-top: 0 !important;
  border-bottom: 60px solid #d9d9d9 !important;
  border-radius: 5px !important;
  -moz-border-radius: 5px !important;
}
table.calendar td:nth-child(1), table.calendar td:nth-child(7) {
  display:none;
}
table.calendar td.calendar-day-head {
  background-color: #d9d9d9;
  font-weight: 900;
  border-bottom: 0 !important;
}
.main-content-inner {
  background-color: rgba(216, 217, 218, 0.9);
}
.tax-neurohack_year .day {
  background-color: white;
  padding: 10px;
  border-radius: 10px;
  /* min-height: 500px; */
}
.tax-neurohack_year .course-name {
  line-height: 18px;
  margin-bottom: 18px;
}
.tax-neurohack_year .course-name a {
  color: #613ba9;
  font-weight: 600;
}
.tax-neurohack_year .instructor {
  margin-top: -18px;
  margin-bottom: 18px;
}
.tax-neurohack_year .instructor a {
  color: #999999;
}
.tax-neurohack_year .instructor a:hover {
  text-decoration: underline;
}
.tax-neurohack_year .time {
  margin-bottom: 0;
}
.tax-neurohack_year .week {
  margin-bottom: 60px;
}
.tax-neurohack_year .time-of-day {
  display: none;
  left: 23px;
  position: absolute;
  min-height: 500px;
  width: 40px;
}
.tax-neurohack_year .time-of-day h5 {
  width: 200px;
  margin: 0;
  padding-bottom: 175px;
}
.tax-neurohack_year .content-padder {
  padding-left: 50px;
  padding-right: 30px;
}
.tax-neurohack_year  .taxonomy-description {
  margin-bottom: 30px;
}
.rotate {
  /* Safari */
  -webkit-transform: rotate(-90deg);
  /* Firefox */
  -moz-transform: rotate(-90deg);
  /* IE */
  -ms-transform: rotate(-90deg);
  /* Opera */
  -o-transform: rotate(-90deg);
  /* Internet Explorer */
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

/* ARCHIVES/TILES */
.archive .main-header {
  margin-bottom: 30px;
}
.archive .page-title {
  margin-top: 6px;
  margin-bottom: 0;
}
.tile {
  position: relative;
  float: left;
  width: 100%;
  height: auto;
  background-color: #6b6b6b;
  margin-bottom: 30px;
}
.tile-title {
  margin-top: 0;
  font-size: 16px;
}
.tile-image {
  height: 175px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.tile-text {
  padding: 15px;
  color: #ffffff;
}
.tile-text a {
  color: #ffffff;
}

/* SINGLE LECTURES */
/* responsive video iframe */
.video-lecture {
	margin-bottom: 30px;
}
.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin-top: 0;
}
.course-description {
  margin-bottom: 30px;
}
.course-meta {
  margin: 15px 0;
  padding: 15px;
  background-color: rgb(200, 200, 200);
  font-weight: 600;
}
.course-meta h3 {
  margin-top: 5px;
  color: #6b6b6b;
  font-size: 18px;
}

/* FOOTER */
.site-footer {
  background-color: #6b6b6b;
  color: #ffffff;
  padding: 15px 0 30px 0;
}
.site-footer h3 {
  font-size: 18px;
  margin-bottom: 30px;
}
.site-footer a {
  color: #ffffff;
}
.site-footer a:hover {
  color: #4b2e83;
  text-decoration: none;
}
.site-footer .contact {
  margin-bottom: 30px;
}
.site-footer .site-info {
  color: #999999;
}
.site-footer .social-menu {
  margin-top: 20px;
}
.site-footer .social-menu li {
  display: inline-block;
  list-style-type: none;
  margin-left: 30px;
}


/*BUTTONS*/
a.uw-btn {
  padding: 13px 24px;
  text-transform: uppercase;
  background-color: #e8e3d3;
  font-family: "Encode Sans Compressed", sans-serif;
  font-weight: 800;
  color: #5a5a5a;
  display: inline-block;
  position: relative;
  background-image: none !important;
  border-bottom: none;
  margin-bottom: 25px;
  margin-right: 55px;
  z-index: 1;
  line-height: 24px;
  text-shadow: none;
}
a.uw-btn.btn-sm {
  padding: 5px 10px 3px 10px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
}
a.uw-btn.btn-sm:before {
  width: 45px;
  right: -45px;
}
a.uw-btn.btn-sm:after {
  width: 45px;
  height: 45px;
  top: 50%;
  margin-top: -21px;
  right: -45px;
  background-size: 740px;
  background-position: -32px -410px;
}
a.uw-btn.btn-sm.btn-play:after {
  background-position: -31px -466px;
}
a.uw-btn.btn-sm.btn-external:after {
  background-position: -126px -410px;
}
a.uw-btn.btn-sm.btn-plus:after {
  background-position: -83px -465px;
}
a.uw-btn:hover,
a.uw-btn:focus {
  color: #85754d;
  background-color: #f5f5f5;
}
a.uw-btn:hover:before,
a.uw-btn:focus:before {
  background-color: #613ba9;
}
a.uw-btn.btn-gold:hover:before {
  background-color: #a49161;
}
a.uw-btn.btn-purple {
  background-color: #4b2e83;
  color: white;
}
a.uw-btn.btn-purple:hover,
a.uw-btn.btn-purple:focus {
  background-color: #402770;
}
a.uw-btn.btn-purple:before {
  background-color: #402770;
}
a.uw-btn.btn-purple:hover:before {
  background-color: #201338;
}
a.uw-btn:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 55px;
  height: 55px;
  right: -55px;
  top: 50%;
  margin-top: -28px;
  background: url('assets/img/uw-sprite.svg') no-repeat -36px -475px transparent;
}
a.uw-btn:before {
  content: "";
  width: 55px;
  right: -55px;
  top: 0;
  bottom: 0;
  position: absolute;
  background-color: #4b2e83;
  border-left: 5px solid rgba(0, 0, 0, 0.3);
}
a.uw-btn.btn-play:after {
  background-position: -36px -539px;
}
a.uw-btn.btn-external:after {
  background-position: -146px -475px;
}
a.uw-btn.btn-plus:after {
  background-position: -95px -539px;
}
a.uw-btn.btn-gold:before {
  background-color: #85754d;
}
a.uw-btn.btn-gold:before {
  border-left: 5px solid rgba(0, 0, 0, 0.1);
}


@media screen and (min-width: 768px) {
  .navbar .navbar-header .navbar-brand {
    display: none;
  }
  .navbar-collapse {
    float: left;
    position: relative;
  }
  .header-items {
    margin-top: 90px;
    margin-left: 16px;
    margin-right: 20px;
  }
  .theme-button a.uw-btn {
    margin-top: 0;
  }
  .carousel-caption {
      position: absolute;
      width: 38%;
      left: auto;
      right: 0;
      top: 0;
      bottom: 0;
      z-index: 10;
      color: #fff;
      text-align: center;
      text-shadow: 0 1px 2px rgba(0,0,0,.6);
      background-color: rgba(0,0,0,.8);
  }
  .caption-text {
    position: absolute;
    top: 0;
    padding: 0 30px 15px 30px;
    text-align: left;
    font-weight: 600;
  }
  .caption-text h3 {
    margin-bottom: 0;
  }
  .tile {
    height: 450px;
  }
  .tile-meta {
    position: absolute;
    bottom: 15px;
    width: 90%;
  }
  .instructor .image-wrap {
    height: 150px;
    width: 150px;
  }

}

@media screen and (min-width: 990px) {
  .tax-neurohack_year .col-md-2 {
    width: 19.667%;
  }
  .navbar-collapse {
    width: 82%;
  }
  .navbar-nav > li > a {
    padding-left: 45px;
    padding-right: 45px;
  }
  .site-branding img {
    width: 525px;
    height: 45px;
  }
  .caption-text {
    padding: 30px 60px 30px 30px;
  }
  .caption-text p {
    font-size: 14px;
  }
  .caption-text h3 {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .instructor .image-wrap {
    height: 125px;
    width: 125px;
  }
  .float-right {
    float: right !important;
  }
}
@media screen and (min-width: 1200px) {
  .caption-text {
    padding: 60px 60px 30px 30px;
  }
  .caption-text p {
    font-size: 16px;
  }
  .caption-text h3 {
    font-size: 22px;
  }
  .navbar-collapse {
    width: 68%;
  }
  .instructor .image-wrap {
    height: 150px;
    width: 150px;
  }
}
