/*
Theme Name:   SA Desktop Theme
Theme URI:    http://surgeonsadvisor.com/
Description:  Desktop Theme from Surgeons Advisor.
Author:       Ronald Lau
Author URI:   http://surgeonsadvisor.com/
Template:     genesis
Version:      1.0.0
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  sa-desktop
*/
@import url('../genesis/style.css');
/* =Theme customization starts here
-------------------------------------------------------------- */
*,
input[type="search"] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:         border-box;
}
:focus, :active {
    border: 0;
    outline : 0;
}
body {
    background: #fff;
    color: #555;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}
body > div {
    font-size: 18px;
}
body.home {
    background-color: #f2f2f2;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}
h3 {
    color: #a26e18;
}
a {
    color: #000;
    font-weight: 400;
    text-decoration: none;
}
.content-row {
	clear: both;
}
.content-row .wrap {
	margin: 0 auto;
	max-width: 1140px; /*Website width*/
	padding: 40px 0
}

.home .site-inner {
    max-width: 100%;
    padding: 0;
}
.site-inner, .wrap {
    max-width: 1140px;
}
.widget-title {
    color: #946519;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: .070rem;
}


button, input[type="button"], input[type="reset"], input[type="submit"], .button {
    background: rgba(114,73,132,1);
    background: -moz-linear-gradient(top, rgba(114,73,132,1) 0%, rgba(72,45,84,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(114,73,132,1)), color-stop(100%, rgba(72,45,84,1)));
    background: -webkit-linear-gradient(top, rgba(114,73,132,1) 0%, rgba(72,45,84,1) 100%);
    background: -o-linear-gradient(top, rgba(114,73,132,1) 0%, rgba(72,45,84,1) 100%);
    background: -ms-linear-gradient(top, rgba(114,73,132,1) 0%, rgba(72,45,84,1) 100%);
    background: linear-gradient(to bottom, rgba(114,73,132,1) 0%, rgba(72,45,84,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#724984', endColorstr='#482d54', GradientType=0 );
    border-color: #ffffff;
    border-style: double !important;
    border: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .1rem;
    line-height: normal;
    padding: 16px 24px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    width: auto;
}
.button-1 {
    margin-bottom: 15px;
    /*background: #764F0F;*/
    background: #d09939;
    background: -moz-linear-gradient(top, #d09939 0%, #9e6d18 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, #d09939), color-stop(100%, #9e6d18));
    background: -webkit-linear-gradient(top, #d09939 0%, #9e6d18 100%);
    background: -o-linear-gradient(top, #d09939 0%, #9e6d18 100%);
    background: -ms-linear-gradient(top, #d09939 0%, #9e6d18 100%);
    background: linear-gradient(to bottom, #d09939 0%, #9e6d18 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d09939', endColorstr='#9e6d18', GradientType=0 );
}
.button-1:hover, .button-1:focus {
    background: #d09939;
    background: -moz-linear-gradient(top, #d09939 0%, #9e6d18 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, #d09939), color-stop(100%, #9e6d18));
    background: -webkit-linear-gradient(top, #d09939 0%, #9e6d18 100%);
    background: -o-linear-gradient(top, #d09939 0%, #9e6d18 100%);
    background: -ms-linear-gradient(top, #d09939 0%, #9e6d18 100%);
    background: linear-gradient(to bottom, #d09939 0%, #9e6d18 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d09939', endColorstr='#9e6d18', GradientType=0 );
}
input[type="text"], select {
    border: 1px solid #ddd !important
}
/* Header
-------------------------- */
.site-header {
    min-height: 154px;
    border-bottom: 0;
    background-color: #fff;
    margin: 0 -15px;
    padding: 0 15px;
}
.site-header .wrap {
    padding: 10px 0;
}
.site-header .social .fa {
    border: 0;
    color: #fff;
    font-size: 14px;
    margin-left: 5px;
    padding: 8px 0 6px;
    text-align: center;
    width: 2em;
    position: relative;
    top: -7px;
}
.site-header .button {
    margin-bottom: 15px;
    letter-spacing: 0;
}
.fa-facebook {
    background-color: #3b5998;
}
.fa-twitter {
    background-color: #4099FF;
}
.fa-pinterest {
    background-color: #C92228;
}
.fa-youtube {
    background-color:  #cd201f;
}
.fa-google-plus {
    background-color:  #d34836;
}

.fa-instagram {
    background: radial-gradient(circle farthest-corner at 32% 106%,#ffe17d 0,#ffcd69 10%,#fa9137 28%,#eb4141 42%,transparent 82%),linear-gradient(135deg,#234bd7 12%,#c33cbe 58%);
}
#custom_html-10 {
    font-size: 15px;
    color: #764F0F;
    line-height: 20px;
    margin-right: 20px;
}
#custom_html-10,
#custom_html-11 {
    float: right;
}
.site-header .widget-area {
    width: 780px;
    margin-top: 8px;
}
.title-area {
    width: 320px;
}
.header-image .site-title>a {
    min-height: 113px;
}



/* Navigation 
-------------------------- */
.nav-primary {
    margin: 0 -15px;
    border: 0;
    background: #d09939;
background: -moz-linear-gradient(top, #d09939 0%, #b58531 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, #d09939), color-stop(100%, #b58531));
background: -webkit-linear-gradient(top, #d09939 0%, #b58531 100%);
background: -o-linear-gradient(top, #d09939 0%, #b58531 100%);
background: -ms-linear-gradient(top, #d09939 0%, #b58531 100%);
background: linear-gradient(to bottom, #d09939 0%, #b58531 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d09939', endColorstr='#b58531', GradientType=0 );
}
.genesis-nav-menu a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 18px 20px;
    letter-spacing: .1rem;
    font-weight: 400;
}
.genesis-nav-menu a:hover, .genesis-nav-menu a:focus, .genesis-nav-menu .current-menu-item>a, .genesis-nav-menu .sub-menu .current-menu-item>a:hover, .genesis-nav-menu .sub-menu .current-menu-item>a:focus {
    color: #ffffff;
    text-decoration: none;
    background-color: #9e7833;
}
.genesis-nav-menu .sub-menu {
    border: 0;
}
.genesis-nav-menu .sub-menu a {
    background: #9e7833;
    color: #fff;
    letter-spacing: 0;
    padding: 13px;
    width: 235px;
    border: 0;
}
.genesis-nav-menu .sub-menu .sub-menu {
    margin: -40px 0 0 235px !important;
}
.genesis-nav-menu .sub-menu .sub-menu a {
    background: #9e7833;
    color: #fff;
    letter-spacing: 0;
    padding: 13px;
    position: relative;
    width: 235px;
}
.genesis-nav-menu .sub-menu a:hover {
    background:#86601a; 
    color:#fff !important;
}
.genesis-nav-menu .sub-menu .sub-menu {
    margin: -50px 0 0 235px;
}


/* Common Styles */
.genesis-nav-menu {
    text-align: center;
}

/* Footer
------------------------ */
.site-prefooter {
    background-color: #333333;
    color: #aaa;
    font-size: 85%;
}
.site-prefooter a {
    color: #fff;
}
.site-prefooter .widget-title {
    color: #fff;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
}
.site-prefooter img {
    margin-bottom: 50px;
}
.site-prefooter .social .fa {
    background-color: #c58f2f;
    border-radius: 50%;
    border: 0;
    color: #fff;
    font-size: 25px;
    margin-right: 7px;
    padding: 13px 0px 12px;
    text-align: center;
    width: 2em;
}
.site-footer {
    background-color: #ffffff;
    border-top: 0;
    color: #000;
    font-size: 12px;
    margin: 0 -15px;
    padding: 15px 0;
    text-align: center;
    text-transform: uppercase;
}
.site-footer a {
    color: #79510e;
    text-decoration: none;
}
.site-footer .col-md-4:first-child {
    text-align: left;
}
.site-footer .col-md-4:first-child a {
    color: #000;
}

/* Gravity Form
=================== */
/* Validations */
body .gform_wrapper ul li.gfield {margin-top: 0 !important; padding-top: 0;}
body .gform_wrapper .top_label div.ginput_container {margin-top: 0 !important;}
.gform_wrapper div.validation_error { display: none !important; }
.gform_wrapper {margin: 0;}
.gform_wrapper .gfield_description.validation_message {color:#ff0000; font-size: 12px; font-weight: 500; padding: 0 !important; position: absolute; right: 10px; top: 7px; width: auto !important; z-index: 9;}
.gform_wrapper .gfield_error {padding: 0px !important;}
.gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label, .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container {margin: 0; padding: 0;}
.gform_wrapper li.gfield.gfield_error, .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {border: 0 !important; background-color: transparent !important; position: relative;}
.gform_wrapper ul.gform_fields li.gfield.gfield_error+li.gfield.gfield_error {margin-top: 12px;}
.gform_wrapper .left_label input.large, .gform_wrapper .left_label select.large, .gform_wrapper .left_label textarea.large, .gform_wrapper .left_label textarea.medium, .gform_wrapper .left_label textarea.small, .gform_wrapper .right_label input.large, .gform_wrapper .right_label select.large, .gform_wrapper .right_label textarea.large, .gform_wrapper .right_label textarea.medium, .gform_wrapper .right_label textarea.small {width: 100% !important;}
.gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {font-size: 15px !important;}

/* Small Contact Form */
#gform_wrapper_1 .left_label input.large, .gform_wrapper .left_label select.large, .gform_wrapper .left_label textarea.large, .gform_wrapper .left_label textarea.medium, .gform_wrapper .left_label textarea.small, .gform_wrapper .right_label input.large, .gform_wrapper .right_label select.large, .gform_wrapper .right_label textarea.large, .gform_wrapper .right_label textarea.medium, .gform_wrapper .right_label textarea.small {
    width: 100%;
}
#gform_wrapper_1 ul.gform_fields li.gfield {
    padding-right: 0 !important;
    max-width: 100% !important;
}
#gform_wrapper_1 label {
    font-size: 80%;
    margin-top: 0 !important;
}
#field_1_5 label {
    float: none !important;
    width: 100% !important;
}
#field_1_5 .ginput_container {
    margin: 0 !important;
    width: 100%;
}
#input_1_6 {
    width: 100% !important;
}
#field_1_6 .gfield_label {
    display: none;
}
#field_1_6 .ginput_container {
    margin: 0 !important;
    width: 100% !important;
}
#input_1_7 {
    margin: 0 !important;
}
#field_1_7 .gfield_label {
    display: none;
}
div#input_1_7 iframe {
    transform:scale(0.82);
    -webkit-transform:scale(0.82);
    transform-origin:0 0;
    -webkit-transform-origin:0 0;
}
#gform_wrapper_1 textarea.large {
    height: 100px;
    font-size: 15px;
}
#field_1_7 .gfield_description.validation_message {
    left: 0;
    margin: 0 !important;
    top: 65px;
    font-size: 55%;
}
#gform_wrapper_1 .gform_footer.left_label {
    margin: 0 !important;
    width: 100% !important;
}

input#gform_submit_button_1 {
    width: 100%;
    padding: 16px 24px;
    font-size: 14px;
}

/* Front page styles */
.featured-slider {
    text-align: center;
    background-color: #fff;
    min-height: 280px;
    padding: 0;
}

/* Welcome
------------------------- */
.featured-1 {
    text-align: center;
    font-size: 24px;
    font-weight: 300;
}
.featured-1 .wrap:before {
    width: 100%;
    background-image: url(/wp-content/uploads/2018/05/divider.png);
    background-position: top center;
    background-repeat: no-repeat;
    height: 5px;
    padding-top: 30px;
}
.featured-1 .wrap:after {
    width: 100%;
    background-image: url(/wp-content/uploads/2018/05/divider.png);
    background-position: bottom center;
    background-repeat: no-repeat;
    height: 5px;
    padding-top: 30px;
}
.featured-1 h1 {
    font-size: 30px;
    line-height: 35px;
    color: #6b447c;
    padding-bottom: 10px;
    font-weight: 400;
}

/* Procedures
------------------------- */
.featured-2 {
    background-color: #fff;
    margin: 0 -15px;
}

/* Core Pages */
.banner-featured-image {
    background-position: center;
    background-size: cover;
    height: 450px;
    margin: 0 -15px;
    position:relative;
}

.banner-featured-image > img {
    margin: 0;
}

.banner-featured-image > .wrap {
    position: absolute;
    top: 0;
    width: 1200px;
    margin: 0 auto;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 0;
}

.banner-featured-image .row {
    text-align:center;
    display:flex;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 450px;
}

.banner-featured-image .row > div:first-child {
    align-self: center;
}

.banner-featured-background {
    margin: 0 -15px;
    position: relative;
    min-height: 120px;
    background-position: center;
    background-repeat: repeat;
    border-bottom: 1px solid #d7d7d7;
    background-image: url(/wp-content/uploads/2018/05/whirlpool.png);
}

.banner-featured-background .wrap {
    padding: 20px 0;
}

.content {
    width: 830px;
}
.sidebar-primary {
    float: right;
    width: 270px;
}
#text-12 button {
    border-color: #855812 !important;
}
#titlebar {
    margin-bottom: 15px;
    font-size: 14px;
}
#titlebar a {
    color: #734c0c;
}
.entry-title {
    margin-bottom: 20px;
}
.entry-content a {
    color: #88590b;
    text-decoration: underline;
}
ul.related-procedures {
    display: table;
    margin-bottom: 30px;
}
ul.related-procedures li {
    width: 42%;
    float: left;
}

/* Sidebar Form
----------------------- */
#gform_wrapper_2, #categories-3 {
    padding: 15px;
    border: 1px solid #efebe8;
    background-color: #f1f1f1;
}
#gform_wrapper_2 ul.gform_fields li.gfield {
    margin-bottom: 0 !important;
    max-width: 100% !important;
    padding-right: 0 !important;
}
#field_2_4 .gfield_label {
    display: block;
}
#gform_wrapper_2 textarea {
    height: 100px !important;
}
#gform_wrapper_2 .gform_footer.top_label {
    padding: 0 !important;
}
#gform_wrapper_2 .gfield_description.validation_message {
    top: 40px;
}
li#field_2_8 .gfield_label {
    display: none;
}
div#input_2_9 iframe {transform:scale(0.77);-webkit-transform:scale(0.77);transform-origin:0 0;-webkit-transform-origin:0 0;}
input#gform_submit_button_2 {
    width: 100%;
    margin: 0 !important;
}
li.gchoice_2_4_1, li.gchoice_2_4_2 {
    font-size: 14px !important;
    font-weight: 500;
    line-height: 25px !important;
    width: 85%;
}
input#choice_2_4_1, input#choice_2_4_2 {
    vertical-align: super;
}
li#field_2_5, li#field_2_7 {
    font-size: 0.85em;
    line-height: normal;
    font-weight: bold;
    color: #000;
}
li#field_2_9 .validation_message {
    position: relative;
    left: 0;
    top: -11px !important;
    font-size: 60%;
}
#field_2_9{ padding: 0 !important}
.hpcaptcha  {max-width:247px !important;}
.gfield_captcha {float:left; padding-right:10px;}
.gfield_captcha_container {width: 100%;margin: 0 !important;}
.math_medium {float:right;}
.gform_wrapper .math_medium input  {width: 95px !important;}

#field_2_8 .gfield_description.validation_message {
    right: 0px !important;
    top: 3px !important;
}

h1.archive-title {
    line-height: 1.2;
    margin: 0 0 10px;
    font-size: 3.6rem;
    margin-bottom: 20px;
}
h2.entry-title a {
    text-decoration: none;
    font-size: 3rem;
}
h2.entry-title a:hover,
h2.entry-title a:focus {
    color: #666;
}
.entry-header .entry-meta {
    border-bottom: 1px solid #eee;
    font-size: 12px;
    font-weight: 400;
    margin: 0 0 10px;
    padding: 0;
    text-transform: uppercase;
}
.entry-meta a {
    font-weight: 700;
}
.archive-description, .author-box {
    margin-bottom: 30px;
}
.entry-footer {
    background: #eee;
    padding: 10px 20px;
    padding: .625rem 1.25rem;
    margin-top: 1.6rem;
}

/* Sidebars menus */
.sidebar section.widget_nav_menu ul li:before,
.sidebar section.widget_pgsa-taxonomy-list ul li:before,
.sidebar section.widget_vgsa-taxt-list ul li:before {
    content: '\f105';
    font-family: 'fontAwesome';
    position: absolute;
    left: 0;
    top: 0;
}
.sidebar section.widget_nav_menu ul li,
.sidebar section.widget_pgsa-taxonomy-list ul li,
.sidebar section.widget_vgsa-taxt-list ul li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: .2rem;
    padding-bottom: 0;
    list-style-type: none !important;
    font-size: 1.5rem;
}
.sidebar section.widget_nav_menu ul,
.sidebar section.widget_pgsa-taxonomy-list ul,
.sidebar section.widget_vgsa-taxt-list ul {
    margin-left: 15px;
}
.sidebar section.widget_pgsa-taxonomy-list ul.children li {
    margin-left: 0;
}

/* Sidebar realself */
section#text-36 iframe {
    height: 240px;
}


/* Photo gallery */
.photogallery-template-widget-search {
    margin-bottom: 30px;
}
.photogallery-template-widget-search .pgsa-widget-search-container .pgsa-widget-box {
    max-width: 250px;
}
.pgsa-taxonomy-permalink {
    text-align: center;
    margin: 0 !important;
}
.tax-procedures article.type-photo-gallery, .search-results.post-type-archive-photo-gallery article.type-photo-gallery {
    margin-bottom: 50px;
    border-bottom: solid 1px #ccc;
    padding-bottom: 15px;
}
.pgsa_shortcode_caption {
    text-align: center;
    width: 100%;
    display: block;
    font-size: 90%;
}
figure.photogallery-shortcode-multipatient-picture {
    margin: 0;
}
.photogallery-shortcode-multipatient-cta {
    margin-bottom: 0 !important;
}
.photogallery-post-disclaimer {
    text-align: center;
    font-size: small;
    margin-bottom: 30px;
}
.photogallery-procedure-permalink a {
    text-decoration: none !important;
}
.photogallery-patient-navigation {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 24px;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.photogallery-patient-navigation:last-child {
    margin-top: 20px;
}
.doctor-info-picture {
    width: 12% !important;
}
.pgsa-gallery-photos-container h3{

    text-transform: capitalize !important;
}
.photogallery-shortcode-multipatient-picture.col-xs-12 {
    text-align: center;
}
.patient-info-procedure_page {
    width: 50% !important;
}

/* Safari 10.1+ */
@media not all and (min-resolution:.001dpcm) { @media
{
    .tax-procedures .pgsa-photo {
      width: 48.9% !important;
    }
    .post-type-archive-photo-gallery .photos-before-after {
        width: 48.9% !important;
    }
}}


#pgsa-widget-search select {
    padding: 10px;
    width: 100%;
    font-size: 80%;
}
.pgsa-widget-search-button {
    margin-right: 0 !important;
    max-width: 150px;
}
#pgsa-widget-search-submit {
    padding: 12px 35px;
    position: relative;
    background: #a26e18;
    width: 100%;
    color: #fff;
}
.pgsa-gallery-photos-container h3 {
    font-size: small;
    font-weight: 400;
}
.photogallery-patient-disclaimer {
    font-size: small;
}

/* Calculator */
#calculator_small {
    width:362px;
    height:131px;
    display:block;
    margin:0;
    padding:0;
    background:url("http://www.carecredit.com/payment_calculator/images_small/payment-calculator.png") repeat-y top left;
}
#calculator_small * {
    margin:0;
    padding:0;
    color:#333333 !important;
    font-size:9px !important;
    vertical-align:middle;
    text-align:left;
    clear:none;
}
#calculator_small #searchArea {
    width:240px;
    margin-left:10px;
    padding-top:95px;
    padding-left:8px;
}
#calculator_small #input-amount-field {
    width:144px;
    height:18px;
    margin-top:2px;
    padding-left:2px;
    line-height:15px;
    border:1px solid #d3d4d6;
}
#calculator_small #submit-field {
    width:79px;
    margin:2px 0 0 1px;
}

.error404 main.content {
    text-align: center;
}
.error404 .search-form {
    width: 100%;
}
.entry-content .search-form input[type=search] {
    height: 51px;
    padding: 10px;
    width: 60%;
}

@media only screen and (max-width: 1280px){
  .site-inner, .wrap {
    max-width: 100% !important;
    width: 1200px !important;
  }
}

@media only screen and (max-width: 1200px){
  .site-container {
    width: 1200px;
  }
}

.category-43 .breadcrumb_last {display: none;}

.video-wrap .widget-wrap {
    padding: 2px 9px;
    border: 2px solid #c38e30;
    margin-bottom: 25px;
}

.video-wrap .widget-wrap .widget-title {
    margin: 0;
	text-align: center;
    padding: 9px;
    font-size: 19px;
}

.text-center { text-align: center; }

h4.text-center { 
    color: #946519;
    font-size: 25px;
    font-weight: 400;
    letter-spacing: .07rem;
    margin-top: 45px;
    margin-bottom: 25px;    
}

.genesis-nav-menu a {
    padding: 14px;    
}


#categories-3 li{
	margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid;
	
}
#categories-3 li a:hover{ color:#946519;}