/*
Theme Name: Black Eye Gallery
Theme URI: #
Description: Black Eye Gallery Theme.
Author: The Defectors
Author URI: http://thedefectors.com.au
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/************************************************************
Table of Contents

1 General
2 Header
3 Footer
4 Content
5 Homepage
6 About
7 Exhibiting
8 Future Shows
9 Artists
10 Single Artist
11 Contact
12 RSVP
12 Image Flow Plugin
13 Gravity Forms
************************************************************/

/*1 General
************************************************************/

html,
body {
    height: 100%;
}

* {
    margin: 0;
}

body {
    background-color:#fff;
    font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    color: #a8a7a7;
    line-height: 1.5;
    padding: 0;
    margin: 0;
}

h1 {
    text-transform:uppercase;
    padding-bottom:5px;
    font-size:2.5em;
    font-weight:normal;
}

a img {
    border:none;
}

#wrapper {
    min-height: 90%;
}

#wrapper:after {
    content: "";
    display: block;
    height: 24px;
}

.bold {
    font-weight: bold;
}

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

.cf:after {clear: both;}

.cf {*zoom: 1;}

/* 2 Header
************************************************************/

#logo {
    width:184px;
    height:184px;
    margin:0 0;
    float:left;
}

#menu {
    float:left;
    margin:15px 0 0 30px;
    padding-bottom:10px;
    font-size: 12px;
    text-transform:uppercase;
    font-weight:bold;}

    #menu ul {
        padding:15px 0;
        list-style:none;
    }

    #menu ul li {
        float:left;
        position:static;
        margin:0 10px 5px;
    }

        #menu ul li a,
        #menu ul li a:visited,
        #menu ul li a:link {
            text-decoration:none;
            color:#a8a7a7;
        }

        #menu ul li:hover a,
        #menu ul li a:hover {
            text-decoration:none;
            color:#000;
        }

        #menu ul li.current-menu-item > a,
        #menu ul li:hover >
        a:link {
            color:#000;
        }

    #menu li .sub-menu {
        display:none; border: 2px solid #000;
    }

    #menu li:hover .sub-menu {
        display:block;
        padding:0;
        position:absolute;
    }

    #menu li .sub-menu:after,
    #menu li .sub-menu:before {
        bottom:100%;
        border: solid transparent;
        content: " ";
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
    }

        #menu li .sub-menu li {
            background: none;
            min-height: 15px;
            max-height: 15px;
            padding: 10px;
            margin:0;
            font-size: 12px;
            font-weight:bold;
            display: block;
            white-space: nowrap;
            float: left;
            position: static !important;
        }

        #menu li .sub-menu li a{
            display: block;
        }

        #menu li .sub-menu li a:link,
        #menu li .sub-menu li a:visited,
        #menu li .sub-menu li a {
            color: #000;
        }

        #menu li .sub-menu li:hover {
            background-color:#000;
            color:#fff;
        }

        #menu li .sub-menu li:hover a:link,
        #menu li .sub-menu li:hover a:visited,
        #menu li .sub-menu li:hover a:hover {
            text-decoration:none; color:#000;
        }

        #menu .sub-menu li:hover a {
            color:#fff  !important;
        }

        #menu li.current-menu-parent{
            position: static;
        }

    #menu select {
        display: none;
    }

.sub-menu {
    zoom:1;
    position: relative;
    background: #fff;
    border: 2px solid #000;
}
    .sub-menu:before,
    .sub-menu:after {
        content:"";
        bottom: 100%;
        border: solid transparent;
        height: 0;
        width: 0;
        position: absolute;
        pointer-events: none;
        display: block;
    }

    .sub-menu:after {
        clear:both;
        border-color: rgba(255, 255, 255, 0);
        border-bottom-color: #fff;
        border-width: 10px;
        left: 17%;
        margin-left: -10px;
    }

    .sub-menu:before {
        border-color: rgba(0, 0, 0, 0);
        border-bottom-color: #000;
        border-width: 13px;
        left: 17%;
        margin-left: -13px;
    }

#subscription {
    float: right;
    position: relative;
    z-index: 5;
}

    #subscription #subscription-inner {
        width: 200px;
        background: #e1e1e1;
        position: absolute;
        top: 0;
        right: 0;
     }

    #subscription #subscription-head {
        display: block;
    }

        #subscription #subscription-head #title{
            margin-top: 2px;
            margin-left: 10px;
            float: left;
            line-height: 32px;
            font-size: 14px;
            text-transform: uppercase;
            font-weight: bold;
            color: #333;
        }

#subscription #toggle-button {
    float: right;
    width: 32px;
    height: 32px;
    position: relative;
}

    #subscription #toggle-button #toggle-arrow,
    #subscription #toggle-button #toggle-cross {
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
    }

    #subscription #toggle-button #toggle-arrow {
        background: url("images/subscribe-toggler/toggle-arrow.jpg");
    }

    #subscription #toggle-button #toggle-cross {
        background: url("images/subscribe-toggler/toggle-cross.jpg");
    }

#subscription .gform_wrapper {
    margin-top: 10px;
}

    #subscription .gform_wrapper .gfield {
        margin-bottom: 10px;
    }

    #subscription .gform_wrapper .ginput_container {
        position: relative;
        margin: 0 35px 0 -10px;
        height: 28px;
    }


    #subscription .gform_wrapper .ginput_container:before {
        content:" ";
        border-top:7px solid #cbcbcb;
        position:absolute;
        bottom: -7px;
        border-left:10px solid transparent;
        left:0;
    }

    #subscription .gform_wrapper .gfield_error input[type="text"] {
        border: 1px solid #8b0000;
    }

    #subscription .gform_wrapper input[type="text"] {
        padding: 5px 10px;
        border-color: #9d9d9d;
        font-weight: normal;
        background-color: #ebebeb;
    }

    #subscription .gform_wrapper input[type="submit"] {
        padding: 0;
        border: 0;
        background-color: transparent;
        font-weight: normal;
        margin-right: 35px;
        width: auto;
        height: auto;
        position: static;
        text-align: none;
        font-size: 14px;
        float: right;
        margin: -5px 35px 10px 0;
    }

    #subscription #gforms_confirmation_message {
        margin-top: 4px;
        padding-left: 10px;
        padding-bottom: 10px;
    }



/* 3 Footer
************************************************************/

#footer {
    color:#a2a2a2;
    background-color:#fff;
    margin:0;
    padding:15px;
    text-transform:uppercase;
    font-size:12px;
    font-weight:bold;
    border-top:1px solid #aeadad;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#footer span {
    padding:0 5px;
}

#footer a{ text-decoration: none;
    color: #a2a2a2;
}

#footer a:hover {
    text-decoration: none; color: #000;
}

#footer img {
    vertical-align: middle;
}


/* 4 Content
************************************************************/
#content {
    width: 100%;
    margin: 40px 0 40px;
    padding: 0 40px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#content .title {
    text-transform:uppercase;
    font-size:37pt;
    font-weight:bold;
    color:#000;
    line-height:1;
    margin: 0 0 15px;
    padding: 0;
}

#content .grey {
    background-color: #f0f0f0;
}

#content .row.no-vert-padding {
    padding-top: 0;
    padding-bottom : 0;
}

#content .row {
    margin: 0 -40px 40px;
    padding: 20px 40px;
}

#content .row .col {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#content .row .col {
    word-wrap: break-word;
}

#content .row .col.left {
    float: left;
    width: 320px;
}

#content .row .col.right {
    padding-left: 40px;
    margin-left: 320px;
}

/* 5 Homepage
************************************************************/

.home {
}

    .home .imageflow-content-home {
        min-height:456px;
        position: relative;
        top: 50px;
    }

    .home .imageflow-content-home #imageFlow {
        min-height:912px; top:110px;
    }

/* 6 About
************************************************************/

.about {
    width: 100%;
}

.about-content {
    margin-right:50px;
    width: 360px;
    margin-right: 40px;
    float: left;
}

.about .about-images {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
}

.about .about-images img {
    display: inline-block;
}


/* 7 Exhibiting
************************************************************/

.exhibiting {
}

    .exhibiting #details {

    }
        .exhibiting #details .toptitle {
            margin: 0 0 12px 0;
        }

        .exhibiting #details .subtitle {
            color:#797979;
            font-size:20pt;
            font-weight:bold;
            text-transform:uppercase;
            line-height:1;
        }

        .exhibiting #details .title {
            color:#000;
            font-size:30pt;
            font-weight:bold;
            text-transform:uppercase;
            line-height:1;
            padding-bottom:5px;
            margin: 0 0 12px 0;
        }


        .rsvp-button {
            border:1px solid #797979;
            cursor: pointer;
            text-transform:uppercase;
            text-decoration:none;
            color:#000;
            background:#fff;
            font-weight:bold;
            font-size:20pt;
            text-align:center;
            padding: 10px;
            display: inline-block;
            margin-top: 15px;
        }

        .rsvp-button:hover {
            background-color:#787878;
            color:#fff;
            border-color:#fff;
        }


    .exhibiting #imageFlow {
        min-height:630px;
        top:-55px;
    }


/* 8 Future Shows
************************************************************/

.future-shows {
}

/* 9 Artists
************************************************************/

.artists {
}

    .artists #artists-menu {
        margin: 0;
        padding: 0;
        list-style: none;
        font-size: 16px;
        text-transform: uppercase;
    }

        .artists #artists-menu li {
        }

            .artists #artists-menu li a,
            .artists #artists-menu li a:link,
            .artists #artists-menu li a:visited {
                color: #000;
                text-decoration: none;
            }

            .artists #artists-menu li a:hover,
            .artists #artists-menu li a:active,
            .artists #artists-menu li a:focus {
                color: #a8a7a7;
            }


    .artists #artists-images {
        width: 750px;
        margin: 0 -5px;
    }

        .artists #artists-images .artist-image {
            margin: 0 5px 10px;
            display: block;
            float: left;
            position: relative;
        }

            .artists #artists-images .artist-image a {
                display: block;
                text-decoration: none;
            }

            .artists #artists-images .artist-image a img {
                border: 0;
            }

            .artists #artists-images .artist-image .artist-name {

                width: 100%;
                padding: 0 10px;
                height: 32px;
                line-height: 32px;
                background-color: #e3e3e3;
                color: #000;
                -webkit-box-sizing: border-box;
                -moz-box-sizing: border-box;
                box-sizing: border-box;
                font-weight: bold;
            }

/* 10 Single Artist
************************************************************/
.single-artist {

}

    .single-artist .title {
        font-size: 24pt !important;
    }

    .single-artist .description {
        padding: 20px;
        min-height: 400px;
    }

    .single-artist #artist-slide-image {
        width: 500px;
        height: 500px;
        float: left;
        margin-right: 20px;
    }

    #artist-slide-image .swipe-wrap  {
        width: 500px;
        text-align: center;
    }

        #artist-slide-image .swipe-wrap > div {
            line-height: 500px;
        }

        #artist-slide-image > div img {
            vertical-align: middle;
            max-height:100%;
            width: auto;
        }

    .single-artist #artist-slider {
        position: relative;
        top: -50px;
        float: left;
    }


/* 11 Contact
************************************************************/

.contact {
}

    .contact #map  {
        width: 800px;
        height: 350px;
    }

        .contact #map iframe {
            width: 100% !important;
            height: 100% !important;
        }

/* 12 RSVP
************************************************************/
.rsvp {
}

/* Image Flow Plugin
************************************************************/

.imageflow-content-home {
    position:relative;
    width:100%;
    min-height:315px;
    overflow: hidden;
}

#imageFlow .scrollbar,
#imageFlow .text {
    display:none;
}

/* Gravity Forms
************************************************************/

.gform_wrapper {
}

.gform_wrapper ul {
    padding-left:0;
}

.gform_wrapper ul li {
    list-style-type:none;
}

.gform_wrapper .validation_error,
.gform_wrapper .gfield_label,
.gform_wrapper .gfield_description,
.gform_wrapper .validation_message {
    display:none;
}

.gform_wrapper .gfield_error input[type="text"],
.gform_wrapper .gfield_error textarea {
    border:2px solid #8b0000;
}

.gform_wrapper label {
    position:relative;
    left:10px;
    top:-2px;
}

.gform_wrapper textarea,
.gform_wrapper input[type="text"],
.gform_wrapper select {
    padding: 10px;
    font-family: "Helvetica Neue", Helvetica, "georgia", "Lucida Grande", "Lucida Sans Unicode", Arial, sans-serif;
    font-size: 13px;
    width: 100%;
    margin-bottom:17px;
    background-color:#fff;
    color:#797979;
    border:1px solid #797979;
    font-weight:bold;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.gform_wrapper textarea {
    height:90px;
}

.gform_wrapper input[type="submit"] {
    border:1px solid #797979;
    width: 130px;
    height: 50px;
    cursor: pointer;
    text-transform:uppercase;
    text-decoration:none;
    color:#000;
    background:#fff;
    font-weight:bold;
    font-size:19pt;
    text-align:center;
    position:relative;
    left:50%;
    margin-left: -65px;
}

.gform_wrapper {
    padding: 0px;
}

@media only screen and (max-width: 1200px) {

    /* 10 Single Artist */
    .single-artist #artist-slider {
        display: none;
    }

    /* 11 Contact */
    .contact #map  {
        position: relative;
        padding-bottom: 75%;
        height: 0;
        overflow: hidden;
        width: auto;
        height: auto;
    }

        .contact #map iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100% !important;
            height: 100% !important;
        }

    /* Image Flow Plugin */
    .imageflow-content-home {
        min-height:310px;
    }

    .home .imageflow-content-home #imageFlow {
        min-height:630px;
        top:10%;
    }
}

/*Tablet (Landscape) and downwards
************************************************************/
@media only screen and (max-width: 1024px) {


    /*2 Header */
    #subscription {
        display: none;
    }

    /* 4 Content */
    #content {
        margin-top: 40px;
    }

    /* 9 Artists
       10 Single Artist */
    .artists#content,
    .single-artist#content {
        padding: 0 20px;
    }

    .artists#content .row,
    .single-artist#content .row {
        margin: 0 -20px 40px;
        padding: 20px;
    }

    .artists#content .row .col,
    .single-artist#content .row .col {
        width: 100%;
    }

    .artists#content .row .col.left,
    .single-artist#content .row .col.left{
        float: none;
        margin-bottom: 20px;
    }

    .artists#content .row .col.right,
    .single-artist#content .row .col.right {
        margin: 0;
        padding-left: 0;
    }

    /* 9 Artists */
    #artists-menu {
        display: none;
    }


    /*10 Single Artist */
    .single-artist .description {
        min-height: inherit !important;
    }

    .single-artist #artist-slider {
        display: none;
    }

    .single-artist #artist-slide-image {
        width: 100%;
        height: 100%;
        margin: 0 auto;
        float: none;
    }

    .single-artist #artist-slide-image .nav-container {
        display: block !important;
    }
}

/*Tablet, Mobile and downwards
************************************************************/
@media only screen and (max-width: 768px)  {

    /* 2 Header */
    #logo,
    #logo img {
        width:100px; height:100px;
    }

    /* 5 Homepage */
    .home .imageflow-content-home {
        top: 0 !important;
    }

    /* 4 Content */
    #wrapper {
        width: 100%;
        margin: auto;
    }

    #content {
        padding: 0 20px;
    }

        #content .title {
            font-size:40pt;
        }

        #content .row {
            margin: 0 -20px 40px;
            padding: 20px;
        }

        #content .row .col {
            width: auto !important;
        }

            #content .row .col.left {
                float: none;
                margin-bottom: 40px;
            }

            #content .row .col.right {
                margin: 0;
                padding-left: 0;
            }

    /* 9 Artists */
    .artists #artists-images {
        width: 100%;
        margin: 0 -5px;
    }

        .artists #artists-images .artist-image {
            width: 33%;
            margin: 0;
            padding: 0px 5px;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
        }
            .artists #artists-images .artist-image a img {
                border: 0;
                max-width:100% !important;
                height:auto !important;
                display:block;
            }

    /* Image Flow Plugin */
    #imageFlow {
        top: 27%;
        height: 75%;
    }
}


/* Mobile and downwards
************************************************************/
@media only screen and (max-width : 480px) {

    /* 4 Content */
    #content .title {
        font-size:25pt;
    }

    /* 5 Homepage */
    .home .imageflow-content-home #imageFlow {
        min-height: 320px;
    }

    /* 9 Artists */
    .artists #artists-images .artist-image {
        width: 50%;
    }

    /* 10 Single Artist */
    .single-artist #artist-slide-image .swipe-wrap {
        height: 280px;
        width: 280px;
    }

        .single-artist #artist-slide-image .swipe-wrap > div {
            width: 280px;
            line-height: 280px;
        }

        .single-artist #artist-slide-image .swipe-wrap > div img {
            vertical-align: middle;
            max-width: 100%;
            max-height: 100%;
        }
}

/* Specific for responsive menu
************************************************************/
@media only screen and (max-width: 535px) {

    /*2 Header */
    #menu .nav ul,
    #menu div .nav {
        display: none;
    }

    #menu select {
        display: inline-block;
        float: right;
        margin-top:
        10px;
    }

    #menu {
        text-align: center;
        margin:5px 5px 0 0;
        padding-bottom:0;
        border: 0;
        float:right;
    }
}


/* Mart edits */
.home .imageflow-content-home { min-height: 547px; }
/*
.home #imageFlow { top: 0 !important; } reverting back partially hidden images */
body, html { position: relative; min-height: 100%; }
.relative { position: relative; }
.pa { position: absolute; display: block; }
.pr { position: relative; display: block; }
.tl { top: 0; left: 0; }
.tr { top: 0; right: 0; }
.bl { bottom: 0; left: 0; }
.br { bottom: 0; right: 0; }
#footer { display: block; width: 100%; min-height: 60px; height: 60px; }
#footer { position: fixed; bottom: 0; left: 0; background: #fff; z-index: 999999; }
#footer .push { display: none; }
.exhibiting #details { padding-top: 30px; }
.artists #artists-images { padding-top: 68px; }
.home .imageflow-content-home #imageFlow { min-height: 630px; top: 0; }
.home .imageflow-content-home { top: 0; }
.exhibitingMain { padding-top: 30px; }
/* Signle artist */
.single-artist #artist-slide-image { margin-top: 0; }
#artist-slide-image > div img { vertical-align: top; }
.bioButton { text-transform: uppercase; font-size: 12px; padding: 6px; }
.gform_wrapper { width: 500px }
.page-template-pt-contact-php #content .row .col.right { margin-left: 520px; margin-top: 50px; }
@media only screen and (max-width: 535px) { .gform_wrapper { width: 300px; display: block; margin: 0 auto; } }

@media only screen and (max-width: 535px) {
	.home .imageflow-content-home #imageFlow,
	.home .imageflow-content-home { min-height: 250px !important; }
	#footer { min-height: 0; height: auto; position: relative; margin-top: 0; }
	#wrapper { min-height: 0; }
	#content { margin-bottom: 0; }
	.home #imageFlow canvas { display: none !important; }
	#wrapper:after { display: none !important; }
	.fancybox-overlay,
	.fancybox-overlay-fixed { display: none !important; }
	#artist-slide-image > div img { vertical-align: top; margin-top: 20px; }
}

.page-template-pt-future-shows-php .slides li { position: relative; height: 250px; display: inline-block; float: left; margin: 0 10px; overflow: hidden; }
.page-template-pt-future-shows-php .slides li img { height: 100%; min-height: 100%; width: auto; max-width: initial; }
.gallery-slider { height: 255px; }
.gallery-slider-viewport { height: 100%; }
.gallery-slider li { display: inline-block; float: left; }
.gallery-slider .slides { min-width: 100%; }
