/* ==========================================================================
   Colllectors Show / All Art Works
   ========================================================================== */

body{
/*    font-family: "Helvetica Neue Regular","Helvetica Regular","Helvetica Neue",Helvetica,Arial,sans-serif;*/
    line-height: 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    color: black;
}

.home{
    margin-bottom: 60px;
    display: inline-block;
}

.caption{
    margin-top: 15px;
    margin-bottom: 0;
    font-size: 12px;
    line-height: 1.25;
}

.caption span{
    font-style: italic;
}

/*Header, Navigation, Links*/

.navbar-header{
    float: none;
}

.logo-link .logo{
    margin: 0 auto;
    width: 100%;
    max-width: 800px;
}

h1{
    font-size: 18px;
    float: left;
    margin: 15px 0 0 15px;
}

.navbar{
    text-align: center;
    margin-top: 60px;
    margin-bottom: 0;
    box-shadow: none;
    background: none;
    border: none;
}

#navbar{
    margin: 30px auto 60px auto;
}

.navbar-nav{
    float: none;
    display: inline-block;
}

.navbar-nav>li>a{
    display: inline-block;
    padding: 0;
    margin: 0 15px;
}

.navbar-nav>li>a, .contact a, a.help_link, .home p:last-child a, .address a, .press ul li a{
    border-bottom: 2px solid rgba(0,0,0,0);
    transition: .5s;
}

.navbar-nav>li>a:hover, .navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.open>a, .contact a:hover, .address a:hover, a.help_link:hover, .home p:last-child a:hover, .press ul li a:hover{
    border-bottom: 2px solid rgba(0,0,0,1);
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.open>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.open>a:hover{
    background: none;
    box-shadow: none;
    color: black;
}

.navbar-default .navbar-nav>li>a, .navbar-default .navbar-nav>li>a:hover, .navbar-nav>li:first-child:after, .navbar-nav>li:nth-child(2):after, .navbar-nav>li:nth-child(3):after, .navbar-nav>li:nth-child(4):after, .navbar-nav>li:nth-child(5):after{
    color: black;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 17px;
}

.navbar-nav>li:first-child:after, .navbar-nav>li:nth-child(2):after, .navbar-nav>li:nth-child(3):after, .navbar-nav>li:nth-child(4):after{
    content: "/";
    clear: none;
}

@media (min-width: 768px){
    h1{
        float: none;
        margin: 15px 0 0 0;
    }
}
    
@media (max-width: 767px){
    .navbar{
        margin-top: 15px;
        min-height: auto;
        margin-bottom: 30px;
    }
    #navbar{
        margin: 0;
        padding: 0;
        border: none;
    }
    .logo-link .logo{
        max-width: 70%;
        float: left;
        margin-left: 15px;
    }
    .navbar-nav{
        float: left;
        margin-top: 15px;
    }
    .navbar-nav li{
        text-align: left;
        line-height: 2;
        font-size: 14px;
    }
    
    .navbar-default .navbar-nav>li>a, .navbar-default .navbar-nav>li>a:hover{
        font-size: 14px;
    }
    
    .navbar-nav>li:first-child:after, .navbar-nav>li:nth-child(2):after, .navbar-nav>li:nth-child(3):after, .navbar-nav>li:nth-child(4):after, .navbar-nav>li:nth-child(5):after{
        content: none;
    }
}

@media (max-width: 991px){
    .navbar-default .navbar-nav>li>a, .navbar-default .navbar-nav>li>a:hover, .navbar-nav>li:first-child:after, .navbar-nav>li:nth-child(2):after, .navbar-nav>li:nth-child(3):after, .navbar-nav>li:nth-child(4):after, .navbar-nav>li:nth-child(5):after{
        font-size: 16px;
    }
}

.navbar-toggle{
    margin-top: 0;
    padding: 0;
    border: none;
}

/*Footer*/

.contact{
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 30px;
}

.social-media{
    margin-bottom: 15px;
}

.social-media a:first-child{
    margin-right: 7.5px;
}

.social-media a:last-child{
    margin-left: 7.5px;
}

.footer p:last-child{
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 30px;
}

.address a, .contact a, a.help_link{
    font-weight: normal;
    color: black;
    text-decoration: none;
}

.footer .img-responsive {
    display: inline-block;
    max-height: 100px;
}

/*.footer a[href='http://secondavearts.com/'] .img-responsive{
    max-height: 75px;
    margin-right: 0;
}*/

.footer a[href='http://allartworks.net'] .img-responsive{
    max-height: 35px;
    margin-right: 0;
}

footer img {
    vertical-align: bottom;
}

/*Home*/

.home p, .home img{
    margin: 0 auto;
}

.home p{
    max-width: 800px;
}

.home p:first-child{
    max-width: 800px;
    margin-bottom: 30px;
    font-size: 20px;
}

.home p:nth-child(3){
    margin-top: 30px;
    margin-bottom: 0;
}

.home .logo{
    max-width: 100%;
    margin-top: 30px;
    margin-bottom: 15px;
}

.home p{
    font-size: 16px;
}

.home p:last-child, .home .venue{
    margin-bottom: 0;
}

.submit{
    color: black;
    background: none;
    margin-bottom: 30px;
    border: solid 1px red;
    padding: 10px;
    display: inline-block;
    font-weight: bold;
    transition: .25s;
}

.submit:hover{
    background: rgba(256,200,200,.25);
    transition: .25s;
    text-decoration: none;
    color: black;
}

.submission{
    display: none; /*Toggle submit button (on = display: block, off = none)*/
}

@media (max-width: 767px){
    .submit{
        margin-top: 30px;
    }
}

@media (max-width: 340px){
    .home p:last-child{
        font-size: 15px;
    }
}

.home .date{
    margin-top: 30px;
    text-transform: uppercase;
}

.home .address{
    margin-bottom: 30px;
}

.home .date, .home .address{
    font-weight: bold;
    font-size: 17px;
}

@media (min-width: 992px){
    .home .logo{
        max-width: 800px;
    }
}

/*Featured Artists*/

.featured-artists .row, .press .row, .famous_artists .row{
    margin-bottom: 60px;
}

.featured-artists .row:last-child{
    margin-bottom: 60px;
}

.featured-artists ul, .famous_artists ul{
    list-style-type: none;
    margin-bottom: 0;
}

@media (min-width: 768px){
    .featured-artists ul{
        margin-top: 2px;
    }
}

.featured-artists ul li, .famous_artists ul li{
    line-height: 1.25;
}

.featured-artists img{
    margin: 0 auto;
}

.featured-artists .image {
    display: inline-block;
    max-width: 50%;
    margin-bottom: 60px;
}

.featured-artists h2, .famous_artists h2 {
    font-size: 24px;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
}

.featured-artists .featured-current ul li, .famous_artists ul li{
    text-transform: uppercase;
    font-size: 16px;
}

.featured-artists h3, .press h3{
    text-transform: uppercase;
    margin-top: 0;
    font-weight: bold;
}

.press h3{
    margin-top: 5px;
}

.featured-artists>.row>.col-sm-3>p , .press .row div:first-child p{
    line-height: 1.25;
}

.featured-artists>.row>.col-sm-3>p:last-child, .press .row div:first-child p:last-child{
    margin-bottom: 0;
}

@media (max-width: 767px){
    .featured-artists img{
        max-height: 250px;
    }
    .featured-artists>.image:nth-child(2){
        margin-bottom: 30px;
    }
    .featured-artists>.row>div.col-sm-3, .press>.row>.col-sm-6:first-child{
        margin-bottom: 15px;
    }
    
    .featured-artists .image {
        display: block;
        max-width: 100%;
        margin-bottom: 30px;
        margin: 0 auto;
    }
    .featured-artists .image:first-child{
        margin-bottom: 30px;
    }
}

@media (min-width: 768px){
    .featured-artists>.image:first-child img{
        height: 286px;
    }
    .featured-artists>.image:first-child img{
        margin-right: 30px;
    }
}

@media (min-width: 992px){
    .featured-artists>.image:first-child img{
        height: 373px;
    }
    .featured-artists .row, .press .row, .famous_artists .row{
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 1200px){
    .featured-artists>.image:first-child img{
        height: 452px;
    }
}

/*Press*/

.press img {
    margin: 0 auto;
}

.press .row:last-child{
    margin-bottom: 60px;
}

.press .row li{
    line-height: 1.5;
}

.press ul{
    list-style-type: none;
    padding: 0;
}

.press ul li a{
    color: black;
    font-weight: bold;
    text-decoration: none;
}

.press .col-sm-6>div:first-child {
    margin-bottom: 15px;
}

@media (max-width: 767px){
    .press .col-sm-6>div:first-child {
        margin-top: 30px;
    }
}

@media (min-width: 768px){
    .press .col-sm-6 {
        width: 35%;
        display: inline-block;
        float: none;
        vertical-align: top;
    }
    .press .row div:nth-child(2) {
        padding-left: 11%;
    }
}

/*About*/

.about h3{
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.about h3:first-child{
    margin-top: 0;
}

.about>p:first-of-type, .about>p:nth-of-type(2){
    margin-bottom: 30px;
}

.about>h3:last-of-type{
    margin-top: 30px;
}

.about>img{
    margin: 0 auto;
}

.about>p {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

.about>img:last-child{
    margin-top: 30px;
    margin-bottom: 60px;
}

@media (max-width: 767px){
    .about>img:last-child {
        max-width: 50%;
    }
}

/*Gallery*/

.gallery-item, .famous_artists-image {
    margin-bottom: 30px;
}

.gallery-item:nth-child(15) /*, .famous_artists-image:nth-child(3)*/ {
    margin-bottom: 60px; /* Apply rule to last(number) gallery image in gallery */
}

.sl-overlay{
    opacity: 0.97;
}

/*Famous Artists*/

.famous_artists-image p{
    text-align: right;
    margin-top: 5px;
}

.famous_artists-list .artist{
    font-weight: bold;
}

@media (max-width: 767px){
    .famous_artists-image, .gallery-item {
        float: right;
        width: auto;
    }
    .famous_artists h2, .famous_artists-list{
        clear: right;
    }
}

/*Forms*/

.form ol{
    padding-left: 30px;
    margin-top: 20px;
}

.form ol img{
    margin: 10px 0;
}

.form ol li{
    margin-bottom: 30px;
}

.form h3{
    margin-top: 0;
}
.form {
    text-align: left;
    max-width: 830px;
    line-height: 1.5;
}
.error {
    color: red;
}
input[type=file]{
    display: inline-block;
    margin-top: 10px;
}
input[type=text], input[type=email], input[type=tel], textarea{
    margin-bottom: 10px;
    border: solid 1px black;
    padding: 5px;
    width: 498px;
    max-width: 100%;
}
input.error, textarea.error {
    border: 1px solid red;
}
input[type=file].error {
    border: none;
}
label.error{
    margin: 5px;
    vertical-align: top;
}
label#file_attachment-error {
    vertical-align: initial;
}
.submit{
    color: black;
    background: none;
    margin-bottom: 15px;
    border: solid 1px red;
    padding: 10px;
    display: inline-block;
    font-weight: bold;
    transition: .25s;
}
#mailingform{
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 60px;
}
#mailingform p{
    display: inline-block;
    margin-bottom: 0;
}
#mailingform label{
    margin-bottom: 0;
}
#mailingform label[for=mailingform]{
    margin-bottom: 20px;
}
#mailingform input[type=text], #mailingform input[type=email]{
    width: 300px;
}
input[type=radio]{
    margin: 0 4px 0;
    vertical-align: top;
}
#mailingform input[type=submit]{
    margin-top: 20px;
    margin-bottom: 0;
}
#mailingform label.error{
    display: block;
}
#mailingform #Artist-error{
    margin-top: 10px;
}
@media (max-width:691px){
    input[type=text].error, input[type=email].error, input[type=tel].error, textarea.error{
        margin-bottom: 5px;
    }
    label.error {
        vertical-align: initial;
        margin: 0 0 10px 0;
    }
}
@media (max-width:528px){
    input[type=text], input[type=email], input[type=tel], textarea{
        width: 498px;
    }
}
@media (max-width:360px){
    input[type=file]{
        max-width: 80%;
    }
}