/*
Theme Name: Flag Staff
Theme URI: ographix.com.au  
Description: Flag Staff theme
Version: 1.0
Author: Obed Rosenzweig

*/


/* Custom CSS Styles
---------------------------------------------------------------------------------------------------- */

/* Main Elements */

.container {
    background: #D70000;
}

a img { border: 0; } 

.mobile-header {
    background: #333;
}

img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.main img {
    max-width: 100%;
    height: auto; 
   margin-top: 10px;
    text-align: center;
}

.main {
padding-top: 50px;
    background: white;
    min-height: 1100px;
    padding-left: 35px;
    padding-right: 45px;
    padding-bottom: 20px;
}

.main h2 {
margin-top: 20px;
}

.main h3 {
margin-top: 20px;
margin-bottom: 5px;
}


body {
    background: #262626;
    font-family: 'Open Sans', sans-serif;
}

.not-found {
    text-align: center;
}

.logo-div {
text-align: center;
    padding-top: 30px;
    background: #D70000;
}

.logo {
width: 200px;
height: auto;
}

.mlogo {
    width: 200px;
    height: auto;
    margin-top: 15px;
    margin-bottom: 10px;
}

/* Large desktop */
@media (max-width: 991px) { 

    .main {
        padding-top: 20px;
        background: white;
        min-height: 1100px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .container {
        background: white !important;
    }
    
    body {
        background: white !important;
        
    }
    
    .nav-side {
        background: white !important;
    }


}

/* Large desktop */
@media (max-width: 767px) { 

    .main {
        padding-top: 20px;
        background: white;
        
        padding-left: 20px;
        padding-right: 20px;
        
    }
    
    a[href^="mailto"] {
    font-size: 80%;
    }

}

.ai1ec-col-sm-push-7 {
    left: 0px !important;
}

.ai1ec-col-sm-5 {
    width: 100% !important;
}

/* Footer
---------------------------------------------------------------------------------------------------- */

* {
    margin: 0;

}
html, body {
    height: 100%;
    font-family: 'Open Sans', sams-serif;

}

.footer {
    background: #303030;
    text-align: center;
padding-bottom: 10px;
}


.footer p{


    font-family: arial, sans-serif;
    text-align: center;

    color: white;

    padding-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

.wordpress {
    margin-top: 20px;

}

#footerlink { margin-left: 5px;}

.footer a:link { background-color: inherit; color: white; font-family: 'Open Sans', sans-serif; font-weight: 500;  }      /* unvisited link */
.footer a:visited {  background-color: inherit; color: white; font-family: 'Open Sans', sans-serif; font-weight: 500; }  /* visited link */
.footer a:hover {background-color: inherit; color: white;  font-family: 'Open Sans', sans-serif; font-weight: 500;}  /* mouse over link */
.footer a:active { background-color: inherit; color: white;  font-family: 'Open Sans', sans-serif; font-weight: 500;}                   /* selected link */

/* Navigation
---------------------------------------------------------------------------------------------------- */
/* Starter CSS for Menu */
#cssmenu {
    padding: 0;
    margin: 10px 0;
    border: 0;
    width: auto;
}
#cssmenu ul,
#cssmenu li {
    list-style: none;
    margin: 0;
    padding: 0;
}
#cssmenu ul {
    position: relative;
    z-index: 597;
}
#cssmenu ul li {
    
    min-height: 1px;
    vertical-align: middle;


}
#cssmenu ul li.hover,
#cssmenu ul li:hover {
    position: relative;
    z-index: 599;
    cursor: default;
}
#cssmenu ul ul {
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 598;
    width: 100%;
}
#cssmenu ul ul li {
    float: none;
}
#cssmenu ul ul ul {
    top: 0;
    left: 190px;
    width: 190px;
}
#cssmenu ul li:hover > ul {
    visibility: visible;
}
#cssmenu ul ul {
    bottom: 0;
    left: 0;
}
#cssmenu ul ul {
    margin-top: 0;
}
#cssmenu ul ul li {
    font-weight: normal;
}
#cssmenu a {
    display: block;
    line-height: 1em;
    text-decoration: none;
}
/* Custom CSS Styles */
#cssmenu {
    background: #333333;
    font-family: Helvetica,Helvetica Neue,Arial,sans-serif;
    font-size: 90%;
    font-weight: bold;
    

}
#cssmenu > ul {
    *display: inline-block;
}
#cssmenu:after,
#cssmenu ul:after {
    content: '';
    display: block;
    clear: both;
}
#cssmenu ul {
    text-transform: uppercase;
}
#cssmenu ul ul {
    border-top: 4px solid #f2f2f2;
    text-transform: none;
    min-width: 100%;
}
#cssmenu ul ul a {
    background: #D70000;
    color: #ffffff;
    line-height: 150%;
    padding: 6px 20px;
    font-size: 75%;
}
#cssmenu ul ul ul {
    border-top: 0 none;
}
#cssmenu ul ul li {
    position: relative;
}
#cssmenu ul ul li: a {
    border-bottom: 1px solid #7d9d0e;

}
#cssmenu ul ul li:hover > a {
    background: #8D0101;
    color: #ffffff;
}
#cssmenu ul ul li:last-child > a {
    -moz-border-radius: 0 0 3px 3px;
    -webkit-border-radius: 0 0 3px 3px;
    border-radius: 0 0 3px 3px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;


}
#cssmenu ul ul li:last-child:hover > a {
    -moz-border-radius: 0 0 0 3px;
    -webkit-border-radius: 0 0 0 3px;
    border-radius: 0 0 0 3px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}
#cssmenu ul ul li.has-sub > a:after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 15px;
    margin-top: -8px;
}
#cssmenu ul li:hover > a {
    background: #CB0A0A;
}

#cssmenu ul li.active > a {
    background: #C00202;
    color: #ffffff;
}

#cssmenu ul li.has-sub > a:after {
    content: '+';
    margin-left: 5px;
}
#cssmenu ul li.last ul {
    left: auto;
    right: 0;
}
#cssmenu ul li.last ul ul {
    left: auto;
    right: 99.5%;
}
#cssmenu a {
    background: #D70000;
    color: white;
    padding: 0 42px;
}
#cssmenu > ul > li > a {
    line-height: 48px;
    font-size: 12px;
}

/* Responsive Styles MENU */
@media (max-width: 1200px) { 
    #cssmenu a {
        background: #D70000
        color: white;
        padding: 0 28px;
    }
    #cssmenu > ul > li > a {
        line-height: 48px;
        font-size: 12px;
    }


}

a.current .menus {
    background:#4d4d4d !important;
}

/*Mobile Menu
---------------------------------------------------------------------------------------------------- */

.mean-container .mean-bar { 
    padding: 0 !important;
    background: #333 !important;
}


/* HOME
---------------------------------------------------------------------------------------------------- */

.h-content p {
font-size: 90%;
margin-bottom: 10px;
}

/* Responsive Styles MENU */
@media (max-width: 1200px) { 
    .home .ai1ec-calendar-title, .ai1ec-calendar-title-short {
        font-size: 88% !important;
    }
}


/* Gallery Slideshow
---------------------------------------------------------------------------------------------------- */
.hslider {
margin-top: 5px;
}


.slider { margin: 50px 0 10px!important;}
#carousel li {margin-right: 5px;}
#carousel img {display: block; opacity: .8; cursor: pointer;}
#carousel img:hover {opacity: 1;}
#carousel .flex-active-slide img {opacity: 1; cursor: default;}



 .flexslider {
    margin: 0px auto;
    background: none repeat scroll 0% 0% #FFF;
    position: relative;
     border: none !important;
     
}

.slogo {
position: absolute;
top: 0;
    width: 200px !important;
    height: auto !important;
}

.flex-caption {
    position: absolute;
   bottom: 0;
    padding: 10px;
    color: #FFF;
    width: 100%;
    margin-left: 20px;
    margin-right: 20px;
    background: #333;
    opacity: 50%;
}

.slides p  {
    z-index: 20;

    
    
    
    
    
    
    
    
    
    color: #FFF;
    font-size: 100%;
    
}

.nav-side {
    background: #D70000;

}

.logo-slider {
    margin-top: 0px;
}

.slider {
    margin-bottom: 20px;
}

.f-heading {
    margin-bottom: 5px;
    margin-top: 20px;
    
}

.f-heading h1{
    font-size: 180%;
}

.sidesbar {

}

/* Large desktop */
@media (min-width: 1200px) { 

    .home .widgets {
        
    }

}

@media (max-width: 530px) {

    .f-heading h1{
        font-size: 150% !important;
    }
    
    .slogo {
        position: absolute;
        top: 0;
        width: 100px !important;
        height: auto !important;
    }

}


/* Widgets
---------------------------------------------------------------------------------------------------- */

.events {
margin-top: 0px;
}
.widgets {
    margin-top: 80px;
    margin-bottom: 20px;
    
}

.ai1ec-stream-view {
    margin-top: 8px !important;
} 
.ai1ec-calendar-toolbar {
    border:none !important;
    
}


.widget div iframe {
    width: 90% !important;
    margin-left: 20px;
}

@media (max-width: 991px) {

    .widgets {
        margin-top: 60px;
        margin-bottom: 20px;
    }
    
    .events {
        margin-top: 0px;
    }

}


/* LOGO SLIDER
---------------------------------------------------------------------------------------------------- */

#owl-demo {
    text-align: center;
    margin-top: 0px !important;
}

.logo-slider {
margin-bottom: 20px;
}
#owl-demo .item img{
    display: inline-block;
    overflow: auto;
    width: 100%;
    height: auto;
    max-height: 100px;

}
.item {
    display: inline-block;
    height: 100%;
    height: auto;
    margin: 1em 10px;
}


.home .ai1ec-views-dropdown {
    display: none !important;

}

/* Booking Page
---------------------------------------------------------------------------------------------------- */
.booking-cal {
    margin-top: 10px;

}


.booking-padding {
padding-left: 10px;
padding-right: 10px;
}

#availability_form {
    margin-bottom: 10px;
    
}

select:nth-of-type(1) {

    font-family: 'Open Sans', sans-serif;
    font-size: 100%;
    margin-right: 20px;
}

select:nth-of-type(2) {

    font-family: 'Open Sans', sans-serif;
    font-size: 100%;

}


.wp-availability-month { 
    margin-bottom: 30px !important;
}

/* Landscape phones and down */
@media (max-width: 991px) { 

    .booking-page {
        text-align: center;
    }
    #availability_form {
        margin-bottom: 10px;
        text-align: center;
    }

    .wp-availability {
        margin: 0 auto;
        width: 550px;
        max-width: 100%;
    }

    .b-button {
        margin-top: 30px;!important;
        margin-bottom: 30px !important;
        text-align: center !important;
        
    }

    .B-content p {
        font-size: 80%;
        
    }

}

/* Landscape phones and down */
@media (max-width: 600px) { 

    .booking-page {
    text-align: center;
    }

.wp-availability {
    margin: 0 auto;
    width: 160px;
    max-width: 100%;
}
    
    .b-button {
        margin-top: 30px;!important;
        margin-bottom: 30px !important;
        text-align: center !important;
    }
    
    .B-content p {
        font-size: 80%;
        
    }

}

@media (max-width: 419px) { 
#availability_name{
    margin-bottom: 10px;
    width: 100%;
}
    #ww_widget-2 div {
        width: 100% !important;
    }
}

.B-content {
margin-bottom: 20px;
}

/* Booking Form
---------------------------------------------------------------------------------------------------- */
.one-content h1{
    margin-top: 10px;
    margin-bottom: 10px;
}

.one-content p {
    font-size: 100%;
    margin-bottom: 10px;
}
/* Booking page
---------------------------------------------------------------------------------------------------- */
.booking-heading{

}

.B-content p {
    font-size: 95%;
    margin-bottom: 10px;
}
.booking-button {
border-radius: 10px;
padding: 10px;
color: white;
width: 120px;
text-align: left;

}

.b-button {
margin-top: 50px;
margin-bottom: 10px;
    text-align: right;
}

.b-button a:link { margin-top: 50px; background: #333; color: white; font-family: 'Open Sans', sans-serif; font-weight: 500; text-decoration: none; }      /* unvisited link */
.b-button a:visited {  background: #333; color: white; font-family: 'Open Sans', sans-serif; font-weight: 500; }  /* visited link */
.b-button a:hover {background: #333; color: white;  font-family: 'Open Sans', sans-serif; font-weight: 500;}  /* mouse over link */
.b-button a:active { background: #333; color: white;  font-family: 'Open Sans', sans-serif; font-weight: 500;}                   /* selected link */


@media (max-width: 991px) {

    .booking-heading, B-content, booking-cal {text-align: center;}

}

/* Gallery Pages
---------------------------------------------------------------------------------------------------- */
.gallery h1 {
text-align: center;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 20px;

}
div.zoom-gallery {
    text-align: center;
    margin-bottom: 40px;
}



div.image-wrap {
    width: 25%; /* Change this value to have your thumbnails laid out differently */
    margin-bottom: 4px;
    display: inline-block;
    margin: 20px 10px 10px 10px;
}

div.image-wrap img {
    width: 100%;
}

a.lightbox-link {
    -webkit-transition: all 0.25s ease-in-out 0s;
    -moz-transition: all 0.25s ease-in-out 0s;
    -ms-transition: all 0.25s ease-in-out 0s;
    -o-transition: all 0.25s ease-in-out 0s;
    transition: all 0.25s ease-in-out 0s;
}

a.lightbox-link:hover {
    -webkit-opacity: 0.8;
    -khtml-opacity: 0.8;
    -moz-opacity: 0.8;
    -ms-opacity: 0.8;
    -o-opacity: 0.8;
    opacity: 0.8;
    filter: alpha(opacity=80);
}

.image-wrap figcaption {
    display: none;
}

.mfp-bg figcaption {
    display: block;
    position: absolute;
}

.lb-title {
    margin: 0.5em 0 0 0.5em;
}

.lb-description {
    margin-left: 0.6em;
    width: 100%;
}

/* Large desktop */
@media (min-width: 1200px) { 

    div.image-wrap {
        width: 25%; /* Change this value to have your thumbnails laid out differently */
        margin-bottom: 4px;
        display: inline-block;
    }

}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) { 

    div.image-wrap {
        width: 30%; /* Change this value to have your thumbnails laid out differently */
        margin-bottom: 4px;
        display: inline-block;
    }

}

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {

    div.image-wrap {
        width: 40%; /* Change this value to have your thumbnails laid out differently */
        margin-bottom: 4px;
        display: inline-block;
    }

}

/* Landscape phones and down */
@media (max-width: 480px) { 

    div.image-wrap {
        width: 70%; /* Change this value to have your thumbnails laid out differently */
        margin-bottom: 4px;
        display: inline-block;
    }

}

/* Club Page
---------------------------------------------------------------------------------------------------- */

.club-content h1{
margin-bottom: 7px;
}
.cbox {
margin-bottom: 30px;
    overflow: hidden;
}
.cbox img {
    width: 100px;
    height: auto;
    margin-top: 0;
    max-width: 100px;
}

.thumb {
    margin: 0 20px 20px 5px;
    
    height: auto;
    
    padding-bottom: 10px;
}

.des ul li {
    text-decoration: none;
    list-style-type: none;
    margin-bottom: 5px;
    
}

.des ul {
    padding-left: 0;


}

.ccontent {

}

.img-wrap {
text-align: center;
}

.club-content p {
margin-bottom: 10px;
    font-size: 100%;
}

.ccontent h2 {
    background: #fff;
    color: #272727;
    font-family: 'Open Sans', sams-serif;
    font-weight: bold;
    font-size: 120%;
    margin-top: 0;
    margin-bottom: 5px;
}


.des p {
    background: #fff;
    color: black;
    font-family: 'Open Sans', sams-serif;
    font-size: 85%;
    margin-bottom: 13px;

}



.cbox a:link {
    text-decoration: none;
}

.cbox a:visited {
    text-decoration: none;
}

.cbox a:hover {

}

.cbox a:active {

}

/* Large desktop */
@media (min-width: 1200px) { 

    
}

/* Landscape phones and down */
@media (max-width: 991px) { 
    

}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) { 

}

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
    .ccontent h2 {
    margin-top: 10px;
    }
    

}

/* Landscape phones and down */
@media (max-width: 600px) { 
    

    .thumba-page {
        margin-left: -25px;

    }
}

.google-maps {
    position: relative;
    padding-bottom: 40%; // This is the aspect ratio
    height: 0;
    overflow: hidden;
}
.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 300px !important;
}

/* Landscape phones and down */
@media (max-width: 750px) { 
    .google-maps {
        position: relative;
        padding-bottom: 300px; // This is the aspect ratio
        height: 0;
        overflow: hidden;
    }
    .google-maps iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 300px !important;
    }
}


.ws-title {
    position: absolute;
    bottom: 7%;
    left: 0px;
    margin-right: 5px;
    z-index: 50;
    color: #1E4553;
    font-family: Tahoma,Arial,Helvetica;
    font-size: 14px;
}

/* Events themes
---------------------------------------------------------------------------------------------------- */


.ai1ec-calendar-title, .ai1ec-calendar-title-short {
    font-size: 100% !important;

}

.ai1ec-col-sm-3 {
    width: auto !important;
}

.wp-caption {
    width: 100%!important;
}

.timely img, #ai1ec-container img {
    width: 100% !important;
    height: auto !important;
}

.home .ai1ec-views-dropdown {
    display: none !important;

}

.ai1ec-col-sm-pull-5 {
    right: 0 !important;
}

.ai1ec-map {
    padding: 0 !important;
    margin-bottom: 25px;
}



.ai1ec-field-label {
    
    font-size: 100% !important;
    color: black !important;
    text-align: left !important;
    
}

.ai1ec-col-md-7 {
    width: 100% !important;
}

.ai1ec-single-event .ai1ec-time .ai1ec-field-value, .ai1ec-multi-event .ai1ec-time .ai1ec-field-value {
    font-size: 100% !important;
}

.ai1ec-single-event {
    font-size: 90% !important;
    line-height: 22.5px;
}

.wp-caption-text {
    margin-top: 0 !important;
font-size: 90%;
    margin-bottom: 10px;
}

.p-description {
margin-top: 30px
}
.p-description p {
margin-bottom: 20px;
    font-size: 95%;
}

.linksm a:link {
    color: grey;
}

.linksm a:visited {
    
    color: grey;
}

.linksm a:hover {
    color: #DB0505;
}

.linksm a:active {

}

/* Lightbox
---------------------------------------------------------------------------------------------------- */
.image-source-link {
    color: #98C3D1;
}

.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
    opacity: 0.001;
    -webkit-backface-visibility: hidden;
    /* ideally, transition speed should match zoom duration */
    -webkit-transition: all 0.3s ease-out; 
    -moz-transition: all 0.3s ease-out; 
    -o-transition: all 0.3s ease-out; 
    transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container, 
.mfp-with-zoom.mfp-removing.mfp-bg {
    opacity: 0;
}

/* Responsive Styles
---------------------------------------------------------------------------------------------------- */

/* Large desktop */
@media (min-width: 1200px) { 

    /* Place any styles specific to large destop screens here */

}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) { 

    /* Place any styles that are specific to tablets (portrait or landscape) and desktops here */

}

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {

    /* Place styles that are specific to landscape phones here */

}

/* Landscape phones and down */
@media (max-width: 480px) { 

    .slides p  {
        
        font-size: 60%;

    }

}


