/*
Theme Name: Beach Net Ball
Theme URI: http://www.beachnetball.com.au/
Author: the Beach Net Ball WordPress team
Author URI: http://www.beachnetball.com.au/
Description: Beach Net Ball
Version: 1.0
License: Private

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* =Notes
--------------------------------------------------------------
This stylesheet uses rem values with a pixel fallback. The rem
values (and line heights) are calculated using two variables:

$rembase:     14;
$line-height: 24;

---------- Examples

* Use a pixel value with a rem fallback for font-size, padding, margins, etc.
        padding: 5px 0;
        padding: 0.357142857rem 0; (5 / $rembase)

* Set a font-size and then set a line-height based on the font-size
        font-size: 16px
        font-size: 1.142857143rem; (16 / $rembase)
        line-height: 1.5; ($line-height / 16)

---------- Vertical spacing

Vertical spacing between most elements should use 24px or 48px
to maintain vertical rhythm:

.my-new-div {
        margin: 24px 0;
        margin: 1.714285714rem 0; ( 24 / $rembase )
}

---------- Further reading

http://snook.ca/archives/html_and_css/font-size-with-rem
http://blog.typekit.com/2011/11/09/type-study-sizing-the-legible-letter/


/* =Reset
-------------------------------------------------------------- */

ul.nav-dropdown > li > a{
    font-size: 1em;
    color: #ffffff;
}

/*ul.nav-dropdown li.menu-item-has-children span.rg-span:hover {
    color: #03a9f4;
}*/
ul.nav-dropdown li.menu-item-has-children span.rg-span{
    padding-right: 15px;
}
ul.sub-menu li a {
    padding: 10px 23px !important;
    font-size: 1em;
    color: #ffffff;
    display: inline-block;
    letter-spacing: 1px;
}
ul.sub-menu {
    background: #333;
    min-width: 180px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 4px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    margin-top: 0;
    padding-top: 0px;
    padding-bottom: 0px;
}

#contactForm label, #contactForm_i label {
    color: #000;
    text-transform: uppercase;
	font-weight:normal;
}
#contactForm select, #contactForm_i select {
    height: 50px;
    padding: 0 20px;
    font-size: 16px;
    letter-spacing: 0;
    font-weight: 400;
    width: 100%;
    margin: 0 0 20px;
    background: #fff;
    border: none;
    border-radius: 5px;
}

ul.nav-dropdown li ul.sub-menu li.menu-item-has-children span.rg-span {
    border-bottom: 0.3em solid transparent;
    border-left: 0.3em solid;
    border-right: 0;
    border-top: 0.3em solid transparent;
    margin-left: 0.3rem;
}

.sub-menu li {
    line-height: 1.1;
}

ul.nav-dropdown li.menu-item-has-children > a{
    padding-right: 0px !important;
    width: 100%;
}

span.rg-span {
    cursor: pointer;
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 0.25rem;
    margin-left: .25rem;
    vertical-align: middle;
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-left: .3em solid transparent;
    padding: 0px !important;
}

.page-template-get-involved textarea {
    width: 100% !important;
    height: 200px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #555;
        padding: 6px 12px;
}

ul.sub-menu li ul.sub-menu {
    left: 100%;
    margin-left: -6px;
    margin-top: -6px;
    top: 0;
}

.sub-menu > li:hover {
    background-color: #292929;
    border-radius: 4px;
}
.sub-menu > li:hover > a, .sub-menu > li:hover > span.rg-span {
    color: #03a9f4 !important;
}

li.menu-item-has-children {
    padding-right: 15px;
    position: relative;
}
ul.sub-menu.active { display: block !important; }

#contactForm .wpcf7-submit, #contactForm_i .wpcf7-submit{
    color: #000;
    background-color: #ffffff;
    border: 1px solid #fff;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px;
    line-height: 20px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 11px 28px;
    border: none;
    border-radius: 30px;
    width: auto;
}

#contactForm .wpcf7-submit:hover, #contactForm_i .wpcf7-submit:hover{
    background: #111;
    border: 1px solid #111;
    color: #fff;    
}

@media (max-width: 767px) {
    ul#rg-exCollapsingNavbar {
        background-color: rgb(51, 51, 51);
    }
    ul#rg-exCollapsingNavbar > li {
        line-height: 1.1;
    }
    ul#rg-exCollapsingNavbar > li > a {
        display: inline-block;
    }
    .sub-menu > li:hover {
        background-color: #333333;
        border-radius: 4px;
    }
    ul.sub-menu {   
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
        padding: 10px 23px !important;
    }
}