.sub-title {
    font-weight: bold;
}

.pbscustom.resource-description{
    margin-top: 25px;
}

.pbscustom.resource-description .pbscustom.resource-metainfo{
    font-weight: bold;
}

.pbscustom.resource-description hr{
    margin-bottom: 0;
    margin-top: 0;
}

.pbscustom.resource-description a{
    font-style: italic;
}

.container .pbscustom.fav-like-share span {
    margin-right: 10px;
    margin-left: 10px;
    cursor: default;
}

.container .pbscustom.fav-like-share span.favorites {
    cursor: pointer;
}

.container .pbscustom.fav-like-share i{
    font-size: 1.2em;
    cursor: pointer;
}

.pbscustom.player-container{
    position: relative;
    overflow: hidden;
}

.pbscustom.player-container .caption{
    position: absolute;
    bottom: 0px;
    background-color: rgba(0, 0, 0, 0.65);
    color: white;
    padding: 0.75em 0.75em 0.75em 0.75em;
    max-width: 100%;
    display: inline-block;
    width: 97%;
}

.pbscustom.player-container .caption h4,
.pbscustom.player-container .caption h3,
.pbscustom.player-container .caption h2{
    color: #FAA732;
    font-weight: bold;
}
.pbscustom.player-container .caption h2{
    font-size: 18px;
}
.pbscustom.player-container .main-description{
    float: left;
    max-height: 100px;
    overflow-y: scroll;
    font-size: 1.05em;
    font-weight: 500;
    padding-right: 2%;
}

.pbscustom.player-container .captionToggler{
    position: absolute;
    right: 2.5%;
    top: 10px;
    cursor: pointer;
    font-size: 1.5em;
    font-weight: bolder;
}

.spacer {
    position: relative;
    height: 5px;
}

.infoButton {
    position: absolute;
    right: 2%;
    padding: 5px;
    padding-bottom: 2px;
    background-color: lightgray;
    font-size: 1.5em;
    font-weight: bolder;
    cursor: pointer;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    -moz-border-radius-bottomright: 5px;
    -moz-border-radius-bottomleft: 5px;
    display: none;
    text-shadow: 1px 1px 1px lightGrey;
    top: 0px;
}

.flags {
    width: auto;
    max-width: 700px;
    position: relative;
    bottom: 0;
    left: 50px;
    padding: 5px;
    display: inline-block;
    background-color: #FFFFFF;
    border-color: #DDDDDD #DDDDDD transparent;
    border-image: none;
    border-style: solid;
    border-width: 1px 1px 0 1px;
    border-radius: 4px 4px 0 0;
    line-height: 20px;
    padding-left: 12px;
    padding-right: 12px;
}
.flags i.icon-alert-orange {
    background-image: url("../img/alert-icon-orange.png");
}
.flags span.orange-text {
    color: #F56D17;
}
.flags span.flags-text {
    color: #808080;
}

.transcript_link {
    background: #efefef;
    height: 1.5em;
    display: inline-block;
    padding: 5px;
}

.pbscustom.player-container .launch-overlay {
    position: absolute;
    top: 45%;
    left: 40%;
}


/*
TODO: Update pbslm.app.js to support custom styling/rendering of this tabbed resource content
tab content, resource description overrides (PBSLM-4463)

Hacked on because at this point we can't manipulate the styles of the tabbed section independent of the
standard panels in the right rail.
*/

.pbscustom.no-head-background a {
    font-weight: normal !important;
}

.pbscustom a.transcript_link {
    font-style: normal;
}

.tab-content .pbscustom.panel.expandable {
    box-shadow: none;
    border-bottom: 1px solid #EEEEEE;
    margin-left: 30px;
    margin-right: 30px;
}

.tab-content .pbscustom.panel.expandable:last-child {
    border: none;
}

.tab-content .pbscustom.panel.expandable .section-head {
    margin: 0;
    padding: 0;
}

.tab-content section.pbscustom.panel.expandable > .section-head span {
    float: none;
    margin: 5px !important;
}

.tab-content.pbscustom.srp {
    margin: 0;
    padding: 0;
}
.tab-content .pbscustom.srp.tab-pane {
    padding-top: 0;
    padding-bottom: 0;
}

/* the nastiest hack yet... overriding the icons to be black...*/
.tab-content h5 .icon-white{
    background-image: url("../img/glyphicons-halflings.png") !important;
}

#share_resource_gigya {
    float: right;
    margin-top: 1em;
}

#share_resource_gigya .gig-share-button-text {
    color: #666;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
}


ul#playlistNav {
    margin: 0;
    padding: 0;
}

ul#playlistNav li,
ul#playlistNav li:active,
ul#playlistNav li:link,
ul#playlistNav li:visited {
    background-color: #fff;
    background-image: url(../img/iconmonstr/ico-play-3.svg);
    background-position: 15px 7px;
    background-repeat:  no-repeat;
    background-size: 20px 100px;
    color: #c60;
    border: 1px solid #dcdcdc;
    cursor: pointer;
    margin: 0 0 3px 0;
    overflow: hidden;
    padding: 7px 15px 7px 50px;
}

html.no-svg ul#playlistNav li,
html.no-svg ul#playlistNav li:active,
html.no-svg ul#playlistNav li:link,
html.no-svg ul#playlistNav li:visited {
    /* for browsers w/out svg support */
    background-image: url(../img/iconmonstr/ico-play-3.png);
}


ul#playlistNav li.active {
    background-color: #a8a8a8;
    background-position: 15px -72px;
    color: #fff;
    cursor: pointer;
}


ul#playlistNav li:hover {
    text-decoration:underline;
}

#resource-playlist.playlist {
    border: none;
    margin-bottom: 0;
    margin-top: 8px;
}

#homepage-image-slider.alt-flexslider .jwplayer-wrapper {
    width: 410px;
    margin: 0 auto;  /* centre the div on very wide screens */
}

@media (min-width: 768px) {
    #homepage-image-slider.alt-flexslider .jwplayer-wrapper {
        width: 410px;
    }
}

@media (min-width: 980px) {
    #homepage-image-slider.alt-flexslider .jwplayer-wrapper {
        width: 560px;
    }
}

#resource-playlist.playlist .slides {
    position: relative;
}
#resource-playlist.playlist .slide {
    display: none;
}
#resource-playlist.playlist .slide.active {
    display: block;
}
.slide-video {
    text-align: left;
    background: #000;
}
.slide-video:before {
    content: "";
    display: block;
    padding-top: 56.25%;
}
.slide-video > div:first-child {
    position: absolute !important;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.asset-info {
    display: none;
}
.asset-info.active {
    display: block;
}

fieldset input[type="checkbox"],
fieldset label {
    display: inline-block;
    vertical-align: text-top;
}

fieldset input[type="checkbox"] {
   margin-right: 8px;
}

fieldset label {
    max-width: 85%;
}

div#agreement_form form fieldset {
    max-width: 100%;
    display: inline-block;
}
div#agreement_form label {
    max-width: 100%;
}
div#agreement_form input[type="submit"] {
    display: block;
}
.resource-description p {
  line-height: 1.5em;
  margin: 10px 0;
}
.submitAgree {
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  -khtml-border-radius: 2px;
  background-color: #ececec;
  border: 1px solid #ddd;
  color: #4185c8;
  font-size: 12px;
  font-weight: 600;
  margin-top: 5px;
  padding: 8px 23px;
  text-decoration: none;

  background-image:-moz-linear-gradient(top, rgba(100, 100, 200, 0.1), rgba(100, 100, 100, 0.0) 100%);
  background-image:-webkit-linear-gradient(top, rgba(100, 100, 200, 0.1), rgba(100, 100, 100, 0.0) 100%);
  background-image:-o-linear-gradient(top, rgba(100, 100, 200, 0.1), rgba(100, 100, 100, 0.0) 100%);
  background-image:linear-gradient(to top, rgba(100, 100, 200, 0.1), rgba(100, 100, 100, 0.0) 100%);
  background-repeat:repeat-x;
}
.submitAgree:active {
  background-color: #1c3d5f;
}
.submitAgree:hover {
  color: #255583;
}
.submitAgree[disabled='disabled'], .submitAgree[disabled='disabled']:active, .submitAgree[disabled='disabled']:hover {
    background-color: #efefef;
    background-image: none;
    border-color: #eaeaea;
    color: #aaa;
}

#imagecontainer {
    min-height: 200px; /* in case the poster image doesn't load or is so small
                          the launch button wouldn't be visible */
}