/*
Theme Name: RottenTomatoesWordpress
Author: RottenTomatoes
Version: 1.0
Text Domain: rtwordpress
*/

/* The bootstrap.css file is auto-enqueued in functions.php */

.article_body {
    padding-bottom: 0px;
}
#disqus_thread {
    margin: 10px;
}

.gta-guide-title {
    overflow:hidden;
    background: #343434;
	color: #FFF;
	height: 40px;
	font-size: 14px;
	padding: 10px 5px;
}

.element-grouping {
    margin: 10px 0;
}

.media-simple {
    text-align: center;
    float: left;
    display: inline-block;
    padding: 10px;
    padding-top: 0;
    width: 140px;
    height:auto;
}

.movie-simple p {
    font-size: 14px;
    padding: 0;
    margin: 0 !important;}
.movie-simple img {
    margin-top: 21px;
}

.tv-season-simple p, .tv-series-simple p {
    font-size: 14px;
    padding: 0;
    margin: 0 !important;}
.tv-season-simple img, .tv-series-simple img {
    margin-top: 21px;}

.celeb-simple p {
    font-size: 14px;}
.celeb-simple img {
    margin-top: 21px;}

.winner {
    background-color: #FFFAC8;}
    .winner img {
        margin-top: 0;
    }

div.movie-simple.winner::before, div.celeb-simple.winner::before, div.tv-season-simple.winner::before, div.tv-series-simple.winner::before {
  content: "WINNER";
  color: red;
  font-weight: bold;
  font-size: 13px;
}

.wp-caption .image-text {
    margin-bottom: 20px;
}

/* Core WP Styles */
.media-credit {
    text-align: left !important;
}

.article-more {
    margin-top: 10px;
}

.editorialColumnPic img{
    width: 100%;
}

.article_body .editorialColumnPic img{
    width: 100%;
}

.articleContentBody img {
    width: 100%;
    height: auto;
}

.articleContentBody .article_poster {
    width: auto;
    height: auto;
}

.media-credit-container {
    width: 100% !important;
}

.sponsered-by {
    z-index: 2;
    width: 284px;
    height: 74px;
    position: absolute;
    right: 10px;
    top: 7px;
}

.youtube-container {
    position:relative;
    padding-bottom:56.25%;
    padding-top:30px;
    height:0;
    overflow:hidden;
}

.editorial-panel-heading {
        margin-top: 20px;
        margin-bottom:20px;
}

.editorial-panel-heading h1{
        height: auto;
        margin: 0px;
}

.editorial-panel-heading p{
       color: #343434;
        margin-top: 5px;
        font-size: 18px;
}

.youtube-container iframe, .youtube-container object, .youtube-container embed {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.hub-navbar {
    width: 100%;
    background-color: #343434;
    color: #FFF;
    font-family: "Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 17.5px;
    padding-bottom: 4px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 4px;

}

.hub-subnav-bar { background:#121212; border-top:1px solid #393939!important; }
.hub-subnav-bar li { padding:2px 20px 4px 0; font-size:16px }
.hub-subnav-bar a:hover { color:#fde12d; text-decoration:none }

.hub-nav-list {
    padding: 0 15px;
}

.newsItem {
    padding-left:10px !important;
    padding-right:10px !important;
    padding-top:10px !important;

}

.newsItem .bannerCaption .panel-body .title {
    color: #373737;
}

.newsItem .bannerCaption .panel-body .publication-date {
    color: #787878;
    font-family: "Source Sans Pro";
    font-size: 15px;
    line-height: 20px;
}

.bannerPic img{
    max-height: 97px;
    display: block;
    margin-left: auto;
    margin-right: auto
}

.article_body .articleContentBody p
{ margin:15px 0 }

.articleContentBody img.fr.abstract, .articleContentBody img.fl {
    width: auto;
}
.article_body ul li {
    list-style-type: disc;
    margin: 0 0 0 30px;
    padding: 0;
}

/* Styles for legacy columns TODO: Put these styles some place that only applies to legacy articles */
.article_body .ffilm {
  zoom: 1;
  overflow: hidden;
  margin-top: 15px;
}
.article_body .ffilm > a {
  display: table-cell;
  vertical-align: top;
  padding-right: 10px;
}
.article_body .ffilm > a > img {
  display: block;
  max-width: none;
}
.article_body .ffilm > div {
  display: table-cell;
  vertical-align: top;
  width: 10000px;
  zoom: 1;
  overflow: hidden;
}

.article_body .ffilm .tMeterIcon {
  font-weight: bold;
  font-size: larger;
  display: block;
  margin-top: 10px;
  margin-bottom: 10px;
}

.article_body rt_blockquote_quote {
   float:left;
}
.article_body rt_blockquote_quote br {
   display:none;
}
.article_body rt_blockquote_quote a {
    display:block;
    margin-right:10px;
}

.article_body h5 { padding-top:20px;}

/* End custom styles for legacy articles */

img.nelioefi {
  width: 120px !important;
  height: 180px !important;
  max-width: 200px;
  max-height: 300px;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: none;
    max-width: 96%; /* Image does not overflow the content area */
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption div.wp-caption-text {
    line-height: 17px;
    padding: 4px 5px;
    font-size: 0.9em;
	line-height: 1.2em;
	text-align: left;
	display: block;
	color: #909090;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

.hubBanner {
    position:relative;
    top:1px;
}

.hubBannerAd {
    position:absolute;
    right: 8px;
    top: 9px;
}

.hub-title-banner {
    background: #000;
    text-align:center;
    margin-bottom: 1px;
    position: relative;
}

.hub-title-banner img {
    width: 100%;
}

.sponsorship_ad {
    position: absolute;
    right: 15px;
    padding-top:0px;
}

/* Put changes in child theme*/
.dmbs-main .post {
    background-color:white;
    padding:10px;
}

.dmbs-right .widget {
    background-color:white;
    padding:10px;
}

.gray-movie-block {
    margin:20px 0;
    padding:10px 0;
    background-color:#f5f5f5;
}

div.awmovie h2 {
    clear:both;
}
div.awmovie ul.poster li, div.awmovie ul.celb li {
    height:272px;
}

div.awmovie ul.poster li.winner, div.awmovie ul.celeb li.winner {
    border:3px solid #EABA0F;
    border-radius:5px;
    background:none;
    position:relative;
}

div.awmovie ul.poster li.winner:after, div.awmovie ul.celeb li.winner:after, div.awmovie ul.nopic li.winner > span:first-of-type:after {
    content:"WINNER";
    color: #EABA0F;
    font-size:14px;
    font-weight:bold;
    position:absolute;
}

div.awmovie ul.nopic li.winner {
    background:none;
}

div.awmovie ul.nopic li.winner > span:first-of-type {
    position:relative;
    border-bottom:3px solid #EABA0F;
    border-radius:5px;
    padding-right:65px;
    line-height:24px;
}

div.awmovie ul.poster li.winner:after, div.awmovie ul.celeb li.winner:after {
    bottom:0;
    left:50%;
    margin-left:-25px;
    margin-bottom:3px;
}

div.awmovie ul.nopic li.winner > span:first-of-type:after {
    right:0;
    font-size:16px;
}

div.awmovie li.winner span:not(.icon), div.awmovie li.winner a.molnk {
    background:none;
}

div.awmovie li.winner a.molnk {
    padding-right:0;
}

@media (min-width:768px) {
   .article_movie_title, .article_body .movie_block .movie_info h1 {
        float:right;
    }

    .article_tv_title, .article_body .tv_block .movie_info h1 {
        float:right;
    }

    .article_body .movie_block .movie_info h1 {
        width:546px;
    }

    .article_movie_poster img, .article_tv_poster img {
        width:100%;
    }
}

@media (max-width:767px) {

    .article_movie_title, .article_body .movie_block .movie_info h1 {
        width:100%;
        padding:0;
        text-align:center;
    }

    .article_tv_title, .article_body .tv_block .tv_info h1 {
        width:100%;
        padding:0;
        text-align:center;
    }

    .article_movie_poster, .article_tv_poster {
        text-align:center;
    }
    .article_movie_poster > div, .article_tv_poster > div {
        text-align:center;
        margin-bottom:10px;
    }
}
