/*
Theme Name:        Reverie (Casa Palmera)
Theme URI:         http://themefortress.com/reverie/
Description:       Reverie is a versatile HTML5 responsive WordPress framework based on ZURB's Foundation.
Version:           3.0.0
Author:            Zhen Huang
Author URI:        http://themefortress.com/
*/


/* ---- Basic Styles ---- */

body { background-color:#004068; }

#container { background:0px 0px 10px rgba(0, 0, 0, 0.3); background:#fff url(images/header-bg.png) top center no-repeat; padding:15px; }
#main, #top-row { padding:0; }


/* Nicolas Gallagher's micro clearfix */
.clear { *zoom:1; }
.clear:before, .clear:after { content:""; display:table; }
.clear:after { clear:both; }
.footer-logo-center{    width: 300px;margin: 0 auto;}
.footer-logo-center a{    float: left;}
.Logo-new{padding: 35px 0;background: #114168;}

/* ---- Header & Top Bar Styles---- */
header #logo { padding:10px 10px 15px; }
.header-right { margin-right:10px; }
.header-links .small-links { font-size:13px; padding-top:15px; margin-right:5px; }
.header-links .small-links a { color:#001624; font-weight:400 !important; border:0 !important; }
.header-links .small-links a:after { content:"  |  "; font-size:11px; position:relative; top:-2px; padding:0px 2px; }
.header-links .large-links { padding-top:15px; clear:right; }
.header-links .large-links a { color:#013556; border:0 !important; font-weight:400 !important; font-size:23px; }
.header-links .large-links a:after { content:"  |  "; font-size:15px; position:relative; top:-3px; font-weight:400; padding:0px 5px; font-size:23px; }
.header-links { text-shadow:0px 1px 0px rgba(255, 255, 255, 0.8); }
.header-links .small-links a:last-child:after, header .large-links a:last-child:after { content:"" !important; }
.top-bar, .top-bar ul li.name, .top-bar, .top-bar ul li.name:hover { background:#094c78; background:-moz-linear-gradient(top, #094c78 0%, #013556 100%); background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #094c78), color-stop(100%, #013556)); background:-webkit-linear-gradient(top, #094c78 0%, #013556 100%); background:-o-linear-gradient(top, #094c78 0%, #013556 100%); background:-ms-linear-gradient(top, #094c78 0%, #013556 100%); background:linear-gradient(to bottom, #094c78 0%, #013556 100%); filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#094c78', endColorstr='#013556', GradientType=0); }
.top-bar { position:relative; margin-bottom:15px !important; text-shadow:0px -1px 0px rgba(0, 0, 0, 0.6); text-transform:uppercase; }
.top-bar ul > li a:not(.button) { padding:0 11px; font-weight:400 !important; font-size:14px !important; color:#fff !important; opacity:1 !important; }
.top-bar ul.left { padding-left:5px; }
.top-bar ul > li.has-dropdown .dropdown li.has-dropdown > a:after { top:8px; }
.top-bar a:hover, .top-bar ul > li:hover, .top-bar ul > li.active { background:#094c78; }
.top-bar ul > li.has-dropdown .dropdown { padding-top:5px; background:#e2e9fa; }
.top-bar ul > li.has-dropdown .dropdown li { padding-top:0; padding-bottom:0; background:#e2e9fa; }
.top-bar ul > li.has-dropdown .dropdown li a { padding:7px 10px; font-size:15px !important; text-transform:capitalize; color:#476c85 !important; text-shadow:0px 1px 0px rgba(255, 255, 255, 0.7); border-bottom:1px solid #F6F8FC; box-shadow:inset 0px -1px 0px #C8D1E8; }
.top-bar ul > li.has-dropdown .dropdown li { box-shadow:0px 3px 5px rgba(0, 0, 0, 0.3); }
.top-bar ul > li.has-dropdown .dropdown li a:hover, .top-bar ul > li.has-dropdown .dropdown li a:active, .top-bar ul > li.has-dropdown .dropdown li a:focus { background:#c8d1e8 !important; }
.top-bar ul > li.has-dropdown .dropdown li:last-child { padding-bottom:5px; }
.top-bar ul > li.has-dropdown .dropdown li:last-child a { box-shadow:none !important; border-bottom:0 !important; }
.top-bar ul > li.has-dropdown a { padding-right:23.75px; }
.top-bar ul > li.has-dropdown a:after { margin-right:11px; border-width:4px; margin-top:-2px; }
.toggle-dropdown { position:absolute; top:0; right:0; display:none !important; }

@media only screen and (max-width:1000px) {
   .toggle-dropdown { display:block !important; }
    header .logo-box { text-align:center; width:100% !important; }
    header .header-links { display:none !important; }
    .top-bar .bar-large-links a:not(.button) { font-size:17px !important; }
    .top-bar .bar-large-links { padding:0px 10px; }
    .top-bar .bar-small-links { float:right; padding-right:10px; }
    .top-bar { background:none !important; }
    .top-bar ul li.has-dropdown.moved .back.title a:before { border-color:transparent #476c85 transparent transparent; }
    .top-bar ul li.has-dropdown .dropdown li.has-dropdown > a:after { border-color:transparent transparent transparent #476c85; top:17px; }
    .top-bar ul > li.has-dropdown a:after { margin-top:-4px !important; }
    .top-bar ul.left { background:#20597f; padding-left:0; }
    .top-bar ul { height:45px !important; }
    .top-bar section ul { height:auto !important; }
    .top-bar ul li.has-dropdown.moved .back.title h5 { padding-left:0 !important; margin:0 !important; }
    .top-bar ul li.has-dropdown.moved .back.title h5 a { font-weight:800 !important; padding-left:40px !important; font-size:17px !important; padding-top:15px; padding-bottom:15px; }
    .top-bar ul > li.has-dropdown .dropdown li { box-shadow:none !important; }
    .top-bar ul > li.has-dropdown .dropdown a { padding:9px 20px !important; }
    .top-bar ul > li.has-dropdown .dropdown { padding-top:0px; }
    .top-bar ul li.has-dropdown .dropdown li.has-dropdown.moved .dropdown { z-index:100 !important; }
}

@media only screen and (max-width:767px) {
    .bar-small-links { display:none !important; }
}

@media only screen and (max-width:480px) {
    .top-bar ul li.name h1 { text-align:center; }
    .bar-large-links a:not(:first-child) { display:none !important; }
    .top-bar .bar-large-links a:not(.button) { font-size:21px !important; }
}
.top-bar li.toggle-topbar { border-left:2px solid #094C78; box-shadow:0px 0px 8px rgba(0, 0, 0, 0.3); background:#022942; background:rgba(0, 0, 0, 0.3); width:100px !important; /*60px*/
}


/* ADDED BY SAM C. FOR TABLET MENU UPDATE */
.top-bar ul li.toggle-topbar span { color:#fff; padding-left:10px; }
.top-bar.expanded li.toggle-topbar { background:#20597f !important; }
.top-bar li.toggle-topbar:hover { background:#094c78 !important; }
.top-bar .left .divider:first-child { display:none !important; }
.top-bar-links { display:none; }
.top-bar-links a { display:inline-block !important; width:auto !important; }
.top-bar ul li.name h1 { padding-right:100px; }
.top-bar ul li.name h1 a { text-transform:capitalize; padding:0 8px !important; }

@media only screen and (max-width:1000px) {
    header .large-links { display:none; }
    .top-bar-links { display:block; }
    .top-bar .divider { display:none !important; }
}


/* ----   Custom Slider Styles---- */
.home-slider-wrapper { position:relative; overflow:visible; }
.home-slider-wrapper .orbit-slider .slide { display:none; }
.home-slider-wrapper .orbit-slider.orbit .slide { display:block; }
.home-slider-wrapper .orbit-slider, .home-slider-wrapper .orbit-slider .slide { height:330px !important; overflow:hidden; }
.home-slider-wrapper .orbit-slider .slide { position:absolute; -webkit-background-size:cover; -moz-background-size:cover; -o-background-size:cover; background-size:cover; background-position:center center; background-color:#fff; border-radius:10px; padding:20px 0 0 20px; }
.home-slider-wrapper .orbit-slider .slide h2, .home-slider-wrapper .orbit-slider .slide p { color:#fff; font-weight:bold; }
.home-slider-wrapper .orbit-slider .slide h2 { text-shadow:1px 1px 1px rgba(0, 0, 0, 0.4); }

@media handheld, only screen and (max-width:767px) {
    .home-slider-wrapper .orbit-slider, .home-slider-wrapper .orbit-slider .slide { height:280px !important; }
    .home-slider-wrapper .orbit-slider { margin-bottom:15px !important; }
    .orbit-wrapper .orbit-bullets { display:none !important; }
}

@media handheld, only screen and (max-width:480px) {
    .home-slider-wrapper .orbit-slider, .home-slider-wrapper .orbit-slider .slide { height:180px !important; }
}
.orbit-wrapper .orbit-bullets { bottom:-43px; }
.orbit-wrapper .orbit-bullets li { background:#fff !important; width:13px; height:13px; margin:0 4px; border:1px solid #9e9e9e; border-radius:10px; box-shadow:0px 0px 2px rgba(0, 0, 0, 0.2); }
.orbit-wrapper .orbit-bullets li.active { background:#dedede !important; }
.orbit-caption { text-align:left !important; padding:10px !important; font-style:italic; font-weight:600; font-family:'Open Sans', "Helvetica Neue", "Helvetica", Arial, Verdana, sans-serif; font-size:14px !important; font-size:1.4rem !important; text-shadow:0px -1px 0px #000; }
.timer { display:none !important; }


/* ----   Homepage Gravity Form---- */



/* Basic Elements */
.button { font-size:13px; font-family:"Open Sans", "Helvetica Neue", "Helvetica", Arial, Verdana, sans-serif !important; background:#ecbb00; background:-moz-linear-gradient(top, #ecbb00 0%, #af8b00 100%); background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #ecbb00), color-stop(100%, #af8b00)); background:-webkit-linear-gradient(top, #ecbb00 0%, #af8b00 100%); background:-o-linear-gradient(top, #ecbb00 0%, #af8b00 100%); background:-ms-linear-gradient(top, #ecbb00 0%, #af8b00 100%); background:linear-gradient(to bottom, #ecbb00 0%, #af8b00 100%); filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#ecbb00', endColorstr='#af8b00', GradientType=0); border:1px solid #b59100; border-radius:2px; color:#27475c; padding:8px 15px; text-shadow:0px 1px 0px rgba(255, 255, 255, 0.4); box-shadow:inset 0 1px 0 rgba(255,255,255,0.3); }
.button:hover { color:#111; }
.secondary.button { color:#fff; background:rgb(9, 76, 120); background:-moz-linear-gradient(top, rgba(9, 76, 120, 1) 0%, rgba(7, 56, 89, 1) 99%); background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(9, 76, 120, 1)), color-stop(99%, rgba(7, 56, 89, 1))); background:-webkit-linear-gradient(top, rgba(9, 76, 120, 1) 0%, rgba(7, 56, 89, 1) 99%); background:-o-linear-gradient(top, rgba(9, 76, 120, 1) 0%, rgba(7, 56, 89, 1) 99%); background:-ms-linear-gradient(top, rgba(9, 76, 120, 1) 0%, rgba(7, 56, 89, 1) 99%); background:linear-gradient(to bottom, rgba(9, 76, 120, 1) 0%, rgba(7, 56, 89, 1) 99%); filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#094c78', endColorstr='#073859', GradientType=0); border:1px solid #004069; text-shadow:0px -1px 0px rgba(0, 0, 0, 0.4); }
.seconday.button:hover { color:#fff; }
.big-button { text-shadow:0px -1px 0px rgba(0, 0, 0, 0.4); padding:12px 10px 17px !important; }
.big-button img { float:left; }
.big-button a { color:#fff; font-weight:400; font-size:15px; border-bottom:1px solid #ccc; }
.big-button h3 { color:#fff; font-size:21px; font-weight:700; margin-bottom:6px; }
.transparent.big-button a { color:#476C85; border-bottom:1px solid #2ba6cb; }
.transparent.big-button h3 { color:#476C85; padding-top:15px !important; }
.transparent.button { padding:0 !important; background-color:#fff !important; background-image:none !important; text-shadow:none !important; box-shadow:none !important; border:0 !important; }
.no-title h6 { display:none; }
.with-margin { margin-bottom:5px; }
.no-margin { margin:0px; }
.phone-box { padding:13px; }
.phone-box h1 { margin-bottom:8px; }
.phone-box h6 { font-size:12px; }
.phone-box h1, .phone-box h6 { font-weight:700; color:#27475c; }
.footer-social a { padding-left:8px; }
.footer-social a:first-child { padding-left:0; }

@media handheld, only screen and (max-width:767px) {
    .footer-social { text-align:left !important; margin-top:10px; }
}
.button.radius { border-radius:8px; }
.panel.radius, .boxbg { border-radius:10px; text-shadow:0px 1px 0px #fff; background:#eceee6; border-radius:1px solid #d0d1cb; }
.boxbg {
    padding:15px; margin-bottom:15px; background:#ebece4;
    background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ViZWNlNCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNmY3ZjMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); background:-moz-linear-gradient(top, #ebece4 0%, #f6f7f3 100%); /* FF3.6+ */
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #ebece4), color-stop(100%, #f6f7f3)); /* Chrome,Safari4+ */
    background:-webkit-linear-gradient(top, #ebece4 0%, #f6f7f3 100%); /* Chrome10+,Safari5.1+ */
    background:-o-linear-gradient(top, #ebece4 0%, #f6f7f3 100%); /* Opera 11.10+ */
    background:-ms-linear-gradient(top, #ebece4 0%, #f6f7f3 100%); /* IE10+ */
    background:linear-gradient(to bottom, #ebece4 0%, #f6f7f3 100%); /* W3C */
    filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#ebece4', endColorstr='#f6f7f3', GradientType=0); /* IE6-8 */
}


/* Footer */
footer#content-info { margin-bottom:-15px; }
.upper-footer { background:#edf2f6; padding:20px 0 15px; text-shadow:0px 1px 0px rgba(255, 255, 255, 0.8); }
.upper-footer h2 { font-size:20px; font-weight:400; color:#000; }
.upper-footer a { color:#0066b3; }
.main-footer { background:#a6b7c4; padding:15px 0; }
.main-footer, .main-footer a { color:#fff; }


/* ----   Landing Page Template---- */
body.page-template-page-landing-php { background-color:#dceef9; }
.page-template-page-landing-php .row { width:1000px; }
.page-template-page-landing-php .row .row { width:auto; }
.page-template-page-landing-php #container > header > .row { padding:0 10px; margin-top:-15px; margin-bottom:15px; background:#094c78; border-bottom:1px solid #dceef9; }
.page-template-page-landing-php #container > header #logo, .page-template-page-landing-php .header-links { padding:25px 0 15px; }
.page-template-page-landing-php .header-links { padding-top:20px; padding-right:15px; text-shadow:none; }
.page-template-page-landing-php .header-links h2, .page-template-page-landing-php .header-links h3, .page-template-page-landing-php .header-links p { margin:5px 0; font-family:'Palatino Linotype', 'Book Antiqua', Palatino, serif !important; }
.page-template-page-landing-php .header-links h2 { color:#eace6b; font-size:28px; }
.page-template-page-landing-php .header-links h3 { color:#fff; font-size:23px; margin-top:8px; }
.page-template-page-landing-php .header-links p { color:#c5d8e7; font-size:17px; margin:8px 0 0; }
.page-template-page-landing-php .splash { margin:-15px 0 15px; position:relative; padding:16px; }
.page-template-page-landing-php .splash .testimonial { position:absolute; bottom:0; left:0; padding:15px 15px 5px 24px; }
.page-template-page-landing-php .splash .testimonial p { text-shadow:0 2px 4px rgba(0, 0, 0, 0.6); color:#fff; font-size:18px; font-weight:600; }
.page-template-page-landing-php .splash .testimonial p span { color:#c5d8e7; font-size:21px; }
.page-template-page-landing-php .splash .form-wrapper { float:right; background:#222; background:rgba(0, 0, 0, 0.8); border-radius:5px; padding:16px; }
.page-template-page-landing-php .splash .form-wrapper h2 { text-align:center; font-weight:800; font-size:21px; color:#fff; margin-bottom:5px; }
.page-template-page-landing-php .splash .form-wrapper p { font-weight:800; color:#c5d8e7; font-size:13px; line-height:1.3; margin-bottom:6px; }
.page-template-page-landing-php .splash .gform_wrapper { max-width:100%; margin:0; }
.page-template-page-landing-php .splash .gform_wrapper #field_1_1 .gfield_label, .page-template-page-landing-php .splash .gform_wrapper .gfield_label, .page-template-page-landing-php .splash .gform_wrapper .ginput_container label, .page-template-page-landing-php .splash .gform_wrapper .ginput_complex .ginput_right label:after, .page-template-page-landing-php .splash .gform_wrapper .ginput_complex .ginput_left label:after { color:#e5e5e5; font-size:14px; font-weight:800; }
.page-template-page-landing-php .splash .gform_wrapper .gfield_label, .page-template-page-landing-php .splash .gform_wrapper .ginput_container label { margin:3px 0; }
.page-template-page-landing-php .splash .gform_wrapper .ginput_complex .ginput_right label, .page-template-page-landing-php .splash .gform_wrapper .ginput_complex .ginput_left label { position:absolute; top:-1px; }
.page-template-page-landing-php .splash .gform_wrapper .ginput_complex .ginput_right label:after, .page-template-page-landing-php .splash .gform_wrapper .ginput_complex .ginput_left label:after { content:" Name"; }
.page-template-page-landing-php .splash .gform_wrapper .gfield { position:relative; }
.page-template-page-landing-php .splash #gform_1 { margin-bottom:0; }
.page-template-page-landing-php .splash .gform_wrapper .ginput_complex .ginput_right, .page-template-page-landing-php .splash .gform_wrapper .ginput_complex .ginput_left { min-height:auto !important; width:48%; }
.page-template-page-landing-php .splash .gform_wrapper .ginput_complex .ginput_right { margin-left:2%; }
.page-template-page-landing-php .splash .gform_wrapper #field_1_2 .gfield_label { visibility:hidden; }
.page-template-page-landing-php .splash .gform_wrapper .top_label input.large, .page-template-page-landing-php .splash .gform_wrapper .top_label select.large, .page-template-page-landing-php .splash .gform_wrapper .top_label textarea.textarea, .page-template-page-landing-php .splash .gform_wrapper .ginput_complex input[type=text] { width:100% !important; font-size:13px; padding:4px 5px; line-height:18px; height:26px; margin-bottom:8px; }
.page-template-page-landing-php .splash .gform_wrapper .top_label textarea.textarea { height:50px !important; }
.page-template-page-landing-php .splash .gform_wrapper #field_1_3, .page-template-page-landing-php .splash .gform_wrapper #field_1_4 { clear:none; width:48%; }
.page-template-page-landing-php .splash .gform_wrapper #field_1_3 { float:left; }
.page-template-page-landing-php .splash .gform_wrapper #field_1_4 { float:right; margin-left:2%; }
.page-template-page-landing-php .splash .gform_wrapper .gform_footer { padding:7px 0 0; text-align:center; }
.page-template-page-landing-php .splash .gform_wrapper .gform_footer .gform_button { font-size:14px; padding:8px 17px; background:#eace6b; color:#333; }
.page-template-page-landing-php .gfield_description.validation_message { display:none; }
.page-template-page-landing-php #main { padding:0px 10px; }
.page-template-page-landing-php #content ol, .page-template-page-landing-php #content ul { list-style:square; margin-left:22px !important; margin-bottom:15px; }
.page-template-page-landing-php #content ol li, .page-template-page-landing-php #content ul li { margin-bottom:6px; }
.page-template-page-landing-php #content h1, .page-template-page-landing-php #content h2, .page-template-page-landing-php #content h3, .page-template-page-landing-php #content h4, .page-template-page-landing-php #content h5 { margin-top:15px; margin-bottom:7px; line-height:1.3; }
.page-template-page-landing-php #content p { margin-bottom:18px; color:#444; }
.page-template-page-landing-php #content p, .page-template-page-landing-php #content ol, .page-template-page-landing-php #content ul, .page-template-page-landing-php #content li { font-size:14px; line-height:1.5; }
.page-template-page-landing-php #content h1 { font-size:27px; font-weight:300; color:#476c85; line-height:1.2; }
.page-template-page-landing-php #content h2 { font-size:20px; font-weight:800; color:#555; }
.page-template-page-landing-php #content h3 { font-size:20px; font-weight:300; }
.page-template-page-landing-php #content h4 { font-size:17px; font-weight:800; color:#555; }
.page-template-page-landing-php #content h5 { font-size:16px; font-weight:400; color:#476c85; }
.page-template-page-landing-php #content h6 { font-size:13px; font-weight:800; }
.quote-style { font-style:italic; line-height:1.35; margin-top:0 !important; }
.page-template-page-landing-php .page-template-page-landing-php .main-footer .columns, .main-footer .vcard, .page-template-page-landing-php .secondary-footer .columns { font-size:13px; }
.page-template-page-landing-php .main-footer, .page-template-page-landing-php .secondary-footer { padding:0 35px; }
.page-template-page-landing-php .main-footer { padding-top:20px; padding-bottom:20px; }
.page-template-page-landing-php .secondary-footer { margin-bottom:-120px !important; padding-top:4px; padding-bottom:12px; }
.page-template-page-landing-php .secondary-footer a { color:#444; }

@media handheld, only screen and (min-width:768px) and (max-width:1000px) {
    .page-template-page-landing-php .splash .form-wrapper p { display:none; }
}

@media handheld, only screen and (max-width:768px) {
    .page-template-page-landing-php #container > header #logo, .page-template-page-landing-php .header-links { padding:16px 0 13px; }
    .page-template-page-landing-php .splash .form-wrapper { float:none !important; width:100%; }
}

@media handheld, only screen and (max-width:600px) {
    .page-template-page-landing-php #container > header > .row, .page-template-page-landing-php .splash, .page-template-page-landing-php #main { padding:0 15px; }
    .page-template-page-landing-php #main { padding-top:10px; padding-bottom:10px; }
    .page-template-page-landing-php .splash { padding-top:15px; padding-bottom:15px; }
    .page-template-page-landing-php .splash .form-wrapper p { display:none; }
}

@media handheld, only screen and (max-width:400px) {
    .page-template-page-landing-php .splash { padding:0 !important; border-radius:0; }
    .page-template-page-landing-php #main { padding:0px 5px; }
}


/* ---- Customized Adjustments of Foundation for WordPress ---- */
.top-bar ul.right .has-dropdown .dropdown { right:0px; }

header.contain-to-grid { margin-bottom:20px; }

#content { margin-bottom:30px; }


/* ---- Styling Basic WordPress Outputs ---- */
/* Global */
body, p { line-height:1.5; }
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, p, blockquote, th, td { font-size:15px; }
body, p, h4, h5, h6 { color:#6d6d6d; }
body, h1, h2, h3, h4, h5, h6, p { font-family:'Open Sans', "Helvetica Neue", "Helvetica", Arial, Verdana, sans-serif !important; font-weight:400; }
h1, h2, h3, h4, h5 { line-height:1.1; margin:0 0 10px; }
h1 { font-size:30px; color:#476c85; }
h2, h3, h4 { font-size:21px; color:#6d6d6d; }
a { color:#d2a12b; font-weight:400; }
a img { border:0; }

/* Add Divider for Listed Posts */
div.divider { background:url(images/divider.png) no-repeat center top; height:36px; margin:20px 0 27px; }

/* Add Class for Images */
img.alignright { float:right; margin-left:15px; }
img.alignleft { float:left; margin-right:15px; }
img.aligncenter { display:block; margin:18px auto; }


/* Add HTML5 Caption Class for Images */
figure.figure { margin:0 auto; -webkit-border-radius:3px; -moz-border-radius:3px; display:inline-block; }
figure.figure figcaption { padding:8px 10px; font-size:13px; font-size:1.3rem; line-height:18px; color:#555; }
figure.alignright.figure { float:right; margin:0 0 18px 18px; }
figure.alignleft.figure { float:left; margin:0 18px 18px 0; }

/* Form */
select { height:32px; border:1px solid #cccccc; box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1); border-radius:2px; }


/* Sidebar Adjustment */
.sidebar-section { padding-bottom:20px; }


/* Footer Nav */
.footer-section { padding-bottom:10px; padding-top:20px; font-size:13px; font-size:1.3rem; font-weight:normal; }
.footer-nav li { display:block; float:right; padding-left:3%; margin-bottom:0; }


/* Breadcrumb Adjustment */
ul.breadcrumbs li span { padding-left:3px; }
ul.breadcrumbs li a { padding-left:0; }


/* Comment Textarea Adjustment */
#respond textarea { height:100px; }


/*  --------    Adjust Foundation 3 Pagination Style for WordPress    ----- */
ul.page-numbers { display:block; margin-left:0 !important; font-size:14px; }
ul.page-numbers li { float:left; display:block; background:none !important; color:#999; margin-left:5px; padding-left:0 !important; }
ul.page-numbers li a, ul.page-numbers li span { display:block; padding:4px 8px; color:#555; }
ul.page-numbers li:hover a, ul.page-numbers li a:focus { background:#e6e6e6; }
ul.page-numbers li.unavailable a { cursor:default; color:#999; }
ul.page-numbers li.unavailable:hover a, ul.page-numbers li.unavailable a:focus { background:transparent; }
ul.page-numbers li span.current { background:#2ba6cb; color:#fff; font-weight:bold; cursor:default; }


/*  ------    Tweaks    ------  */
.staff h2 { margin-bottom:0; }
.staff strong.focus { font-weight:600; display:block; margin-bottom:17px; }
.staff h2, .staff a { color:#436377; }
.staff h2, .staff h2 a { font-weight:600; }
.staff-page hr { margin-top:10px; }


/* Lists */
.post-box ul { list-style-position:outside; margin-left:15px; }
.post-box ul li { background:url('https://casapalmera.com/wp-content/uploads/2012/10/bullet1.png') 0px 8px no-repeat; list-style-type:none; padding-left:15px; }
.post-box ol { list-style-position:outside; margin-left:30px; }

#assessment li, #gform_2 ul li { list-style-type:none; background:none; }


/* Gravity Forms Basic */
.post-box .gform_wrapper { margin-top:0; }
.post-box .gform_wrapper h3.gform_title { margin-top:0; font-weight:600; }
.post-box .gform_wrapper label.gfield_label+div.ginput_container { margin-top:0 !important; }
.post-box .gform_wrapper .gform_fields li.gfield { margin-bottom:10px; }
.post-box .gform_confirmation_message { padding:15px 20px; background-color:#f5d987; font-weight:600; color:#555; border-radius:5px; }

/* Gravity Forms Multipage Fix */


/* Intake Page Gravity Form  */
#gform_2 { width:50%; }
#gform_2 input, #gform_2 select { font-size:13px; }
#gform_2 input { padding-left:4px; }
#gform_2 input[type="submit"] { padding-right:4px; }
#gform_2 select { padding:6px 4px; height:32px; }
#gform_2 .gsection { margin:30px 0; }
#gform_2 #field_2_27 { margin-top:12px; }
#gform_2 .ginput_right { float:left; width:200px; }
#gform_2 .ginput_left { float:left; width:200px; }
#gform_2 .top_label li.gfield.gf_left_half { margin:0 0 8px; width:200px; }
#gform_2 .top_label li.gfield.gf_right_half { clear:right !important; float:left; width:200px; }


/* misc */
.home .entry-title { display:none; }

#virtual_tour_iframe { border:none; }

.lt-ie9 .has-dropdown { padding-right:0 !important; }
.lt-ie9 .has-dropdown > a { padding-left:10px !important; }

.video_container { position:relative; padding-bottom:56.25%; padding-top:30px; height:0; overflow:hidden; margin:10px 0 25px 0; }
.video_container iframe, .video_container object, .video_container embed { position:absolute; top:0; left:0; width:100%; height:100%; }

.testimonials-widget .panel { margin-bottom:0; }

/* Spanish page styles */
.fright, .fleft, .imgborder { margin:10px 0px 10px 10px; border:1px solid #c1c1b1; padding:8px; }
.fright { float:right; }
.fleft { float:left; }

#lang_sel_list { width:auto; height:auto; font-family:'Open Sans', "Helvetica Neue", "Helvetica", Arial, Verdana, sans-serif !important; font-weight:400; z-index:0; }
#lang_sel_list ul { width:auto; border:none; }
#lang_sel_list li { width:auto; float:left; border:none; }
#lang_sel_list a, #lang_sel_list a:visited { border-style:none; border-width:0; font-size:12px; }
.vcard { float:right; }
.adr { display:inline; }



/* Blog styles */
body.single-post header { margin-bottom:25px; }

body.single-post time, p.author { font-style:italic; font-size:12px; }

form#gform_3 ul.gfield_radio { list-style-type:none !important; }
.post-box #gform_3 ul li { background:none; }
.gform_wrapper #gform_page_3_3 .ginput_complex input { margin-bottom:0 !important; }
.gform_wrapper #gform_page_3_3 .ginput_complex .ginput_cardinfo_right input.ginput_card_security_code { float:left; }
.gform_wrapper #gform_page_3_3 .ginput_complex .ginput_cardinfo_right span.ginput_card_security_code_icon { margin:5px 0; top:0; }
.gform_wrapper #gform_page_3_3 .ginput_complex select { padding:7px 0; }
.gform_wrapper #gform_page_3_3 .ginput_complex label { margin-bottom:12px !important; margin-top:0 !important; }
.testimonials-widget-testimonial { margin:0 !important; }
.testimonials-widget-testimonials blockquote { margin:0; padding:0; border:none; }


/* Custom fixes */
.widget .panel div h5 { margin:20px 0 5px 0; }
.bx-wrapper .bx-pager { display:none !important; }


/* Added by Tony for Customer Reviews */
.fn { font-size:19px; }
.dtreviewed { display:none !important; }


/* Patient Reviews */
#content.reviews hr { margin:30px 0 35px; border-top-width:2px; }
#content.reviews hr.half { margin:18px 0 20px; border-top-width:1px; max-width:320px; }
#content.reviews h1 { margin-top:10px; text-align:center; }
#content.reviews h2 strong { font-weight:600; color:#00032c; }

#content.reviews .ratings { float:left; line-height:1; font-size:26px; margin:-3px 10px 0 0; }
#content.reviews .ratings i { color:#ddd; text-shadow:0 0 5px #eee; margin-right:3px; }
#content.reviews .ratings i.active { color:#fec206; text-shadow:0 0 5px #f5d987; }
#content.reviews .show-form { font-weight:600; opacity:0.85; margin-bottom:0; }
#content.reviews .show-form:hover, #content.reviews .show-form:active { opacity:1; }
#content.reviews .review-form { padding-top:5px; }

[data-readmore-toggle] { font-weight:700; }


/* Added by Tony for Contextual Related Post 
a.crp_title {
    display: inline;
    margin: 23px;
}



img.crp_thumb {
	
display: inline;
    margin: 8px;

}

*/

/*CTA Position Fixed Top*/
@media (max-width: 600px) {
    .phone-btn { 
        font-size: 17px !important;
    }
    .above-btn {
        font-size: 15px !important;
    }
.verify-btn { 
        font-size: 17px !important;
    }

}

@media (max-width: 1000px) {
    header.site-header .header-links { 
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        background-color: #ffac2fcc;
        display: block !important;
        z-index: 1;
    }
    .header-links .above-btn { 
        display: inline-block !important;
        margin-top: 13px !important;
        margin-bottom: 13px !important;
        color: white !important;
    }
    .logo-box { 
        margin-top: 150px;
    }
    .nav-toggle { 
        top: 88px !important;
    }
}