/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    margin: 0 !important;
    padding: 0;
    height: 100%;
}

body {
    margin: 0;
}

::-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,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */


body {
    font: 14px/22px Helvetica, Helvetica Neue, Arial;
    font-family: 'proxima_nova_light', Helvetica, Helvetica Neue, Arial, sans-serif;
    background-color: transparent;
    height: 100%;
}


.wrapper {
    width: 80%;
    margin: 0 5%;
}


/* ==========================================================================================================================================================
    *****IMPORTANT: THESE POST-EVENT-STYLES DISABLE DISPLAY OF EXHIBITION IMAGES AFTER USAGE RIGHTS HAVE LAPSED. REMOVING THESE STYLE WILL RESTORE THE IMAGES.
   


.artist_overview div:nth-child(1){
   display:none;
}

    ======================================================================================================================================================== */

.artist_overview div.column {
    margin:0 !important;
    padding:0;
    width:100% !important;
}

/* ===================
    ALL: Dubai Photo
   =================== */

.header-container {
    border-bottom: 1px solid #ccc;
}

.footer-container {
    border-top: 1px solid #000;
    color: #aaa;
    margin-top: 50px;
}

.main aside {
    border-top: 10px solid #ccc;
    background: #eee;
}

.caveat {
    font-size: 90%;
}

#regform .caveat, #regform .caveat a {
    color: #fff !important;
}

#pageContent_ValidationSummary, #ValidationSummary {
    color: red;
}

#lang {
    width: 95%;
    font-size: 120%;
    margin: 0 0 0 20px;
    text-align: left;
    position: absolute;
    z-index: 1000;
}

    #lang a {
        color: #999;
        font-weight: bold;
        text-decoration: none;
    }

/* ==============
    MOBILE: Menu
   ============== */

/* Nav */

nav ul {
    float: none;
    padding: 0;
}

    nav ul.main-menu {
        margin: 200px 0 0 20px;
    }

    nav ul li {
        margin: 0 0 10px 0;
        list-style-type: none;
    }

        nav ul li a {
            color: #00aace;
            display: block;
            font-family: 'tex_regular', Helvetica, Helvetica Neue, Arial, sans-serif;
            float: none;
            font-size: 14px;
            font-weight: normal;
            text-align: left;
            text-decoration: none;
            width: 100%;
        }

nav a:hover {
    color: #fff !important;
    transition: .2s;
}

nav #menu-holder .main-menu a.selected {
    color: #fff;
}

/* Social Links */
.social-links {
    position: absolute;
    left: 20px;
    top: 10px;
    z-index: 10000;
}

    .social-links li {
        float: left;
    }

nav a.social {
    background: url(../img/ico_social.png) 0 0 no-repeat transparent;
    display: block;
    height: 30px;
    margin: 0 5px 0 0;
    padding: 0;
    transition: none;
    width: 30px;
}

a.social {
    display: none;
    transition: none !important;
}

nav a.social.fb {
    background-position: 0 0;
}

    nav a.social.fb:hover {
        background-position: 0 -30px;
    }

nav a.social.tw {
    background-position: -30px 0;
}

    nav a.social.tw:hover {
        background-position: -30px -30px;
    }

nav a.social.ig {
    background-position: -60px 0;
}

    nav a.social.ig:hover {
        background-position: -60px -30px;
    }

/* Register Button */

nav a.register {
    visibility: hidden;
    display: none !important;
    height: 0;
}

/* =======================
    MOBILE: Inpage Subnav
   ======================= */

.main .subnav {
    margin-top: 30px;
}

    .main .subnav ul, .main .subnav ul li {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

        .main .subnav ul li {
            float: left;
            text-align: center;
            width: 33.33%;
        }

.subnav ul li a {
    background-color: #faa61a;
    color: #fff;
    display: block;
    padding: 10px 0;
}
.subnav ul li a {
    margin: 0 1px 1px 0;
}

    .subnav ul li a:hover, subnav ul li a.selected {
        background-color: #b76f11;
        transition: all 0.2s ease-out;
    }

.subnav ul a.selected, .subnav ul a.selected:hover {
    background-color: #999;
}

.main .subnav.magenta ul li, .main .subnav.green ul li {
    width:50%;
}
.subnav.magenta ul li a {
    background-color:#a63877;
}
.subnav.magenta ul li a:hover {
    background-color:#612b52;
}
.subnav.green ul li a {
    background-color:#9bb34f;
}
.subnav.green ul li a:hover {
    background-color:#53744c;
}
.subnav.magenta ul li a.selected, .subnav.green ul li a.selected {
    background-color: #999;
}

/* Exhibition Overview */

.exhibition_overview h2 {
    margin-bottom: 20px;
}

.exhibits {
    clear: both;
    margin-top:20px;
}

    .exhibits section {
        padding-bottom: 0;
    }

        .exhibits section .column {
            clear: both;
            padding-bottom: 20px;
        }

    .exhibits img {
        width: 100%;
    }


/* Artists */

.main p.credit {
    font-size: 85%;
    color: #666;
    line-height:1.2;
    padding:5px 2px 0 2px;
}

.artist_overview section {
    border-bottom: 1px solid #ccc;
    margin-top: 30px;
}

    .artist_overview section.last {
        border: none;
    }

    .artist_overview section .column {
        width: 100%;
    }

        .artist_overview section .column h2 {
            margin: -10px 0 5px 0;
            color: #B76F11;
        }




        

/* Columns*/

.column h3, .inpage-hero h3 {
    margin: 10px 0 0 0;
}

.column p, .inpage-hero p {
    margin: 0 0 15px 0;
    padding: 0;
}

.column a:hover, .inpage-hero a:hover {
    opacity: 0.7;
    transition: opacity 0.2s;
}

.column p.learn-more {
            padding:10px 0 0 20px; 
        }
 .column .learn-more a {
            background-color:#faa61a;
            color:#fff;
            font-size:85%;
            padding:5px 10px;
        }
        .learn-more a:hover {
            background-color:#b76f11;
        }

    /* Gallery Images */ 
       .exhibits .gallery a {
           clear:none;
           display:block;
           float:left;
           width:31%;
           padding-bottom:10px;
           min-height:80px;
       }

        #gallery-thumbs a:nth-child(3n+1) {
            margin: 0 2%;
        }
        #gallery-thumbs a:nth-child(3n+2) {
            margin: 0 2% 0 0;
        }

.inpage-hero {
    margin: 20px 0;
}

    .inpage-hero img {
        width: 100%;
    }

.main .paging {
    border-top: 1px solid #a63877;
    clear: both;
    margin-top: 20px;
    padding-top: 10px;
    width: 100%;
}

    .main .paging ul {
        list-style-type: none;
        margin: 0;
        float: right;
    }

        .main .paging ul li {
            float: left;
            margin-left: 10px;
        }

            .main .paging ul li a {
                background-color: #faa61a;
                border-radius: 18px;
                color: #fff;
                display: block;
                height: 30px;
                padding-top: 6px;
                width: 36px;
                text-align: center;
            }

                .main .paging ul li a:hover, .main .paging ul li a.selected {
                    background-color: #b76f11;
                }

article.exhibits {
    display: none;
    transition: all 0.5s;
}

    article.exhibits.active {
        display: block;
    }

.paging ul li a.active, .paging ul li a.active:hover {
    background-color: #999;
}

/* ==============
    MOBILE: Main
   ============== */



#logo_dubaiPhoto, #logo_dubaiPhoto_anim {
    float: left;
    margin: 10px 0 30px 0;
    padding: 0;
}

    #logo_dubaiPhoto a {
        background: url(/Content/en/img/logo_dubaiPhoto.png) 0 0 no-repeat transparent;
        display: block;
        float: none;
        height: 45px;
        padding: 0;
        width: 206px;
    }

#logo_dubaiPhoto_anim {
    display: block;
    height: 45px;
    padding: 0;
    width: 150px;
}

.main {
    padding: 30px 0;
}


    .main a {
        color: #00abce;
        font-family: 'tex_regular', Helvetica, Helvetica Neue, Arial, sans-serif;
        text-decoration: none;
    }

input[type="text"] {
    width: 90%;
}

input[type="email"] {
    width: 90%;
}

/* Text Page */

.text-content {
    margin: 30px 0 0 0;
    max-width: 740px;
}

    .text-content h2 {
        margin: 10px 0 5px 0;
    }

    .text-content h3 {
        margin: 0;
    }

    .text-content img {
        margin-bottom:20px;
        width: 100%;
    }


/* List Style */

.main ul {
    margin: 0 20px;
    padding: 0;
}

    .main ul li {
        padding: 0;
        margin: 0;
    }

   .main ul.list {
       margin:0;
       float:none;
       
    }
    .main ul.list li {
        float:none;
        display:block;
        padding:0;
        margin:0;
    }


/* Footer */

.footer-container footer {
    font-family: 'tex_regular', Helvetica, Helvetica Neue, Arial, sans-serif;
    font-size: 90%;
    padding: 20px 0;
}

    .footer-container footer a {
        color: #8a8a8a;
        font-family: 'tex_regular', Helvetica, Helvetica Neue, Arial, sans-serif;
        text-decoration: none;
    }

    .footer-container footer span {
        display: block;
    }


/* Registration Form */

.form-holder {
    background-color: rgba(255,255,255,0.8);
    display: none;
    min-height: 100%;
    overflow: scroll;
    position: fixed;
    width: 100%;
    z-index: 10;
}

.form-panel {
    background-color: #000; /*#dcf1f9;*/
    border: none;
    color: #fff;
    box-shadow: 4px 4px 4px rgba(0,0,0,0.4);
    margin: 0 auto;
    padding: 10px 20px 20px 20px;
    position: relative;
    top: 20px;
    width: 85%;
}

    .form-panel a {
        color: #fff;
    }

    .form-panel .form .field {
        width: 100%;
    }

    .form-panel a.close {
        background: url('../img/ico-close2x.png') 50% 50% no-repeat transparent;
        display: block;
        height: 48px;
        position: relative;
        float: right;
        margin-top: -42px;
        margin-right: -42px;
        width: 48px;
    }

    .form-panel label, .form-panel legend, .regForm-static label, .regForm-static legend  {
        font-family: 'tex_regular', Helvetica, Helvetica Neue, Arial, sans-serif;
        color: #fff;
        font-size: 100%;
        letter-spacing: 1px;
        display: block;
    }

    .regForm-static {
        max-width:600px;
    }
    .regForm-static label, .regForm-static legend {
        color:#000;
    }

    .form-panel fieldset {
        margin: 0;
        padding: 0;
    }

    .form-panel legend {
        padding-right: 20px;
    }

    .form-panel select {
        color: #000 !important;
    }
select {
    color: #000 !important;
    font-family: Arial, Helvetica, sans-serif !important;
}
input[type="text"], input[type="email"], select, textarea {
    border: 1px solid #000;
    color: #666 !important;
    font-size: 110%;
    margin: 5px 0 10px 0;
    padding: 5px;
    width: 90%;
}

#lang a {
    color: #999;
    font-weight: bold;
    text-decoration: none;
}

textarea {
    width: 92%;
} 
select {
    width: auto;
}
.p20px {
    padding-right: 40px;
}

.form-panel input[type="text"] {
    border: none;
    width: 90%;
}

.form-panel input[type="email"] {
    border: none;
    width: 90%;
}
/** CHECKBOXES **/

input[type="checkbox"] {
    margin-right: 5px;
}

/** END CHECKBOXES*/

ul#errList {
    border: 1px solid #e0022a;
    color: #e0022a;
    display: none;
    list-style-position: inside;
    margin: 0;
    padding: 10px;
    width: 95%;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* Home Page Styles */

.wordmark, .content-wordmark {
   /* background: url() 0 0 no-repeat #fff;
    display: block;
    height: 50px;
    margin-bottom: 20px;*/
    width: 230px;
}

.btn-min {
        display:none;
    }
    .btn-max {
        display:none;
    }

.min-img {
    display: block;
    width: 100%;
}

.max-img {
    display: none;
}

.info-grid td {
    padding: 2px 10px 0 0;
}

/* Content Page Styles */


/* Fonts */

.prox_bold {
    font-family: 'tex_bold', Helvetica, Helvetica Neue, Arial, sans-serif;
}

.prox_regular {
    font-family: 'tex_regular', Helvetica, Helvetica Neue, Arial, sans-serif;
}

.prox_light {
    font-family: 'proxima_nova_light', Helvetica, Helvetica Neue, Arial, sans-serif;
}

/* Headers */

h1 {
    color: #00acce;
    font-family: 'tex_bold', Helvetica, Helvetica Neue, Arial, sans-serif;
    font-size: 180%;
    font-weight: normal;
    line-height: 1;
    margin: 10px 0 0 0;
}

    h1.light {
        color: #00758c;
        font-size: 180%;
        text-transform: none;
    }

h2 {
    color: #00758c;
    font-family: 'tex_regular', Helvetica, Helvetica Neue, Arial, sans-serif;
    line-height: 1.4;
    font-size: 140%;
    font-weight: normal;
}

.home-panel h2 {
    font-size: 100%;
}

h1.light, h3 {
    font-family: 'proxima_nova_light', Helvetica, Helvetica Neue, Arial, sans-serif;
    font-weight: normal;
}

h3 {
    font-size: 120%;
    text-transform: uppercase;
}

/* Text Colours */

.white {
    color: #fff;
}

.grey {
    color: #c7c8ca;
}

.blue {
    color: #00768c;
}

.blue_light {
    color: #00abce;
}

.green {
    color: #53744c;
}

.green_light {
    color: #9bb34f;
}

.magenta {
    color: #612b52;
}

.magenta_light {
    color: #a63877;
}

.orange {
    color: #b76f11;
}

.orange_light {
    color: #faa61a;
}

/* Misc */

.preload {
    background: url(/Content/en/img/loading.gif) 50% 50% no-repeat #fff;
}

/* Link Styles */

a.btn {
    background-color: #000;
    display: block;
    font-size: 95%;
    padding: 10px;
    text-decoration: none !important;
    text-align: center;
    color: #fff;
    width: 120px;
    transition: all .1s ease-out;
}

    a.btn:hover {
        background-color: #000;
        color: #000;
        transition: all .2s ease-out;
    }

    a.btn:active {
        background-color: #ccc !important;
        color: #000;
    }

    a.btn.blue {
        background-color: #00abce;
    }

        a.btn.blue:hover {
            background-color: #00768c;
            color: #fff;
        }


/* Footer */

footer {
    color: #999;
}

    footer ul {
        list-style-type: none;
        line-height: 1.3;
        margin: 0;
        padding: 0;
    }

    footer a {
        color: #aaa;
        font-size: 90%;
        text-decoration: none;
    }

    footer ul li ul li a {
        font-size: 75%;
    }

    footer #boilerplate {
        display: block;
        float: left;
        padding: 20px 0;
        max-width: 53%;
    }

    footer #hipa {
        float: right;
        margin-top: 23px;
        width: 42%;
       
    }

/* ==========================================================================
   Media Queries
   ========================================================================== */



@media only screen and (min-width: 480px) {

    /* Gallery Images */ 
       .exhibits .gallery a {
           min-height:130px;
       }
}


@media only screen and (min-width: 768px) {

    html {
        height: 100%;
        max-height: 100%;
        max-width: 100%;
        width: 100%;
    }



    /* ============
    WIDE: Main
   ============ */
    .wrapper {
        margin: 0 auto;
    }

    h1 {
        font-size: 300%;
    }

    h2 {
        font-size: 200%;
    }

    nav a.register {
        display: none !important;
        height: auto;
        position: absolute;
        right: 14%;
        top: 25px;
        visibility: visible;
        width: auto;
    }


    .home-panel h2 {
        font-size: 140%;
    }

    .home-panel a.btn {
        margin-top: 30px;
    }

    .wordmark {
        background: url(../img/wordmark.png) 0 0 no-repeat transparent;
        height: 110px;
        width: 390px;
    }

    .home-panel {
        margin-top: 15%;
        width: 80%;
    }

    .max-img {
        display: block;
        width: 100%;
    }

    .min-img {
        display: none;
    }

    .btn-min {
        display:none;
    }
    .btn-max {
        display:none;
    }

    .main article {
        float: left;
        width: 100%;
    }

        .main article header {
            max-width: 740px;
        }

        .main article h1 {
            font-size: 250%;
        }

    header p {
        font-family: 'tex_regular', Helvetica, Helvetica Neue, Arial, sans-serif;
        font-size: 130%;
        line-height: 1.4;
    }

    .main aside {
        float: right;
        width: 28%;
    }

       .text-content p img {
            display:inline-block;
            float:left;
            max-width:50%;
            margin: 0 20px 20px 0;
        }

    /* Reg Form */
    .form-panel {
        position: absolute;
        left: 50%;
        top: 50%;
        width: 600px;
        transform: translate(-50%,-50%);
    }

        .form-panel .form .field {
            float: left;
            width: 48%;
        }

            .form-panel .form .field.pad-right {
                margin-right: 3%;
            }

    input[type="text"] {
        font-size: 140%;
        padding: 10px;
        width: 90%;
    }

    input[type="email"] {
        font-size: 140%;
        padding: 10px;
        width: 90%;
    }


    /* Two column content */
    .cols {
        border-bottom: 1px solid black;
        padding-bottom: 30px;
        -webkit-column-count: 2; /* Chrome, Safari, Opera */
        -moz-column-count: 2; /* Firefox */
        column-count: 2;
        -webkit-column-gap: 30px; /* Chrome, Safari, Opera */
        -moz-column-gap: 30px; /* Firefox */
        column-gap: 30px;
    }

        .cols:last-child {
            border: none;
        }

        .cols h2, .cols h3, .cols p.link {
            -moz-column-span: 2;
            -webkit-column-span: all; /* Chrome, Safari, Opera */
            column-span: all;
        }

        .cols p {
            margin-top: 0;
        }

            .cols p.link {
                margin-top: 15px;
            }


    /* ===============
    Wide Subnav
   =============== */

    .main .subnav ul li {
        float: left;
        text-align: center;
        width:33.33%;
    }
    .main .subnav.magenta ul li {
        width:50%;
    }
    .main .subnav.green ul li {
        width:25%;
    }
    .subnav ul li a:first-child {
        margin-right: 1px;
    }
    .to-top {
        display:none;
    }

    /* Exhibition Columns */
    .exhibition_overview h2 {
        margin-bottom: 0;
    }

    .exhibits {
        margin: 0;
    }

        .exhibits section {
            clear: both;
            margin-top: 20px;
        }

            .exhibits section .column {
                clear: none;
                float: left;
                width: 30%;
            }

                .exhibits section .column:nth-child(even){
                    margin: 0 2%;
                }

    /* Gallery Images */ 
       .exhibits .gallery a {
           clear:none;
           display:block;
           float:left;
           width:31%;
           padding-bottom:10px;
           min-height:190px;
       }

        #gallery-thumbs a:nth-child(3n+1) {
            margin: 0 2%;
        }
        #gallery-thumbs a:nth-child(3n+2) {
            margin: 0 2% 0 0;
        }


    /* Artists Pages */

        .artist_overview section .column {
            width:48%;
        }
        .artist_overview section .column h2 {
            margin:-5px 0 5px 0;
            color:#B76F11;
            font-size:140%;
        }

}





@media only screen and (min-width: 1140px) {

    /* ===============
    Maximal Width
   =============== */


    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }

    nav a {
        font-size: 120%;
    }

    /* Gallery Images */ 
       .exhibits .gallery a {
           min-height:220px;
       }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.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;
}

.left {
    float: left;
}

.right {
    float: right;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        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) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]: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;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


@import "compass/css3";

#menubar {
    background-color: #000;
    display: block;
    height: 300%;
    right: 0;
    top: 0;
    position: fixed;
    transform: right;
    transition: .4s ease-out;
    width: 50px;
    z-index: 3000;
}

    #menubar.open {
        right: 200px;
    }

.roundel {
    display: block;
    background: url(../img/roundel.png) 0 0 no-repeat transparent;
    position: relative;
    height: 100px;
    left: -39px;
    width: 101px;
}

#menu-holder {
    background-color: #000;
    display: block;
    position: fixed;
    right: -200px;
    top: 0px;
    height: 100%;
    transform: right;
    transition: .4s ease-out;
    width: 220px;
    z-index: 2000;
}

    #menu-holder.open {
        right: 0px;
    }

.burgermenu {
    background-color: #fff;
    border-radius: 16px;
    cursor: pointer;
    margin: 10px auto 30px auto;
    padding-left: 1.25em;
    position: relative;
    width: 16px;
    height: 32px;
}

.menu-global {
    backface-visibility: hidden;
    position: absolute;
    left: 8px;
    border-top: 4px solid #000;
    width: 17px;
    transition: 0.55s;
}

.menu-top {
    top: 6px;
}

.menu-middle {
    top: 14px;
}

.menu-bottom {
    top: 22px;
}

.menu-top-click {
    backface-visibility: hidden;
    top: 14px;
    transform: rotate(50deg);
    transition: 0.55s 0.5s;
}

.menu-middle-click {
    opacity: 0;
}

.menu-bottom-click {
    backface-visibility: hidden;
    top: 14px;
    transform: rotate(-410deg);
    transition: 0.55s 0.5s;
}
.field-validation-error {
    display: block;
    color: red;
    line-height:0.1em;
}