/*
 Theme Name:     Dunedin Fringe Festival
 Theme URI:      http://www.dunedinfringe.org.nz/
 Description:    Simple Wordpress Theme
 Author:         Alex Gilks
 Author URI:     http://www.chopchop.co.nz/
 Version:        1.0.1 ffdd00
*/

html, body{ font-family: 'Open Sans', sans-serif; background: #fff; color: #4f4f4f; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }

.clear{ clear: both; }

.container{ padding-left: 30px; padding-right: 30px; padding-top: 30px; }

a{ color: #02acd7; text-decoration: none; transition: background-color 0.3s linear, border-color 0.3s linear, color 0.3s linear, opacity 0.3s linear, padding 0.3s linear; }
a:hover, a:active, a:focus{ color: #34cef5; text-decoration: none; }

p, ul, ol{ margin-bottom: 5px; padding-left: 15px; max-width: 700px; }
p.lead{ font-size: 20px; font-weight: bold; }

::selection {
  background: #fff5b7; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #fff5b7; /* Gecko Browsers */
}

hr { 
    display: block;
    margin-top: 2em;
    margin-bottom: 2em;
    margin-left: auto;
    margin-right: auto;
    border-style: solid;
    border-width: 8px;
color: #fff;
}


h1, .h1,
h2, .h2{ font-family: 'Montserrat', sans-serif; font-weight: bold; color: #ffdd00; font-size: 48px; line-height: 1; margin: 25px 0 10px; letter-spacing:-1px; }
h3, .h3{ font-family: 'Montserrat', sans-serif; font-weight: bold; color: #ffdd00; font-size: 24px; margin: 20px 0 5px; }
h4, .h4{ font-family: 'Montserrat', sans-serif; font-weight: bold; color: #615151; font-size: 18px; margin: 15px 0 5px; }
h5, .h5{ font-family: 'Montserrat', sans-serif; font-weight: bold; color: #868686; font-size: 15px; margin: 10px 0 5px; text-transform: uppercase; }
h6, .h6{ font-family: 'Montserrat', sans-serif; font-weight: bold; color: #3aaa34; font-size: 24px; margin: 5px 0 5px; }

h1:first-child, .h1:first-child, h2:first-child, .h2:first-child, h2.first, .h2.first{ margin-top: 0; }


img{ display: inline-block; max-width: 100%; height: auto; }

/* nav */
#nav{  }
#nav li a{ color: #828282; }
#nav li a:hover, #nav li.current_page_item a{ color: #2a2a2a; background: transparent; }
#nav li.social a{ color: #6f6f6f; }
#nav li.social a:hover{ color: #1f1f1f; }
.navbar-collapse{ border-top: none; box-shadow: none; }

/* content */
.alignleft{ float: left; margin: 0 10px 10px 0; }
.alignright{ float: right; margin: 0 0 10px 10px; }
.aligncenter{ margin: 0 auto 10px auto; }

/* footer */
#footer{ padding: 20px 0; position: relative; background: #fff; }
#footer p{ margin: 0; font-size: 12px; }

/* nav */
.navbar{ border: none; margin: 0; font-family: 'Montserrat', sans-serif; }
.navbar .container{ position: relative; }
.navbar-toggle .icon-bar{ background: #4d4d4d; }
.navbar-header{ min-height: 100px; }
.navbar-brand{ display: block; margin: 15px !important; background: url('/wp-content/themes/fringe/images/logo.png') 0 0 no-repeat; background-size: contain; height: 180px; width: 236px; }
.navbar-brand:active, .navbar-brand:focus{ outline: none; }
.navbar-collapse{ background: #edf3f6; }

.navbar .visible-xs-inline{ padding-left: 10px; }
.navbar .box .icon-heart{ margin-right: 10px; }

.page-content{ padding: 15px 0 30px 0; position: relative; }

.modal-backdrop{ background-color: #fff; }
#mail-message{ display: none; font-weight: bold; font-size: 18px; }
#mail-modal .form-control{ border: none; }
#mail-modal .btn-default{ display: none; }
#mail-modal.result .btn-default{ display: inline-block; }
#mail-modal.result .btn-primary, #mail-modal.result .form-group{ display: none; }
#mail-modal.result #mail-message{ display: block; }
#mail-modal.success #mail-message{ color: #429f22; }
#mail-modal.error #mail-message{ color: #d12002; }

@media (min-width: 768px) {
    #page{  }
    
    .navbar{ height: 240px; }
    .navbar .container{ position: relative; padding-left: 296px; }
    .navbar-nav{ float: right; padding-top: 12px; }
    .navbar-brand{ margin: 0 !important; position: absolute; top: 30px; left: 30px; padding: 0; background-size: auto auto; }
    .navbar-collapse{ background: transparent; }
    
    .navbar-nav li a{ padding: 5px 10px; }
    .navbar-nav li.box a{ background: #ebebeb; }
    .navbar-nav li.box a span{ color: #fff; font-size: 14px; margin-right: 5px; }
    
    #nav .navbar-nav li.box.active a{ background: #ffdd00; color: #fff; }
    #nav .navbar-nav li.box.active a:hover{ background: #333; color: #fff; }
    
    .navbar-nav li.social a{ padding: 5px 0 5px 10px; font-size: 20px; color: #6f6f6f; }
    
    #nav .navbar-nav li.box a:hover{ background: #ccc; }
    
    body{ background: #fff; }
    
    #content{ position: relative; }
    #content:before{ content: ''; display: block; background: #edf3f6; height: 300px; position: absolute; left: 0; top: 0; right: 0; z-index: 1; }
    #content > .container{ position: relative; z-index: 2; }
    
    #footer p{ padding-left: 20px; font-size: 16px; }
    .home #footer p{ padding-left: 0; }
    
    /* page */
    .page-content{ padding: 15px 20px 30px; background: #fff; }
    
    
    #mail-modal .modal-dialog{ top: 50%; left: 0; right: 0; margin-top: -166px; position: absolute; }
}

@media (min-width: 992px) {
    .navbar-nav li.social{ float: left; }
    .navbar-nav li.social.first{ clear: both; }
    .navbar-nav li.social a{ line-height: 28px; }
    /*.navbar-collapse{ padding-right: 0; }
    .navbar-nav > li.right.first{ clear: none; }
    .navbar-nav > li.right{ float: right; padding: 0 0 0 15px; }
    .navbar-nav > li.right.social > a{ padding: 0; }*/
}

@media (min-width: 1200px) {
    
    .navbar-nav li.social{ float: right; }
}


/* these might be ads.. :p */
#mobile{ margin: 15px auto 15px; text-align: center; }
.page-content #mobile{ margin-top: 0; }
#desktop{ text-align: right; padding-left: 0; }
#desktop a{ display: block; margin: 0 0 15px 0; }

.modal-content{ border-radius: 0; background: #edf3f6; }
.modal-header{ border: none; padding-bottom: 0; }
.modal-footer{ border: none; padding-top: 0; }
.modal-header h4{ color: #000; }
.modal-footer .btn{ border-radius: 0; transition: background-color linear 0.3s, color linear 0.3s; font-weight: bold; background: #ffdd00; border-color: #ffdd00; }

.form-control{ border-radius: 0; } 





/* pages.css */

/* home - days */
#days-container{ max-width: 350px; margin: 0 auto; }
#days{ text-transform: uppercase; font-family: 'Montserrat', sans-serif; }
#days .col-sm-4{ padding: 0; }
#days a{ display: block; width: 100%; height: 0; padding-bottom: 100%; position: relative; background-color: #b4b4b4; background-image: linear-gradient(to bottom, #ffdd00 0%, #b4b4b4 100%); color: #fff; text-align: center; }
#days span{ display: block; width: 100%; height: 90%; left: 0; top: 10%; position: absolute; }
#days strong{ display: block; font-weight: 800; }
#days a.current, #days a:hover{ background: #ffdd00; color: #000; }

#days{ font-size: 14px; margin: 0 -5px; }
#days .col-xs-3{ padding: 0 5px; }
#days strong{ font-size: 26px; line-height: 0.8; }

@media (min-width: 768px) {
    #days-container{ max-width: none; }
    #days{ font-size: 13px; position: relative; z-index: 100; }
    #days:after{ content: ''; display: block; height: 10px; background: #ffdd00; margin: 0 5px; }
    #days strong{ font-size: 24px; }
    
    #days-container{ position: relative; }
    #days-container:after{ content: ''; display: block; position: absolute; bottom: 10px; left: 0; z-index: 50; width: 100%; height: 10px; background: #d8d8d8; }
}

@media (min-width: 992px) {
    #days{ font-size: 15px; margin: 0 -5px; }
    #days:after{ height: 15px; margin: 0 5px; }
    #days .col-xs-3{ padding: 0 5px; }
    #days strong{ font-size: 30px; }
    
    #days-container:after{ bottom: 15px; height: 15px; }
}

@media (min-width: 1200px) {
    #days{ font-size: 16px; margin: 0 -5px; }
    #days:after{ height: 15px; margin: 0 5px; }
    #days .col-xs-3{ padding: 0 5px; }
    #days strong{ font-size: 36px; line-height: 1; }
    #days span{ height: 85%; top: 15%; }
}



/* home - slider */
#slider{ margin-bottom: 30px; background: #edf3f6; position: relative; }
#slider ul{ padding: 0; margin: 0; list-style: none; overflow: hidden; position: relative; width: 100%; height: 300px; max-width: none; background: #edf3f6 }
#slider li{ position: absolute; z-index: 100; width: 100%; height: 100%; display: none; background-color: #edf3f6; background-repeat: no-repeat; background-size: cover; background-position: 50% 50%; }
#slider li.load{ display: block; }
#slider h3{ background: #000; background: rgba(0,0,0,0.5); color: #fff; padding: 10px; margin: 0; display: block; position: relative; z-index: 102; font-size: 18px; text-transform: none; letter-spacing: -0.2px; }
#slider p{ background: #8e8e8e; background: rgba(140,140,140,0.6); color: #fff; padding: 5px 30px 5px 10px; margin: 0; display: block; float: left; position: relative; z-index: 103; font-size: 15px; font-weight: bold; }
#slider a{ color: inherit; display: block; }

#slider-next{ position: absolute; top: 50%; right: 0; margin-top: -27px; width: 54px; height: 54px; z-index: 200; cursor: pointer; transition: background-color linear 0.3s; background: #fff; background-color: rgba(255,255,255,0.5); }
#slider-next:before{ content: '\203a'; display: block; width: 100%; height: 100%; line-height: 44px; text-align: center; font-weight: bold; font-size: 40px; }
#slider-next:hover{ background-color: #fff; }

@media (min-width: 768px) {
    #slider ul{ height: 400px; }
    #slider h3{ background: #fff; background: rgba(255,255,255,0.8); color: #ffdd00; padding: 15px; max-width: 350px; font-size: 44px; line-height: 44px; letter-spacing: -1px; }
    #slider p{  margin: 0 0 0 40px; font-size: 24px; line-height: 30px; font-family: 'Montserrat', sans-serif; }
}

@media (min-width: 992px) {
    #slider ul{ height: 500px; }
}

@media (min-width: 1200px) {
    #slider ul{ height: 600px; }
}

/* home - events */
#events-container{ margin-top: 15px; }

#events-pagination{ margin: 15px 0; padding: 0; height: 30px; line-height: 30px; text-transform: uppercase; max-width: none; }
#events-pagination .prev{ float: left; }
#events-pagination .next{ float: right; }

#events.my-fringe{ margin-top: 30px; }

#events ul{ padding-left: 0; max-width: none; }
#events p{ padding-left: 0; }


.event{ margin: 0 0 15px 0; border-bottom: 5px solid #d8d8d8; }
.event-image{ padding: 0; margin: 0; }
.event-image img{ width: 100%; }
.event-save-container{ display: block; position: relative; }
.event-save{ display: block; width: 30px; height: 30px; line-height: 30px; text-align: center; background: #aaa; background: rgba(170,170,170, 0.6); color: #fff; position: absolute; top: 0; right: 0; cursor: pointer; transition: background-color 0.3s linear, color 0.3s linear; }
.event-save:hover, .event-save.saved{ background: #ffdd00; background: rgba(255, 221, 0, 0.7); }
/*.event-save.saved{ color: #bf0000; }*/

.event-details{ padding: 10px 0 0 0; }
.event-name{ color: #ffdd00; font-size: 24px; line-height: 1; font-weight: bold; text-transform: uppercase; margin: 0; padding: 0; }
.event-name a{ color: #ffdd00; display: block; }
.event-name a:hover{ color: #000; }

.event-date, .event-tags{ color: #4c4c4c; font-size: 18px; line-height: 1.3; font-weight: bold; margin: 0; }
.event-tags{ color: #aaa; text-transform: uppercase; }
.event-tags .divider{ color: #bababa; }
.event-description{ color: #3b3b3b; font-size: 18px; line-height: 1.3; font-weight: normal; }
.event-remove{ padding-left: 0; }
.event-remove a{ color: #d3d3d3; }
.event-remove a:hover{ color: #8c8c8c; }

@media (min-width: 768px) {
    .event-details{ padding: 0 15px; }
    .event-name{ font-size: 24px; margin-top: -4px; }
    .event-date{ font-size: 14px; }
    .event-image img{ width: auto; }
    .event-save-container{ display: block; position: relative; }
    .event-remove{ padding-top: 30px; text-align: right; }
}

@media (min-width: 992px) {
    /*.event-image{ padding-right: 20px; }
    .event-details{ padding-left: 0; }*/
    .event-name{ font-size: 28px; margin-top: -4px; }
    .event-date{ font-size: 16px; }
    .event-description{ font-size: 14px; }
}


@media (min-width: 1200px) {
    /*.event-image{ padding-right: 30px; }
    .event-details{ padding-left: 0; }*/
    .event-name{ font-size: 36px; margin-top: -5px; }
    .event-date{ font-size: 18px; }
    .event-description{ font-size: 15px; }
    .event-remove{ padding-top: 40px; }
}


/* home - categories */
#categories{ font-size: 15px; line-height: 1.3; text-transform: uppercase; font-family: 'Montserrat', sans-serif; }
#categories ul{ padding-left: 0; }
#categories li{ margin: 0 0 5px 0; }
#categories a{ color: #737373; }
#categories .current a, #categories a:hover{ font-size: 22px; color: #ffdd00; font-weight: bold; letter-spacing: -1px; line-height:20px; }

#categories p{ margin: 30px 0 15px 0; padding: 0; }

#categories-dropdown{ padding-top: 15px; }
#categories-dropdown form{ margin: 0 auto; max-width: 320px; }
#categories-dropdown select{ display: inline-block; width: 100%; }
 
@media (min-width: 768px) {
    #categories-dropdown form{ margin-top: 0; max-width: none; }
}

@media (min-width: 992px) {
}

@media (min-width: 1200px) {
    #categories{ font-size: 16px; }
}



/* my fringe */
.slug-my-fringe h1{ text-transform: uppercase; }



/* event page */
.slug-event h1{ color: #ffdd00; text-transform: uppercase; margin-bottom: 5px; }
.slug-event table{ width: auto; font-size: 18px; line-height: 1.2; text-transform: uppercase; letter-spacing: -0.5px; }
.slug-event th{ font-weight: normal; color: #ababab; }
.slug-event td{ font-weight: bold; color: #000; padding: 0 0 0 10px; }
.slug-event td em{ font-weight: normal; font-style: normal; }
.slug-event td.highlight{ color: #ffdd00; }
.slug-event td.lowlight{ color: #acacac; font-weight: normal; padding-bottom: 10px; }
#event-description{ white-space: pre-wrap; margin: 15px 0 0 0; border-top: 5px solid #e7e7e7; padding-top: 15px; font-size: 16px; }
#event-image{ margin-bottom: 15px; }
#event-image .event-save-container{ display: inline-block; max-width: 100%; }
#event-buy{ font-size: 24px; font-weight: bold; margin-top: 15px; }
#event-tags{ padding: 0; margin-bottom: 10px; font-weight: bold; font-size: 18px; line-height: 1.3; color: #333; text-transform: uppercase; }
#event-tags .divider{ color: #bababa; }

@media (min-width: 768px) {
    .slug-event table{ font-size: 24px; }
    #event-description{ font-size: 18px; }
}

@media (min-width: 992px) {
    #event-image{ max-width: none; margin: 0 0 20px -20px; }
}

@media (min-width: 1200px){
}

#events-search-form{ background: #ffdd00; padding: 10px; margin: 0 0 15px 0; position: relative; }
#events-search-form label{ display: block; padding: 5px; margin: 0 10px 0 0; text-transform: uppercase; }
#events-search-form input{ background: #fff; border: none; padding: 5px; width: 100%; }
#events-search-clear{ position: absolute; bottom: 10px; right: 10px; width: 34px; height: 34px; font-weight: bold; font-size: 20px; line-height: 34px; text-transform: uppercase; text-align: center; cursor: pointer; }

@media (min-width: 768px) {
    #events-search-form{ padding-left: 200px; }
    #events-search-form label{ position: absolute; left: 10px; top: 10px; width: 190px; }
}