h1{
    margin-top:0
}

header{
    padding-bottom:25px
}

#mainContent{
    max-width:100%;
    padding-top:20px;
    
    background: #ede9ea; /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VkZTllYSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
    background: -moz-linear-gradient(top,  #ede9ea 0%, #ffffff 30%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ede9ea), color-stop(30%,#ffffff)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #ede9ea 0%,#ffffff 30%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #ede9ea 0%,#ffffff 30%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #ede9ea 0%,#ffffff 30%); /* IE10+ */
    background: linear-gradient(to bottom,  #ede9ea 0%,#ffffff 30%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ede9ea', endColorstr='#ffffff',GradientType=0 ); /* IE6-8 */
}

/*#subpageContent{
    width: 960px;
    margin: 30px auto;
    background-color: #f7f4f4;
    border: 1px solid #979797;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    min-height: 514px;
}*/

hr {
    height: 0;
    border-top: 1px dashed #000;
    background-color: transparent;
    margin: 15px auto;
}

h2 {
    color:#393939;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
}

.img-right{
    float: right;
    padding: 0 0 20px 20px;
}

.notes{
    font-size: 10px;
}


/* BEGIN: Fee Schedule ------------------------------------ */
#tables-left,
#tables-right{
    width:48%
}
#tables-left{
    float: left;   
}
#tables-right{
    float: right;   
}


/* BEGIN: Testimonials ------------------------------------ */
#testimonials .btn{
    display: block;
    margin: auto;
    width: 300px;
}
.testimonial {
    border-bottom: 1px solid #CACACA;
    box-shadow: 0 1px 0 #FFFFFF;
    display: none;
    margin: 25px 0;
    overflow: hidden;
    padding-bottom: 25px;
}
.contentLeft {
    float: left;
    text-align: center;
    width: 150px;
}
.contentLeft .name{
    display:block;
    font-weight:bold
}
.contentLeft .location{
    color:#777
}

.contentRight {
    background: #F5F5F5;
    border: 1px solid #D5D5D5;
    position: relative;
    float: right;
    margin-left: 17px;
    padding: 0 0 11px;
    width: 485px;
}
.contentRight:after, .contentRight:before { right: 100%; top: 30px; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; }
.contentRight:after { border-color: rgba(245, 245, 245, 0); border-right-color: #F5F5F5; border-width: 20px; margin-top: -20px; }
.contentRight:before { border-color: rgba(213, 213, 213, 0); border-right-color: #D5D5D5; border-width: 21px; margin-top: -21px; }

.contentRight span.quote {
    display: block;
    font-family: Georgia;
    font-style: italic;
    min-height: 115px;
    padding: 35px;
}
.contentRight span.quote q{
    color:#393939;
    font-weight:normal;
    text-align:left;
    font-style:normal;
    line-height: 1.4;
    margin:0;
    width:100%
}

/*ul#testimonials li{
    background:none;
    float: left;
    margin: 0 0 20px;
    padding: 0 10px;
    width: 33%;  
}
ul#testimonials li span{
    display:block
}
.white-popup {
    position: relative;
    background: #FFF;
    padding: 20px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
}*/


/* BEGIN: Contact Us ------------------------------------ */
h2.message span {
    display: block;
    font-size: 12px;
    font-weight: normal;
    margin-top: 5px;
}

.subpage-content address{
    color:#000;
    text-align:left;
    float:none
}
.subpage-content address a{
    color:#0077b9
}
.subpage-content address a:hover{
    color:#59c4ff
}

.bg-danger{
    margin-bottom: 20px;
    padding: 20px;
}
.bg-danger ul{
    margin: 0;
    padding: 0 0 0 20px;
}

.bg-success{
    color:#2c551b;
    padding: 20px;
}
.bg-success h2{
    color:#2c551b;
    margin-top:0
}
.bg-success p{
    margin-bottom:0
}

label{
    color:#8E0000
}
label em{
    color:#000
}


/* BEGIN: Glossary ------------------------------------ */
#glossary span{
    display:block
}
#glossary p > strong{
    color:#8E0000
}





.subpage-content{
    width:70%
}

/* BEGIN: Responsiveness -------------------------------------------------------- */
@media all and (min-width: 768px) {
    
    /* Subpage Large Left Images */
    .subpage-content{
        float: right;
    }
    .subpage-img{
        float: left;
        height: 487px;
        width: 265px;   
    }
    
    #aboutus{
        background: transparent url(/images/img-aboutus-bg.png) no-repeat;
    }
    #services{
        background: transparent url(/images/img-services-bg.png) no-repeat;
    }
    #lifecare{
        background: transparent url(/images/img-lifecare-bg.png) no-repeat;
    }
    #feeschedule{
        background: transparent url(/images/img-feeschedule-bg.png) no-repeat;
    }
    #testimonial{
        background: transparent url(/images/img-testimonials-bg.png) no-repeat;
    }
    #contact{
        background: transparent url(/images/img-contact-bg.png) no-repeat;
    }
    #default-subpage{
        background: transparent url(/images/img-subpage-bg.png) no-repeat;
    }
}

@media (min-width: 600px) {
    header{
	    background:url(/images/hp-background.jpg) no-repeat 50% 0;
    }
}


@media all and (max-width: 913px) {
    .subpage-content{
        width: 64%;
    }
    
    /* Testimonials */
    .contentLeft{
        float:none;
        width:100%
    }
    .contentRight{
        float: none;
        margin-left: 0;
        margin-top: 30px;
        width: 100%;
    }
    
    .contentRight:after, .contentRight:before { bottom: 100%; left: 50%; top:auto; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; }
    .contentRight:after { border-color: rgba(245, 245, 245, 0); border-bottom-color: #F5F5F5; border-width: 20px; margin-left: -20px; }
    .contentRight:before { border-color: rgba(213, 213, 213, 0); border-bottom-color: #D5D5D5; border-width: 21px; margin-left: -21px; }
}
@media all and (max-width: 767px) {
    header {
        padding-bottom:0;
    }
    .subpage-content{
        width: 100%;
    }
}
@media all and (max-width: 599px) {
    
    /* Fee Schedule */
    #tables-left,
    #tables-right{
        float:none;
        width:100%
    }
    
    /* Testimonials */
    ul#testimonials li{
        width: 48%;
    }
}