/*
Theme Name: Bowling 2015
Theme URI: 
Author: Ash at Practice Advantage
Author URI: http://practiceadvantage.com.au/
Description: 
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/** MAIN **/
body{
    color:#464646;
    padding:0; margin:0;
    font-family: 'Raleway', sans-serif;
    background: #fff;}

#main, footer, #contact, footer span, section{
    overflow:hidden;}

/** TYPOGRAPHY **/
h1, h2, h3, h4, h5, h6, p{margin:5px 10px; padding:5px 10px;}
h1{ 
    font-size:30pt;
    font-weight: normal;
    text-transform: uppercase;}
h2{ 
    font-size:26pt;
    font-weight: normal;
    text-transform: capitalize;}
h3{ font-size:18pt;
    text-transform: capitalize;}
h4{ font-size:16pt;
    text-transform: capitalize;}
h5{ font-size:16pt;
    text-transform: capitalize;}
h6{ font-size:12pt;
    text-transform: capitalize;
    font-weight: normal;}
p{  
    font-size:12pt;
    line-height: 20pt;}
a{  color:inherit;}
a img, img a{border:none;}
a{  text-decoration:none;}
#main ul li{
    font-size:12pt;
    padding:8px;}

/** HEADER **/
header{
    border-top:5px solid grey;
    width:100%;
    overflow: hidden;
    border-bottom: 5px solid #164d76;
    margin:0; padding:0;}
header h6{
    float:right;
    background:grey;
    padding:10px;
    margin:0;
    color:#fff;
    text-transform: none;}
header form{
    clear: right;
    margin:20px 5px;
    float: right;}
header input, header label{
    margin:5px;}
header img{
    width: 230px;
    padding:15px;
    float:left;}
section{
    position: relative;
    background:url(img/banner.jpg) bottom;
    background-size:cover;        
    width:100%;
    min-height: 450px;}
section.inner{
    min-height: 250px;}
section h5{
    position: absolute;
    bottom:0;
    width:40%;
    margin:0;
    text-transform: uppercase;
    text-align: center;
    background:url(img/white-back-section.png);
    padding:20px 30%;}
/** NAVIGATION **/
nav *{
    transition: 0.5s ease-in-out;}
nav{
    width:100%;
    background: grey;
    padding:0; 
    margin:0;}
nav ul{
    width:100%;
    margin:0 auto;
    text-align: left;
    padding:0;}
nav ul li{
    height:20px;
    list-style: none;
    padding:20px 15px;
    margin:0;
    color:#fff;
    text-transform: uppercase;
    position: relative;
    font-size: 10pt;
    font-weight: bold;
    display:inline-block;
    text-align: center;}

nav ul li:hover{background:#164d76;}
nav ul li.current-menu-item{background:#164d76;}

/** DROP DOWN **/
nav ul li ul{
        display: none;
        padding:0;
        position: absolute;
        top:60px; 
        left:0;
        z-index: 100;
        width:100%;}
li:hover ul{
        display:table;}
li ul li{
    width:230px;
    text-align: left;
    background:#164d76;
    font-weight: normal;
    text-transform: none;
    border-top:1px solid #fff;
    padding:10px 15px;
    margin:0;}
li ul li:hover{
    background:grey;}

/** CONTENT **/
#main{
    width:100%;
    margin:0; padding:0;}
.wrap{
    padding:30px 0;
    width:1200px;
    overflow: hidden;
    padding-bottom: 50px;
    margin:0 auto;}
#buttons{
    padding-bottom: 0px;
    overflow: hidden;
    background: #164d76;}
#buttons .wrap{
    width:1000px;
    padding:20px;}
#buttons .col{
    width:24.9%;
    float:left;
    color:#fff;
    border-left:1px solid #fff;
    text-align: center;}
#buttons .aa{
    border: none;}
#buttons .col h4{
    font-weight: normal;
    font-size: 14pt;
    text-transform: uppercase;}
.free{
    width:70%;
    margin:50px 10%;
    background:#ccc;
    box-shadow: 5px 5px 0 #164d76;
    border-top-right-radius:50px;
    padding:40px 5%;
    border-bottom-left-radius: 50px;}
#services{
    overflow: hidden;
    background: #ccc;}
#services .col{
    width:11.11111%;
    float:left;
    text-align: center;
    padding:15px 0;
    padding-bottom: 35px;}
#services .col h4{
    margin:0; padding:0;
    font-weight: normal;
    text-transform: uppercase;
    font-size:11pt;}
#services .col img{
    background: #164d76;
    margin-bottom: 15px;
    border: 3px solid #464646;
    border-radius: 50%;}
#blog{}
#blog p.time{
    color:#164d76;
    font-style: italic;
    font-weight: bold;}
#blog .col{
    width:50%;
    float:left;}
#blog button{
    margin:0 15px;
    margin-top: 50px; 
    background: none;
    padding:25px;
    text-transform: uppercase;
    color:#164d76;
    font-weight: bold;
    border:2px solid #164d76;}
#blog ul{
    padding:10px 20px;}
#blog ul li{
    list-style: none;
    border-left:3px solid #ddd;
    padding:8px;}
#blog ul li:hover{
    border-left: 3px solid #fff;}
#blog .col:last-child{
    background:#ddd;
    width:38%;
    border-radius: 5px;
    padding:1%;
    margin-left:10%;}
footer span .wrap, header .wrap{
    padding:0;}
#blog h2{
    font-size: 16pt;
    font-weight: bold;}
#blog span p{
    font-weight: bold;
    font-size: 10pt;
    color:#164d76;
    font-style: italic;}
#blog p{
    text-align: justify;
    line-height: 16pt;;
    font-size: 12pt;}
#blog p a{
    font-weight: bold;
    color:#164d76;}
#blog .sidebar{
    float:right;
    margin:25px 50px;
    width:25%;
    border-radius: 5px;
    transition: 0.5s ease-in-out;
    display: block;
    border:2px solid #ccc;
    padding:20px;}
#blog .sidebar ul{
    margin:0; 
    padding:0 10px;}
#blog .sidebar ul li{
    padding:8px;
    text-transform: capitalize;
    border-left:2px solid #fff;
    list-style:none;}
#blog .sidebar ul li:hover{
    border-left:2px solid #ccc;}
.testimonial{
    width:250px;
    height:250px;
    padding:30px;
    margin-left:100px;
    border:15px solid #164d76;
    border-top-right-radius: 50%;
    border-bottom-left-radius: 50%;}
.testimonial p{
    line-height: 16pt;}
.testimonial p b{
    color:#164d76;
    text-align: right;
    font-size: 9pt;
    font-style: italic;}
/** FOOTER **/
footer{
    width:100%;
    color:#fff;
    background:#164d76;
    margin:0; padding:0;}
footer .wrap ul{
    list-style: none;
    padding:20px 0;
    margin:0;
    float:left;
    width:20%;}
footer .wrap ul li{
    list-style: none;
    padding:8px;}
footer .wrap ul li a{color:#fff;}
footer .wrap ul li:first-child{
    font-weight: bold;
    list-style: none;
    text-transform: uppercase;}
footer img{
    float: right;
    margin:10px 5px;
    clear: right;}
footer span{
    width:100%;
    background:#000;
    display:block;
    padding:20px 0;
    margin:0;}
footer span img{
    width:350px;
    float:left;}
footer span p{
    padding:5px 0;
    float:left;
    margin:0;}
footer span p:last-child{
    float: right;}

/** SPECIAL **/
#googleMap{
    width:100%;
    min-height: 400px;}
#googleMap p{
    line-height:16pt;
    font-size: 10pt;}

/** GFORMS **/
#gform_1{
    padding:0 20px;}
#gform_1 li{
    float: left;
    width:50%;
    clear: none;}
#gform_1 li label{}
#gform_1 li input{
    width:80%;}
#gform_1 li#field_1_5{
    width:100%;}
#gform_1 li textarea{
    width:90%;}
#gform_1 input[type="submit"]{
    padding:10px 15px;
    text-transform: uppercase;
    background:#02427C;
    color:#fff;
    transition: 0.5s ease-in-out;
    border:2px solid #02427C;
    font-weight: bold;}
#gform_1 input[type="submit"]:hover{
    background:#fff;
    color:#02427C;}


/** MEDIA QUERIES **/

@media only screen and (max-width : 1199px) {
    .wrap{
        width:100%;}
    header img{
        width: 160px;}
}
@media only screen and (max-width : 799px) {
   nav ul li{
    padding-right:4px;
    padding-left:4px;}
    section h5{
        width:90%;
        padding:5%;}
#buttons .col{
    width:50%;
    border:none;}
#services .col{
    width:25%;
    height:150px;}
.testimonial{
    display:none;}
footer img{
    display:none;}    
}
@media only screen and (max-width : 699px) {
    
}
@media only screen and (max-width : 699px) {
    
}


