#header {
    background: url(http://resource.download.wjec.co.uk.s3.amazonaws.com/vtc/2016-17/16-17_1-24/assets/img/activity/flag-bg.jpg);
    background-size:cover;
    position:relative;
}

#header:after{
    position:absolute;
    content:"";
    height:100%;
    width:100%;
    top:0;
    left:0;
    background-color:rgba(0,0,0,0.25);
    z-index:1;
}

#header .image-ref {
    position:absolute;
    bottom:0;
    font-size:10px;
    opacity:.5;
}

#branding {
    z-index:2;
}

#activityIntro {
    margin-top: 0;
}

#teacher-notes {
    margin:1em auto 2em;
}
#teacher-notes i { padding-right:.3em; }

.banner-title {
    font-size: 3.2em;
    text-align: center;
    margin-top: .8em;
    margin-bottom: 2em;
    line-height: 1.2em;
    text-transform: uppercase;
    font-weight: 900;
    padding: .8em;
    border-top: 1rem solid #9D0B0C;
    border-bottom: 1rem solid #241D3C;
}

.tile {
    display: flex;
    flex: 1 1 200px;
    padding: 10px;
    box-sizing: border-box;
    min-height: 200px;
    height: 200px;
    align-items: center;
    justify-content: center;
    border: 5px solid #a33;
    cursor: pointer;
    transition: all 200ms ease-out;
    text-align: center;
}

.tile:hover, .tile.active {
    background: #a33;
    color: #FFF;
    font-weight: 600;
}


#content-wrapper {
    margin-top: 2em;
    margin-bottom: 1em;
}

.head-row {
    position:relative;
    border-bottom: 3px solid #241D3C;
}


.head-row .close-content{
    position:absolute;
    right:0px;
    top:0px;
}


li h4 {
    margin: .4em;
}
ul.files-list li {
	list-style:none;
}

#intro-wrapper {
    min-height: 405px;
}

#into-wrapper svg {
    width:0;
    height:0;
}
.close-content {
    background: none;
    box-shadow: none;
    border: none;
    float: right;
}

.close-content:hover {
	color:#9D0B0C;
}

#content-wrapper {
    display: none;   
    background:#f7f7f7;
    border-bottom:3px solid #9D0B0C;
}

.content-wrapper {
    display: none;
    padding-bottom:50px;
}

li.sub {
    list-style: none;
    font-weight: 600;
    padding-top: 1em;
    padding-bottom: .5em;
}

li.pdf, li.html, li.ppt, li.exl {
    list-style:none;
}

li.pdf>a:hover , li.html>a:hover, li.ppt>a:hover, li.exl>a:hover {
    color:#241D3C;
    font-weight:600;
}

.html:before {
    content: "\f0c1";
    font-family: FontAwesome;
    padding-right:1em;
}

.pdf:before{
    content: "\f1c1";
    font-family: FontAwesome;
    padding-right:1em;   
}

.ppt:before{
    content:"\f1c4";
    font-family: FontAwesome;
    padding-right:1em;
}


.exl:before{
    content:"\f1c3";
    font-family:FontAwesome;
    padding-right:1em;
}

#image-ref {
    position:relative;
    top:-40px;
    color:#888;
    font-size:12px;
    float:right;
}

li.unit-item {
    list-style:none;
    margin-bottom:2em;
}


#intro-wrapper svg {
    display:block;
    margin:0 auto;
}


@media (max-width: 768px) {
    #intro-wrapper {
        min-height: 191px;
    }

       #intro-wrapper svg {
        display:block;
        margin:0 auto;
        width:auto!important;
        height:191px!important;

    }

    .tile h1 {
        font-size:1em;
        line-height:1.4em;
    }
}

@media (min-width: 768px) {
    #intro-wrapper {
        min-height: 258px;
        display:flex;
    }

       #intro-wrapper svg {
        width:auto!important;
        height:258px!important;
    }

    .tile h1 {
        font-size:1.7em;
    }
}

@media (min-width: 992px) {
    #intro-wrapper {
        min-height: 335px;
    }

    #intro-wrapper svg {
        width:auto!important;
        height:335px!important;
    }


}

@media (min-width: 1200px) {
    #intro-wrapper {
        min-height: 405px;
    }

    #intro-wrapper svg {
        width:auto!important;
        height:400px!important;
        margin:0 auto!important;
    }
}


@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {
   

    #into-wrapper {
        display:flex;
        justify-content: center
    }

    
}