@import url(http://fonts.googleapis.com/css?family=Arvo);
@import url(http://fonts.googleapis.com/css?family=Open+Sans);

* { padding: 0; margin: 0;  box-sizing: border-box; -webkit-box-sizing: border-box; font-family: 'Open Sans', sans-serif;}

html, body {
    height: 100%;
}

body {
    overflow-x: hidden;
}

header > nav > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

header {
    border-bottom: 1px solid #bd8118;
    width: 100%;
    z-index: 99;
    background-color: #fff;
    position: absolute;
    height: 60px;
}


header > nav > ul > li{
    display: inline;
    margin: 20px;
}
header > nav > ul > li > a {
    text-decoration: none;
    font-family: 'Arvo', serif;
    text-transform: uppercase;
    font-size: 16px;
    color: #333333;
    position: relative;
}

#menu a:before {
    content: '';
    width: 0;
    background-color: #bd8118;
    height: 1px;
    position: absolute;
    bottom: 0;
    transition: width linear 0.5s; 
    -webkit-transition: width linear 0.5s;
}

#menu a:hover {
    color: #9a2224;
}

#menu a:hover:before {
    width: 120%;
}

header > nav {
    position: absolute;
    bottom: 0;
    right: 0;
    text-align: right;
    width: 70%;
}

.logo, nav
{
    display: inline-block;
    margin: 10px 40px;
}

#logo_text, #logo_img {
    display: block;
    position: absolute;
}

#logo_text {
    left: 138px;
    bottom: 60px;
}

#logo_img img {
    opacity:0;
}

.bx-wrapper img {
    width: 100%;
}

.bx-wrapper {
    margin: 0;
}

section {

    background-color: #fff;
    width: 100%;
    border-top: 1px solid #bd8118;
    position: relative;
    padding: 0 150px;
    margin-bottom: 100px;
    min-height: 420px;
}

section h2 {
    margin-top: 20px;
}

.home {
    width: 70%;
    float: left;
    margin-top: -80px;
}

.slicknav_menu {
    display: none;
}

section h1 {
    margin: 40px 0;
    font-family: 'Arvo', serif;
    font-size: 48px;
    color: #bd8118;
    border-bottom: 2px solid #bd8118;
    line-height: 35px;
    padding-left: 150px;
    margin-left: -150px;
    display: inline-block;
    padding-right: 50px;
}

section p {
    font-family: 'Open Sans', sans-serif;
    font-size: 19px;
    margin: 20px 0;
    text-align: justify;
}

section a {
    text-decoration: none;
    color: #bd8118;
}

section ol {
    margin-left: 100px;
    font-size: 19px;
}

section ol.roman {
    list-style: upper-roman;
}

section ol li {
    margin: 10px 0;
}

section ul 
{
    margin-left: 80px;
    font-size: 19px;
    list-style-image: url(/public/images/big_disc.png);
}

section ul.arrows {
    list-style-image: url('/public/images/arrow.png');
}

section ul.lines {
    list-style-image: url('/public/images/line.png');
}

section ul.small_discs, section ul li.small_discs {
    list-style-image: url('/public/images/small_disc.png');
}

section ul.none {
    list-style: none;
}

section p.indent_small {
    font-size: 16px;
    margin-left: 80px;
    margin-top: -15px;
}
section ul li.indent_small {
    font-size: 16px;
}


section > ol > li > ul {
    margin-left: 20px;
}

section > ol > li > ul > li > ul {
    margin-left: 20px;
}

footer > nav > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

footer > nav > ul > li {
    display: inline;
}

footer > nav > ul > li > a {
    text-decoration: none;
    font-family: 'Arvo', serif;
    text-transform: uppercase;
    font-size: 16px;
    color: #fff;
}

footer span {
    margin: 0 30px;
}

footer {
    color: #fff;
    width: 100%;
    background-color: #9a2224;
    text-align: center;
    padding: 20px;
    clear: both;
}

footer a {
    color: #fff;
}

footer p {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    width: 30%;
    margin: 0 auto;
    padding: 10px;
}

.sidebar {
    text-align: center;
    background-color: #e6e6e6;
    float: right;
    width: 30%;
    padding-bottom: 10px;
}

.sidebar .entry, .casenotes .entry {
    width: 100%;
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 100px;
}

.sidebar .hidden {
    display: none;
}

.sidebar .entry_info, .casenotes .entry_info {
    width: 70%;
    vertical-align: top;
}

.sidebar img, .sidebar .entry_info,
.casenotes img, .casenotes .entry_info {
    display: inline-block;
}

.sidebar .entry > img, .casenotes img {
    border: 2px solid #9a2224;
}

.sidebar > img {
    display: block;
    margin: 0 auto;
    padding: 20px;
}

.sidebar h2 {
    font-family: 'Arvo', serif;
    font-size: 26px;
    margin: 20px;
}

.sidebar .entry_info, .casenotes .entry_info {
    padding-left: 20px;
}

.sidebar .entry_info h3, .casenotes h3 {
    color: #9a2224;
    font-weight: bold;
    font-size: 22px;
    line-height: 17px;
    margin-bottom: 10px;
}

.sidebar .entry_info p, .casenotes p {
    font-size: 14px;
}

section .casenotes .entry {
    width: 50%;
    display: inline-block;
    vertical-align: top;
}

.sidebar > h2 > span {
    display: none;
}
.sidebar > h2.desk_controls > span {
    display: inline;
}

.entry_footer {
    color: #9a2224;
    margin-top: 10px;
}

.entry_footer span {
    float: right;
}

.contact {
    width: 70%;
    margin: 0 auto;
}

.short_form {
    width: 50%;
    display: inline-block;
    box-sizing: border-box;
    padding: 10px;
}

.short_form > input{
    width: 100%;
    background-color: #e6e6e6;
    padding: 10px;
    border: 1px solid #d7d7d7;
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;
}

.long_form {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
}

.long_form textarea {
    width: 100%;
    background-color: #e6e6e6;
    padding: 10px;
    border: 1px solid #d7d7d7;
    height: 175px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    box-sizing: border-box;
}

input[type=submit] {
    margin: 10px;
    padding: 10px 40px;
    background: #9a2224;
    color: #fff;
    border: none;
    text-transform: uppercase;
    cursor: pointer;
}

p.centered {
    color: #808080;
    text-align: center;
}


.ui-selectmenu-button.ui-widget.ui-state-default.ui-corner-all,
.ui-selectmenu-button.ui-widget.ui-state-default.ui-corner-top {
    width: 400px !important;
}

.ui-corner-all.ui-corner-top.ui-corner-right, .ui-corner-tr,
.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl,
.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl,
.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br {
    border-radius: inherit !important;
}

.search_bar > input {
    padding: 7px 20px;
    background-color: #992122;
    border: 1px solid #992122;
    color: #fff;
    vertical-align: top;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default,
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
    background: #e6e6e6 !important;
}

.search_bar > span {
    min-width: 10px;
}

.ui-widget {
    font-family: 'Open Sans', sans-serif !important;
}

.ui-state-default .ui-icon {
    background-image: url('../img/ui-icons_888888_256x240.png');
}

.slicknav_btn {
    background-color: #e6e6e6;
    font-size: 20px;
}

.slicknav_btn img{
    margin-right: 10px;
}

.slicknav_menu a{
    color: #5c5354;
    text-decoration: none;
    font-size: 20px;
}

.slicknav_menu a:hover{
    color: #9a2224;
}

.slicknav_menu ul {
    text-align: center;
    list-style: none;
}

.slicknav_menu li {
    background-color: #e6e6e6;
    padding: 10px 0;
    border-bottom: 1px solid #c2c2c2;
}

.slicknav_menu > a {
    width: 100%;
    display: block;
    padding: 5px 0 5px 40px;
}

.slicknav_menu .slicknav_menutxt {
    color: #000;
    font-weight: bold;
    width: 100%;
}

.entry_footer a {
    text-decoration: none;
    color: #9a2224;
}

.bx-wrapper .bx-viewport {
    border: none;
}

.bx-viewport {
    position: static !important;
}

.bx-wrapper .bx-prev {
    background:  url("../img/left_arrow.png") no-repeat rgba(0, 0, 0, 0);
}

.bx-wrapper .bx-prev:hover {
    background:  url("../img/left_arrow_hover.png") no-repeat rgba(0, 0, 0, 0);
}


.bx-wrapper .bx-next {
    background:  url("../img/right_arrow.png") no-repeat rgba(0, 0, 0, 0);
}

.bx-wrapper .bx-next:hover {
    background:  url("../img/right_arrow_hover.png") no-repeat rgba(0, 0, 0, 0);
}

.bx-wrapper .bx-controls-direction a {
    height: 43px;
    width: 42px;
    margin: 0;
}

.bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto {
    bottom: 30px;
}

.bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto {
    right: 0;
    width: 30%;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover, .bx-wrapper .bx-pager.bx-default-pager a.active {
    background: none repeat scroll 0 0 #fff;
}

.bx-wrapper .bx-pager.bx-default-pager a {
    background: none;
    border: 1px solid white;
}

.banner {
    height: 650px;
    background-size: cover;
    background-position: top;
    display: block;
}

.logo .hidden {
    display: none;
}

.search_bar {
    text-align: center;
}

.table {
    width: 100%;
    display: table;
    margin-top: 20px;
}

.table .mobileh {
    display: none;
}

.table .row {
    width: 100%;
    display: table-row;
    text-align: center;
}

.table .row span {
    display: table-cell;
}

.table .row.heading {
    background: #e6e6e6;
}


.table .row.heading span .arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-image: url(../img/up.png);
    background-size: cover;
    margin-left: 10px;
    vertical-align: middle;
}

.table .row.heading span.sort .arrow {
    background-image: url(../img/down.png);
}

.table .row span {
    border: 1px solid #e6e6e6;
    padding: 10px;
    color: #7f7f7f;
    height: 100%;
}

.table .heading span {
    padding: 5px 0;
    text-transform: capitalize;
    font-weight: bold;
}

.table .heading span a {
    color: 0
}

table.notes {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

table.notes, table.notes th, table.notes td {
    border: 1px solid #000;
}

table.notes th, table.notes td {
    padding: 10px;
}

table.notes tbody tr:first-child, table.notes tbody tr td:first-child {
    background: #d9d9d9;
    font-weight: bold;
}

@media screen and (max-width: 1350px) { 
    header > nav > ul > li {
        margin: 15px;
    }

    header > nav > ul > li > a {
        font-size: 15px;
    }
}

@media screen and (max-width: 1205px) {
    .logo, nav {
        display: block;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
        text-align: center;
        padding: 10px;
    }

    header > nav {
        position: static;
        width: 100%;
        text-align: center;
    }

    header {
        height: auto;
    }

    .home {
        width: 100%;
    }
    
    .sidebar {
        float: none;
        display: block;
        width: 100%;
        padding: 0;
    }
    
    .sidebar .entry {
        width: auto;
        display: inline-block;
        text-align: center;
        width: 250px;
        margin: 10px;
        vertical-align:top;
    }
    
    .sidebar .entry_info {
        display: block;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .sidebar .hidden {
        display: none;
    }

    footer p {
        width: 70%;
    }
    
    footer span {
        margin: 0 12px;
    }
    
    section {
        margin-top: -100px;
        padding: 0 100px;
    }
    
    .ui-selectmenu-button.ui-widget.ui-state-default.ui-corner-all, .ui-selectmenu-button.ui-widget.ui-state-default.ui-corner-top {
        width: 300px !important;
    }
    
    section {
        margin-bottom: 10px;
        padding-bottom: 40px !important;
    }
}


@media screen and (max-width: 970px) {
    .ui-selectmenu-button.ui-widget.ui-state-default.ui-corner-all, .ui-selectmenu-button.ui-widget.ui-state-default.ui-corner-top {
        width: 250px !important;
    }
    section {
        padding: 0 70px;
    }

    section .casenotes img, section .casenotes .entry_info {
        display: block;
    }

    section .casenotes img {
        margin-bottom: 10px;
    }

    section .casenotes .entry_info {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    section .casenotes .entry {
        padding: 10px;
        margin: 0;
    }

    .contact {
        width: 80%;
    }
}

@media screen and (max-width: 800px) {
    
    .banner, .bx-wrapper .bx-viewport {
        height: 400px !important;
        overflow: hidden !important;
    }
    
    .banner > img {
        height: 400px;
        width: auto;
    }
    
    header {
        height: auto;
    }

    .slicknav_icon {
        display: none;
    }

    .slicknav_menu {
        padding: 0;
        background: #e6e6e6;
    }

    .slicknav_menu .slicknav_menutxt {
        text-shadow: none;
    }

    .logo .hidden {
        display: block;
    }

    #logo_text, #logo_img {
        display: none;
    }

    .home {
        margin: 0;
    }
    
    
    section {
        position: static;
        margin: 0;
        min-height: none;
    }
    
    .slicknav_menu {
        display: block;
    }
    
    #menu {
        display: none;
    }
        
    footer > nav > ul {
        width: 100%;
    }
    
    footer {
        padding: 0;
        margin: 0;
    }
    
    nav {
        margin: 0;
        padding: 0;
        width: 100%;
    }
    
        
    .bx-wrapper img {
        height: 400px;
        width: auto;
    }
    
    footer > nav > ul > li {
        display: block;
        border-bottom: 1px solid #ad3537;
        width: 100%;
        padding: 10px;
    }
    
    footer p {
        width: 100%;
    }
    
    footer span {
        display: none;
    }

    .table .row.heading {
        display: none;
    }
    
    .table .mobileh {
        display: inline-block;
        font-weight: bold;
        margin-right: 20px;
    }

    .table {
        display: block;
    }

    .table .row span {
        display: block;
        width: 100%;
        border: none;
        padding: 0;
    }

    .table .row {
        display: inline-block;
        width: calc(50% - 10px);
        text-align: left;
        border: 1px solid #e6e6e6;
        padding: 10px;
        margin: 5px;
        vertical-align: top;
    }
    .contact {
        width: 90%;
    }
}
@media screen and (max-width: 600px) {
    
    section {
        padding: 0 50px;
    }
    
        
    .ui-selectmenu-button.ui-widget.ui-state-default.ui-corner-all,
    .ui-selectmenu-button.ui-widget.ui-state-default.ui-corner-top, .search_bar > input {
        width: 100% !important;
    }
    
    .home .search_bar > input {
        width: 95% !important;
        margin-left: 4px;
    }
    
        
    .short_form, .long_form {
        width: 100%;
    }
    
    .long_form textarea {
        width: 100%;
    }

    .contact {
        width: 100%;
    }
    
    .table .row {
        width: 100%;
        margin: 5px 0;
    }

    section .casenotes .entry {
        width: 100%;
    }
    
}

@media screen and (max-width: 550px) {
   
    .desk_controls {
        display: none;
    }
    .sidebar {
        text-align: center;
    }
    
    .sidebar > h2 > span {
        display: inline;
    }   
    
    .sidebar > h2 > span > img {
        cursor: pointer;
    }
    
    .sidebar .left {
        float: left;
    }
    
    .sidebar .right {
        float: right;
    }
    
    .sidebar .entry {
        display: none;
    }
    
    .sidebar .entry.active {
        display: inline-block;
        margin-bottom: 30px;
    }
    
    .banner > img {
        height: 400px;
        width: auto;
    }
    
}


@media screen and (max-width: 420px) {
    .logo > a > img {
        width: 100%;
    }
}   

@media screen and (max-width: 360px) {
    section {
        margin: 0;
        padding: 10px;
    }
    
    section p {
        font-size: 16px;
        padding: 10px;
    }
    
    section ol {
        font-size: 16px;
        margin-left: 40px;
    }
    
    p img {
        width: 100% !important;
        height: auto !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    section h1 {
        padding-left: 160px;
    }
}

