ul,
ol {
    margin: 15px 0 15px 0;
}

.wrapper {
    padding-left: 16px !important;
    padding-right: 16px !important;
}


/**************/

#header {
    margin: 0 auto 28px;
}

.logo {
    float: left;
    display: block;
    width: 220px;
    height: auto;
    border-top: 5px solid #bc022a;
    padding: 0;
}

.logo a {
    padding: 38px 0 0 0;
}

#header #nav {
    width: auto;
    position: inherit;
    clear: none;
}

#header #nav ul li {
    position: relative;
}

#header #nav ul li:before {
    background: #007499;
    height: 18px;
    content: "";
    position: absolute;
    right: 0;
    display: block;
    top: 13px;
    z-index: 0;
    width: 2px;
}

#header #nav ul li ul li:before {
    display: none;
}

#header #nav ul li ul li a,
#header #nav ul li ul li a:hover,
#header #nav ul li ul li:hover a {
    box-shadow: none;
}

#header #nav ul li ul li a:hover,
#header #nav ul li ul li:hover a {
    color: #bc022a !important
}

#header #nav ul li ul li.current_page_item a {
    color: #bc022a;
}

#header #nav ul li a {
    padding: 10px 16px;
}

#header #nav ul li:hover a {
    border: 1px solid #d7d7d7;
    box-shadow: 1px -3px 6px rgba(0, 0, 0, 0.07);
    -khtml-box-shadow: 1px -3px 6px rgba(0, 0, 0, 0.07);
    -webkit-box-shadow: 1px -3px 6px rgba(0, 0, 0, 0.07);
    -moz-box-shadow: 1px -3px 6px rgba(0, 0, 0, 0.07);
    -ms-box-shadow: 1px -3px 6px rgba(0, 0, 0, 0.07);
    -o-box-shadow: 1px -3px 6px rgba(0, 0, 0, 0.07);
    background: #f7f7f7;
    z-index: 2;
}

#header #nav ul li:last-child {
    border-right: none;
}

#header #nav ul li ul {
    display: none;
}

#header #nav ul li:hover ul {
    display: block;
    position: absolute;
    top: 44px;
    left: 0;
    padding: 0;
}

#header #nav ul li.dropped {
    /*  margin: 0 -1px 0 -1px;
    top: -11px;
    left: -1px;*/
}

#header #nav ul li ul li {
    border-right: none;
}

#header #nav ul li>ul.sub-menu:after {
    bottom: -4px;
}

#header #nav ul li ul li.current-menu-item a {
    color: #bc022a;
}

.home #content {
    padding: 0px;
    background: none;
}

.home #content #content {
    padding: 30px 0 30px 0;
    background: #fff url(img/bg.jpg) left top repeat-x;
}

#content #content {
    padding: 0px;
    background: none;
}

#slideshow {
    margin: 0px 0 5px 0;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 0;
}

.entry-content section#content {
    padding: 30px 0 0 0;
}

.home #content h1+p a.viewAll,
.home #secondary h1+p a.viewAll,
.home #content h1+a.viewAll,
.home #secondary h1+a.viewAll {
    top: 0;
    color: #bc022a;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

.home #content h1+p a.viewAll:hover,
.home #secondary h1+p a.viewAll:hover,
.home #content h1+a.viewAll:hover,
.home #secondary h1+a.viewAll:hover {
    color: #ee0335;
}

.home #secondary h1 {
    float: left;
}

#secondary #members .member {
    min-height: 110px;
}


/* .site-main #secondary {
    padding: 0 0 0;
} */

.our-members p {
    margin: 0 0 20px 0;
}

.post,
.page {
    margin: 0;
}

#slideshow #theSlides figure figcaption h2 {
    color: #fff;
    text-transform: inherit;
}

#main h2,
#main h3 {
    color: #007499;
    font: 800 18px/30px "proxima-nova", Arial, "Helvetica Neue", Arial, sans-serif;
    text-transform: uppercase;
}

#main h2,
#main h3,
#main h4,
#main h5,
#main h6 {
    margin: 0;
    padding: 0;
}

#main .so-panel em {
    font-style: normal;
    display: block;
    padding: 0 0 15px 0;
}

#main .so-panel em strong {
    color: #000;
}

#main p#lead {
    font: 300 24px/34px "proxima-nova", Arial, "Helvetica Neue", Arial, sans-serif;
    margin-top: 0;
    color: #000;
}


/**** About page ******/


/* .content_full {
    min-width: 940px;
    padding: 30px 0 30px;
    background: #fff url(img/bg.jpg) left top repeat-x;
} */

#content .content-area {
    padding: 0;
}

.page-title {
    background: #007499;
    min-height: 170px;
    margin: 0 0 5px 0;
    padding-top: 75px;
    position: relative;
}

.page-title h1.entry-title {
    color: #fff;
    font: 300 40px "proxima-nova", Arial, "Helvetica Neue", Arial, sans-serif;
    z-index: 9;
    line-height: 40px;
}

.page-title .bg-image {
    position: absolute;
    top: 0;
    z-index: 0;
    left: 0;
    right: 0;
    background-size: cover;
    height: 150px;
    background-repeat: no-repeat;
}

.content_left {
    float: left;
    max-width: 594px;
    width: 100%;
}

#sidebar {
    float: right;
    max-width: 300px;
    width: 100%;
}
#sidebar .widget .testimonial{
    margin-top: 15px;
}
#sidebar #secondary {
    min-width: inherit;
    padding: 0 0 0 0;
    background: none;
}

#sidebar #secondary ul,
#sidebar #secondary li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#sidebar #secondary ul li {
    border-bottom: 1px solid #ebebeb;
    padding: 10px 0;
}

#sidebar #secondary ul li a {
    display: block;
    padding: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#sidebar #secondary #pageNav ul li a {
    padding: 7px 0;
}

#sidebar #secondary ul li .post-date {
    color: #999;
}

#sidebar #secondary #text-4 ul li a {
    display: block;
    color: #111;
    font: 300 18px "proxima-nova", Arial, "Helvetica Neue", Arial, sans-serif;
    text-decoration: none;
}

#sidebar #secondary #text-4 ul li a:before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 14px;
    text-indent: -999em;
    background: url(img/icons-bullets.png) no-repeat;
    margin-right: 10px;
}

#sidebar #secondary #text-4 ul li a:hover:before {
    background-position: -10px 0;
}

#sidebar #secondary #text-4 ul li a:hover,
#sidebar #secondary #text-4 ul li.current_page_item a {
    color: #bc022a;
}

#sidebar #secondary #text-4 ul li.current_page_item a {
    font-weight: 700;
}

#slideshow #theSlides figure figcaption {
    padding-left: 16px;
    padding-right: 16px;
}


/****** footer  ********/

.site-footer nav#footerNav ul.menu li {
    position: relative;
}

#header #nav ul li:last-child:before,
.site-footer nav#footerNav ul.menu li:last-child:before {
    display: none;
}

.site-footer nav#footerNav ul.menu li:before {
    background: #fff;
    height: 13px;
    content: "";
    position: absolute;
    right: 0;
    display: block;
    top: 2px;
    z-index: 999;
    width: 1px;
}

.site-footer nav#footerNav ul.menu li:first-child a {
    padding: 2px 14px 2px 0px;
}

.site-footer nav#footerNav ul.menu li a {
    padding: 2px 14px;
}

#sidebar .testimonial blockquote {
    color: #3c3c3c;
    font-size: 14px;
    line-height: 20px;
    margin: 0 0 20px;
    padding: 15px;
    background: #ececec;
}

#sidebar .testimonial blockquote:after {
    content: "";
    display: block;
    width: 21px;
    height: 16px;
    text-indent: -999em;
    background: url(img/bg-testimonial.jpg) no-repeat;
    position: absolute;
    left: 40%;
    bottom: -16px;
}

.testimonial p {
    margin: 0 0 30px 0;
}

.previous-link {
    float: left;
}

.next-link {
    float: right;
}

@media only screen and (max-width: 1024px) {
    #slideshow #theSlides figure figcaption {
        padding-left: 20px;
        padding-right: 20px;
    }
    .home #primary .wrapper {
        padding-left: 20px;
        padding-right: 20px;
    }
    .logo {
        width: 200px;
    }
      #secondary #members .member{
         width: 50%;
    }
}

@media only screen and (max-width: 960px) {
    .menu-toggle {
        display: block !important;
        float: right;
        margin: -70px 20px 0 0;
        text-indent: -9999px;
        height: 40px;
        width: 40px;
        background: none;
        border: 0;
        padding: 0;
        cursor: pointer;
    }
    .menu-toggle:hover {
        cursor: pointer;
    }
    .menu-toggle:focus {
        outline: none;
    }
    .menu-toggle div {
        width: 35px;
        height: 2px;
        background-color: #c21e43;
        margin: 10px 0;
    }
    #header .main-navigation .menu-main-container {
        display: none;
        background: #fff;
        margin: 0 0 0 0;
        padding: 20px;
    }
    #header #nav ul li:before {
        display: none;
    }
    #header #nav ul li .submenu-icon{
        position: absolute;
        right: 0;
        top: 1px;
        height: 43px;
        width: 43px;
        background: url(img/arrow.png) center center no-repeat;
        z-index: 9998;
    }
    #header #nav ul li:hover a{
        box-shadow: none;
    }
    #header #nav ul li:hover ul {
        padding-top: 6px;
    }
    #header .main-navigation .menu-main-container.active {
        display: block;
        width: 100%;
    }
    #header #nav ul li {
        width: 100%;
        display: block;
        float: none;
        clear: both;
    }
    #header #nav ul li .sub-menu {
        display: none;
        z-index: 998 !important;
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        padding-left: 20px !important;
        padding-bottom: 20px !important;
        box-shadow: none !important;
        width: 100% !important;
        background: none !important;
        border: 0px !important;
    }
    #header #nav ul li>ul.sub-menu:after {
        display: none;
    }
    #header #nav ul li>ul.sub-menu li a {
        width: 100%;
        border: 0px !important;
        background: none !important;
    }
    #header #nav ul li a {
        display: block;
    }
    #header #nav {
        width: 100%;
        position: absolute;
        clear: none;
        top: 135px;
        left: 0;
        padding: 0;
    }
    .content_left {
        float: none;
        max-width: none;
        width: 100%;
        margin: 0 0 30px 0;
    }
    #page,
    #page .generalPost figure,
    #page .generalPost figure+aside {
        float: none;
        width: 100%;
        clear: both;
    }
    #sidebar {
        float: none;
        max-width: 100%;
        width: 100%;
        clear: both;
    }
    .page-title {
        padding-top: 0;
    }
    .page-title h1.entry-title {
        font-size: 25px !important;
    }
}

@media only screen and (max-width: 768px) {
    #header .logo {
        float: none;
        background-position: left bottom;
        width: 220px;
        display: inline-block;
    }
    #header #nav {
        position: initial;
        float: none;
    }
    .menu-toggle {
        margin: -70px 0 0 0;
    }
    #secondary #members .member {
        float: left;
        width: 50%;
        margin-right: 0;
    }
    #footer #social {
        float: none;
        width: 100%;
        text-align: center;
        margin: 0 0 20px 0;
    }
    .site-footer nav#footerNav ul.menu li a {
        padding: 2px 7px;
    }
    #footer {
        text-align: center;
    }
    #footer #footerNav {
        text-align: center;
    }
    #page .box .boxContent {
        float: none;
        width: 100%;
        max-width: 100%;
    }
    #page.full .box figure {
        float: none;
        width: 100%;
        max-width: 100%;
    }
    #page .memberItem {
        width: 100%;
    }
        #secondary #members .member{
         width: 100%;
    }
}

@media only screen and (max-width: 480px) {
    .logo {
        width: 180px;
    }
    #secondary #members .member {
        float: left;
        width: 100%;
        min-height: auto;
        margin-bottom: 20px;
    }
    .home #content h1+p a.viewAll,
    .home #secondary h1+p a.viewAll {
        top: 0;
    }
    #slideshow #theSlides figure figcaption {
        padding-top: 25px;
    }
    #page .memberItem figure {
        width: 100%;
        margin: 0;
    }
    #page .memberItem {
        padding-left: 0;
    }
    #page .memberItem aside {
        width: 100%;
    }
    #page .returnToTop {
        background: url(img/icon-returnTop.png) 0 0 no-repeat;
        text-align: left;
    }
}