/*
Theme Name: Skylines Downunder
Theme URI: http://wordpress.org/
Description: Custom Wordpress Theme for Skylines Downunder
Author: Amanda Koschak
Version: 1
*/



@import url(css/jquery.fancybox.css);
@import url(css/flexslider.css);
@import url(http://fonts.googleapis.com/css?family=Titillium+Web:400,600,700);
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800);

/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
    font-family: 'Open Sans', Arial, sans-serif;
}

html {
    font-size: 16px;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
   margin: 0.2em 0;
   background: #ccc;
   color: #000;
   padding: 0.2em 0;
   text-align: center;
}

.browsehappy a {
   color: #000;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 400;
    min-width: 1100px;
}

h1, h2, h3, h4 {
    font-family: 'Titillium Web', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.1;
    margin:0 0 20px 0;
}

h2, h1 {
    font-size: 30px;
}

h3 {
    color:#870f13;
    margin-bottom: 10px;
    margin-top:30px;
    font-weight: 600;
    font-size: 20px;
}

h3 + p {
    margin-top: 0;
}

h6 {
    font-size: 14px;
}

a {
    color: #870f13;
}

a:hover {
    color: #540508;
}

img {
    max-width: 100%;
}

.left {
    float:left;
}

.alignleft {
    float:left;
    margin-right:10px;
}

.alignright{
    float:right;
    margin-left:10px;
}

.right {
    float:right;
}

#mobile-nav-toggle {
    display: none;
}

.button, input[type="submit"] {
    display:inline-block;
    border:none;
    cursor: pointer;
    background-color: #870f13;
    color:#ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding:10px 30px;
    line-height: 1;

}


.button.white {
    background-color: #ffffff;
    color:#870f13;
}

.row {
    width: 1100px;
    margin:0 auto;
    position: relative;
}

header {
    background:#000000;

}

header .row {
    padding: 20px 0;
}

header .logo {
    display:block;
    float:left;
}

.main-nav {
    width:100%;
    background-color: #76070b;
    padding:10px 0;
}


.main-nav ul {
    margin:0 auto;
    padding:0;
}

.main-nav li {
    display:inline-block;
    float:left;
    font-family: 'Titillium Web', sans-serif;
    font-weight: 400;
    color:#ffffff;
    margin:0 60px 0 0;
    font-size: 15px;
    text-transform: uppercase;
}

.main-nav li a {
    color: #ffffff;
    text-decoration: none;
    height:26px;
    line-height: 26px;
}

.main-nav li a:hover {
    color: #cccccc;
}

.main-nav .current-menu-item a {
    border-bottom:2px solid #fff;
}

.top-links {
    position: absolute;
    right:0;
    top:-104px;
}

.top-links a {
    float:left;
    margin-left:10px;
}

.top-links .button {
    height:26px;
    padding:0 15px;
    line-height: 27px;
}

.main-nav .search {
    float:right;
}

.main-nav .search label {
    display: none;
}

.main-nav .search input[type="text"] {
    border:none;
    padding:0 5px;
    height:26px;
    float: left;
    font-size: 12px;
    font-style: italic;
    width:190px;
}

.main-nav .search input[type="submit"] {
    border:none;
    padding:0;
    background: #ffffff url(img/icon-search.png) no-repeat center center;
    text-transform: uppercase;
    text-indent: -9999px;
    height:26px;
    width: 26px;
    float: left;
}

footer {
    background-color: #31373a;
    color:#ccc;
    font-size: 12px;
    margin-top: 20px;
    padding: 20px 0;
}

footer .sponsors {
    border-bottom:1px solid #7d7d7d;
    padding-bottom: 20px;
    margin-bottom:20px;
}

footer .sponsors a {
    display:block;
    width: 120px;
    float:left;
    margin:0 20px 0 0;
}

footer .sponsors a img {
    height: auto;
    width: 100%;
}

footer .sponsors a:last-child {
    margin:0;
}

footer p {
    margin:0;
}

footer a {
    margin-left: 10px;
}

footer h6 {
    font-weight: normal;

    margin:0 0 20px 0;
}

.home-slider {
    width:100%;
    overflow: hidden;
}

.home-slider .row {
   height: 100%;
}

.flexslider .slides li {
    position: relative;
    height: 400px;
    overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.flexslider .slides li img {
   width:auto;
   height: 400px;
}

.slide-text {
    width:510px;
    padding:30px;
    color:#ffffff;
    position: absolute;
    bottom:60px;
    left:0;
    background: url(img/black-60.png);
}


.slide-text h1 {
    margin:0;
}

.home-features {
    color:#ffffff;
    background:#858889 url(img/texture-bg.png);
    font-size: 14px;
    text-align:center;
    margin-bottom: 30px;
}


.home-features h3 {
    text-transform: uppercase;
    font-weight: 700;
    margin:20px 0 15px 0;
}

.home-features a {
    color:#ffffff;
    text-transform: uppercase;
    font-weight: 600;
}

.line {
    border-bottom:1px solid #e5e5e5;
    padding-bottom: 5px;
    color:#707070;
}


.home-features > div {
 width:220px;
 display: inline-block;
 margin:30px 60px;
 vertical-align: top;
}

.home-features div h3 {
    margin:10px 0 0 0;
}

.home-features div p {
    margin:10px 0;
}

.home-content .big-col {
    width:700px;
    float:left;
}

.home-content .big-col h2 {
    margin-bottom: 0;
}

.date {
    font-weight: 700;
    font-size: 15px;
    margin:0 0 30px 0;
}

.news-listings .date {
    margin-bottom: 0;
}

.news-listings h2 {
    margin-bottom:5px;
}

.home-content .small-col {
    width:330px;
    float: right;
}

.main-header {
    width:100%;
    color:#ffffff;
    background:#858889 url(img/texture-bg.png);
    font-size: 30px;
    text-align:center;
    margin-bottom: 30px;
    padding:30px 0;
}

.page-header-image {
    width:1100px;
    height: 250px;
    overflow: hidden;
    margin-bottom: 30px;
}


.page-header-image img {
    width:100%;
    height: auto;
}

.side-nav {
    width:210px;
    float: left;

}
.side-nav ul {
    padding:0;
    margin:0;
}

.side-nav li {
    border-bottom:1px solid #e5e5e5;
    font-family: 'Titillium Web', Arial, sans-serif;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
    padding:15px 0;
    margin:0;
}

.side-nav li a {
    text-decoration: none;

}

.page-content {
    width:820px;
    float: right;
}


.page-content form label {
    width:100%;
    font-weight: 600;
    font-size: 14px;
}


.page-content form input[type="text"],
.page-content form input[type="email"],
.page-content form input[type="tel"],
.page-content form input[type="number"],
.page-content form input[type="url"],
.page-content form textarea   {
    background-color: #ececec;
    -webkit-border-radius: 3px;
    border-radius: 5px;
    width:100%;
    border:none;
    padding:10px;
    font-size: 14px;
    margin:5px 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.page-content .wpcf7-not-valid-tip {
    color: #870f13;
    font-size: 13px;
}



/* ==========================================================================
  Media Queries for Responsive Design.
   ========================================================================== */

@media only screen and (max-width: 650px), (max-device-width: 650px) {

body {
   min-width: 100%;
}

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.row {
    width:100%;
}

#mobile-nav-toggle {
    display: block;
    position: absolute;
    right:5%;
    top: 30px;
    width:69px;
    height: 15px;
    background: url(img/icon-menu.png);
    background-size: 100%;
    cursor: pointer;
}

.logo {
    width:50%;
    height: auto;
    margin-left:5%;
}

.main-nav {
    padding:0;
    display: none;
}

.main-nav ul li {
    width:100%;
    float:none;
    border-bottom:1px solid rgba(255,255,255,.2);
}

.main-nav ul li a {
    width:100%;
    padding: 15px 5%;
    display: block;
    height: auto;
    line-height: 1;
}

.main-nav .search {
    width:100%;
    float:none;
    padding:15px 5%;
}

.top-links {
    position: static;
    width:100%;
}

.top-links a {
    float: right;
    display: none;
}

.top-links a.button {
    display: block;
    width:100%;
    text-align: left;
    padding:15px 5%;
    height: auto;
    line-height: 1;
    margin:0;

}


.main-nav .search input[type="text"] {
width:90%;
height:40px;
-webkit-appearance: none;
border-radius: 0;
}


.main-nav .search input[type="submit"] {
    height:40px;
    width:10%;
    -webkit-appearance: none;
    border-radius: 0;
}

.home-slider {
    display: none;
}

.home-features {
    text-align: left;
    padding:20px 5% 0 5%;
}

.home-features br {
    display: none;
}



.home-features > div {
    margin: 0 0 20px 0;
    width: 100%;
}

.home-features .feature-icon {
    width:20%;
    margin-right: 5%;
    float: left;
    margin-top: 10px;
}

.home-features .feature-text {
    width:70%;
    float: left;
}

.home-content {
    padding: 0 5%;
}

.home-content .big-col, .home-content .small-col {
    width:100%;
    float:none;
}

.home-content .small-col {
    display: none;
}

footer {
    padding:20px 5%;
}

footer .sponsors {
    display: none;
}

.page-header-image {
    display: none;
}

.main-header {
    font-size: 20px;
}

.side-nav {
    width:100%;
    float: none;
    padding:0 5%;
    margin-bottom: 20px;
}

.page-content {
    width:100%;
    float: none;
    padding:0 5%;
}

}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}


/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
