/*general*/

body>div.container{
    background-color: white;
}

h3{
    margin-top:0;
    margin-bottom:30px;
    /*text-align: center;*/
}


h5{
    margin-bottom: 2px;
    font-style: italic;
}

h5:first-line{
    font-style: normal;
}

/*navigation module*/
h1>a{
    color:#333333;
}
h1>a:hover,h1>a:focus,h1>a:active{
    text-decoration:none;
    color:black;
}
nav>a{
    margin:0 5px;
    padding:2px 3px;
    color:#333333;
}
a.onit{
    font-weight: bold;
    color: black;
}
nav>a:hover,
nav>a:focus,
nav>a:active{
    color:black;
    text-decoration:none;
}
nav.social>a{
    height:32px;
    width:28px;
}
nav.social>a,
a.social{
    display:inline-block;
    /*opacity:.4;*/
    /*filter:alpha(opacity=40);*/
}
a.social{
    width:28px;
}

nav.social>a:hover,
nav.social>a:focus,
nav.social>a:active,
a.social:hover,
a.social:focus,
a.social:active{
    opacity:.8;
    filter:alpha(opacity=80);
}
nav.social{
    font-size: 1.1em;
}
nav.social span.imdb{
    background-image: url('/img/icons/imdb.png');
    width: 34px;
    height: 11px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat
}

a.soundcloud{
    background-image: url('/img/icons/soundcloud_inline.png');
    height:11px;
}
nav.social>a.youtube,a.youtube{
    background-image: url('/img/icons/youtube.png');
}
a.itunes{
    background-image: url('/img/icons/itunes_inline.png');
    height: 17px;
    width: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    bottom: -2px;
}
a.vimeo{
    background-image: url('/img/icons/vimeo_inline.png');
    height:18px;
}
hr.nav{
    margin:10px 0 35px;
}

/*index.html*/

#frontpage-img>img{
    margin-bottom:30px;
}
#upcoming-events>h4{
    margin-bottom:0.1em;
}
#upcoming-events>h4:first-child{
    margin-top:0;
}
#upcoming-events>div{
    margin-bottom:0.33em;
}
#upcoming-events>p{
    margin-bottom:1.14em;
}

#upcoming-events>a{
    color:#999999;
}
#upcoming-events>a:hover,
#upcoming-events>a:focus,
#upcoming-events>a:active{
    color:black;
    text-decoration:none;
}

/*about page*/

#accordion{
}

#accordion>h4{
    margin-top:20px;
    outline:none;
    color:#999999;
}
#accordion>h4:hover{
    cursor: pointer;
}
#accordion>h4.ui-state-active{
    color:#333333;
}

#accordion p{
    text-align: justify;
}

/*events page*/
#events>div>p{
    margin-bottom:30px;
    margin-top: 0px;
}
#events>div>h5{
    margin-bottom:1px;
}
#events>div>h4>small{
}

/*footer*/
div.footer{
    color:#999999;
}
div.footer a{
    color:#999999;
}
div.footer a:hover,
div.footer a:focus,
div.footer a:active{
    text-decoration:none;
    color:#999999;
}

/*music section*/
/*#music>h4{
    margin-top: 30px;
    margin-bottom:2px;
}
#music h4 + h5{
    margin-top:6px;
}*/
h5:first-child{
    margin-top:0;
}
h5 + h5{
    margin-top:1.33em;
}

.post-article{
    margin-top:0.5em;
    margin-bottom:5em;
}

.socicon {
    font-family: 'socicon' !important;
    font-style: normal !important;
    position: relative;
    bottom: -2px;
}
a.rel-socicon{
    color:#999;
}
a.rel-socicon:hover{
    color:#444 !important;
    text-decoration: none !important;
}

.projects-list {
    display: block;
}

.projects-list-item {
    display: block;
    text-align: center;
}

.project-title {
    margin-top: 8px;
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 300;
    transition: background-color 0.2s, color 0.2s;
    display: inline-block;
    padding-left: 2px;
    padding-right: 2px;
}

.project-title > a{
    color: inherit;
}

.project-title > a:hover{
    text-decoration: none;
}

.project-blurb-full {
    margin-bottom: 15px;
}

.project-type {
    transition: background-color 0.2s, color 0.2s;
}

.project-type:hover {
    color: #373a3c;
    text-decoration: none;
}

.project-type.active {
    font-weight: 400 !important;
}

.post-article {
    margin-left: 10px;
    margin-right: 10px;
}

.post-article p {
    margin-left: 5px;
    margin-right: 5px;
}

/*media fiddles*/

h1,
h2,
h3,
h4,
h5,
h6,
p,
body {
    font-family: 'Jost', 'Avenir Next', Avenir, sans-serif;
}
body {
    display: flex;
    flex-direction: column;
}
html, body {
  height: 100%;
}

.main {
  flex: 1 0 auto;
}

.footer-container {
  flex-shrink: 0;
}

p {
    font-size: 15px;
    margin: 0 0 16px;
}

h1 {
    font-weight: 800;
}

.img-responsive{
    margin: auto;
    max-height: 60vh;
}

.header-navlist-item {
    white-space: nowrap;
}

.header-navlist-item.active{
    font-weight: 800;
}

.music-list{
    font-weight: 300;
}

.music-list em {
    font-weight: 400;
}

.click-to-sort {
    font-weight: 400;
    margin-bottom: 15px;
}

.music-toggle-button {
    border:none !important;
    padding: 0px !important;
    margin: 0px !important;
    background-color: white;
    text-align: left;
}
.music-toggle-button:focus,
.music-toggle-button:focus-within,
.music-toggle-button:active,
.music-toggle-button:visited{
    border:none !important;
    outline:none !important;
}
.music-toggle-button:hover{
    cursor: pointer;
}

.music-list li p{
    margin:0px;
}

.music-details-wrapper {
    margin-bottom: 8px;
}

.music-details-wrapper iframe{
    margin-top: 5px;
}

.posts-year-wrapper {
    margin-bottom: 30px;
}

.posts-year-link {
    font-weight: 400;
    color:  inherit;
    padding: 0px 5px;
}
.posts-year-link.active{
    font-weight: 800;
}

@media (max-width: 767px){
    div.ui-accordion-content>p{
	padding:0 5px;
    }
    #upcoming-events.col-xs-12,#frontpage-img.col-xs-12{
	width: 83.33333333333334%;
	margin-left: 8.333333333333332%;
	margin-right: 8.333333333333332%;
    }
}

@media (max-width: 991px){
    #upcoming-events{
	   text-align: center;
	}
}

@media (min-width: 992px){
    #upcoming-events.col-sm-offset-1 {
	margin-left: 0;
    }
}

@media (max-width: 992px){
    #upcoming-events.col-sm-offset-1 {
	margin-left: 8.333333333333332%;
    }
}

@media (min-width: 992px) {
    .pull-right-md {
        float: right;
    }
}

.sticky-wrapper .post-categories {
    padding-bottom: 20px;
    padding-top: 20px;
    background-color: white;
}

.sticky-wrapper .posts-year-wrapper {
    margin-bottom: 0px;
}

.works-header,
.works-subheader {
    margin-bottom: 5px;
    margin-top: 0px;
}

.works-list {
    margin-bottom: 20px;
}

.post-article a {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

article iframe,
article img {
    max-width: 100%;
}
