.clearboth {
    clear: both;
}

/*.reviewsmobile {
	display: none !important;	
}

.reviewsdesktop {
	display: block !important;	
}*/

#cmdblightbox {
    display: none;
}

#cmdblightbox .player {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.6);
    z-index: 1000000;
    direction: ltr;
}

#cmdblightbox iframe {
    margin: 0 auto;
    position: relative;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

#cmdblightbox .close {
    display: block;
    height: 25px;
    left: 50%;
    position: fixed;
    top: 50%;
    transform: translate(403px, -270px);
    width: 25px;
    background: url('imgs/close_icon.png') right top no-repeat;
    cursor: pointer;
    z-index: 10000000;
}

#cmdblightbox .close:hover {
    background: url('imgs/close_icon_hover.png') right top no-repeat;
}

.movie {
    clear: both;
    margin-bottom: 40px;
}

.movies.afterpost .movie {
    margin-bottom: 0px;
}

.movieimg {
    float: right;
    width: 200px;
    margin-left: 25px;
    margin-bottom: 25px;
}

.movieimg img {
    border: none !important;
    -webkit-box-shadow: 1px 1px 5px 0px rgba(170,170,170,1);
    -moz-box-shadow: 1px 1px 5px 0px rgba(170,170,170,1);
    box-shadow: 1px 1px 5px 0px rgba(170,170,170,1);
}

.moviemain {
    margin-bottom: 25px;
}


.moviemain.hasimg {
    margin-right: 225px;
}

.moviedetails {
    float: left;
    width: 200px;
    margin-right: 25px;
}

.moviecontent {
    margin-left: 225px;
}

.avaragereviewback {
    width: 110px;
    height: 19px;
    background-image: url(imgs/star_grey.png);
    background-position: left center;
    background-repeat: repeat-x;
    direction: ltr;
    display: inline-block;
    float: left;
}
.avaragereviewfront {
    height: 19px;
    background-image: url(imgs/star_gold.png);
    background-position: left center;
    background-repeat: repeat-x;
}

.moviereviewers {
    clear: both;
}

.moviereviewers .reviewers {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.moviereviewers .reviewers .review {
    list-style-type: none;
    float: right;
    width: 20%;
    position: relative;
}

.moviereviewers .reviewers .review .reviewname {
    width: 40%;
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: 0;
}

.reviewback {
    width: 65px;
    height: 11px;
    background-image: url(imgs/star_grey_small.png);
    background-position: left center;
    background-repeat: repeat-x;
    direction: ltr;
    display: inline-block;
    background-size: contain;
    vertical-align: top;
    position: absolute;
    left: 0;
    bottom: 4px;
}
.reviewfront {
    height: 11px;
    background-image: url(imgs/star_gold_small.png);
    background-position: left center;
    background-repeat: repeat-x;
    background-size: contain;
}

.newicon {
    width: 55px;
    height: 18px;
    margin-bottom: 12px;
    background-image: url(imgs/new_icon.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
}

.finallinks {
    margin-top: 10px;
}

.reviewlink {
    color: #fff !important;
    text-decoration: none;
    background: #3d527f;
    height: 25px ;
    padding: 5px 20px;
    margin-left: 20px;
    font-size: 17px;
}

.reviewlink:hover {
    background: #7990c4;
    text-decoration: none;
}

.trailerlink {
    display: inline-block;
    cursor: pointer;
    padding: 4px 30px 0;
    height: 25px;
    background: url('imgs/play_icon.png') right center no-repeat;
    font-size: 17px;
}

.reviewstable .trailer {
	display: none;
}

.trailerlink:hover {
    color: #7990c4;
    background: url('imgs/play_icon_hover.png') right center no-repeat
}

/************************************ theme specific **************************************/

.movies.afterpost {
    border-top: 25px solid #eee;
    margin: 0 -20px;
}


.movies.afterpost .movie {
    border-bottom: 25px solid #eee;
    padding: 20px;
}

.movies.inpost .movie {
    padding: 10px;
    background: #eee;
    border: 1px solid #ccc;
}

.movie {
    font-family: "atlas",sans-serif;
    color: #354e84
}

.movie a {
    font-family: "atlas",sans-serif;
    color: #354e84
}

.movie .moviecontent {
    font-family: arial;
}

.movie .moviecontent .finallinks, .movie .moviecontent h4, .movie h3{
    font-family: "atlas",sans-serif;
    color: #354e84
}

.movie h3 {
    margin-bottom: 0px;
    font-size: 30px;
    color: #354e84;
    line-height: 30px;
}

.movie h3 a{
	color: inherit !important;
	text-decoration: inherit;
}

.movie h4 {
    font-size: 18px;
    line-height: 18px;
    margin: 0 0 12px;
}

.movie hr {
    background: #eee;
    border: none;
    height: 3px;
    margin: 12px 0;
}

.movies.afterpost .movie hr {
    background: #eee;
    border: none;
    height: 3px;
    margin: 12px 0;
}

.movies.inpost .movie hr {
    background: #ddd;
    border: none;
    height: 3px;
}



.single.reviewstable  #content, .single-movies  #content, .post-type-archive-movies  #content  {
    width: 100%;
    color: #354e84
}

body.single:not(.reviewstable) .movie .movieimg {
    width: 90px;
}

body.single.single-movies:not(.reviewstable) .movie .movieimg {
    width: 200px;
}

body:not(.reviewstable) .movie .movieimg img {
    width: 100%;
    height: auto !important;
}

body:not(.reviewstable) .movie .moviemain.hasimg {
    margin-right: 125px;
}

body.single.single-movies:not(.reviewstable) .movie .moviemain.hasimg {
    margin-right: 225px;
}

.moviereviewers .reviewers .review {
    float: right;
    line-height: 14px;
    list-style-type: none;
    margin-left: 4%;
    min-height: 28px;
    width: 16%;
}


body:not(.reviewstable) .movies .moviereviewers .reviewers .review {
    width: 23%;
}

.moviereviewers .reviewers .review {
    border-bottom: 3px solid #eee;
}

.movies.afterpost .moviereviewers .reviewers .review {
    border-bottom: 3px solid #eee;
}

.movies.inpost .moviereviewers .reviewers .review {
    border-bottom: 3px solid #ddd;
}

.avaragereview  {
    margin-top: 10px;
    font-size: 15px;
}

.reviewback {
    float: left;
}

.reviewstablesidebar {
	position: absolute;
    left: 50%;
    margin-left: -450px !important;
}


@media screen and (max-width: 959px) {
	
	/*.reviewsmobile {
		display: block !important;	
	}
	
	.reviewsdesktop {
		display: none !important;	
	}*/
	
	.movie {
		clear: both;
		margin-bottom: 20px;
	}
	
	.movies.afterpost .movie {
		margin-bottom: 20px;
		height: 65px;
	}
	
	.movies.afterpost .movie.open {
		height: auto;
	}
	
	.movieimg {
		float: right;
		width: 50px;
		margin-left: 10px;
		margin-bottom: auto;
	}

	.movieimg img {
		border: none !important;
		width: 100%;
		height: auto !important;
		margin: 0;
	}	
	
	.moviemain {
		margin: 0 0 0 105px;
	}
	
	.moviemain.hasimg {
		  margin: 0 52px 0 0;
	}
	
	.moviedetails {
		float: left;
		width: 110px;
		margin-right: 10px;
	}
	
	.reviewstable .moviedetails:not(.avaragereview) {
		display: none;	
	}
	
	.reviewstable .movie.open .moviedetails:not(.avaragereview) {
		display: block;	
	}
	
	.reviewstable .moviemain hr {
		display: none;	
	}
	
	.moviecontent {
		margin-left: 80px;
	}
	
	.reviewstable .moviecontent {
		display: none;	
	}
	
	.reviewstable .movie.open .moviecontent {
		display: block;
		margin-left: 0;	
	}
	
	.avaragereviewback {
		width: 110px;
		height: 19px;
		background-image: url(imgs/star_grey.png);
		background-position: left center;
		background-repeat: repeat-x;
		background-size: contain;
		direction: ltr;
		display: inline-block;
		float: none;
	}
	.avaragereviewfront {
		height: 19px;
		background-image: url(imgs/star_gold.png);
		background-position: left center;
		background-repeat: repeat-x;
		background-size: contain;
	}
	
	.moviereviewers {
		padding-top: 5px;
		border-top: 1px solid #eee;
		margin-bottom: 20px;
	}
	
	.reviewstable .moviereviewers {
		display: none;	
	}
	
	.reviewstable .movie.open .moviereviewers {
		display: block;	
	}
	
	.moviereviewers .reviewers {
		text-indent: 0; /* wptouch-pro fix */
	}
	
	.moviereviewers .reviewers .review {
		width: 42%; 
		margin-left: 4%;
		margin-right: 4%;  
	}
	
	.newicon {
		width: 35px;
		height: 13px;
		float: right;
		margin-bottom: 0;
		background-image: url(imgs/new_icon_mobile.png);
		background-position: left center;
		background-repeat: no-repeat;
		background-size: contain;
	}
	
	.movies.afterpost {
		margin: 0 -10px;
		padding: 1px 0;
		border-top: none;
		background: #ccc;
	}
	
	.movies.afterpost .movie {
		margin: 1px;
		border-bottom: none;
		border-radius: 0px;
		background: #fff;
		padding: 0 0 0 5px;
	}
	
	.movies .movie {
		padding: 0px;
		overflow: hidden;
		position: relative;
	}
	
	/*.movies.afterpost .movie .moviemain {
		padding: 10px;
	}*/
	
	.movies.afterpost .movie .moviemain.secondary {
		margin: 10px 5px;
		clear: both;
	}
	
	.movies.afterpost .movie .moviemain .topcontainer {
		max-height: 70px;
		min-height: 70px;
		position:relative;
		width: 100%;
	}
	
	.movies.afterpost .movie .moviemain .topcontainer:after {
		content:" ";
		clear:both;
		display:block;
		height:0;
	}
	
	.movies.afterpost .movie .moviemain h3 {
		padding: 0;
		font-weight: normal;
		vertical-align: top;
		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
		line-height: 13px;
		position: absolute;
		right: 10px;
		top: 50%;
		width: calc(100% - 115px);
	}
	
	.movies.afterpost .movie .moviemain .avaragereview {
		margin-top: 0;
		position: absolute;
		left: 5px;
		top: 50%;
		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
	}
	
	body.reviewstable {
		background-image: none;
	}
	
	body.reviewstable .post {
		border: none;
	}
	
	.movie h3 {
		font-size: 16px;
	}

	.movie h3 a{
		pointer-events: none;
	}
	
	
	
	.single-movies .moviedetails {
		float: none;
		width: 100%;
		margin-right: auto;
		font-family: 'atlas';
		padding-bottom: 30px;
		border-bottom: 1px solid #eeeeee;
	}
	
	.reviewstable .moviedetails:not(.avaragereview) {
		float: none;
		width: 100%;
		margin-right: auto;
		font-family: 'atlas';
		padding-bottom: 10px;
		border-bottom: 1px solid #eeeeee;
		clear:both;
	}
	
	.reviewstable .moviecontent {
		padding-top: 10px;
	}
	
	.reviewstable .trailerlink {
		display: none;
	}
	
	.reviewstable .trailer {
		display: block;
		margin: 10px 0;
		height:0;
		padding-bottom: 56.25%;
		position:relative;
	}
	
	.reviewstable .trailer iframe {
		width: 100%;
		height:100%;
		position: absolute;
		top: 0;
		left: 0;
	}
	
	body:not(.reviewstable) .movie .movieimg {
		width: 50px;
	}

	body:not(.reviewstable) .movie .moviemain.hasimg {
		margin: 0 52px 0 105px;
	}
	
	.avaragereview {
		text-align: center;
	}

    .single-movies .avaragereview  {
		margin-bottom: 10px;
		margin-top: 0;
		font-family: 'atlas';
		font-size: 18px;
	}
	
	.single-movies .avaragereview .avaragereviewback  {
		margin-right: 10px;
	}
	
	.single-movies .trailer  {
		margin-bottom: 10px;
	}
	
	.single-movies .finallinks {
		margin-top: 32px;
		margin-bottom: 32px;
		text-align: center;
	}
	
	.single-movies .finallinks .reviewlink {
		padding: 5px 40px;
	}
	
	.single-movies .movie:after {
		content: " ";
		display:block;
		clear: both;
		margin-bottom: 10px;
	}
	
	.archivemovie.post {
		height: 65px;
		padding: 0;
	}
	
	.archivemovie.post .moviemain {
		padding: 10px;
	}
	
	.archivemovie.post {
		margin-top: 0;
	}
	
	.archivemovie.post .moviemain h3 {
		padding: 0;
		margin-top: 40%;
		font-weight: normal;
		vertical-align: top;
		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
		line-height: 17px;
	}
	
	.archivemovie.post .avaragereview {
		margin-top: 0;
	}
	
	.archivemovie.post .moviemain .avaragereview {
		margin-top: 0;
		position: absolute;
		left: 5px;
		top: 50%;
		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
	}
	
	.single-movies h1 {
		color: #3d5280;
		font-size: 35px;
		font-weight: normal;
		text-align: center;
		font-family: 'atlas';
		margin: 17px 0 5px;
		padding: 0;
	}
	
	.single-movies h4 {
		color: #3d5280;
		font-size: 18px;
		font-weight: normal;
		font-family: 'atlas';
		margin: 17px 0 5px;
		padding: 0;
	}
	
	.single-movies .moviereviewers {
		font-family: "atlas",sans-serif;
		color: #354e84;
	}
	
	.single-movies .post-navigation.nav-top .post-nav-middle a {
		color: #fff;
		background: none;
		border: 1px solid #fff;
		padding: 3px 10px;
		font-size: 14px;
		font-weight: normal;
	}
	
	.single-movies .post-navigation.nav-top .post-nav-middle {
		padding-top: 7px;
		text-shadow: none;
	}
	
	.single-movies .post-navigation.nav-bottom .post-nav-middle a {
		color: #fff;
		background: none;
		border: 1px solid #fff;
		padding: 3px 10px;
		font-size: 14px;
		font-weight: normal;
	}
	
	.single-movies .post-navigation.nav-bottom .post-nav-middle {
		padding-top: 7px;
		text-shadow: none;
	}
	
	.reviewstablesidebar {
		position: static;
		float: none;
		left: auto;
		margin-left: 0 !important;
	}
}