/*
Theme Name: Lasers in Medicine
Theme URI: http://www.lasersinmedicine.com.au
Author: Futago (web@futago.com.au)
Author URI: http://www.futago.com.au/
Description: We are a cosmetic medical laser clinic specialising in the treatment and improvement of common skin conditions.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: health, laser clinic, adelaide, south australia
*/

/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * 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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

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

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0 0 230px;
}

header{
    background-color: #0040FF;
    box-shadow: 0 7px 7px rgba(0,0,0,0.17);
    height: 113px;
    position: relative;
    width: 100%;
}

a{
    color: #0141FF;
}

#header-logo{
    height: 64px;
    left: -72px;
    position: absolute;
    top: -1px;
    width: 80px;
}

#header-inner{
    border-bottom: 1px solid #fff;
    height: 50px;
    left: calc(50% + 36px);
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    width: 1074px;
}

header h1{
    font-family: 'Source Serif Pro', serif;
    font-size: 2.5em;
    font-weight: normal;
    left: 30px;
    margin: 0;
    position: absolute;
    top: 0px;
}

header h1 a{
    color: #fff;
    text-decoration: none;
    transition: color 300ms;
}

header h1 a:hover{
    color: #ddd;
    transition: color 300ms;
}

nav{
    bottom: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    position: absolute;
    right: 0;
}

nav ul, footer ul{
    margin: 0;
    padding: 0;
}

nav li, footer li{
    display: inline;
    margin-left: 15px;
}

nav li:first-child, footer li:first-child{
    margin-left: 0;
}

nav a{
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
}
/*
nav .current_page_item a{
    border-bottom: 3px solid #8600B5;
}
*/

.menu-header-menu-container{
    position: relative;
}

#menu-highlight{
    background-color: #FF4000;
    bottom: -2px;
    height: 3px;
    position: absolute;
    width: 0;
}

#mobile-menu{
    display: none;
}

#contact-info{
    border: 1px solid #0141FF;
    border-radius: 4px;
    margin: 60px auto 0;
}

#contact-info img{
    float: left;
    margin: 5px 20px 0px 0px;
}

#contact-info-inner{
    padding: 20px 0;
    text-align: center;
}

#contact-info #phone-icon, #contact-info #location-icon{
    height: 30px;
    width: 20px;
}

#contact-info #email-icon{
    height: 26px;
    width: 34px;
}

.contact-cell{
    color: #545454;
    display: inline-block;
    padding: 20px;
    text-align: left;
    width: 280px;
}

.contact-cell:last-child{
    border-left: 1px solid #0141FF;
}

.contact-cell a{
    color: #545454;
    text-decoration: none;
}

.contact-cell a:hover{
    color: #545454;
    text-decoration: underline;
}

article{
    margin: 0 auto;
    width: 1146px;
}

article h2{
    color: #666;
    font-family: 'Source Serif Pro', serif;
    font-weight: normal;
    line-height: 1.2;
    margin: 10px 0;
}

article{
    color: #666;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

article p a{
    color: #0141FF;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875em;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}

article p a:hover{
    text-decoration: underline;
}

footer{
    background-color: #EFF3FF;
    bottom: 0;
    height: 200px;
    left: 0;
    position: absolute;
    width: 100%;
}

footer ul{
    margin: 30px 0 0;
    text-align: center;
}

footer a{
    color: #444444;
    font-size: 0.875em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 200ms;
}

footer a:hover{
    color: #8500B4;
    transition: color 200ms;
}

#footer-logos{
    margin-top: 40px;
    text-align: center;
}

#footer-logos img{
    margin-left: 20px;
    vertical-align: middle;
}

@media (max-width: 1174px){

    #header-inner{
        width: calc(100% - 90px);
    }

    header h1{
        font-size: 1.8em;
        top: 10px;
    }

    article, article.content{
        padding: 30px 60px;
        width: calc(100% - 120px);
    }

}

@media (max-width: 800px){

    header{
        box-shadow: none;
    }

    #header-inner{
        border-bottom: 0 none;
        left: 0;
        padding: 32px 0 32px 20px;
        position: relative;
        top: 0;
        transform: none;
        -webkit-transform: none;
        width: calc(100% - 20px);
    }

    #header-logo{
        float: left;
        left: 0;
        position: relative;
        top: 0;
    }

    header h1{
        border-bottom: 1px solid #fff;
        display: inline-block;
        font-size: 1.5em;
        left: -7px;
        padding-left: 22px;
        position: relative;
        top: 11px;
    }

    nav{
        display: none;
    }

    #mobile-menu{
        background-color: #F8F2FB;
        border-bottom: 1px solid #B7B4B9;
        display: block;
    }

    #mobile-menu ul{
        display: none;
        margin: 0;
        padding: 0;
    }

    #mobile-menu li{
        border-top: 1px solid #B7B4B9;
    }

    #mobile-menu a{
        color: #333;
        display: block;
        padding: 10px 20px;
        text-decoration: none;
    }

    #mobile-menu > a{
        background: url('img/menu-burger.png') no-repeat 20px center transparent;
        background-size: 21px 19px;
        padding-left: 52px;
    }

    #contact-info, .contact-cell{
        display: block;
    }

    #contact-info-inner{
        padding: 0 20px;
    }

    .contact-cell{
        border-left: 0 none;
        border-bottom: 1px solid #8600B5;
        width: auto;
    }

    .contact-cell:last-child{
        border-bottom: 0 none;
    }

    article, article.content{
        padding: 30px !important;
        width: calc(100% - 60px);
    }

}


/* ==========================================================================
   Homepage
   ========================================================================== */

#contact-info.home{
    background-color: #EFF3FF;
    border: 0 none;
    margin-bottom: 40px;
    margin-top: 0;
    width: 100%;
}

#contact-info.home img{
    margin-left: 15px;
}

#contact-info.home #contact-info-inner{
    margin: 0 auto;
    width: 1146px;
}

#contact-info.home .contact-cell{
    border-color: #777;
    color: #666;
    font-size: 1em;
    font-weight: 300;
    padding: 10px 20px;
}

.home-top-outer{
    overflow: hidden;
}

.home-top{
    margin: 0 auto;
    padding: 20px 0;
    width: 1146px;
}

.home-top .panel-grid-cell{
    border-left: 1px solid #777;
}

.home-top .panel-grid-cell:first-child{
    border-left: 0 none;
}

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

.home-top img{
    float: left;
    margin: 6px 22px 0;
}

.home-feature{
    background-color: #F0F4F5;
    position: relative;
}

.home-feature .panel-grid-cell:last-child{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
}

.home-feature h2{
    font-size: 2.5em;
}

.home-feature a{
    border: 2px solid #0141FF;
    border-radius: 5px;
    color: #0141FF;
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875em;
    font-weight: 600;
    padding: 10px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 300ms, color 300ms;
}

.home-feature a:hover{
    background-color: #0141FF;
    color: #fff;
    text-decoration: none;
    transition: background-color 300ms, color 300ms;
}

.home-smallfeatures{
    margin-bottom: 60px;
}

.home-smallfeatures .panel-grid-cell{
    border-left: 1px solid #BBB;
}

.home-smallfeatures .panel-grid-cell:first-child{
    border-left: 0 none;
}

.home-smallfeatures a{
    background: url('img/right-arrow.png') left center no-repeat transparent;
    background-size: 6px 8px;
    font-size: 0.7em;
    padding-left: 12px;
}

@media (max-width: 1174px){

    #contact-info.home #contact-info-inner{
        width: 100%;
    }

    .home-feature .panel-grid-cell:last-child{
        right: inherit;
        top: inherit;
        position: inherit;
        transform: none;
        -webkit-transform: none;
    }

    .home-smallfeatures{
        padding: 0 20px;
    }

    .home-smallfeatures .panel-grid-cell{
        border-bottom: 1px solid #BBB;
        border-left: 0 none;
    }

}

@media (max-width: 800px){

    #contact-info.home{
        display: none;
    }

}

/* ==========================================================================
   Content pages
   ========================================================================== */

article.content{
    padding: 0;
}

.expand{
    background: url('img/dropdown-arrows.png') no-repeat 5px 13px transparent;
    background-size: 12px 100px;
    border: 1px solid #B0B0B0;
    border-radius: 5px;
    color: #666;
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.65em;
    font-weight: normal;
    padding: 10px 10px 10px 25px;
    text-transform: uppercase !important;
}

.expand.active{
    background-position: 5px -79px;
}

.expand-content{
    border: 1px solid transparent;
}

article.content a{
    text-transform: none;
}

article.content h2{
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

article.content table{
    margin: 40px 0;
    width: auto;
}

article.content td{
    border: 1px solid #eee;
    padding: 10px;
}

article.content tr td:first-child{
    border-left: 0 none;
}

article.content tr td:last-child{
    border-right: 0 none;
}

article.content tr:first-child td{
    border-top: 0 none;
}

article.content tr:last-child td{
    border-bottom: 0 none;
}

article.content #contact-info-inner{
    text-align: center;
}

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

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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

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