@charset "UTF-8";
@import url(https://fonts.googleapis.com/css?family=Meddon);


#story .header{
    background-image: url(/abudhabi/img/story/mainimg.jpg);
    position:relative;
    height: 50%;
}

#story p{
    font-size: 1.6rem;
}

.handfont{
    font-family: 'Meddon', cursive;
}

.imgcap{
    color: #fff;


    position: relative;
    bottom:0;
    right: 5px;
}

.pagelinks{
    background-color: #aaa;
}

.pagelinks ul{
    text-align: center;
    padding: 20px 0;
}

.pagelinks ul li{
    display: inline-block;
    margin: 0 40px;
}

.pagelinks ul li a{
    color: #fff;
    text-decoration: underline;
    font-size: 1.6rem;
}

.pagelinks ul li a:hover{
    text-decoration: none;
}

#outline h2{
    text-align: center;
    padding: 20px 0;
    margin-bottom: 0;
}

.wrapper div.section{
    opacity: 0;
    animation-duration: 1.0s;
	-webkit-animation-duration: 1.0s;
}

.section.bgwhite{
    background-color: #fff;
}

.section.bgwhite p{
    width: 980px;
    margin: 20px auto;
    color: #000;
    font-weight: bold;
}

.wrapper div.active{
    animation-name: divfadein;
	-webkit-animation-name: divfadein;
	animation-timing-function: ease-out;
	-webkit-animation-timing-function: ease-out;
    opacity: 1;
}

@-webkit-keyframes divfadein {
	0% {-webkit-transform: translateY(50px);opacity: 0;}
	100% {-webkit-transform: translateY(0px);opacity: 1;}
}
@keyframes divfadein {
	0% {transform: translateY(50px);opacity: 0; }
	100% {transform: translateY(0px);opacity: 1;}
}

#loading{
    background-image: url(/abudhabi/img/story/ph01.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height:700px;
    position: relative;
}

.storybox{
    width: 980px;
    margin: 20px auto 0 auto;
    clear: both;
    overflow: hidden;
}

.storybox h3.handfont{
    font-size: 6rem;
    color: #ccc;
}

.storybox h3.handfont span{
    font-size: 1.6rem;
    margin-left:20px;
}

.storybox p{
    color: #000;
}

.storybox p.photocap{
    position: absolute;
    right: 10px;
    bottom: 0;
    color: #fff;
    font-size: 1.4rem;
}

.photocolum2{
    background-color: #fff;
    clear: both;
    overflow: hidden;
}

.photocolum2 ul{
    text-align: center;
    margin: 20px auto;
}

.photocolum2 ul li{
    width: 48%;
    display: inline-block;
    margin: 0 10px;
}

.photocolum2 ul li img{
    width:100%;
}

.photocolum2 ul li p.caption{
    font-size: 1.4rem;
    color: #000;
    margin-top: 2px;
    text-align: right;
}

#unloading{
    background-image: url(../img/story/ph04.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height:700px;
    position: relative;
}

#unloading .storybox h3.handfont{
    color: #fff;
    font-size: 5.2rem;
}

#unloading .storybox p{
    color: #fff;
}

#interview{
    background-image: url(../img/story/ph07.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height:400px;
    display: table;
    width: 100%;
    min-width: 980px;
    position: relative;
}

#interview .storybox{
     display: table-cell;
    vertical-align: middle;
    height: 100px;
    width: 100%;
}

#interview .storybox h3{
    width: 980px;
    margin: 0 auto;
    color: #fff;
}

#interview .photocap{
    position: absolute;
    right: 10px;
    bottom:0;
    font-size: 1.4rem;
}

.int01, .int02{
    clear: both;
    overflow: hidden;
    background-color: #fff;
    color: #000;
}

.intbox{
    clear: both;
    overflow: hidden;
    color: #000;
}

.int02{
    background-color: #eee;
}

.intbox{
    width: 980px;
    margin: 40px auto;
}

.intbox .leftpic{
    width: 200px;
    float: left;
}

.intbox .rightint{
    float: right;
    width: 760px;
}

.intbox h4{
    font-size: 2rem;
    margin-bottom: 10px;
}

.intbox h4.q{
    color: #aaa;
}

@media only screen and (max-width:979px) {
    #story .header{
        height: 100%;
    }

    .pagelinks ul li{
        margin: 0 10px;
    }

    .section{
        padding-left:5px;
        padding-right: 5px;
        box-sizing: border-box;
        width: 100%;
    }

    .section.bgwhite p{
        width: 100%;
        max-width: 100%;
    }

    .wrapper div.section{
        opacity: 1;
        -webkit-animation:none;
        -moz-animation:none;
        animation:none;
    }

    .storybox{
        width: 100%;
        margin-bottom: 300px;
    }

    .storybox h3.handfont span{
        display: block;
        margin-left: 0;
    }

    #loading, #unloading{
        height: auto;
    }

    #loading .storybox h3.handfont,
    #unloading .storybox h3.handfont{
        font-size: 4rem;
    }

    .storybox h3.handfont{
        font-size: 4rem;
    }

    .photocolum2 ul li{
        width: 100%;
        display: block;
        margin: 0;
    }

    .intbox{
        width: 100%;
    }

    .intbox .leftpic{
        float: none;
        width: 100%;
    }

    .intbox .leftpic img{
        display: block;
        margin: 0 auto 20px auto;
    }

    .intbox .rightint{
        float: none;
        width: 100%;
    }

    #interview{
        width: 100%;
        min-width: 100%;
    }

    #interview .storybox h3{
        width: 100%;
    }

}
