/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #000544;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    text-shadow: none;
}

::selection {
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
	border:none;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
    font-family: "BebasNeue Bold";
        src: url('fonts/BebasNeue Bold.otf') format('embedded-opentype'),
         url('fonts/BebasNeue Bold.ttf') format('truetype');
}

@font-face {
    font-family: "BebasNeue Book";
        src: url('fonts/BebasNeue Book.otf') format('embedded-opentype'),
         url('fonts/BebasNeue Book.ttf') format('truetype');
}

@font-face {
    font-family: "BebasNeue Light";
        src: url('fonts/BebasNeue Light.otf') format('embedded-opentype'),
         url('fonts/BebasNeue Light.ttf') format('truetype');
}

@font-face {
    font-family: "BebasNeue Regular";
        src: url('fonts/BebasNeue Regular.otf') format('embedded-opentype'),
         url('fonts/BebasNeue Regular.ttf') format('truetype');
}

body {
    font-family: Arial;
    font-size: 14px;
    line-height: 18px;
	margin:0;
	padding:0;
}

html, body {
	height:100%;
    width:100%;
	padding: 0;
	margin: 0;
}

h1, h2, h3, h4, h5 {
    font-family: "BebasNeue Bold", Impact, Georgia;
    font-weight: normal;
	margin:0;
}

a, a:visited, a:hover, a:active {
	text-decoration: none;
    color: #000544;
}

a:hover {
	text-decoration:underline;
}

a img {
	border:none;
}

body {
	background: url('../images/bg.jpg') no-repeat center top,
				url('../images/bg-repeat.jpg') repeat-x top #aea79f;
}

.header {
	width:100%;
	display:table;
	min-width:1000px;
	margin-top:20px;
}

.top-line {
}

.wrapper {
    width: 1000px;
    margin: 0 auto;
}

.content {
	width:786px;
	margin: 20px auto 0;
	padding:20px 20px;
	min-height:300px;
}

.header .wrapper div {
	float:left;
}

.header h2 {
	color:#fff;
}

.top-left {
	float:left;
	padding:10px;
	width:451px;
	height:65px;
	background:url('../images/top-left.png') no-repeat left;
	margin-top:15px;
}

.top-right {
	float:right;
	padding:10px;
	width:451px;
	height:65px;
	background:url('../images/top-right.png') no-repeat right;
	margin-top:15px;
}

.top-right h2 {
	text-align:right;
}

.top-logo {
	float:left;
	width:98px;
	height:101px;
	background:url('../images/logo_top.png') no-repeat center;
	margin-top:-5px;
}

.mediazal-logo {
	width:272px;
	height:82px;
	background:url('../images/media.png') no-repeat center;
	margin:0 auto;
}

.main {
	width: 1000px;
	margin: 0 auto;
}

.dinamic {
	width:786px;
	margin: 0 auto;
	padding:20px 20px;
	min-height:300px;
}

.dinamic h1 {
	text-align:center;
	text-decoration:underline;
	font-size:24px;
	margin-bottom:30px;
}
	
.line {
	width:507px;
	height:87px;
	margin:40px auto 0;
	background:url('../images/line.png') no-repeat center;
}

.album {
	display:inline-block;
    position:relative;
	border:10px solid #fff;
	background:url('../images/bg_book.png') repeat center #cccccc;
	width:229px;
	margin:7px 5px;
}

.album  .date {
	padding:4px;
	background-color:brown;
	border:1px solid #fff;
	position:absolute;
	bottom:0;
	z-index:100;
	right:0;
	margin-bottom:112px;
	margin-right:-13px;
}

.album  .date > h2 {
	color:#fff;
	text-align:center;
	font-size:18px;
}

.media {
	width:170px;
	height:212px;
	margin:0 auto;
	text-align:center;
}

.album .cover {
	width:229px;
	height:140px;
	background:url('../images/sample_image.jpg') no-repeat center;
}

.name{
	padding:10px 10px;
	clear:both;
}

.name h2 {
	line-height:1.0;
}

.name p {
	margin:0;
	text-align:left;
}

.video, .others {
	position:relative;
	border:10px solid #fff;
	background:url('../images/bg_book.png') repeat center #cccccc;
	width:700px;
	margin:0 auto 15px;
}

.video .name, .others .name {
	clear:none;
	float:left;
	width:380px;
}

.description {
	float:left;
	width:380px;
	padding:0 10px;
}

.player {
	position:relative;
	float:left;
	width:300px;
	height:200px;
	background:url('../images/sample_video.jpg') no-repeat center;
}

.others .cover {
	position:relative;
	float:left;
	width:300px;
	height:200px;
	background:url('../images/sample_others.jpg') no-repeat center;
}

.download {
	position:absolute;
	bottom:0;
	right:0;
	padding:10px 30px 10px 10px;
	border:1px solid #fff;
	background:brown url('../images/download.png') no-repeat 90% 50%;
}

.download:hover {
	background:#d34b4b url('../images/download.png') no-repeat 90% 50%;
	-moz-transition: all .2s;
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}

.download h3 {
	color:#fff;
}

.player:hover .play {
	background:rgba(94, 94, 94, 0.6) url('../images/play.png') no-repeat center;
	-moz-transition: all .4s;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}

.play {
	position:absolute;
	top:50%;
	left:50%;
	margin-left:-30px;
	margin-top:-30px;
	width:50px;
	height:50px;
	background:rgba(94, 94, 94, 0.2) url('../images/play.png') no-repeat center;
	border-radius:50%;
	padding:5px;
	-moz-transition: all .4s;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}

.cover:hover .loupe {
	background:rgba(94, 94, 94, 0.6) url('../images/loupe.png') no-repeat center;
	-moz-transition: all .4s;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}

.loupe {
	position:absolute;
	top:50%;
	left:50%;
	margin-left:-35px;
	margin-top:-35px;
	width:50px;
	height:50px;
	background:rgba(94, 94, 94, 0.2) url('../images/loupe.png') no-repeat center;
	border-radius:50%;
	padding:10px;
	-moz-transition: all .4s;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}

.video .date, .others .date {
	width:80px;
	padding:10px;
	background-color:brown;
	border:1px solid #fff;
	position:absolute;
	z-index:100;
	margin-left:-20px;
	margin-top:-5px;
}

.video .date > h2, .others .date > h2 {
	color:#fff;
	text-align:center;
}

.more {
	margin-top:20px;
	padding-right:30px;
	height:23px;
	float:right;
	background: url('../images/more.png') no-repeat center right;
}

.more h3 {
	font-size:18px;
	margin-top:3px;
}

.footer {
  padding: 20px 0 15px 0;
  width:100%;
  display:table;
}

.footer .wrapper {
	width:786px;
	margin: 0 auto;
	padding:20px 20px;
	position:relative;
}

.footer .left {
	float:left;
}

.footer .right {
	float:right;
}

/* Hover-effect for albums*/

.cover .content_block {
	border-top:1px solid #fff;
	border-bottom:1px solid #fff;
}

.cover a.content_block {
    display:block;
    position: relative;
    overflow:hidden;
    -moz-transition: all .4s;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
    cursor:pointer;
}

.cover a.content_block .over_block {
    width:100%;
    height:100%;
    position:absolute;
    top:0;
    left:0;
    z-index: 10;
    -moz-transition:all 1s;
    -webkit-transition:all 1s;
    -o-transition:all 1s;
    transition:all 1s;
}

.cover a.content_block:hover .over_block {
    display:block;
}

.cover a.content_block p {
    background: rgba(0, 46, 69, 0.8);
    height:0px;
    position:absolute;
    display:block;
    bottom:0px;
    left:0;
    z-index: 9910;
    -moz-transition: all .4s;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
	margin:0;
	color:#fff;
    width:209px;
}
.cover a.content_block:hover p {
    bottom:0;
    height:120px;
	padding:10px;
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/* .visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
} */

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}