@import url('https://fonts.googleapis.com/css?family=Work+Sans');
html {
    min-width: 320px;
}

body {
    font-family: Helvetica;
}

body .full-width {
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    min-height: 1px;
    min-width: 1px;
    position: relative;
}

body .card-body {
    padding: 15px 21px;
}

section {
    width: 100%;
}

body .tablet.container .row {
    margin-left: 0;
    margin-right: 0;
}

body nav {
    margin-bottom: 10px
}

body nav .collapsing {
    margin-left: -15px !important;
    padding-left: 15px !important;
    margin-right: -15px !important;
    padding-right: 15px !important;
}

body nav .ehf-logo {
    width: 170px;
    height: 30.8px;
    background: url("../img/logo@3x.png") no-repeat;
    background-size: contain;
    display: inline-block;
    vertical-align: middle;
}

body nav.navbar-light {
    background-color: #fff !important;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.15);
}

body nav.navbar-light .navbar-toggler {
    outline: none;
    box-shadow: none;
    border: none;
    color: #171717;
}

body nav form.form-inline .search-input {
    width: 274px;
}

body nav .search-button {
    color: #18a1b0;
}

body nav .nav-text {
    color: rgba(0,0,0,.5);
    display: block;
    padding: .5rem 1rem;
}

body nav .hover-search-left {
    margin-left: -50px;
    z-index:1
}

body nav .hover-search-right {
    margin-right: -50px;
    z-index:1
}

body nav .navbar-forum-collapse button {
    margin-right:0px;
    margin-left:-15px;
}

body nav .navbar-forum-collapse input {
    width: 100vw;
    margin-left: -15px;
    margin-right: -15px;
    position: absolute;
    border-radius: 0px;
    border-left: 0;
    border-right: 0;
    background-color: #f8f8f8;
    padding-left: 40px;
    box-shadow: inset 0 2px 3px 0 rgba(0, 0, 0, 0.05);
}

body nav.navbar > div > ul.navbar-nav.navigation-links > li > a {
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 0.2px;
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
    color: #171717;
}

body nav.navbar > div > ul.navbar-nav.profile-links > li > a {
    font-size: 14px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.07;
    letter-spacing: normal;
    text-align: left;
    color: #18a1b0;
}

body nav.navbar > div > ul.navbar-nav.profile-links > li > span {
    font-size: 14px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.07;
    letter-spacing: normal;
    text-align: left;
    color: #171717;
}

body nav.navbar > div > ul.navbar-nav.profile-links > li span.badge.notification {
    font-size: 10px;
    padding-left: .2rem;
    padding-right: .2rem;
    position: absolute;
    right: 7px;
    top: 15px;
}

body nav.navbar div.navbar-profile {
    position:absolute;
    right:100px;
    top: 13px;
}

body nav.navbar div.navbar-profile ul {
    flex-direction: unset;
}

body nav.navbar div.navbar-profile ul li {
    display: inline-block;
}

body nav.navbar .profile-links-collapse {
    flex-direction: intial;
    display: block;
    width: 100%;
}

body nav.navbar .profile-links-collapse .nav-item {
    width: 100%;
}

body nav.navbar .profile-links-collapse .nav-item .nav-link,
body nav.navbar .profile-links-collapse .nav-item .nav-text {
    width: 100%;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
}

body nav.navbar .profile-links-collapse .nav-item .nav-link {
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.07;
    letter-spacing: normal;
    color: #18a1b0;
}

body nav.navbar .profile-links-collapse .nav-item .nav-link.logout-link {
    font-size: 11px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 0.3px;
    color: #c2c2c2;
}

body nav.navbar .profile-links-collapse .nav-item .nav-text {
    font-size: 14px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.07;
    letter-spacing: normal;
    color: #171717;
}

body nav.navbar .profile-links-collapse div span.badge.notification {
    font-size: 10px;
    top: -7px;
    padding-left: .2rem;
    padding-right: .2rem;
    position: relative;
}

body nav.navbar .profile-links-collapse .pull-left {
    width: 49%;
    display:inline-block;
    text-align:left;
}
body nav.navbar .profile-links-collapse .pull-right {
    width: 49%;
    display:inline-block;
    text-align:right;
}

body nav.navbar .profile-links-collapse .nav-button {
    text-align: center;
}

body nav.navbar .profile-links-collapse button {
    padding-top: 7px;
    padding-bottom: 7px;
    min-width: 127px;
}

body nav.navbar .profile-links-collapse button.btn-primary {
    background-color: #18a1b0;
    border-color: #18a1b0;
}

body nav.navbar .profile-links-collapse button.btn-outline-primary {
    color: #18a1b0;
    border-color: #18a1b0;
}

body nav.navbar .navbar-toggler.collapsed .navbar-toggler-icon {
    background: url("/assets/img/hamburg-icon.svg") 0 0 no-repeat;
    background-size: cover;

    width: 1em;
    height: 1em;
}

body nav.navbar .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background: url("/assets/img/x.svg") 0 0 no-repeat;
    background-size: cover;

    width: 1em;
    height: 1em;
}

body div.footer {
    background-color: #171717;
    padding: 51px 5% 0px;
    text-align: center;
    margin-bottom: -40px;
}

body .footer h3 {
    font-size: 14px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.64;
    letter-spacing: normal;
    color: #727272;
}

body .footer ul {
    list-style-type: none;
    padding: 0;
}

body .footer p {
    font-size: 12px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.5;
    letter-spacing: normal;
    color: #929292;
    padding: 0;
}

body .footer .site-disclaimer p {
    margin-bottom: 0;
}

body .footer .site-disclaimer a {
    font-size: 12px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.5;
    letter-spacing: normal;
    color: #929292;
    text-decoration: underline;
}

body .footer .site-notice {
    padding: 0 42px;
}

body div.footer .navigation-links {
    margin-bottom: 50px;
}

body div.footer .navigation-links ul {
    margin-bottom: 0
}
body .footer .navigation-links div {
    padding: 0 44px;
}

body .footer .navigation-links div:not(:first-child) {
    border-left: 1px solid rgba(151,151,151,0.3);
}

body .footer ul li a {
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.93;
    letter-spacing: normal;
    color: #ffffff;
}

body .homepage .popular-discussions,
body .homepage .my-topics,
body .homepage .my-posts,
body .homepage .recent-discussions,
body .homepage .active-members,
body .homepage .popular-answers,
body .newsletter-signup,
body .health-center .menu,
body .health-center .recent-discussions,
body .health-center .popular-answers,
body .health-center .popular-discussions {
    padding-top: 45px;
}

body .health-center .mobile .menu,
body .health-center .mobile .recent-discussions,
body .health-center .mobile .popular-discussions,
body .health-center .mobile .popular-answers {
    padding-top: 25px;
}

body > .container {
    min-height: calc(100vh - 500px);
}

body .container .topic > a,
body .container .user > a {
    text-decoration: none;
}

body .container .topic {
    margin-bottom: 0.4px;
    margin-top: 10px;
}

body hr:not(.nav-hr) {
    width:53px;
    border:2px solid;
}

body .homepage h2 {
    padding-left: 30px;
    padding-right: 30px;
}

body .ad-container {
    padding: 0;
    margin: 0 auto 10px;
}

body .homepage .ad-container.ad-2,
body .homepage .ad-container.ad-3 {
    margin-top: 30px;
    margin-bottom: 30px;
}

body .hero {
    background:url('/assets/img/hero/hero-1920.jpg') 0 10% no-repeat;
    background-size: cover;
    margin-bottom: 0;
}

body .hero .jumbotron {
    background-color:rgba(0,0,0,0.27);

    border-radius: 0;
    height: 26.67vw;
    padding-top: calc( ( 26.67vw - 115px ) / 2 );
    padding-bottom: calc( ( 26.67vw - 115px ) / 2 );
    margin-bottom: 0;
}

body .hero .jumbotron h1,
body .hero .jumbotron h2 {
    font-family: 'Work Sans', sans-serif;
    font-size: 34px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 0.85;
    letter-spacing: normal;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

body .hero .jumbotron hr {
    border-color: #fff;
    margin-top: 0px;
    margin-bottom: 25px;
}

body .hero .jumbotron button {
    width: 220px;
    padding: 15px 60px;
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #ffffff;
}

body .hero .jumbotron button.btn-primary {
    background-color: #18a1b0;
    border-color: #18a1b0;
}

body .hero .jumbotron button.btn-warning {
    background-color: #f6b400;
    border-color: #f6b400;
    margin-top:10px;
}

body h2 {
    font-family: 'Work Sans', sans-serif;
    font-size: 34px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 0.85;
    letter-spacing: normal;
    text-align: center;
    color: #000000;
    margin-bottom: 0;
}

body hr.segment-line {
    background-color: #ffc529;
    color: #ffc529;
    margin-top: 5px;
    margin-bottom: 5px;
}

body .management-link {
    margin-bottom: 20px;
}

body .tablet .management-link {
    margin-bottom:0;
}

body .management-link a {
    font-size: 13px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #18a1b0;
}

body .container {
    max-width: 80vw;
    padding-top: 30px;
}

body .menu .container {
    padding-top: 0;
    margin-top: -10px;
}

body .container.desktop {
    padding-left: 0;
    padding-right: 0;
}

body .container.tablet {
    padding-left: 0;
    padding-right: 0;
}

body .homepage .category .category-logo.category-7{
    background: url("/assets/img/category-logos/general-forum-qa.jpg") 0 0 no-repeat;
    background-size: cover;
}
body .homepage .category .category-logo.category-8{
    background: url("/assets/img/category-logos/lifestyle.jpg") 0 0 no-repeat;
    background-size: cover;
}
body .homepage .category .category-logo.category-11{
    background: url("/assets/img/category-logos/cancer.jpg") 0 0 no-repeat;
    background-size: cover;
}
body .homepage .category .category-logo.category-12{
    background: url("/assets/img/category-logos/nutrition.jpg") 0 0 no-repeat;
    background-size: cover;
}
body .homepage .category .category-logo.category-14{
    background: url("/assets/img/category-logos/conditions-and-diseases.jpg") 0 0 no-repeat;
    background-size: cover;
}
body .homepage .category .category-logo.category-16{
    background: url("/assets/img/category-logos/mental-health.jpg") 0 0 no-repeat;
    background-size: cover;
}
body .homepage .category .category-logo.category-17{
    background: url("/assets/img/category-logos/pregnancy.jpg") 0 0 no-repeat;
    background-size: cover;
}
body .homepage .category .category-logo.category-21{
    background: url("/assets/img/category-logos/parenting.jpg") 0 0 no-repeat;
    background-size: cover;
}
body .homepage .category .category-logo > div {
    height: 100%;
    background-color: rgba(0,0,0,0.27);
}
body .homepage .category .category-label {
    position: absolute;
    left:14px;
    bottom:0;
    font-size: 20px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.1;
    letter-spacing: normal;
    color: #ffffff;
    width: calc(100% - 60px);
    font-family: Helvetica;
}

body .homepage .desktop .category.category-1 .category-logo,
body .homepage .desktop .category.category-2 .category-logo {
    height: 16vw;
}

body .homepage .my-topics .desktop .category.category-1 .category-logo,
body .homepage .my-topics .desktop .category.category-2 .category-logo,
body .homepage .my-posts .desktop .category.category-1 .category-logo,
body .homepage .my-posts .desktop .category.category-2 .category-logo {
    height: 24vw;
}

body .homepage .desktop .category.category-3 .category-logo {
    height: 16vw;
}

body .homepage .desktop .category.category-4 .category-logo {
    height: 12vw;
}

body .homepage .tablet .category.category-1 .category-logo {
    height: 20vw;
}

body .homepage .tablet .category.category-2 .category-logo {
    height: 30vw;
}

body .homepage .tablet .category.category-3 .category-logo {
    height: 20vw;
}

body .health-center .hero.user-logged-out .jumbotron a {
    margin-left: 5px;
    margin-right: 5px;
}

body .health-center .hero.user-logged-out .jumbotron button.btn-warning {
    margin-top: 0;
}

body .health-center .topic {
    margin-bottom: 10px;
}

body .topic .forum_name,
body .topic .forum_name a {
    font-size: 13px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1;
    letter-spacing: normal;
    color: #8c8c8c;
    margin-bottom: 3px;
}

body .topic .topic_title {
    font-size: 14px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.29;
    letter-spacing: normal;
    color: #18a1b0;
    text-transform: capitalize;
}

body .topic .post_text {
    font-size: 13px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.38;
    letter-spacing: normal;
    color: #171717;
}

body .topic .username {
    font-size: 12px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #727272;
}

body .topic .date, body .topic .seperator {
    font-size: 12px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    color: #b7b7b7;
}

body .topic .info {
    margin-bottom: 10px;
}

body .topic .border.show {
    width: calc(100% - 30px);
    border:0 !important;
    border-bottom: 1px solid rgba(219,219,219,0.67) !important;
    position: absolute;
    bottom: 0;
}

body .topic .border.hide {
    visibility: hidden;
    margin-bottom: 20px;
}

body .accordion .card {
    width: 100%;
}

body .accordion .card .card-header {
    padding-top: 0px;
    padding-bottom: 0px;
}

body .accordion .card h5 button {
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 3.13;
    letter-spacing: normal;
    color: #171717;
    padding-top: 0;
    padding-bottom: 0;
    width: 100%;
    text-align: left;
}

body .health-condition {
    background-color: rgba(243,243,243,0.52);
    padding-top: 51px;
    padding-bottom: 24px;
    padding-left: 30px;
    padding-right: 30px;
}

body .tablet.health-condition {
    padding-left: 20px;
    padding-right: 20px;

}

body .health-condition h4 {
    font-size: 16px;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.81;
    letter-spacing: normal;
    font-weight: bold;
    color: #171717;
    margin-bottom: 0;
}

body .health-condition .letter-collection{
    margin-bottom: 12px;
}

body .health-condition a {
    color: #18a1b0;
    display:block;
    font-size: 14px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.5;
    letter-spacing: normal;
    margin-bottom: 5px;
}

body .accordion .card h5 button:hover {
    text-decoration: none;
}

body .accordion .card h5 button .dropdown {
    font-size: 20px;
    color: #ffc529;
    vertical-align: middle;
    padding: 15px 0;
    transform: rotate(0deg);

    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    -o-transition-duration: 0.2s;
    transition-duration: 0.2s;

    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    -o-transition-property: -o-transform;
    transition-property: transform;
}

body .accordion .card h5 button:not(.collapsed) .dropdown {
    transform: rotate(180deg);
    -webkit-transform:rotate(180deg);
    -moz-transform:rotate(180deg);
    -o-transform:rotate(180deg);
}

body .homepage .active-members {
    background-color: rgba(243,243,243,0.52);
    padding-top: 45px;
    padding-bottom: 17px;
}

body .homepage .active-members > .row,
body .homepage .active-members > .container {
    display: block;
    flex-wrap: nowrap;
}

body .homepage .active-members .user {
    display: inline-block;
    position: relative;
    margin: 0 auto 30px;
}

body .homepage .active-members .desktop .user {
    padding-left:0;
    padding-right:0;
    max-width: 13%
}

body .homepage .active-members .user .user-header {
    margin-bottom: 12px;
}

body .homepage .active-members .user .user-header img {
    width: 90px;
    height: 90px;
    border-radius: 100% !important;
}

body .homepage .active-members .user .user-info h4 {
    font-size: 15px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.27;
    letter-spacing: normal;
    text-align: center;
    color: #18a1b0;
    margin-bottom: 0;
}

body .homepage .active-members .user .user-info span {
    font-weight: normal;
    color: #727272;
}

body .homepage .popular-answers .desktop .topic {
    padding-left: 35.5px;
    padding-right: 35.5px;
}

body .homepage .popular-answers .tablet {
    padding-left: 100px;
    padding-right: 100px;
}


body .homepage .popular-answers .desktop .topic .border {
    width: calc(100% - 60px);
}

body .homepage .popular-answers .username {
    font-size: 13px;
    line-height: 1;
    margin-bottom: 10px;
}
body .popular-answers {
    padding-left: 15px;
    padding-right: 15px;
}

body .popular-answers .topic_title {
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.31;
    letter-spacing: normal;
    color: #18a1b0;
    text-transform: capitalize
}

body .popular-answers .username {
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1;
    letter-spacing: normal;
    color: #8c8c8c;
}

body .popular-answers section > div {
    margin-bottom: 10px;
}

body .popular-answers section > div:last-child {
    margin-bottom: 45px;
}

body .popular-answers .border.hide {
    display: none
}

body .popular-answers .ask-question,
body .recent-discussions .view-all {
    margin-top: 30px;
    margin-bottom: 30px;
}

body .popular-answers .ask-question button,
body .recent-discussions .view-all button {
    width: 240px;
    background-color: #18a1b0;
    border-color: #18a1b0;
    padding-top:15px;
    padding-bottom: 15px;
}

body .featured-doctors {
    background-color: rgba(243,243,243,0.52);
    padding-top:50px;
    padding-bottom: 40px;
}

body .featured-doctors .user {
    margin-bottom: 26.5px;
}

body .featured-doctors .user .user-header img {
    width: 130px;
    height: 127px;
    border-radius: 100% !important;
}

body .featured-doctors .md {
    position: absolute;
    top:4px;
    right:calc( 50% - 65px );
    font-size: 11px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 0.2px;
    color: #ffffff;
    background-color: #18a1b0;
}

body .featured-doctors .user-info h4 {
    text-transform: capitalize;
    color: #18a1b0;
    font-weight: bold;
    font-size: 14px;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.43;
    letter-spacing: normal;
    text-align: center;
    margin-bottom: 0;
}

body .featured-doctors .user-info span {
    text-transform: capitalize;
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.43;
    letter-spacing: normal;
    text-align: center;
    color: #535353;
}

body .newsletter-signup {
    display:none;
}

body .newsletter-signup h5 {
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.75;
    letter-spacing: normal;
    text-align: center;
    color: #727272;
    margin-top: 15px;
}

body .newsletter-signup .form-group * {
    width:280px;
    display:inline-block;
}

body .newsletter-signup .form-group input[type='checkbox'] {
    width: auto;
}

body .newsletter-signup .form-group p {
    width:auto;
    min-width: 200px;
    display: block;
}

body .newsletter-signup .form-group button {
    width: 240px;
    font-size: 18px;
    background-color: #18a1b0;
    border-color: #18a1b0;
}

body .newsletter-signup p {
    font-size: 14px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: center;
    color: #727272;
}

body .newsletter-signup .desktop .alert,
body .newsletter-signup .tablet .alert {
    max-width: 524px;
}

body .container.post-topic {
    margin-top: 30px;
    margin-bottom: 60px;
}

body .container.post-topic button,
 body .container.login button {
    min-width: 240px;
    color: #fff;
}

body .health-center .mobile .menu {
    background-color: #f9f9f9;
}

body .health-center .menu .container {
    padding-bottom: 24px;
    border-bottom: 1px solid #dbdbdb
}

body .health-center .menu h4 {
    color: #727272;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

body .health-center .mobile .menu h4 {
    color: #000;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
}

body .health-center .mobile .menu .container {
    margin-top: 0;
    border-bottom: 0;
}

body .health-center .menu .menu-item {
    width:auto;
    margin: 24px 8px 0;
    display: inline-block;
}

body .health-center .mobile .menu .mobile-menu-item {
    margin-top: 10px;
    margin-bottom: 10px;
    color: #18a1b0;
}

body .health-center .mobile .menu .mobile-menu-item > a {
    width: 100%;
    color: #18a1b0;
}

body .health-center .mobile .menu .mobile-menu-item> a .arrow {
    color: #ffc529;
    font-size: 16px;

}

body .health-center .menu .container-border {
    background-color: #ffffff;
    border-radius: 4px;
    border: solid 1px #18a1b0;
    padding: 12px 25px;
    width: auto;
    display: inline-block;
}

body .health-center .menu .container-border a {
    color: #18a1b0;
    font-weight: bold;
}

body .health-center .recent-discussions .container {
    margin-bottom: -30px;
}

body .health-center .post-topic .container,
body .health-center .post-topic .container .jumbotron {
    max-width: 681px;
    min-height: 159px;
    max-height: 272px;
}

body .health-center .post-topic .container .jumbotron {
    min-height: 1px;
    height: auto;
    padding-top: 27px;
    padding-bottom: 25px;
}

body .health-center .popular-discussions {
    margin-bottom: 36px;
}

body .g-recaptcha > div,
body .recaptcha-container > div {
    display:inline-block
}

body .container.login .register-form {
    margin-bottom: 30px;
}

@media all and (min-width: 320px) {
    body .homepage .active-members > .row .col-xs-6,
    body .homepage .active-members > .container .col-xs-6 {
        max-width: calc( (100% / 2) - 10px);
        flex: 0 0 calc( (100% / 2) - 10px);
    }
}

@media all and (min-width: 768px) {
    body .homepage .active-members > .row .col-md-3,
    body .homepage .active-members > .container .col-md-3 {
        max-width: calc( (100% / 4) - 40px);
        flex: 0 0 calc( (100% / 4) - 40px);
    }
}

@media all and (min-width: 992px) {
    .hide-large {
        display: none !important;
    }

    body .homepage .active-members > .row .col-lg-1,
    body .homepage .active-members > .container .col-lg-1 {
        flex: 0 0 calc( (100% / 7) - 20px );
        max-width: calc( (100% / 7) - 20px );
    }
}

@media all and (min-width: 3000px) {
    body .homepage .category .category-logo.category-7{
        background: url("/assets/img/category-logos/general-forum-qa-4k.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-8{
        background: url("/assets/img/category-logos/lifestyle-4k.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-11{
        background: url("/assets/img/category-logos/cancer-4k.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-12{
        background: url("/assets/img/category-logos/nutrition-4k.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-14{
        background: url("/assets/img/category-logos/conditions-and-diseases-4k.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-16{
        background: url("/assets/img/category-logos/mental-health-4k.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-17{
        background: url("/assets/img/category-logos/pregnancy-4k.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-21{
        background: url("/assets/img/category-logos/parenting-4k.jpg") 0 0 no-repeat;
        background-size: cover;
    }
}

@media all and (min-width: 2163px) and (max-width: 2999px) {
    body .homepage .category .category-logo.category-7{
        background: url("/assets/img/category-logos/general-forum-qa-2k.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-8{
        background: url("/assets/img/category-logos/lifestyle-2k.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-11{
        background: url("/assets/img/category-logos/cancer-2k.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-12{
        background: url("/assets/img/category-logos/nutrition-2k.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-14{
        background: url("/assets/img/category-logos/conditions-and-diseases-2k.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-16{
        background: url("/assets/img/category-logos/mental-health-2k.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-17{
        background: url("/assets/img/category-logos/pregnancy-2k.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-21{
        background: url("/assets/img/category-logos/parenting-2k.jpg") 0 0 no-repeat;
        background-size: cover;
    }
}

@media all and (min-width: 2049px) {
    body .hero {
        background:url('/assets/img/hero/hero-4096.jpg') 0 10% no-repeat;
        background-size: cover;
    }
}

@media all and (max-width: 2048px) {
    body .hero {
        background:url('/assets/img/hero/hero-2048.jpg') 0 10% no-repeat;
        background-size: cover;
    }
}

@media all and (max-width: 1920px) {
    body .hero {
        background:url('/assets/img/hero/hero-1920.jpg') 0 10% no-repeat;
        background-size: cover;
    }
}

@media all and (max-width: 1440px) {
    body .hero {
        background:url('/assets/img/hero/hero-1440.jpg') 0 10% no-repeat;
        background-size: cover;
    }
}

@media all and (min-width: 1200px) {
    body div.footer {
        padding-left: 12%;
        padding-right: 12%;
    }
}

@media all and (max-width: 1200px) {
    body .homepage .tablet .category.category-3 .category-logo {
        height: 18vw;
    }

    body .hero {
        background:url('/assets/img/hero/hero-1200.jpg') 0 30% no-repeat;
        background-size: cover;
    }

    body .hero .jumbotron {
        padding-top: calc( ( 230px - 115px ) / 2 );
        padding-bottom: calc( ( 230px - 115px ) / 2 );
        min-height: 230px;
    }
}

@media all and (max-width: 1150px) {
    body nav.navbar > div > ul.navbar-nav.navigation-links > li > a,
    body nav.navbar > div > ul.navbar-nav.profile-links > li > a,
    body nav.navbar > div > ul.navbar-nav.profile-links > li > span {
        padding-left:0.4rem;
        padding-right:0.4rem;
    }

    body nav form.form-inline .search-input {
        width: 200px;
    }
}

@media all and (min-width: 1113px) and (max-width: 2162px) {
    body .homepage .category .category-logo.category-7{
        background: url("/assets/img/category-logos/general-forum-qa-md.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-8{
        background: url("/assets/img/category-logos/lifestyle-md.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-11{
        background: url("/assets/img/category-logos/cancer-md.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-12{
        background: url("/assets/img/category-logos/nutrition-md.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-14{
        background: url("/assets/img/category-logos/conditions-and-diseases-md.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-16{
        background: url("/assets/img/category-logos/mental-health-md.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-17{
        background: url("/assets/img/category-logos/pregnancy-md.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-21{
        background: url("/assets/img/category-logos/parenting-md.jpg") 0 0 no-repeat;
        background-size: cover;
    }
}

@media all and (min-width: 993px) and (max-width: 1112px) {
    body .homepage .category .category-logo.category-7{
        background: url("/assets/img/category-logos/general-forum-qa-sm.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-8{
        background: url("/assets/img/category-logos/lifestyle-sm.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-11{
        background: url("/assets/img/category-logos/cancer-sm.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-12{
        background: url("/assets/img/category-logos/nutrition-sm.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-14{
        background: url("/assets/img/category-logos/conditions-and-diseases-sm.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-16{
        background: url("/assets/img/category-logos/mental-health-sm.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-17{
        background: url("/assets/img/category-logos/pregnancy-sm.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-21{
        background: url("/assets/img/category-logos/parenting-sm.jpg") 0 0 no-repeat;
        background-size: cover;
    }
}

@media all and (max-width: 992px) {
    body .hero .jumbotron h1,
    body .hero .jumbotron h2 {
        font-size: 30px;
    }

    body .container {
        max-width: 960px;
    }
}

@media all and (max-width: 991px) {
    body nav form.form-inline .search-input {
        width: 100%;
    }

    body nav .navigation-links .nav-link {
        text-transform: uppercase;
    }

    body nav.navbar > div > ul.navbar-nav.navigation-links > li > a {
        font-weight: bold;
    }

    body div.footer {
        padding: 42px 60px 44px;
    }

    body .footer .site-notice {
        padding: 0;
        margin-left: -15px;
        margin-right: -15px;
    }

    body .footer .navigation-links div {
        padding: 0
    }

    body div.footer .navigation-links {
        text-align: left;
    }

    body .footer .navigation-links div:not(:first-child) {
        padding-left: 30px;
    }
}

@media all and (max-width: 991px) and (min-width: 768px) {
    .hide-mid {
        display: none !important;
    }
}

@media all and (max-width: 900px) and (min-width: 768px) {
    .forum-name.conditional {
        display: none;
    }
}

@media all and (min-width: 768px) and (max-width: 992px) {
    body .homepage .category .category-logo.category-7{
        background: url("/assets/img/category-logos/general-forum-qa-md.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-8{
        background: url("/assets/img/category-logos/lifestyle-md.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-11{
        background: url("/assets/img/category-logos/cancer-md.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-12{
        background: url("/assets/img/category-logos/nutrition-md.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-14{
        background: url("/assets/img/category-logos/conditions-and-diseases-md.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-16{
        background: url("/assets/img/category-logos/mental-health-md.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-17{
        background: url("/assets/img/category-logos/pregnancy-md.jpg") 0 0 no-repeat;
        background-size: cover;
    }
    body .homepage .category .category-logo.category-21{
        background: url("/assets/img/category-logos/parenting-md.jpg") 0 0 no-repeat;
        background-size: cover;
    }
}

@media all and (max-width: 768px) {
    body .hero {
        background:url('/assets/img/hero/hero-768.jpg') 0 10% no-repeat;
        background-size: cover;
    }

    body .container {
        padding-left: 0;
        padding-right: 0;
    }

    body .container .row {
        margin-left: 0;
        margin-right: 0;
    }

    body .newsletter-signup .mobile .form-group a {
        width: auto;
    }

    body .mobile .newsletter-signup .form-group * {
        width: auto;
    }

    body .newsletter-signup .mobile .form-group > * {
        display: block;
        margin: auto;
        margin-bottom: 11px;
    }

    body .newsletter-signup .mobile .form-group > input[type='email'] {
        width: 90vw;
    }

    body .newsletter-signup .mobile .form-group > button {
        width: 280px;
        padding-top:13px;
        padding-bottom: 13px;
        font-size: 18px;
    }
}

@media all and (max-width: 767px) {
    body div.footer {
        padding: 40px 45px 44px;
    }

    body .footer .navigation-links div {
        border-left:0 !important;
        padding-left: 0 !important;
        border-bottom: 1px solid rgba(151,151,151,0.3);
        padding-bottom: 5px;
        margin-bottom: 5px;
    }

    body .footer .navigation-links div:last-child {
        border-bottom: 0;
    }

    body .hero .jumbotron {
        padding-top:47px;
        padding-bottom: 0px;
    }

    body .hero .jumbotron button {
        display:block;
        margin:auto;
    }

    body .topic .info {
        margin-bottom: 20px;
    }

    body .topic .info:last-child {
        margin-bottom: 0px;
    }

    body .topic .border.show {
        bottom: -10px;
    }

    body .topic .border.hide {
        display: none;
    }
}

@media all and (max-width: 767px) and (min-width: 577px) {
    .hide-small {
        display: none !important;
    }
}

@media all and (max-width: 576px) {
    .hide-extra-small {
        display: none !important;
    }

    body .hero {
        background:url('/assets/img/hero/hero-576.jpg') 0 10% no-repeat;
        background-size: cover;
    }

    body .hero .jumbotron h1,
    body .hero .jumbotron h2 {
        font-size: 28px;
    }
}

@media all and (max-width: 340px ) {
    .g-recaptcha {
        margin-left: calc( (100vw - 304px) / 2) !important;
    }
}

@media all and (max-width: 320px) {
    body .hero {
        background:url('/assets/img/hero/hero-320.jpg') 0 10% no-repeat;
        background-size: cover;
    }

    .g-recaptcha {
        margin-left: -20px !important;
    }

    body .hero .jumbotron {
        padding-top:20px;
        padding-bottom: 0px;
    }
}
