/*
Theme Name: FFPhysio
Theme URI: http://www.ffphysiotherapyryde.com.au/
Author: Han & Christine Lee
Author URI: none
Description: The FFPhysio theme is a simple, minimalist theme based on Underscores and the original Shape Theme by Ian Stewart. It was created especially as a learning theme for The ThemeFFPhysior WordPress Theme Tutorial: 2nd Edition.
Version: 1.0
License: GNU General Public License
License URI: license.txt
This theme, like WordPress, is licensed under the GPL.
*/
@import url("normalize.css");
@import url("base.css");
@import url("grid.css");

/*
Responsive 996px grid system ~ Style CSS.
Copyright 2013, Josh Cope
*/

/* =============================================================================
   Site Styles
   ========================================================================== */

body,
button,
input,
select,
textarea {
    background-color: #f0f0f0;
    font-family: sans-serif;
    line-height: 1.4;
}
/* Headings */
h1, h2, h3, h4 {
    font-family: 'PT Sans Narrow', sans-serif;
    clear: both;
}
h1 {
    color: #2f2c2c;
    margin-bottom: 0px;
}
h2 {
    color: #003b7a;
}
h4 {
    font-family: Verdana, sans-serif;
}
hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}
/* Text elements */
p {
    font-family: Verdana, sans-serif;
    font-size: .8em;
}

p, a {
    color: #222;
}  
a {
    text-decoration: none;
    font-size: 1em;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
a:hover {
    color: #68aa35;
}

ul {
    list-style: disc;
}
ol {
    list-style: decimal;
}
ul ul, ol ol, ul ol, ol ul {
    margin-bottom: 0;
    margin-left: 1.5em;
}
dt {
    font-weight: bold;
}
dd {
    margin: 0 1.5em 1.5em;
}
b, strong {
    font-weight: bold;
}
dfn, cite, em, i {
    font-style: italic;
}
blockquote {
    margin: 0 1.5em;
}
address {
    margin: 0 0 1.5em;
}
pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    padding: 1.6em;
    overflow: auto;
    max-width: 100%;
}
code, kbd, tt, var {
    font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}
mark, ins {
    background: #fff9c0;
    text-decoration: none;
}
sup,
sub {
    font-size: 75%;
    height: 0;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {
    bottom: 1ex;
}
sub {
    top: .5ex;
}
small {
    font-size: 75%;
}
big {
    font-size: 125%;
}
figure {
    margin: 0;
}
table {
    margin: 0 0 1.5em;
    width: 100%;
}
th {
    font-weight: bold;
}
button,
input,
select,
textarea {
    font-size: 100%; /* Corrects font size not being inherited in all browsers */
    margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
    vertical-align: baseline; /* Improves appearance and consistency in all browsers */
    *vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button,
input {
    line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
    *overflow: visible;  /* Corrects inner spacing displayed oddly in IE6/7 */
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid #ccc;
    border-color: #ccc #ccc #bbb #ccc;
    border-radius: 3px;
    background: #e6e6e6;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 15px 17px rgba(255,255,255,0.5), inset 0 -5px 12px rgba(0,0,0,0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 15px 17px rgba(255,255,255,0.5), inset 0 -5px 12px rgba(0,0,0,0.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), inset 0 15px 17px rgba(255,255,255,0.5), inset 0 -5px 12px rgba(0,0,0,0.05);
    color: rgba(0,0,0,.8);
    cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
    -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
    font-size: 12px;
    font-size: 1.4rem;
    line-height: 1;
    padding: 1.12em 1.5em 1em;
    text-shadow: 0 1px 0 rgba(255,255,255,.8);
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa #bbb;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 15px 17px rgba(255,255,255,0.8), inset 0 -5px 12px rgba(0,0,0,0.02);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 15px 17px rgba(255,255,255,0.8), inset 0 -5px 12px rgba(0,0,0,0.02);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 15px 17px rgba(255,255,255,0.8), inset 0 -5px 12px rgba(0,0,0,0.02);
}
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    border-color: #aaa #bbb #bbb #bbb;
    -webkit-box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15);
    -moz-box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15);
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.5), inset 0 2px 5px rgba(0,0,0,0.15);
}
input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
    padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
    -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
    box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
    -webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
    border: 0;
    padding: 0;
}
input[type=text],
input[type=email],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
}
input[type=text]:focus,
input[type=email]:focus,
textarea:focus {
    color: #111;
}
input[type=text],
input[type=email] {
    padding: 3px;
}
textarea {
    overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
    padding-left: 3px;
    vertical-align: top; /* Improves readability and alignment in all browsers */
    width: 98%;
}


.hidden {
    display:none;
}
.green {
    color: #68aa35;
}
.blue {
    color: #003b7a;
}
.strong {
    font-weight: bold;
}
.left {
    float: left;
}
.right {
    float: right;
}
.strong {
    font-weight: bold;
}


/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    border: 1px solid #ccc;
    background: #fff;
    max-width: 98.5%; /* Image does not overflow the content area */
    padding: 5px 1px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}







/* =============================================================================
   ========================================================================== */


.hfeed site {
    width: 996px;
}

.site-header, .header {
    position: relative;
}

.logo {
    display: inline-block;
    margin-bottom: 16px;
}
.site-title {
    background: url(images/sprite.png) no-repeat scroll 0 0 transparent;
    width: 219px;
    height: 86px;
    text-indent: -99999px;
    margin: 70px 0 4px 0;
} 
.site-title a {
    display: block;
    width: 219px;
    height: 86px;
    text-decoration: none;
}
.site-description{
    display:none;
}
.img-topright {
    position: absolute;
    top: 0px;
    right: 0px;
}
.img-topright img {
    z-index: 9999;
    float: right;
}
.booknow {
    width: 361px;
    height: 40px;
    background: url(images/sprite.png) no-repeat scroll 0 -150px transparent;
    z-index: 1;
    position: absolute;
    bottom: 0;
    right: 0;
}
.booknow span.phone {
    background: url(images/sprite.png) no-repeat scroll 0 -245px transparent;
    width: 27px;
    height: 27px;
    margin: 10px 5px 0 100px;
    display: inline-block;
}
.booknow h3 {
    color: #fff;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.6);
    display: inline-block;
    margin: 7px 0 0 150px;
}



.menu {
    padding: 0;
    margin: 0;
}
.menu > li {

    text-align: center;
    list-style: none;
    float:left;
    width: 118px;

    margin-right: 1px;
    margin-bottom: 2px;

    box-shadow: 0px 1px 1px #666666, inset 0 0 1px #FFFFFF;

    background: linear-gradient(top,  #2D72D2,  #002853);
    background: -ms-linear-gradient(top,  #2D72D2,  #002853);
    background: -webkit-gradient(linear, left top, left bottom, from(#2D72D2), to(#002853));
    background: -moz-linear-gradient(top,  #2D72D2,  #002853);

    background-color: #2D72D2;
    background-image: -o-linear-gradient(transparent, #002853);    
    background-image: -webkit-linear-gradient(transparent, #002853);
    background-image: -moz-linear-gradient(transparent, #002853);    
    background-image: -ms-linear-gradient(transparent, #002853);
    background-image: linear-gradient(transparent, #002853);

    border: solid 1px #002E71;
    position:relative;
    z-index:999;

    -webkit-transition: background-color .35s ease;
       -moz-transition: background-color .35s ease;
        -ms-transition: background-color .35s ease;
         -o-transition: background-color .35s ease;
            transition: background-color .35s ease;


}

.menu > li:hover, .menu > li:active, .menu > .current-menu-item, .menu > .current-menu-parent{

    background-color: #1c4783;

}
.menu > li:first-child {
    width: 119px;
    border-top-left-radius:30px;
    border-bottom-left-radius:30px; 
}
.menu > li:last-child {
    width: 120px;
    border-bottom-right-radius:28px;
    margin-right: 0px;
}
.menu > li > a {
    font-family: 'PT Sans Narrow', sans-serif;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    text-transform: uppercase;
    display: block;
    padding: 12px 0px;
}

/* Pull down menu */
.sub-menu {
    min-width: 200px;
    float: left;
    left: 0;
    margin: 0;
    opacity: 0;
    padding-left: 0;
    position: absolute;
    top: 48px;
    visibility: hidden;
    z-index: 999;
    background: #fff;
    border-bottom-left-radius:6px;
    border-bottom-right-radius:6px;
    box-shadow: 0px 2px 8px rgba(0,0,0,.3);
    font-size: .9em;

    /*
    -webkit-transition: all .35s ease;
       -moz-transition: all .35s ease;
        -ms-transition: all .35s ease;
         -o-transition: all .35s ease;
            transition: all .35s ease;
            */
}
.menu > li:last-child > ul {
    left: -70px;
}

.menu > li:hover ul {
    opacity: 1;
/*    top: 48px;
*/    
    visibility: visible;
}

.sub-menu li {
    float: none;
    text-align: left;
    padding: 1px 5px;
}
.sub-menu li:first-child {
    padding-top: 10px;
}

.sub-menu li:last-child {
    padding-bottom: 10px;
}


.sub-menu a:hover {

    background: #0a4b94;
    color: #fff;

}

.sub-menu a{
    color: #303030;
    font-weight: normal;
    line-height: 2em;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    border-radius:5px;
    display: block;
    padding-left: 8px;
    
    -webkit-transition: none .35s ease;
       -moz-transition: none .35s ease;
        -ms-transition: none .35s ease;
         -o-transition: none .35s ease;
            transition: none .35s ease;
            
}

#hero {
    margin-top: 14px;
    margin-bottom: 30px;
    position: relative;
    height: 370px;
    background: url(images/hero-images.jpg) transparent right -2960px scroll;
    box-shadow: 0 50px 50px -30px rgba(0,0,0,0.7);
} 
#hero .bar-menu {
    position: absolute;
    left: 0px;
    top: 20px;
}
#hero .bar-menu a {
    background-image: url(images/hero-bars.png);
    height: 35px;
    color: #303030;
    font-family: 'PT Sans Narrow', sans-serif;
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    padding: 7px 0 0 20px;
    margin-top: -1px;
    -webkit-transition: none;
       -moz-transition: none;
        -ms-transition: none;
         -o-transition: none;
            transition: none;

}
#hero-copy {
    max-height: 180px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: pre-line;
}
#hero .bar-menu a.bar-menu-one {
    background-position: 0 0;
    width: 137px;
}
#hero .bar-menu a.bar-menu-two {
    background-position: 0 -42px;
    width: 183px;
}
#hero .bar-menu a.bar-menu-three {
    background-position: 0 -84px;
    width: 223px;
}
#hero .bar-menu a.bar-menu-four {
    background-position: 0 -126px;
    width: 240px;
}
#hero .bar-menu a.bar-menu-one:hover {
    background-position: -260px 0;
}
#hero .bar-menu a.bar-menu-two:hover {
    background-position: -260px -42px;
}
#hero .bar-menu a.bar-menu-three:hover {
    background-position: -260px -84px;
}
#hero .bar-menu a.bar-menu-four:hover {
    background-position: -260px -126px;
}
#hero .white-box {
    position: absolute;
    top: 30px;
    left: 285px;
    background-color: rgba(255, 255, 255, .5);
    width: 275px;
    padding: 0 15px 15px;
    box-shadow: 0px 2px 3px 2px rgba(0, 0, 0, .3);
}
#hero .white-box h3 {
    color: #303030;
    margin-bottom: 0;
}
.office-hours {
    border: #fff 1px solid;
    padding: 15px;
//    margin-bottom: 10px;
}
.office-hours h2 {
    color: #003b7a;
    margin: .3em 0;
}

.office-hours p {
    border-bottom: #a8b9cc 1px solid;
    font-weight: bold;
    color: #003b7a;
    padding-bottom: 10px;
    line-height: .7em;
}

.office-hours p span.right {
    font-weight: normal;
    color: black;
}
.grey-line {
    border-bottom: #a8b9cc 1px solid;
    margin-top: 30px;
    margin-bottom: 30px;
}
h1.grey-line {
    border-bottom: #a8b9cc 1px solid;
    margin: 0 0 20px;
    padding-bottom: 15px;   
}
a.button-blue, a.button-blue-small {
    color: #fff;
    text-shadow: 0 1px 1px rgba(0,0,0,.3);
    -webkit-border-radius: .5em; 
    -moz-border-radius: .5em;
    border-radius: .5em;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
    box-shadow: 0 1px 2px rgba(0,0,0,.2);
    background: -webkit-gradient(linear, left top, left bottom, from(#3077dc), to(#002b59));
    background: -moz-linear-gradient(top,  #3077dc,  #002b59);

    display: inline-block;
}
a.button-blue {
    padding: 10px 15px 10px 10px;
    margin-left: 20px;
}
a.button-blue-small {
    padding: 5px 10px;
    font-size: .85em;
}
a.button-blue span.arrow {
    background: url(images/sprite.png) no-repeat 0 -193px transparent;
    width: 6px;
    height: 13px;
    display: inline-block;
    margin-left: 15px;
}

a.button-blue:hover, a.button-blue-small:hover {
    -webkit-box-shadow: 0 2px 6px rgba(0,0,0,.5);
    -moz-box-shadow: 0 2px 6px rgba(0,0,0,.5);
    box-shadow: 0 2px 6px rgba(0,0,0,.5);
}
.contact-front {
    background: url(images/clip-memo.png) no-repeat 0 0 transparent scroll;
    min-height: 359px;
    padding: 30px 20px 0 20px;
}
.white-bg {
    
    background-color: #fff;
    width: 100%;
    margin: 20px 0;
    padding: 30px 0;
    box-shadow: 0px 0px 3px 2px #ccc;
    
}
p.header {
    font-weight: bold;
    color: #003b7a;
    margin-bottom: .85em;
}
.site-footer {
    text-align: center;
    margin: 30px 0 30px 0;
}


/* =============================================================================
   Page Styles
   ========================================================================== */


.appointment-btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    padding: 1em;
    text-shadow: 0 1px 1px rgba(0,0,0,.3);
    -webkit-border-radius: .5em; 
    -moz-border-radius: .5em;
    border-radius: .5em;

    background: linear-gradient(top,  #2c72d4,  #002b5a);
    background: -ms-linear-gradient(top,  #2c72d4,  #002b5a);
    background: -webkit-gradient(linear, left top, left bottom, from(#2c72d4), to(#002b5a));
    background: -moz-linear-gradient(top,  #2c72d4,  #002b5a);

    border: solid 1px #002E71;
    box-shadow: 0px 2px 3px rgba(0,0,0,.2), inset 0 0 1px #FFFFFF;
    margin-left: 200px;
    margin-bottom: 80px;

}

.appointment-btn .word {
    font-family: 'PT Sans Narrow', sans-serif;
    color: #fff;
    font-size: 2.5em;
    text-shadow: 0 1px 1px rgba(0,0,0,.3);
    margin: 0;

}
.appointment-btn .number {
    font-family: 'PT Sans Narrow', sans-serif;
    color: #fff;
    font-size: 3em;
    text-shadow: 0 1px 1px rgba(0,0,0,.3);
    background: no-repeat url(images/sprite.png) -135px -200px transparent scroll;
    padding-left: 30px;
    margin: 0;
    font-weight: bold;
}
.appointment-btn .number a {
    font-family: 'PT Sans Narrow', sans-serif;
    color: #fff;
}

/* =============================================================================
   Blog Styles
   ========================================================================== */

.content-list .hentry {
    padding-top: 70px;
    margin-bottom: 80px;
    border-top: 1px solid #a8b9cc ;
}
.content-list .hentry:first-child, .content-list .page-header + .hentry {
    border-top: none !important;
    padding-top: 0 !important;
}
.entry-header {
    margin-bottom: 40px;
}
.entry-meta, .logged-in-as {
    margin-bottom: 30px;
    color: #aaaaaa;
    font-size: 0.8em;
}

.entry-meta a, .logged-in-as a {
    color: #0a4b94;
}
.entry-meta a:hover, .logged-in-as a:hover {
    color: #68aa35;
}

.entry-meta .byline, .entry-meta .cat-links {

}
.entry-meta .sep {
    /*
    display: block;
    border-top: 1px solid #a8b9cc;
    position: relative;
    margin: 15px 0px 10px 0;
    */
}
.entry-meta .post-format {
    position: absolute;
    right: -60px;
    top: -25px;
    padding: 5px;
    background: #f5f5f5;
    -webkit-border-radius: 500px;
    -moz-border-radius: 500px;
    border-radius: 500px;
}
.entry-meta .post-format i {
    width: 38px;
    height: 38px;
    border: 1px solid #e5e5e5;
    color: #dddddd;
    display: block;
    line-height: 38px;
    text-align: center;
    background-color: #ffffff;
    -webkit-border-radius: 500px;
    -moz-border-radius: 500px;
    border-radius: 500px;
}   

.entry-meta .comments-link {
    line-height: 2em;
    margin-right: 10px;
}
.entry-meta .posted-on {
}



.entry-thumbnail {
    margin-bottom: 30px;
}
.entry-thumbnail img {
    width: 100%;
    height: auto;
}
.entry-content, .page-content {
    
}
.entry-content ul {
    font-size: .8em;
}

.pager {
    margin: 07px 10px;
    padding: 10px 0;
    border-top: 1px solid #a8b9c;
    border-bottom: 1px solid #a8b9c;
}

.pager .nav-previous {
display: inline-block;
width: 50%;
float: left;
border-right: 1px solid #a8b9cc;
padding: 20px 0px;
}
.pager .nav-next {
display: inline-block;
width: 49%;
float: right;
padding: 20px 0px;
}

.pager .btn {
font-family: sans-serif;
font-weight: bold;
font-size: 14px;
padding: 5px 8px;
text-align: center;
vertical-align: middle;
color: #ffffff;
border: none;
background-color: #BBB;
text-transform: capitalize;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
-webkit-transition: background 0.2s;
-moz-transition: background 0.2s;
-o-transition: background 0.2s;
transition: background 0.2s;
}
.nav-previous .btn{
    margin-right: 10px;
     float: left;
}
.nav-next .btn{
    margin-left: 10px;
    float: right;
}

.nav-previous .pager-title{
    text-align: left;
    float: left;
    width: 45%;
}
.nav-next .pager-title{
    text-align: right;
    float: right;
    width: 45%;
}

.pager-title {
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 1.17em;
    font-weight: bold;
}

.btn:hover {
background-color: #68aa35;
color: #ffffff;
}

.form-allowed-tags { display: none;}

.form-submit input[type=submit] {
font-family: 'PT Sans Narrow', sans-serif;
padding: 10px 15px;
cursor: pointer;
border: 0;
margin-left: 3px;
color: #fff;
text-shadow: 0 1px 1px rgba(0,0,0,.3);
-webkit-border-radius: .3em;
-moz-border-radius: .3em;
border-radius: .3em;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
box-shadow: 0 1px 2px rgba(0,0,0,.2);
background: -webkit-gradient(linear, left top, left bottom, from(#3077dc), to(#002b59));
background: -moz-linear-gradient(top, #3077dc, #002b59);
}

/* =============================================================================
   Footer
   ========================================================================== */
.site-info  {
    border-top: 5px solid #333333;
}
/* =============================================================================
   Tweak Hacks
   ========================================================================== */
.widget-title {
    font-size: 1.5em;
}

.widgets_on_page > ul, .widgets_on_page > ul > li {

    margin: 0;
    padding: 0;
}
.size-full, .size-medium, .size-thumbnail {max-width: 100%;}

.Flexible-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.Flexible-container iframe,   
.Flexible-container object,  
.Flexible-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

a.post-edit-link {
    background-color: #666;
    color: #FFFFFF;

    font-size: 14px;
    line-height: 16px;
    margin: 0;
    padding: 2px 3px 3px;
}
.breakword {
    word-wrap: break-word;
}
.mt30 {
    margin-top: 30px;
}
.mb30 {
    margin-bottom  : 30px;
}
.widget-container {
    margin-left: 0;
    padding-left: 0;
}
.facebook-widget {
    display: inline;
}
.widget_sp_image {
    margin-top: 30px;
}

.responsiveMenuSelect {

    border-bottom-left-radius: 16px;
    border: solid 2px #002E71;
    font-family: 'PT Sans Narrow', sans-serif;
    font-size: 1.2em;
    color: #fff;

    box-shadow: 0px 2px 3px rgba(0,0,0,.2), inset 0 0 1px #FFFFFF;
    background: linear-gradient(top, #2c72d4, #002b5a);
    background: -ms-linear-gradient(top, #2c72d4, #002b5a);
    background: -webkit-gradient(linear, left top, left bottom, from(#2c72d4), to(#002b5a));
    background: -moz-linear-gradient(top, #2c72d4, #002b5a);
    padding: .2em;

}
.responsiveMenuSelect option {
color: #2f2c2c;
}



/* =============================================================================
   Media Queries
   ========================================================================== */

/* Tablet Portrait size to Base 996px */
@media only screen and (min-width: 768px) and (max-width: 995px) {

    .menu > li {
        width: 91px;
    }
    .menu > li:first-child {
        width: 91px;
    }
    .menu > li:last-child {
        width: 92px;
    }
   
    .menu > li > a {
        font-size: .9em;
    }

    #hero .white-box {
        top: 30px;
        width: 130px;
    }
    .office-hours > p {
        font-size: 0.58em;
    }
        .office-hours > p > span{
    }


    .contact-front {
    background-position: -228px 0;
    min-height: 420px;
    overflow-wrap: break-word;
    }
    .appointment-btn {
        margin-left: 110px;
    }
    a.button-blue-small {
    padding: 6px 7px;
    font-size: .85em;
}

}

/* Mobile Landscape Size to Tablet Portrait */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .menu > li {
        width: 101px;
    }
    .menu > li:first-child {
        width: 101px;
        border-bottom-left-radius:0;
        border-top-left-radius:28px;
    }
    .menu > li:nth-child(4) {
        width: 102px;
        margin-right: 0;
        border-top-right-radius:28px;
     }
    .menu > li:nth-child(5) {
        width: 101px;
        border-bottom-left-radius:28px;
     }
    .menu > li:last-child {
        width: 102px;
        margin-right: 0;
        border-bottom-right-radius:28px;
    }

    .menu > li > a {
        font-size: .9em;
    }
   
    .img-topright {
        display: none;
    }
    #hero {
        background-position: right bottom !important;
        margin-left: 20px;
        margin-right: 20px;
        padding-left: 0;
        padding-right: 0;
    }
    #hero .bar-menu, #hero .white-box {
        display: none;
    }

    .contact-front {
    background-position: -415px 0;
    padding-left: 30px;
    min-height: 280px;
    }
    .appointment-btn {
        margin-left: 20px;
        margin-right: 20px;
        display: block;
    }
    .appointment-btn .number {
        background-position: -100px -200px;
    }

}


    


/* Mobile Portrait Size to Mobile Landscape Size */
@media only screen and (max-width: 479px) {

    .menu > li, .menu > li:first-child, .menu > li:last-child {
          width: 84px;
    }
    .menu > li:first-child {
        border-bottom-left-radius:0;
        border-top-left-radius:28px;
    }

    .menu > li:nth-child(3) {
        border-top-right-radius:28px;
        margin-right: 0;
     }
    .menu > li:nth-child(4) {
        margin-right: 1px;
     }
    .menu > li:nth-child(6) {
        margin-right: 0;
     }
    .menu > li:nth-child(7) {
        border-bottom-left-radius:28px;
     }
    .menu > li:last-child {
        width: 171px;
        margin-right: 0;
    }

    .menu > li > a {
        font-size: .8em;
    }

    .img-topright {
        display: none;
    }
    #hero {
        background-position: right bottom !important;
        margin-left: 20px;
        margin-right: 20px;
        padding-left: 0;
        padding-right: 0;
    }


    #hero .bar-menu, #hero .white-box {
        display: none;
    }
    .contact-front {
    background-position: -847px 0;
    min-height: 330px;
    }
    .appointment-btn {
        margin-left: 0;
        display: block;
    }
    .appointment-btn .number {
        background-image: none;
        padding: 0;
    }

}
