/*
Theme Name:   Conference Media
Description:  Conference is a WordPress theme for Supercomputing Frontiers Europe website.
Author:       Mateusz Neumann, ICM UW
Author URI:   http://icm.edu.pl/
Version:      0.2.1
Text Domain:  conference
 */

/*
 * General stuff
 */
body {
/*  min-width: 428px;*/
}

h1, h2, h3 {
  text-transform: uppercase;
}

.unknown {
  color: cyan;
}

.kdm,
.kdm:hover,
.kdm:active,
.kdm:focus {
  color: #008e77;
}

.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
}
.row-eq-height > [class*='col-'] {
  display: flex;
  flex-direction: column;
}

.btn-xlg {
  padding: 10px 16px;
  padding: 10px 72px;
  font-size: 18px;
  font-size: 28px;
  line-height: 1.3333333;
  line-height: 2;
  border-radius: 6px;
}

.admin-bar .navbar-fixed-top {
  top: 32px;
}

.fill-cell {
 max-width: 100%;
}

.widget > *:first-child {
  margin-top: 20px;
}
.widget > *:last-child {
  margin-bottom: 20px;
}
.widget ul > li {
  padding-top: 3px;
  padding-bottom: 3px;
}

.mandatory-asterisk {
  color: #C62828;
  font-weight: bold;
}

.payment-terms {
  font-size: 90%;
  /*color: #777;*/
}
dl.payment-terms {
  font-size: 80%;
}

.thumbnail.reduta .caption {
  min-height: 1em;
}

/* Header things */
.navbar-default .navbar-nav > li.menu-item > a[href="http://icm.edu.pl/"] {
  color: transparent;
  background-image: url('assets/images/logo-icm.png');
  background-size: 46px 30px;
  background-repeat: no-repeat;
  background-position: 15px center;
}

.navbar-default .navbar-nav > .active > a {
  border-bottom: 0;
}

/* Homepage things */

#scfeu-special-title {
  margin-top: 2em;
}
#scfeu-special-title h1 {
  font-size: 48px;
}
#scfeu-special-title p {
  font-size: 16px;
}
#scfeu-special-title hr {
  border-top: 1px solid #d5d5d5;
}
#scfeu-special-important-dates {
  background-color: #eee;
  padding: 1em 2em;
  margin-bottom: 2em;
}
.conference-page-content .caption {
  max-width: 300px;
  margin: auto;
}
#scfeu-sponsors {
  margin-bottom: 2em;
  line-height: 1em;
}
#scfeu-sponsors .row {
  padding: 0.5em 0;
}
#scfeu-sponsors a {
  padding: 0 1em;
}
#scfeu-sponsors a img {
  max-height: 98px;
  max-width: 151px;
  padding: 4px 8px;
}
#scfeu-sponsors .honorary-patronage a img,
#scfeu-sponsors .media-partners a img {
  max-height: 72px;
  max-width: 252px;
}
#scfeu-sponsors a img:hover {
  border-radius: 6px;
}
#scfeu-sponsors .platinum:hover {
  background-color: #FAFAFA;
}
#scfeu-sponsors .platinum a img:hover {
  box-shadow: 0px 0px 5px rgba(158,158,158,0.2), inset 0px 0px 3px rgba(158,158,158,0.5);
  background-color: #F5F5F5;
}
#scfeu-sponsors .gold:hover {
  background-color: #FFFDE7;
}
#scfeu-sponsors .gold a img:hover {
  box-shadow: 0px 0px 5px rgba(255,235,59,0.2), inset 0px 0px 3px rgba(255,235,59,0.5);
  background-color: #FFF9C4;
}
#scfeu-sponsors .silver:hover {
  background-color: #ECEFF1;
}
#scfeu-sponsors .silver a img:hover {
  box-shadow: 0px 0px 5px rgba(158,158,158,0.2), inset 0px 0px 3px rgba(158,158,158,0.5);
  background-color: #CFD8DC;
}
#scfeu-sponsors .bronze:hover {
  background-color: #EFEBE9;
}
#scfeu-sponsors .bronze a img:hover {
  box-shadow: 0px 0px 5px rgba(121,85,72,0.2), inset 0px 0px 3px rgba(121,85,72,0.5);
  background-color: #D7CCC8;
}

.conference-page-content .caption h4 {
  text-transform: uppercase;
}
.conference-page-content .caption h3 {
  text-transform: none;
}
.conference-page-content .thumbnail .caption {
  min-height: 16em;
  max-height: 16em;
  overflow: hidden;
}
.conference-page-content .thumbnail .caption:before {
  content:"";
  position:absolute;
  bottom:21px;
  left:1.2em;
  right: 1.2em;
  height:5em;
  width:auto;
  background: linear-gradient(transparent, #FFF);
}
.topic {
  font-weight: 300;
  color: #333;
}

/* Programme page */

.conference-programme .table caption,
.conference-programme .table .caption {
  text-align: center;
  text-transform: uppercase;
  color: #000;
}
.conference-programme .table td:first-child {
  border-left: 5px solid transparent;
}
/*
.conference-programme .table td:last-child {
  border-right: 5px solid transparent;
}
*/
.conference-programme .table td.caption {
  position: relative;
  border-left: 0;
  /*background-color: #f8f8f8;*/
  z-index: 99;
  width: 36px;
}
.conference-programme .table td.caption.chair {
  text-transform: none;
}
.conference-programme .table td.organization.caption {
  background-color: #FFF8E1;
}
.conference-programme .table td.supercomputing.caption {
  background-color: #FAFAFA;
}
.conference-programme .table td.cryptography.caption {
  background-color: #e0f2f1;
}
.conference-programme .table td.applications.caption {
  background-color: #E1F5FE;
}
.conference-programme .table td.biology-medicine.caption {
  background-color: #FBE9E7;
}
.conference-programme .table td.architectures.caption {
  background-color: #EDE7F6;
}
.conference-programme .table td.networking.caption {
  background-color: #fce4ec;
}
.conference-programme .table td.iot.caption {
  background-color: #EFEBE9;
}
.conference-programme .table td.cloud-grid.caption {
  background-color: #E0F7FA;
}
.conference-programme .table td.neuro-comp.caption {
  background-color: #FFEBEE;
}
.conference-programme .table td.quantum-comp.caption {
  background-color: #E3F2FD;
}
.conference-programme .table td.cosmology.caption {
  background-color: #ECEFF1;
}
.conference-programme .table td.sponsor.caption {
  background-color: #f9fbe7;
}
.conference-programme .table td.caption.chair {
/*  background-color: #b0bec5; */
/*  background-color: #eceff1; */
  background-color: #fff;
}
.conference-programme .table td.caption > span {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 8px;
  transform: translateX(-50%) translateY(-50%) rotate(90deg);
}
.conference-programme .table td.caption.chair > span > span {
  font-weight: 700;
}
.conference-programme .table .keynote td {
  border-left-color: #ab47bc;
}
.conference-programme .table .invited td {
  border-left-color: #64b5f6;
}
.conference-programme .table .sponsors td {
  border-left-color: #e6ee9c;
}
.conference-programme .table .break td {
  border-left-color: #bcaaa4;
  border-left-color: #ffe082;
  background-color: #ffe082;
  text-transform: uppercase;
}
.conference-programme .table .keynote small,
.conference-programme .legend .keynote .icon {
  color: #ab47bc;
}
.conference-programme .table .keynote small {
  font-weight: 700;
}
.conference-programme .table .invited small,
.conference-programme .legend .invited .icon {
  color: #64b5f6;
}
.conference-programme .legend .sponsors .icon {
  color: #e6ee9c;
}
.conference-programme .legend {
  padding: 1em 0;
  margin-bottom: 1em;
  background-color: #f8f8f8;
  text-align: center;
}
.conference-programme .legend > span:not(:last-child) {
  padding-right: 3em;
}
.conference-programme .etal {
  font-style: italic;
}
.conference-programme .break a{
  color: inherit;
}
.conference-programme .break a:active,
.conference-programme .break a:focus,
.conference-programme .break a:hover {
  color: inherit;
}
.conference-programme .tutorial .media-body,
.conference-programme .tutorial .media-right {
  display: inline;
}
.conference-programme .tutorial .media-right {
  float: right;
}
.conference-programme .tutorial .media-right img{
  margin-top: 20px;
}

/* Registration page */

div.conference-registration > div div.registration-fee:last-child {
  border-bottom: 0 none;
}
div.registration-fee > div:first-child {
  border-left: 0 none;
}
#registration-unavailable p {
  font-size: 220%;
  margin-bottom: 0;
  text-align: center;
}

footer {
  margin-top: 30px;
}
footer .container:last-child .row {
  margin-top: 1em;
  margin-bottom: 1em;
}
footer .footer-social a:hover {
  color: #ffa000;
}
