/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

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

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

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

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

audio,
canvas,
img,
video {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px  'Roboto Condensed', sans-serif;
        font-weight:300
}

.wrapper {
    /* width: 90%; */
    /* margin: 0 5%; */
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
    
}

.footer-container,
.main aside {
    
}

.header-container,
.footer-container,
.main aside {
    
}

.title {

}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
}

nav a {

}

nav a:hover,
nav a:visited {

}

nav a:hover {

}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 0px;
}

.main article h1 {
    font-size: 2em;
    line-height:1.2em;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

.footer-container footer {

}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

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

.logo {
    position: fixed;
    z-index:9;
    top: 0px;
    left: 0px;
    overflow: hidden;
}

.inside .logo {
    position: absolute;
}

.inside .logo img {
   height:140px
}

section .postercontainer {
    display:block;
    background-color:#333;
    height:140px;
    overflow: hidden;
}

.home section .postercontainer {
    height:240px;
}

.zoom .postercontainer {
    background:#FFF;
}

.zoom .logo img {
   visibility: hidden;
}

.zoom .logo {
    display: block;
   background:transparent url('../img/gnb_logo_black.png') no-repeat;
   background-size: 100%
}


section.header figure {
    height:240px;
    display: none;
}

section.header figure img {
    width: 100%;
    min-width: 1366px;
}

section.header figure:first-child {
   display: block;
}

section.header nav {
    position:relative;
    z-index:10;
    clear: both;
    box-shadow: 0 0 20px rgba(0, 0, 0, .1);
    background-color: #FFF;
    font-weight: 300;
    clear: both;
    width: 100%;
    min-height: 36px;
}

section.header:nth-child(even) nav {
   /* text-align:right*/
}

section.header nav UL {
    white-space: nowrap;
    margin: 0px;
    padding:0 0 0 20px;
}

section.header nav UL LI {
   display: inline-block;
   padding:5px 30px 5px 0px;
   margin:0px;
}

section.header nav A {
   color:#444;
   text-decoration: none;
}

section.header nav .on A , section.header nav A:hover {
   color:#cc0000;
}

section.current nav {
    padding-bottom:5px;   
}

.main {
    min-height:640px;
}
.main .sectionintro {
    max-width: 640px;
    padding-left:20px;
}


/*.inside section nav {
    padding-bottom:20px;   
}*/
.list {
    padding:0px 0 20px 10px;
    overflow: auto;
}

.list.attach {
    padding:0px 0 20px 0px;
}

.list LI {
    display: block;
    float:left;
}
.list .content {
   margin:10px 10px 10px 10px;
   background-color: #dedede;
   border: 1px solid #dedede;
   display: block;
   height:176px;
   overflow: hidden;
}

.list.attach .content {
    margin:10px 20px 10px 0px;
}

.list .content.Video {
   width:300px;
   overflow: hidden;
}

.list article.content {
    min-width:176px;
    max-width: 350px;
    background-color: #FFF;
    padding: 10px;
    height:156px;
}

.list article.content H2 {
    margin-bottom:0px;
}

.list article.content P {
    margin-top:.5em;
}

.list article.gallery.content {
    height:auto;
}

.list LI:nth-child(even) .content {
   /* transform: rotate(1deg);*/
}

.list LI:hover .content {
/*    transform: rotate(0deg);
   box-shadow: 0 0 20px rgba(0, 0, 0, .5);*/
}

.list .content img {
    width: 100%;
    min-width: auto;
}

.list figcaption, .detail figcaption {
   /* box-shadow: 0 0 20px rgba(0, 0, 0, .2); */
   background-color: #FFF;
   display: inline-block;
   max-width: 350px;
   padding: 4px 8px 4px 0px;
   font-size: .8em;
   margin: 0px 0px 10px 0px;
   font-weight: 300;
   color: #444;
   border-bottom: 1px solid #dedede;
}

.list LI:hover figcaption {
  /* transform: rotate(-2deg);*/
}
.list LI:nth-child(even):hover figcaption {
/*    transform: rotate(2deg);*/
}


.list .content H2 {
    font-weight: 300;
    margin: 0px 0px 1em 0px;
    color:#444;
}

.list A {
    text-decoration: none;
}

article {
   margin:20px;
}

article H1 {
    font-weight: 300
}

article .body {
    max-width:640px;
}

article figure.detail.landscape img {
    width: 100%;
    max-width: 1024px;
}

article figure.detail.portrait img {
    max-width: 850px;
}

.detail figcaption {
    margin:10px 0px 10px 0px;
    display: block;
    max-width: 850px;
}

.video-js {
    background-color: #FFF !important;
    border-bottom:1px solid #dedede;
}
.vjs-default-skin .vjs-control-bar {
    height: 2em;
    background-color: white !important;
}

.vjs-default-skin .vjs-control:before, .vjs-default-skin .vjs-slider-handle:before {
    color:#000;
    text-shadow: none !important;
}

.vjs-default-skin .vjs-slider {
    background-color: #FFF !important;
}

.vjs-default-skin .vjs-play-progress {
    background: #dedede none !important;
}

.vjs-default-skin .vjs-load-progress {
    background: #CCC  !important;
}

.main aside {
    border-top:1px solid #dedede;
    padding: 0px;
    max-width:300px;
    color:#444;
}
aside h4 {
   margin:10px 0px;
}
.main aside UL {
   padding:0px 0px 0px 20px;
   margin:0px;
}

figcaption H2 {
   
}

button,
input,
select,
textarea {
    border:1px solid #CCC;
    border-radius:4px;
    padding:8px;
}

button, input[type='submit'] {
    padding:8px 12px 8px 12px;
}

.footer-container footer {
    margin-top:40px;
    padding: 20px 90px 20px 20px;
    font-weight: 100;
    color:#888;
    text-align: right;
    font-size: .9em;
    background: transparent url('../img/gnb_logo_black.png') right -20px no-repeat;
    background-size:80px; 
}



.footer-container nav LI  {
   display: inline-block;
   margin-right:30px;
}

.footer-container nav LI A {
    color:inherit; text-decoration: none; 
}

.search_toolbar {
    clear: both;
    padding: 20px 0 20px 0px;
}

.search_toolbar A, .search_toolbar span {
    display: inline-block;
    background-color: #333;
    width: 28px;
    height: 28px;
    border-radius: 100%;
    padding-top: 0px;
    text-align: center;
    color: white;
    font-size: 30px;
    font-weight: normal;
    margin:0px 0px 5px 0px;
    text-decoration: none;
}

.search_toolbar span {
    opacity:.1;
}

.search_toolbar .info {
    width:120px;
    display: inline-block;
    margin:0px 10px 0px 10px;
}

.search_toolbar A:hover {
    background-color: orange
}

section.subsection {
   overflow:auto; 
   margin:0px 0px 20px 0px; 
}

section.subsection H1 {
    font-weight: 300;
   margin:0px 0px 0px 20px; 
}

.segnala label {
    display:block;
}
.segnala input[type='text'] {
    width:320px;
}
.segnala textarea {
    width:320px;
    height:320px;
}
.segnala input[type='submit'] {
    display: block;
    margin:10px 0 10px 0;
}


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

@media only screen and (min-width: 320px) {
    .home section .postercontainer {
        height: 110px;
    }
    section.header nav UL {
        white-space: normal;
        padding-left:10px;
    }

    section.header nav UL LI {
       display: block;
       border-bottom:1px solid #CCC
    }
}

@media only screen and (min-width: 480px) {
    .home section .postercontainer {
        height: 240px;
    }
    section.header nav UL {
        white-space: nowrap;
        padding-left:20px;
    }

    section.header nav UL LI {
       display: inline-block;
       border-bottom:0px solid #CCC
    }
}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside {

    }

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }


/* ============
    WIDE: Main
   ============ */

    .main article {
        /* float: left; */
        /* width: 57%; */
        overflow: auto;
    }

    .main aside {

    }
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        /* width: 1026px; *//* 1140px - 10% for margins */
        /* margin: 0 auto; */
    }
}

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

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

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

.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;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

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

    thead {
        display: table-header-group;
    }

    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;
    }
}