﻿.icon:before {
    content: '';
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    width: 1em;
    height: 1em;
    display: inline-block;
    margin-right: .5em;
    vertical-align: text-bottom;
}

.icon--play:before {
    background-image: url(../images/icons/play.svg);
}

.icon--download:before {
    background-image: url(../images/icons/download.svg);
}

.icon--close:before {
    background-image: url(../images/icons/blue-close.svg);
}

.icon-button {
    font-size: 1em;
    border: 0;
    padding: 0;
    background-color: transparent;
    width: 1em;
    height: 1em;
    line-height: 1;
    overflow: hidden;
    cursor: pointer;
}

.icon-button:before {
    vertical-align: top;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 1.5625rem;
    height: 0;
}

.video-wrapper .video, .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.is-vishidden {
    position: absolute!important;
    overflow: hidden;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    clip: rect(1px,1px,1px,1px);
}

.location {
    margin-bottom: 1.5em;
}

.location-section__map {
    width: 100%;
    height: 270px;
    border: 0 /*.3125em solid #cfe0ed*/;
    background-color: #eee;
}

.podcast-thumbnail {
    position: relative;
    display: inline-block;
}

.podcast-thumbnail:before, .podcast-thumbnail:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
}
/*
.podcast-thumbnail:before {
    background: transparent url(../images/icons/podcast-icon.png) no-repeat center center;
    background-size: cover;
    width: 48px;
    height: 48px;
    margin-left: -24px;
    margin-top: -24px;
    transition: background-color 0.5s ease;
    z-index: 100;
}

.podcast-thumbnail:after {
    background: transparent;
    width: 48px;
    height: 48px;
    margin-left: -24px;
    margin-top: -24px;
    transition: background-color 0.5s ease;
    z-index: 110;
}

.podcast-thumbnail:hover:after, .podcast-thumbnail:active:after {
    background-color: rgba(255,255,255,.3);
}
*/

.publication {
    padding-left: 3.25em;
    position: relative;
    margin-bottom: 2em;
}

.publication:before {
    content: '';
    background: #cfe0ed url(../images/icons/publication.svg) no-repeat center center;
    background-size: 75%;
    position: absolute;
    left: 0;
    top: 0;
    width: 2.5em;
    height: 2.5em;
    border-radius: .25em;
    display: block;
    box-shadow: inset .125em .125em .0625em 0 rgba(0,0,0,.15);
}

.publication--presentation:before {
    background-image: url(../images/icons/presentation.svg);
}

[hidden] {
    display: none;
}

.visually-hidden {
    position: absolute;
    clip: rect(0,0,0,0);
}

div.awesomplete {
    position: relative;
}

div.awesomplete > input {
    display: block;
}

div.awesomplete > ul {
    position: absolute;
    left: 0;
    z-index: 1;
    min-width: 100%;
    box-sizing: border-box;
    list-style: none;
    padding: 0;
    border-radius: .3em;
    margin: .2em 0 0;
    background-color: #fff;
    color: #000;
    border: 1px solid rgba(0,0,0,.3);
    box-shadow: .05em .2em .6em rgba(0,0,0,.2);
    text-shadow: none;
}

div.awesomplete > ul[hidden], div.awesomplete > ul:empty {
    display: none;
}

div.awesomplete > ul {
    transition: .3s cubic-bezier(.4,.2,.5,1.4);
    -webkit-transform-origin: 1.43em -.43em;
    transform-origin: 1.43em -.43em;
}

div.awesomplete > ul[hidden], div.awesomplete > ul:empty {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
    display: block;
    transition-timing-function: ease;
}

div.awesomplete > ul:before {
    content: "";
    position: absolute;
    top: -.43em;
    left: 1em;
    width: 0;
    height: 0;
    padding: .4em;
    background: white;
    border: inherit;
    border-right: 0;
    border-bottom: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

div.awesomplete > ul > li {
    position: relative;
    padding: .2em .5em;
    cursor: pointer;
}

div.awesomplete > ul > li:hover {
    background: #cfe0ed;
    color: black;
}

div.awesomplete > ul > li[aria-selected=true] {
    background: #3087cd;
    color: white;
}

div.awesomplete mark {
    background: #ffd54d;
}

@media only screen and (max-width:30em) {
    .location-section__map {
        margin: 0 -1em;
        width: calc(100% + 2em);
    }
}

@media only screen and (min-width:56em) {
    .location-section__body {
        overflow: hidden;
    }

    .locations {
        float: left;
        width: 47.5%;
    }

    .location-section__map {
        float: right;
        width: 47.5%;
    }
}

.map {
    border-width: .3125em 0;
    border-style: solid;
    border-color: #cfe0ed;
}

@media only screen and (min-width:30.0625em) {
    .map {
        border-width: .3125em;
    }
}

.modal-body.loading:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .9);
}

.modal-body.loading:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -16px;
    margin-top: -16px;
    width: 32px;
    height: 32px;
    background: transparent url(../images/icons/loading.gif) no-repeat center center;
}
