/*
Theme Name: Surf Pacific Standard
Theme URI: http://www.surfpacific.com.au
Description: A WordPress theme designed and built by Surf Pacific.
Author: Surf Pacific
Author URI: http://www.surfpacific.com.au
Version: 2.2
*/

/*------------------------------------*\
    CONTENTS
\*------------------------------------*/

/*

1. BASE........Resets and default styles
2. LAYOUT.......Main and unique elements
3. MODULE............Reusable components
4. STATE..................Current states
5. THEME............Branding and colours

*/

/*------------------------------------*\
    1. $BASE
\*------------------------------------*/

html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    background: #fff;
    font: normal 16px/1.618em "Lato", Arial, Helvetica, sans-serif;
    color: #6b6b6b;
    overflow-y: scroll; 
}

/* Give elements the same bottom margin to create consistent vertical rhythm */

p, ul, ol, blockquote, table, hr, iframe, .navigation, .grid, .cta, .message, .button, .feature, .promo, .banner, .content, .has-mb { margin-bottom: 1.1618em; } 

/*------------------------------------*\
    $TYPOGRAPHY
\*------------------------------------*/

h1, h2, h3, h4, h5, h6 { font-weight: normal; }

h1, .alpha {
    font-size: 30px;
    line-height: 38px;
    margin-bottom: 18px;
    color: #15b28a;
    font-family: 'Armata', sans-serif;
}

h2, .beta {
    font-size: 25px;
    line-height: 33px;
    margin-bottom: 18px;
    color: #17b38a;
}

h3, .gamma {
    font-size: 21px;
    line-height: 29px;
    margin-bottom: 18px;
    color: #208dc5;
    font-weight: bold;
}

h4, .delta {
    font-size: 19px;
    line-height: 27px;
    margin-bottom: 18px;
}

h5, .epsilon {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 18px;
}

h6, .zeta {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 18px;
}

small, .small {
    font-size: 0.875em;
    line-height: 1.4em;
}

a:link, a:visited {
    text-decoration: none;
    color: #0f9e78;
    font-weight: bold;
    -webkit-transition: all .1s linear;
       -moz-transition: all .1s linear;
        -ms-transition: all .1s linear;
         -o-transition: all .1s linear;
            transition: all .1s linear;
}

a:hover {
    color: #0c7f60;
    text-decoration: underline;
    outline: none;
}

a:focus, a:active { outline: none }

a.button {
    display: inline-block;
    zoom: 1;
    *display: inline;
    font-size: 1em;
    line-height: 1em;
    padding: 0.75em 1.618em;
    color: #fff;
    background-color: #0f9e78;
}

a.button:hover {
    text-decoration: none;
    color: #fff;
    background-color: #0c7f60;
}

a.button:active {
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.25);
       -moz-box-shadow: inset 0 0 5px rgba(0,0,0,0.25);
            box-shadow: inset 0 0 5px rgba(0,0,0,0.25);
}

.button + .button { margin-left: 0.75em; }

.call-now a.button {
    color: #303030;
}
/*------------------------------------*\
    $FORMS
\*------------------------------------*/

input, select, textarea {
    font-family: inherit;
    font-size: inherit; 
    line-height: 1em;
    border-top: 1px solid #d5d5d5;
    border-right: 1px solid #d5d5d5;
    border-bottom: 1px solid #b5b5b5;
    border-left: 1px solid #b5b5b5;
    padding: 3px 5px;
}

input[type="submit"] {
    line-height: 1em;
    padding: 1em 1.618em;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    color: #fff;
    background-color: #167eb4;
    -webkit-transition: all .1s linear;
       -moz-transition: all .1s linear;
        -ms-transition: all .1s linear;
         -o-transition: all .1s linear;
            transition: all .1s linear;
    -webkit-border-radius: 3px;
     -opera-border-radius: 3px;
     -khtml-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
}

input[type="submit"]:hover { background-color: #126996;}

/*------------------------------------*\
    $OTHER ELEMENTS
\*------------------------------------*/

hr {
    border: solid #d5d5d5;
    border-width: 1px 0 0 0;
    clear: both;
}

img, iframe { vertical-align: top; }

.logo {
    padding-top: 10px;
}
/*------------------------------------*\
    2. $LAYOUT
\*------------------------------------*/

.container, .header, .navigation, .main, .footer { width: 980px; }

.container { margin: 0 auto; }

.top {padding: 1em 0 0 0;}

.last .grid.contact {
    border: 1px solid #208dc5;
  
    width: 420px;
    float: right;
    margin-top: 0;
    margin-bottom: 15px;
    margin-right: 15px;
}

.contact h2 {
    font-size: 18px;
    line-height: 1em;
    margin-bottom: 0;
    color: #fff;
    padding: 12px 0 12px 5px;
    font-weight: bold;
    display: inline-block;
}

.contact h3 {
    font-size: 0.875em;
    line-height: 1.4em;
    margin-bottom: 0;
    text-transform: uppercase;
}
.contact a:hover p {
    color: #1a1a1a;
    text-decoration: underline;
}
.contact a:hover {
    text-decoration: none;
}

.header-phone {
    background: #208dc5;
    padding-left: 10px;
}

.header-phone a { color: #fff; }

.one-third.refer {
    border-right: 1px solid #208dc5;
    padding: 7px;
    width: 21%;
}

.header-phone i.icon {
    background-position: -100px -200px;
    height: 25px;
}
.contact .grid-item {
    margin-right: 0;
}

.contact a p {display: inline-block; padding-left: 4px;color: #333333;}

.refer .icon {
    background-position: -150px -200px;
    width: 33px;
    height: 26px;
}
.book-now i.icon {
    background-position: -200px -200px;
    width: 28px;
    height: 23px;
}
.contact .book-now {
    padding: 7px;
    width: 28%;
}

.contact .header-phone {
    width: 41%;
}

/* SOCIAL MEDIA */
.sm {
    float: right;
    text-align: right;
    padding: 6px;
}

.sm i {
    width: 31px;
    height: 31px;
    padding-right: 5px;
}

.icon.facebook {
    background-position: 0 -250px;
}
.icon.twitter {
    background-position: -50px -250px;
}
.icon.linkedin {
    background-position: -100px -250px;
}

/*------------------------------------*\
    $PRIMARY NAVIGATION
\*------------------------------------*/
.navigation {
    width: 100%;
    display: inline-block;
    vertical-align: bottom;
    margin: 0;
}

.nav-primary li {
    position: relative;
    z-index: 500;
}

/* 1st level links */

.nav-primary a {
    color: #454545;
    display: block;
    line-height: 40px;
    padding: 0 14px 10px 14px;
    text-decoration: none;
}

.nav-primary li:hover > a {
    color: #15b28a;
}

/* 2nd level links */

.nav-primary li:hover > ul { display: block }

.nav-primary ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    float: left;
    width: 240px;
    z-index: 99999;
    -webkit-box-shadow: 0px 5px 5px rgba(0,0,0,0.25);
       -moz-box-shadow: 0px 5px 5px rgba(0,0,0,0.25);
            box-shadow: 0px 5px 5px rgba(0,0,0,0.25);   
}

.nav-primary ul li { 
    min-width: 240px;
}

.nav-primary ul a {
    background: #fff;
    line-height: 1.4em;
    padding: 10px 23px;
    width: 198px;
    height: auto;
}

/* 3rd level links */

.nav-primary ul ul {
    left: 100%;
    top: 0;
}

.nav-primary li.current-menu-item a, .nav-primary li.current-menu-parent a, .nav-primary li.current-page-ancestor a {
    color: #15b28a;
    background: url(images/nav-active.jpg) 50% 40px no-repeat;
}


.nav-primary li.current-menu-item ul li > a, .nav-primary li.current-menu-parent ul li > a, .nav-primary li.current-page-ancestor ul li > a {
    background: #fff;
    color: #454545
}

.nav-primary li ul li a:hover, .nav-primary li.current-menu-parent ul li.current-menu-item a:hover  {
    background: #15b28a;
    color: #fff;
}
.nav-primary li.current-menu-parent ul li.current-menu-item > a {
    background: #fff;
    color: #0c7f60;
}

* html .nav-primary li.current_page_item a, * html .nav-primary li.current-menu-ancestor a, * html .nav-primary li.current-menu-item a, * html .nav-primary li.current-menu-parent a, * html .nav-primary li a:hover {
    background: #444;
    color: #fff;
}

/*------------------------------------*\
    $CAROUSEL
\*------------------------------------*/

.feature, .feature ul, .feature li, .feature img {
    width: 100%;
    height: 484px;
}

.feature, .feature ul, .feature li { position: relative; }

.feature ul {
    list-style: none;
    z-index: 1;
}

.feature li { 
    display: none; 
    background-position: 50% 0;
    background-repeat: no-repeat;
}

.feature .first { display: block }

.feature img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.feature-content, .banner-content {
    float: right;
    width: 530px;
    margin-top: 80px;
    text-align: left;
    background:url(images/jquery-bg.png) repeat;
    padding: 25px 25px 0 25px;
    position: relative;
}

.feature h2, .banner h2 {
    color: #fff;
    font-size: 35px;
    line-height: 1.1em;
    margin-bottom: 0.5em;
    font-weight: 900;
    clear: both;
    font-family: 'Armata', sans-serif;
}

.feature h2 span { 
    display: block;
    padding: 16px;
    width: 85%;
    margin-left: 9%;
}

.feature p, .banner p {
    font-size: 20px;
    line-height: 1.3em;
    color: #fff;
    padding: 16px 16px 16px 0;
}

.feature .button, .banner .button { font-size: 20px; }

.button-group {
    position: absolute;
    right: 0;
    margin-top: 15px;
}

.button-group a.button.contact-us {
    background: #167eb4;
}

.button-group a.button.contact-us:hover {
    background: #126996;
}

.carousel-pager, .carousel-nav {
    position: absolute;
    z-index: 3;
    width: 100%;
}

.carousel-pager {
    text-align: center;
    bottom: 5px;
    left: 0;
}

.carousel-pager a {
    display: inline-block;
    zoom: 1;
    *display: inline;
    width: 20px;
    height: 20px;
    margin: 0 5px;
    border-radius: 100%;
    cursor: pointer;
    background: #f4e9cf;
}

.carousel-pager a:hover, .carousel-pager .activeSlide { background: #fde0ed; }

.carousel-nav {
    height: 51px;
    left: 50%;
    top: 50%;
    margin-top: -25px;
    margin-left: -540px;
    width: 1080px;
}

.carousel-nav a {
    display: block;
    position: absolute;
    width: 22px;
    height: 36px;
    text-indent: -999em;
    background: url(images/sprite.png) 0 0 no-repeat;
}

a.carousel-nav-previous { background-position: 0px -200px;}

a.carousel-nav-next {
    right: 0;
    background-position: -50px -200px;
}

/*------------------------------------*\
    $PROMO
\*------------------------------------*/

.promo-item {
    width: 312px;
    margin-right: 21px;
    text-align: center;
}

.promo a {
    display: block;
    float: left;
    width: 312px;
    text-decoration: none;
    font-weight: normal;
}

.promo a:hover { color: inherit; }

.promo-image { margin-bottom: 1em; }

.promo-heading { margin-bottom:  0.75em; }

.promo p {
    font-size: 0.875em;
    line-height: 1.5em;
    color: #414042;
}

.promo span {
    color: #17b38a;
    text-decoration: underline;
}
/*------------------------------------*\
    $BANNER
\*------------------------------------*/

.banner {
    width: 100%;
    height: 357px;
    position: relative;
}

.banner-content {
    bottom: 3em;
    right: 21px;
    width: 430px;
}

/*------------------------------------*\
    $CONTENT
\*------------------------------------*/

.content {
    float: left;
    width: 640px;
}

.content-right { float: right; }

.content-full { 
    float: none;
    width: 100%;
}

.page-title {
    text-transform: uppercase;
}

.content table {
    border-top: 1px solid #d5d5d5;
    border-right: 1px solid #d5d5d5;
    border-collapse: collapse;
}

.content table th {
    color: #fff;
    padding: 5px 10px;
    text-align: left;
}

.content table td {
    border-bottom: 1px solid #d5d5d5;
    border-left: 1px solid #d5d5d5;
    padding: 5px 10px;
}

.content ul {
    list-style: disc;
    margin-left: 42px;
}

.content ol {
    list-style: decimal;
    margin-left: 42px;
}

.content li {
    margin-bottom: 14px;
}

.content li > ul, .content li > ol { 
    margin-top: 10px; 
    margin-bottom: 0;
}

/* Styling for call to action links */

.full-cta {
    width: 100%;
    background: #293038;
}

.full-cta .one-half {
    width: 72%;
    margin-right: 1%;
}

.full-cta .one-half.last {
    width: 24%;
    margin-right: 0;
}

.full-cta h1 {
    margin-bottom: 0;
    color: #fff;
    font-family: 'Armata', sans-serif;
    padding-top: 7px;
    font-size: 29px;
    line-height: 37px;
}

.full-cta a.button {
    margin-bottom: 0;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
    border-radius: 4px;
    background: #167eb4;
    padding: 1em 0.478em;
}

.full-cta a.button:hover {
    background: #126996;
}

.full-cta .grid {
    margin: 0;
    padding: 70px 0;
}

/* Two column list */

ul.list-double {
    margin-left: 0;
    clear: both;
    overflow: hidden;
}

ul.list-double li {
    float: left;
    width: 40%;
    margin-left: 10%;
}

/* Page lists displayed with [list-pages] and [child-pages] */

ul.child-pages, ul.list-pages {
    list-style: none;
    margin-left: 0;
    border-top: 1px solid #efefef;
}

ul.child-pages li, ul.list-pages li { 
    border-bottom: 1px solid #efefef; 
    margin-bottom: 0;
}

ul.child-pages a, ul.list-pages a { 
    display: block; 
    padding: 10px 5px;
}

blockquote {
    border: double #d5d5d5;
    border-width: 4px 0;
    padding: 1.618em;
    font-size: 1em;
    line-height: 1.618em;
    text-align: center;
}

blockquote p { margin: 0 }

/*------------------------------------*\
    $HOME PAGE CONTENT
\*------------------------------------*/

.f-grey {
    width: 100%;
    background: #f6f6f6;
}

.section-01 {
    margin: 0;
    padding: 50px 0;
}

.section-01 .left-section-01 {
    text-align: center;
}

.section-01 .one-half, .first .one-half.last {
    width: 32%;
    border-right: 1px solid #17b38a;
    padding-right: 90px;
}
.section-01 .one-half.last, .first .one-half {
    border: none;
    padding-right: 0;
    width: 54%;
}
.section-01 .left-section-01 h1 span {
    font-weight: 300;
    color: #6b6b6b;
    font-family: "Lato", Arial, Helvetica, sans-serif;
}

/* FIRST GRID */
.first .grid, .last .grid {
    margin: 20px 0 0 0;
}
.first .grid-item, .last .container .grid-item {
    float: right;
    width: 50%;
}

.first .one-half.last, .last .one-half.last {
    margin-right: 4%;
    border: 0;
}

/* SECOND GRID */

.second {
    background:#f8f6f6;
}

.second .grid {
    margin-bottom: 0;
    padding: 50px 0;
}

.second .one-half {
    width: 70%;
}
.second .one-half.last {
    width: 25%;
    padding: 15px 0;
}

/* LAST GRID */

.last .one-half.last {
    width: 42%;
}

.last p {
    margin: 0;
}

/*------------------------------------*\
    $MESSAGES
\*------------------------------------*/

.message {
    padding: 0.875em 1.618em;
    border: 1px solid;
    color: #555;
}

.note {
    background: #fcffc5;
    border-color: #fbffa3;
}

.highlight {
    background: #A9E8FA;
    border-color: #79dbf7;
}

.warning {
    background-color: #ef1000;
    border-color: #cf0000;
    color: #fff;
}

/*------------------------------------*\
    $BLOG
\*------------------------------------*/

.post-divider {
    display: block;
    height: 1px;
    background: #ccc;
    margin-bottom: 1.618em;
}

.post-meta p {
    font-size: 0.875em;
    line-height: 1.4em;
}

.post-navigation {
    font-size: 0.875em;
    list-height: 1.5em;
    border-top: 1px solid #d5d5d5;
    padding: 1em 0;
}

.archive-navigation {
    display: block;
    clear: both;
    padding: 1em 0;
    text-align: center;
    border-top: 1px solid #d5d5d5;
}

.archive-navigation span, .archive-navigation a {
    padding: 3px 6px;
    border: 1px solid #d5d5d5;
    -webkit-border-radius: 2px;
     -opera-border-radius: 2px;
     -khtml-border-radius: 2px;
       -moz-border-radius: 2px;
            border-radius: 2px;
    
}

.post-share h5 {
    float: left;
    margin: 0 10px 0 0;
    font-size: 0.875em;
    line-height: 1.5em;
    text-transform: uppercase;
}

/*------------------------------------*\
    $CONTENT IMAGES
\*------------------------------------*/

.alignright {
    float: right;
    margin: 0 0 23px 23px;
    padding: 8px;
    background-color: #fff;
    border: 1px solid #ddd;
}

.alignleft {
    float: left;
    margin: 0 23px 23px 0;
    padding: 8px;
    background-color: #fff;
    border: 1px solid #ddd;
}

.aligncenter {
    display: block;
    margin: 0 auto 23px auto;
    padding: 8px;
    background-color: #fff;
    border: 1px solid #ddd;
}

.alignnone {
    display: block;
    margin-bottom: 23px;
    padding: 8px;
    background-color: #fff;
    border: 1px solid #ddd;
}

a .alignright {
    float: right;
    margin: 0 0 23px 23px;
}

a .alignleft {
    float: left;
    margin: 0 23px 23px 0;
}

a .aligncenter {
    display: block;
    margin: 0 auto 23px auto;
}

a .alignnone {
    display: block;
    margin-bottom: 23px;
}

.wp-caption {
    margin-bottom: 23px;
    padding: 0;
    border: none;
}

.wp-caption img {
    margin: 0;
}

.wp-caption p.wp-caption-text {
    font-size: 0.875em;
    line-height: 1.4em;
    margin: 0;
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid #d5d5d5;
    color: #808080;
}

#gallery-1 img {
    border: 1px solid #d5d5d5 !important;
    background: #fff;
    padding: 6px;
}

#gallery-1 img:hover { border: 1px solid #808080 !important }

#sb-wrapper-inner { border: 10px solid #fff !important; } /* Border around lightbox */

/*------------------------------------*\
    $RIGHT SIDEBAR
\*------------------------------------*/

.sidebar {
    float: right;
    width: 315px;
}

.sidebar > div, .sidebar-blog > div { margin-bottom: 1.1618em; }

.sidebar .island h3 {
    background: #17b38a;
    padding: 10px 0;
    color: #fff;
    font-family: 'Armata', sans-serif;
    padding-left: 20px;
}
.sidebar .island p {
    color: #6b6b6b;
    padding-left: 20px;
}
.sidebar .list {
    padding: 1em 1.168em;
}
.sidebar .list ul {
    border: 0;
}
.sidebar .list li {
background: url(images/side-arrow.png) 20px center no-repeat;
padding-left: 35px;
border: 0;
}

.sidebar .list h3 {
    background: #208dc5;
    color: #fff;
    text-indent: 20px;
    padding: 10px 0;
    width: 100%;
    font-family: 'Armata', sans-serif;
}
.sidebar a.button {
    float: right;
}

.island {
    padding: 1em 1.168em;
    color: #fff;
}

.island-heading { color: #fff; }

.list ul {
    list-style-type: none;
    border-top: 1px solid #d5d5d5;
    margin: 0;
}

.list li { border-bottom: 1px solid #d5d5d5; }

.list a {
    display: block;
    padding: 10px 5px;
    line-height: 1.4em;
}

.list a:hover, .list .current_page_item a { text-decoration: none; }

.search {
    background-color: #fff;
    border: 1px solid #d5d5d5;
    -webkit-border-radius: 20px;
     -opera-border-radius: 20px;
     -khtml-border-radius: 20px;
       -moz-border-radius: 20px;
            border-radius: 20px;
}

#s {
    display: block;
    width: 83%;
    padding: 5px 10px 5px 30px;
    color: #777;
    border: none;
    background: url(images/icon-search.png) 10px 50% no-repeat;
    -webkit-border-radius: 20px;
     -opera-border-radius: 20px;
     -khtml-border-radius: 20px;
       -moz-border-radius: 20px;
            border-radius: 20px;
}

#s:focus {
    background-color: #fff;
    outline: none;
}

#searchsubmit { display: none }

/*------------------------------------*\
    $LEFT SIDEBAR
\*------------------------------------*/

.sidebar-left {
    float: left;
    width: 280px;
    border: solid #d5d5d5;
    border-width: 1px 1px 0 1px;
}

.sidebar-left div {
    padding: 15px 15px 15px 45px;
    border-bottom: 1px solid #d5d5d5;
}

.sidebar-left h4 {
    font-size: 14px;
    line-height: 14px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 0 5px 0;
    color: #333;
}

.sidebar-left .icon {
    margin-left: -30px;
    position: absolute;
}

.sidebar-left p {
    font-size: 14px;
    line-height: 18px;
    margin: 0;
}

.sidebar-left p + p { margin: 10px 0 0 0 }

.sidebar-left hr {
    color: #fff;
    background-color: #fff;
    border-bottom: 1px solid #d5d5d5;
    margin: 0 0 10px 0;
    height: 1px;
    border-style: solid;
    border-width: 1px;
    margin-left: -15px;
    margin-right: -15px;
}

/*------------------------------------*\
    $NEWSLETTER SUBSCRIPTION
\*------------------------------------*/

.subscribe {
    padding: 5px 10px;
    border: 1px solid #d5d5d5;
    line-height: 30px;
}

.subscribe .one-of-two {
    width: 44%;
    margin-right: 1%;
}

.subscribe .two-of-two { width: 55%; }

.subscribe-heading {
    line-height: 30px;
    margin-bottom: 0;
}

.subscribe input { 
    float: left; 
    margin: 0 0 0 5px;
}

.subscribe input[type="text"] {
    border: 1px solid #ccc;
    width: 200px;
    background: #fff;
    padding: 5px;
    color: #777;
}

.subscribe input[type="submit"] {
    float: left;
    width: 87px;
    height: 33px;
    padding: 5px 0;
    background: #666;
    border: 1px solid #666;
    color: #fff;
    font-size: 0.875em;
    text-align: center;
    -webkit-appearance: none; /* Remove iOS default styles */
}

.subscribe input.btn-subscribe:hover {
    background: #333;
    border: 1px solid #333;
}

/*------------------------------------*\
    $FOOTER
\*------------------------------------*/

.footer {
    clear: both;
    text-align: center;
    font-size: 0.75em;
    line-height: 1em;
}

.footer p, .footer a { color: #b2b3b3; }

.footer a:hover { color: #444 }

/*------------------------------------*\
    3. $MODULE
\*------------------------------------*/ 

/*------------------------------------*\
    $NAV
\*------------------------------------*/ 

ul.nav, .nav ul { 
    list-style: none; 
    margin: 0;
    padding: 0;
}

.nav li { float: left; }

.nav a { display: block; }

ul.nav-secondary {
    text-transform: uppercase;
    width: 100%;
    margin-bottom: 1.618em;
}

.nav-secondary li { 
    float: none;
    display: inline; 
}

.nav-secondary a {
    display: inline-block;
    zoom: 1;
    *display: inline;
    padding: 0 1.5em;
}

ul.nav-stacked li { float: none; }

/*------------------------------------*\
    $PADDING
\*------------------------------------*/

.has-padding-all { padding: 1em 1.618em; }
.has-padding-v { padding: 1em 0; }
.has-padding-h { padding: 0 1.618em; }

/*------------------------------------*\
    $HELPER
\*------------------------------------*/

.clr { clear: both }

.left { float: left }

.right { float: right }

.text-center { text-align: center; }

.text-right { text-align: right; }

.upper { text-transform: uppercase; }

.lower { text-transform: lowercase;}

.under { border-bottom: 1px solid; }

.spaced { letter-spacing: 2px; }

.no-mb { margin-bottom: 0; }

.inline-block {
    display: inline-block;
    zoom: 1;
    *display: inline;
}

.cf:before, .cf:after, .grid:before, .grid:after, .main:before, .main:after, .content:before, .content:after, .nav-primary:before, .nav-primary:after {
    content: " ";
    display: table;
}
.cf:after, .grid:after, .main:after, .content:after, .nav-primary:after { clear: both; }
.cf, .grid, .main, .content, .nav-primary { *zoom: 1; }

/*------------------------------------*\
    $GRID
\*------------------------------------*/ 

.grid-item { float: left; }

.one-half { 
    width: 48%;
    margin-right: 4%;
}

.one-third {
    width: 30%;
    margin-right: 5%;
}

.two-thirds {
    width: 65%;
    margin-right: 5%;
}

.grid .last { margin-right: 0; } 

/*------------------------------------*\
    $HEADER GRID
\*------------------------------------*/ 
.header .one-half {
    width: 25%;
}
.header .one-half.last {
    width: 71%;
}

/*------------------------------------*\
    $ICONS
\*------------------------------------*/

.icon {
    display: inline-block;
    zoom: 1;
    *display: inline;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    background: url(images/sprite.png) 0 0 no-repeat;   
}

.icon-m {
    width: 24px;
    height: 24px;
}

.icon-l {
    width: 32px;
    height: 32px;
}

.icon-phone { background-position: 0 0; }
.icon-fax { background-position: -50px 0; }
.icon-email { background-position: -100px 0; }
.icon-address { background-position: -150px 0; }
.icon-hours { background-position: -200px 0; }

.icon-payment { background-position: 0 -50px; }
.icon-info { background-position: -50px -50px; }
.icon-search { background-position: -100px -50px; }
.icon-arrow-white { background-position: -150px -50px;}
.icon-arrow-colour { background-position: -200px -50px;}

.icon-facebook { background-position: 0 -100px; }
.icon-twitter { background-position: -50px -100px; }
.icon-linkedin { background-position: -100px -100px; }
.icon-googleplus { background-position: -150px -100px;}
.icon-youtube { background-position: -200px -100px;}

.icon-pinterest { background-position: 0 -150px; }
.icon-instagram { background-position: -50px -150px; }

/*------------------------------------*\
    $INLINE LIST
\*------------------------------------*/

.list-inline { list-style: none; }

.list-inline li { display: inline; }

.list-inline a {
    display: inline-block;
    zoom: 1;
    *display: inline;
}

/*------------------------------------*\
    $ICON LIST
\*------------------------------------*/

.list-icon { font-size: 0; }

.list-icon li { margin-right: 10px; }


/*------------------------------------*\
    4. $STATE
\*------------------------------------*/

.is-hidden { display: none; }

/*------------------------------------*\
    5. $THEME
\*------------------------------------*/

/*------------------------------------*\
    $COLOURS
\*------------------------------------*/

/* Brand primary and secondary colours */
.bpc { color: #808080; }
.bsc { color: #454545; }

.text-light { color: #fff; }
.text-dark { color: #333; }
.text-neutral { color: #808080; }

/*------------------------------------*\
    $BACKGROUNDS
\*------------------------------------*/

/* Brand primary and secondary background colours */
.bpb { background-color: #808080; }
.bsb, .island { /* background-color: #454545; */ }

::selection {
    background: #1dbdef;
    color: #fff;
    text-shadow: none;
}

/*------------------------------------*\
    $BORDERS
\*------------------------------------*/

.has-border-all { border: 1pxs solid #d5d5d5; }

.has-border-v {
    border: solid #d5d5d5;
    border-width: 1px 0;
}

.has-border-h {
    border: solid #d5d5d5;
    border-width: 0 1px;
}
/*------------------------------------*\
    $FOOTER MAP
\*------------------------------------*/

iframe.google-map {
    margin:0;
}

/*------------------------------------*\
    $FOOTER DETAILS
\*------------------------------------*/
.associates {margin-top: 30px; margin-bottom: 30px;}

.footer-details .footer-contact h3 {
    display: inline-block;
    vertical-align: top;
    font-size: 17px;
    color: #17b38a;
    margin: 0;
    padding: 0 17px 0 5px;
}

.footer-details .footer-contact p {
    margin: 0;
    display: inline-block;
}

.footer-details .footer-contact i.icon-contact {
    background: url(images/sprite.png) -100px -150px no-repeat;
    width: 11px;
    height: 18px;
}

.footer-details .footer-contact i.icon-contact {
    background: url(images/sprite.png) -100px -150px no-repeat;
    width: 11px;
    height: 18px;
} 

.footer-details .footer-contact i.icon-address {
    background-position: -153px 0;
    vertical-align: top;
    margin-top: 6px;
    width: 11px;
    height: 18px;
}

.footer-details .footer-contact i.icon-hours {
    vertical-align: top;
    margin-top: 8px;
}

.footer-details h5 {
    color: #17b38a;
    font-size: 18px;
    line-height: 26px;
    margin: 0;
}

.footer-details .feed-content a {
    color: #17b38a;
    text-decoration: none;
}

.footer-details .footer-contact h3#t-address {
    padding-right: 14px;
}

.footer-details .footer-contact h3#t-hour {
    padding-right: 26px;
}

/* FOOTER SUBSCRIBE */
.footer-details .subscribe-form.two-of-two {
    margin-top: 15px;
}
.footer-details .grid-item.one-third.last {
    text-align: right;
}
.footer-details input[type="text"] {
    padding: 8px 0px;
    text-indent: 12px;
    width: 100%;
    color: #6b6b6b;
    border-radius: 5px;
    border: 1px solid #6b6b6b;
}
.footer-details input[type="submit"] {
    width: 109px;
    text-indent: 0;
    padding: 11px 0px;
    background: #0f9e78;
    color: #fff;
}
.footer-details input[type="submit"]:hover {
    background: #0c7f60;
}
.footer-details h6 {
    color: #17b38a;
    font-size: 19px;
    line-height: 27px;
    display: inline-block;
    vertical-align: top;
}

.footer-details i.icon-subscribe {
    background:url(images/sprite.png) -200px -150px no-repeat;
    width:46px;
    height: 37px;
    float: left;
}
.footer-details .sm {
    float: left;
    text-align: left;
}
ul.child-pages li a p {
    color: #6b6b6b;
    font-weight: normal;
}
ul.child-pages li a h4 {
    color: #208dc5;
}
