html {
  background: url(//www.gfamedia.org/images/background-slice-blue.png);
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
  /*min-width: 980px;*/
}


/* -- defaults ------------------------------- */

a { color : #105cb6; text-decoration : underline; outline: 0; }
a:visited { color : #105cb6; }
a:focus, a:hover { color : #003; }
a img { border : none; }
em { font-style: italic; }
p { margin : 0 0 20px; }
pre { white-space : pre; }
strong { font-weight: bold; }
table { border-collapse: collapse; }
th { text-align: left; }
ul { list-style-type: none; }


/* -- container -----------------------------*/

.container-main {
  background: #fff;
  min-height: 600px;
}

.ie8 .container-main,
.ie7 .container-main {
  width: 980px;
}

.container-shadow {
  background: #fff url(//www.gfamedia.org/images/global-nav-bg.png) no-repeat;
  -moz-box-shadow: 0 0 6px rgba(0,0,0,0.55);
  -webkit-box-shadow: 0 0 6px rgba(0,0,0,0.55);
  box-shadow: 0 0 6px rgba(0,0,0,0.55);
  min-height: 600px;
}

.content-main {
  padding-bottom: 20px;
  padding-top: 1px;
}


/* -- header -----------------------------*/

.top-band {
  height: 34px;
  overflow: hidden;
}

.header-site {
  padding-top: 12px;
}

.ie7 .header-nav {
  z-index: 300;
  zoom: 1;
}

.logo img {
  display: block;
  margin: 0;
}


/* -- nav-country-sites -- */

.nav-country-sites {
  margin: 0 auto;
}

.nav-country-sites ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.nav-country-sites li {
  display: block;
  float: left;
}

.nav-country-sites a {
  display: block;
  height: 11px;
  padding: 12px 20px;
  *padding: 12px 12px;
  position: relative;
  width: 16px;
}

.nav-country-sites img {
  max-width: 16px;
}

.nav-country-sites a:hover img {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
  filter: alpha(opacity=90);
  opacity: 0.9;
  -webkit-box-shadow: 0 0 8px rgba(255,255,255,0.9);
  -moz-box-shadow: 0 0 8px rgba(255,255,255,0.9);
  box-shadow: 0 0 8px rgba(255,255,255,0.9);
}


/* -- nav social -- */

.nav-social a {
  display: inline-block;
  padding-right: 5px;
  padding-top: 8px;

  *display: inline; /* ie7 */
  zoom: 1;
}

.nav-social a:hover img {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
  filter: alpha(opacity=90);
  opacity: 0.9;
  -webkit-box-shadow: 0 0 8px rgba(255,255,255,0.9);
  -moz-box-shadow: 0 0 8px rgba(255,255,255,0.9);
  box-shadow: 0 0 8px rgba(255,255,255,0.9);
}


/* -- nav international ----------------------- */

.nav-international {
  margin: 0 auto;
  width: 600px;
}

.nav-international ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.nav-international li {
  display: block;
  float: left;
  margin: 0 0 5px;
  overflow: hidden;
  padding-left: 21px;
  text-indent: -21px;
  width: 120px;
}

.nav-international li a {
  font-weight: normal;
  padding-right: 10px;
  color: #212121;
  text-decoration: none;
}

.nav-international li a:hover {
  /*background: #eee;*/
  text-decoration: underline;
}

.nav-international li img {
  padding-right: 5px;
  vertical-align: text-bottom;
}


/* -- nav horizontal bars ----------------*/

.nav-horizontalbars {
  margin: 0;
  padding: 0;
  text-align: center;
}

.nav-horizontalbars li {
  background: url(//www.gfamedia.org/images/pipe-dark-2px.gif) left 3px no-repeat;
  display: inline;
  padding: 0 27px;
}

.nav-horizontalbars .first {
  background: none;
}

.nav-horizontalbars .last {
  padding: 0 1px;
}

.nav-horizontalbars a,
.nav-horizontalbars a:visited,
.nav-horizontalbars a:hover,
.nav-horizontalbars a:active {
  color: #555;
  color: #212121;
  text-decoration: none;
}

.nav-horizontalbars a:hover {
  text-decoration: underline;
}


/* -- html elements --------------------------- */

.confirm-box {
  background: #b4ddaa url(//www.gfamedia.org/images/famfamicons/accept.png) 12px center no-repeat;
  border: 1px solid #70c163;
  padding: 20px 20px 20px 36px;
}

.tan-border-right {
  border-right: 1px solid #f2f1ec;
}

.pipe-spaced {
  margin-left: 6px;
  margin-right: 6px;
}

.links-little {
  font-size: 11px;
}

.links-little a {
  color: #000;
}

.links-little a:hover {
  text-decoration: none;
}

.hidden { display: none; visibility: hidden; }
iframe.hidden { border: 0; display: none; visibility: hidden; height: 0; width: 0; }

#rsiframe { border: 0; height: 0; width: 0; }
#atffc { display: none; }

.icon-grey {
  background: url(//www.gfamedia.org/images/icon-grey-sprite.png) no-repeat;
  display: inline-block;
  height: 16px;
  margin-right: 3px;
  position: relative;
  top: 4px;
  width: 20px;
}

.icon-grey-camera { background-position: 0 0; }
a:hover .icon-grey-camera { background-position: 0 -16px; }
.icon-grey-photo { background-position: -20px 0; }
a:hover .icon-grey-photo { background-position: -20px -16px; }
.icon-grey-playbutton { background-position: -40px 0; }
a:hover .icon-grey-playbutton { background-position: -40px -16px; }
.icon-grey-envelope { background-position: -60px 0; top: 5px; }
a:hover .icon-grey-envelope { background-position: -60px -16px; }
.icon-grey-book { background-position: -80px 0; }
a:hover .icon-grey-book { background-position: -80px -16px; }

.video-icon-link {
  display: block;
  background: url(//www.gfamedia.org/images/wrw-icon-video.jpg) center left no-repeat;
  height: 68px;
  padding-top: 20px;
  padding-left: 100px;
}

.oldie .icon-toggle-arrow {
  font-family: "Arial Unicode MS", sans-serif;
}


/* -- longsection -----------------------------*/

.longsection {
  margin-bottom: 18px;
  left: -13px;
  position: relative;
}

.longsection.popcorn {
  border-bottom: 1px solid #e8e8e8;
  border-top: 1px solid #e8e8e8;
  padding: 18px 31px;
  width: 918px;
}

.popcorn {
  background: url(//www.gfamedia.org/images/980/light-gray-bg-2.jpg);
}

.popcorn.bordered {
  border: 1px solid #e8ebed;
  -moz-box-shadow: inset 0 0 1px #e6e9eb;
  -webkit-box-shadow: inset 0 0 1px #e6e9eb;
  box-shadow: inset 0 0 1px #e6e9eb;
  padding: 9px;
}

.popcorn h3 { color: #2a698a; margin-bottom: 6px; }

p.tag {
  color: #000;
  font-family: Arial, sans-serif;
  font-size: 18px;
  margin-bottom: 0;
}


/* -- checkout styles ---- */

.tc-questions {
  background: #f7f7f7;
  border-radius: 18px 0 0 18px;
  padding: 18px;
  width: auto;
}

.tc-edit-cart {
  background: url(//www.gfamedia.org/images/glyphicon-cart-blue-21x19.png) left center no-repeat;
  display: inline-block;
  padding-left: 25px;

  *display: inline; /* ie7 */
  zoom: 1;
}

.tc-checkout-head {
  background: #66798a;
  color: #fff;
  font-size: 36px;
  margin: 0 0 20px 0;
  padding: 9px 20px;
}

.tc-msg {
  background: rgb(241, 243, 246);
  padding: 10px;
}

.tc-cc-cards {
  height: 30px;
  margin-top: 3px;
}


/* -- dollar sign -- */

.dollarsign {
  position: relative;
  left: 21px;
}

.ie7 .dollarsign {
  left: 0;
}

.ie7 .dollarsign {
  top: -2px;
}

.form .withdollarsign {
  padding-left: 19px;
}

.ie7 .form .withdollarsign {
  padding-left: 3px;
}

@media (max-width: 767px) {
  .dollarsign {
    margin-left: -12px;
  }
}


/* -- resource -- */

.resource-formats-link-group:hover .resource-formats-login-link {
  background: #333;
  color: #fff;
  text-shadow: none;
  -moz-transition:
    background-color 0.3s,
    color 0.3s;
  -webkit-transition:
    background-color 0.3s,
    color 0.3s;
  transition:
    background-color 0.3s,
    color 0.3s;
}

.resource-crosslink img {
	vertical-align:middle;
	margin-right:10px;
}


/* -- flag-clickdown -- */

.flag-container {
  /*z-index: 999;*/
  position: relative;
  text-align: left;
  top: 2px;
}

.flag-container-link {
  border-radius: 3px;
  color: #000;
  display:block;
  height: 22px;
  padding-left: 10px;
  padding-right: 15px;
  padding-top: 3px;
  padding-bottom: 3px;
  text-decoration: none;
}

.flag-container-link:after {
  border-style: solid;
  border-color: #8e969f transparent transparent transparent;
  border-width: 5px 5px 0 5px;
  content:"";
  height: 0;
  left: 2px;
  position: relative;
  top: 9px;
  width: 0;
}

.flag-container-link-white .flag-container-link {
  color: #fff;
}

.flag-container-link-white .flag-container-link:after {
  border-color: #fff transparent transparent transparent;
}

.flag-container-link-black .flag-container-link:after {
  border-color: #000 transparent transparent transparent;
}

.flag-container.active .flag-container-link,
.flag-container-link:hover {
  background: rgba(255,255,255,0.7);
}

.flag-container-dropdown {
  background: #fff;
  background: rgba(255,255,255,1.0);
  border: 1px solid #ccc;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
  box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
  display: none;
  position: absolute;
  width: 100%;
  z-index: 10000;
}

.flag-container.active .flag-container-dropdown {
  display: block;
}

.flag-container-dropdown:target {
  display: block;
}

.flag-container-dropdown a,
.flag-container-dropdown a:visited,
.flag-container-dropdown a:hover,
.flag-container-dropdown a:active {
  color: #000;
  display: block;
  padding: 6px 9px;
  padding-left: 7px;
  text-decoration: none;
}

.flag-container-dropdown a:hover {
  background: #eee;
}

.flag-container-img {
  margin-right: 5px;
  position: relative;
  top: 1px;
}


/* -- thumb playlist -- */

.thumb-playlist-entry {
  float: left;
  margin-left: 20px;
  min-height: 220px;
  width: 290px;
}

.thumb-playlist-link {
  position: relative;
}

.thumb-playlist-img {
  color: white;
  height: 155px;
  overflow: hidden;
  position: relative;
  -webkit-border-radius: 4px;
      moz-border-radius: 4px;
       -o-border-radius: 4px;
          border-radius: 4px;
  z-index: 1;
}

.thumb-playlist-watch-now {
  background-color: #016801;
  bottom: 0;
  color: #fff;
  opacity: 0.8;
  padding: 5px;
  position: absolute;
  right: 0;
  z-index: 3;
  -webkit-border-radius: 4px 0 4px 0;
      moz-border-radius: 4px 0 4px 0;
       -o-border-radius: 4px 0 4px 0;
          border-radius: 4px 0 4px 0;
}

.thumb-playlist-description {
  background-color: #000;
  background-color: rgba(0,0,0,0.80);
  color: #fff;
  left: 0;
  opacity: 0;
  padding: 10px 10px 0;
  position: absolute;
  height: 155px;
  top: 0;
  width: 100%;
  z-index: 2;
}

.thumb-playlist-link:hover .thumb-playlist-description {
  opacity: 1.0;
  transition: opacity 0.3s ease-in-out;
}

.thumb-playlist-name {
  font-size: 16px;
  padding-top: 10px;
}

@media (max-width: 1000px) {
}

@media (max-width: 768px) {
  .thumb-playlist-entry {
    float: none;
  }
}

/* ------------- Brightcove popup -----------*/
.brightcove-popup {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10001; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.brightcove-popup-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 60%;
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

@media (max-width: 1000px) {
    .brightcove-popup-content {
        position: relative;
        margin: auto;
        padding: 0;
        width: 85%;
        -webkit-animation-name: animatetop;
        -webkit-animation-duration: 0.4s;
        animation-name: animatetop;
        animation-duration: 0.4s
    }
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.brightcove-popup-close {
    color: white;
    float: right;
    margin-right: -30px;
    font-size: 38px;
    font-weight: bold;
}

.brightcove-popup-close:hover,
.brightcove-popup-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
