/* updated 220404 */

/* hypertension_JAMA_More_Link */
    div.view-more {border-top: 1px solid #333333; padding-top: 1em;}
    a.view-more-link {color: #d71635;padding-right:24px;}
    .widget-instance-Home_MainContentB1B0B0B4Home_MainUberContent3 .widget-compact.widget-dynamic-title.sb-sc {padding: 0 24px 10px 24px;}
    .widget-instance-hypertension_More_Articles h4 {border-bottom: 1px solid #000;color: #d71635 !important;font-size: 18px;font-weight: 600;margin-bottom: 24px;padding: 0 24px 10px 25px;text-transform: uppercase;}
    .widget-instance-hypertension_More_Articles .channel-archive-item .row {padding: 0 24px;}
    .widget-SelfServeContent.widget-instance-hypertension_Channel_Subheading {display:block;margin-bottom:34px;margin-top:-32px;}


/* machine-learning styles */
	.widget-instance-Home_MainContentB1B0B0B6Home_MainUberContent4 .widget-compact.widget-dynamic-title.sb-sc {padding: 0 24px 10px 24px;}
    .widget-SelfServeContent.widget-instance-machine-learning_Channel_Subheading {display:block;margin-bottom:34px;margin-top:-32px;}


/* jama-news styles */
	.widget-instance-Home_MainContentB1B0B0B6Home_MainUberContent4 .widget-compact.widget-dynamic-title.sb-sc {padding: 0 24px 10px 24px;}
    .widget-SelfServeContent.widget-instance-jama-news_Channel_Subheading {display:block;margin-bottom:34px;margin-top:-32px;}
    .widget-SelfServeContent.widget-instance-medical-news_Channel_Subheading {display:block;margin-bottom:34px;margin-top:-32px;}
    
    
/* wandh styles */
	.widget-instance-Home_MainContentB1B0B0B6Home_MainUberContent4 .widget-compact.widget-dynamic-title.sb-sc {padding: 0 24px 10px 24px;}
    .widget-SelfServeContent.widget-instance-war_Channel_Subheading {display:block;margin-bottom:34px;margin-top:-32px;}


/* rightrail socials */
    .hp-rightRail-socials .iconsocial {display: inline-block !important;width: 22px;height: 22px;min-width: unset !important;margin: 0 6px 0 1px;background-color: #fff;border-radius: 50%;border: 1px solid #6d6e70;vertical-align: middle;}
    .hp-rightRail-socials .iconsocial.instagram {background-image: url(/ImageLibrary/JamaNetwork/social/instagram-icon-black.svg);background-position: 5px 5px;background-repeat: no-repeat;background-size: 10px;}
    .hp-rightRail-socials .iconsocial.instagram:hover, .widget-instance-AMA_Journal_Home_Socials .iconsocial.instagram:focus {background-image: url(/ImageLibrary/JamaNetwork/social/instagram-icon-fill.png);border-color: #C13584;}
    #load-instagram-image { background: url(/ImageLibrary/JamaNetwork/social/instagram-icon-fill.png) no-repeat -9999px -9999px; }
    .hp-rightRail-socials {border-bottom:1px solid #707070;border-top:1px solid #707070;box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);color: #6d6e70;height:50px;margin:0 auto 30px auto;padding:12px 10px 12px 20px;width:100%;max-width:340px;}
    .hp-rightRail-socials span {font-family: Georgia, serif; font-size: 12px; font-weight: normal; font-style: italic;line-height: 2;letter-spacing: 0.01px;margin-right:6px;}
    .hp-rightRail-socials a {color:inherit;margin-right:6px !important;}
    .hp-rightRail-socials .is-b:before {font-size: 26px;}

	/*
    [data-thm=chan] .sidebar .widget-instance-health-forum_RightRail_Socials {border:0;box-shadow: none;height:auto;}
    */
    
/* new for hypertension */
    a {color:#981B1E;}
    a:hover {color:#d71635;}
    .self-serve h6 {display:none;}
    .pg_index .header-logo-height img {max-height: 32px;}
    @media (min-width: 561px) {
    .pg_index .header-logo-height img {max-height: 38px;}
    }
    @media only screen and (min-width: 600px) {
    .jnc-coral-header {display:block;visibility:visible;}
    }
    @media (max-width: 1023px) {
    .pg_index .header-logo-wrapper {padding-top: 52px;}
    }
    @media (min-width: 1024px) {
    .pg_index .header-logo-height img {max-height: 56px;}
    .ss-content {padding-top: 0;}
    }

    /** launch day fixes  **/
    .pg_index .widget-SelectableContentList .standard.widget-dynamic-entry-wrap .widget-dynamic-entry {border-top:1px solid #333 !important;margin-bottom:12px;}
    .pg_index .widget-SelectableContentList .standard.widget-dynamic-entry-wrap .widget-dynamic-entry:nth-of-type(1) {border-top: 0 !important;}
    .pg_index .widget-SelectableContentList .standard.widget-dynamic-entry-wrap .widget-dynamic-entry:nth-of-type(2) {border-top: 0 !important;}
    .widget-SelectableContentList .widget-dynamic-related-categories {padding-top: 5px;}
    .widget-SelectableContentListCompact .widget-dynamic-related-categories {padding-top: 5px;}

    /**
    .page-archive .content {padding-top: 67px;}
    **/
    .page-archive .content {padding-top: 50px;}
    .widget-instance-Home_MainContent .dynamic-widget-module {margin-top: 0;}
    .widget-instance-Archive_MainContent .dynamic-widget-module {margin-top: 0;}
    .widget-SelfServeContent.widget-instance-health-forum_MainRightRail_SS2 {margin-top: 54px;}

    .footer-ad {margin-left:0;}
    .widget-dynamic-title.sb-pc {letter-spacing:0.24px;}
    span.al-author-delim {font-family: Georgia,Cambria,"Times New Roman",Times,serif;font-style: italic;font-weight: 700;}
    .channel-article-top-info .meta-article-title {margin-bottom:13px;}
    .channel-article-top-info .meta-authors {margin-bottom:32px;}
    .article-full-text p.para {margin-bottom:30px;}
    .article-full-text p.para a {color: #000;font-weight: 500;text-decoration: underline;}
    .article-full-text p.authorInfoSection {margin-bottom: 16px;}
    .article-full-text .inline-graphic {border-bottom: 0 !important;}
    .authorInfoSection + p {margin-bottom: 16px !important;}
    .authorInfoSection + p a {color:#FB5252 !important;font-weight:300 !important;text-decoration: none !important;}
    .authorInfoSection + p + p {margin-bottom: 16px !important;}
    .authorInfoSection + p + p a {color:#FB5252 !important;font-weight:300 !important;text-decoration: none !important;}
    .authorInfoSection + p + p + p a {color:#FB5252 !important;font-weight:300 !important;text-decoration: none !important;}

    p sup a {color: #333 !important;font-size: 14px;font-weight: 600;text-decoration: underline;}
    .widget-SelectableContentListCompact .heading-wrapper .widget-dynamic-title:first-child {margin: 28px 0 0 24px;}
    .widget-SelectableContentListCompact .heading-wrapper .widget-dynamic-title:last-child {margin: 28px 0 0 14px;}
    .page-archive .widget-dynamic-title {font-size:18px;font-weight:600;line-height:1.6;padding:0 24px 10px 0;text-transform: uppercase;}
    .page-archive .article-browse--pagination {margin-bottom: 48px;}
    .page-archive .widget-SelectableContentListCompact .heading-wrapper .widget-dynamic-title:first-child {margin: 28px 0 0 0;}
    .page-archive .widget-SelectableContentListCompact .heading-wrapper .widget-dynamic-title:last-child {margin: 28px 0 0 14px;}
    .page-archive .widget-SelectableContentListCompact .multi-result-set .widget-dynamic-entry {padding-left: 0;}
    .channel-archive-item:last-child {padding-bottom: 2em;}
    [data-thm=chan] .pagination .al-currentPage {padding: .25em .5em .2em .5em !important;}

    .footer-microsite-contents {margin-bottom:1em;width:100%;}
    .footer-network-other .link-apps:before {width: 23px;}
    .footer-network-other .link-institutions-librarians:before {width: 23px;}
    .jn-ss-footer-border-top {border-top:1px solid #555;padding-top:15px;}
    .jn-ss-footer-border-bottom {border-bottom:1px solid #555;padding-bottom:10px;}
    .jnc-lazy-mobile {}
    .jnc-lazy-tablet {display:none !important;}
    .jnc-lazy-laptop {display:none !important;}
    .jnc-lazy-desktop {display:none !important;}

    @media only screen and (min-width: 600px) {
    .jnc-home-feature-title {font-size: 32px;}
    .jnc-lazy-mobile {display:none !important;}
    .jnc-lazy-tablet {display:block !important;}
    }
    /** this was the code to temporarily hide social-share box between 768 and 899 pixels
    @media (min-width:  768px) and (max-width: 899px) {.social-share {display:none;visibility: hidden;}} **/
    @media (min-width: 900px) {
    /*
    .content {padding-left:100px;}
    .social-share.channel-site	{margin:0 0 0 -75px}
    */
    .jnc-home-feature-title {font-size: 36px;}
    .jnc-home-feature-author {font-size: 18px;}
    .pg_index .master-main .content {padding-left: 80px;}
    .social-share {font-size: 11px;}
    .social-share.channel-site {margin-left:-5px;width:75px;}
    .pg_index .master-main .content .social-share.channel-site {margin: 0 0 0 -60px;width:50px;}
    [data-thm=chan].pg_index .content .site-links-wrap {-webkit-transform: translateY(-70px);transform: translateY(-70px);}
    /*
    [data-thm=chan].pg_index .content .site-links-wrap {margin-left: -80px;}
    */
    }

    @media (max-width: 1024px) {
    [data-thm=chan] .home-wide-col {margin-left: 0;width: 100%;}
    [data-thm=chan] .archive-content  {margin-left: 0;}
    }

    @media (min-width: 1024px) {
    .split-screen .footer-microsite-contents {border-bottom:0 !important;}
    }

    @media (min-width: 1025px) {
    [data-thm=chan] .archive-content  {margin-left: 0;}
    }

    @media (min-width: 1181px) {
    .pg_index .master-main .content {max-width:1440px;}
    .pg_index .master-main .content .sidebar {float: left;margin-left: 40px;}
    [data-thm=chan] .home-wide-col {margin-left: 0;width: calc(100% - 340px - 68px)max-width:920px;}
    [data-thm=chan] .archive-content {margin-left: 0;width: calc(100% - 340px - 190px);}
    }

    /** examine following styles after css file update **/
    #selfserve-maintenance {margin:0 !important;height:0 !important;}
    .jn-self-serve-label {display:none;visibility:hidden;}

/* channel-header */
    .channel-header {background-color:#f2f2f2;color:#D71635;font-size:21px;font-weight:500;padding: 20px 0;}
    .channel-header div {margin-left:auto;margin-right: auto;max-width:1440px;padding-left: 20px;padding-right:20px;}
    .channel-links {padding: 20px 0 0 0;}
    .channel-links div {margin-left:auto;margin-right: auto;max-width:1440px;padding-left: 20px;padding-right:20px;}
    .channel-links ul {color:#D71635;display:flex;flex-direction:column;font-size:16px;font-weight:600;list-style-type:none;margin:0 0 10px 0;text-transform: uppercase;}
    .channel-links ul li {margin-right:15px;}
    .channel-links ul a {color:#5c5c5c;font-size:16px;text-transform: none;}
    .channel-links p {font-weight:500;line-height:1.7;margin-bottom:0;}
    .channel-description div {margin-left:auto;margin-right: auto;max-width:1440px;padding-left: 20px;padding-right:20px;}
    .channel-description p {color:#5c5c5c;font-size:20px;font-weight:500;line-height:1.4;margin-bottom:0;max-width: 800px;}
	.channel-header.no-quick-links {margin-bottom: 20px;}

	.mobile-none {display:none;}
    @media only screen and (min-width: 480px) {
		.mobile-none {display:inline-block;}
	}
    @media only screen and (min-width: 1025px) {
		.desktop-none {display:none;}
	}


/* SS1 and ad box */
    .image-box .featured {border-top: 10px solid #d71534;}
    .image-box .featured:before {background: #000;}
    .jn-ss-featured-article-authors {margin-bottom:0;}
    .widget-instance-Home_MainContentB1B0B1 .sidebar .advertisement {margin-top:-14px;}

	@media (min-width: 1024px) and (max-width: 1200px) {
	.image-box .featured-image {width: auto;float:none;}
	.image-box {max-height:none;}
	}


/* fixes for nav and structure */
    .self-serve {max-width:none;}
    .pg_index .master-main .content {max-width:none;padding-left:0;padding-right:0;width:100%;}
    .widget-DynamicWidgetLayout.widget-instance-Home_MainContentB1 {margin-left: auto;margin-right: auto;max-width: 1440px;padding-left: 20px;padding-right:20px;}

    @media (min-width: 375px) {
    .channel-links ul {flex-direction:row;}
    }

    @media (min-width: 768px) {
    .channel-header {font-size:28px;padding: 30px 0;}
    .channel-links ul {margin:0 0 20px 0;}
    .channel-links ul li {margin-right:30px;}
    .channel-links p {font-size:20px;}
	.channel-header.no-quick-links {margin-bottom: 28px;}
    }

    @media (min-width: 900px) {
    .pg_index .master-main .content .social-share.channel-site {margin: 0;display: none;}
    .channel-header div {padding-left: 80px;padding-right:90px;}
    .channel-links div {padding-left: 80px;padding-right:90px;}
    .channel-description div {padding-left: 80px;padding-right:90px;}
    .widget-DynamicWidgetLayout.widget-instance-Home_MainContentB1 {padding-left: 80px;padding-right:80px;}
    }

    @media (min-width: 1025px) {
    .channel-header {font-size:42px;padding: 50px 0;}
    [data-thm=chan] .archive-content, [data-thm=chan] .home-wide-col {margin-left: 0;width: calc(100% - 340px - 64px);}
    .channel-links ul {margin:0 0 30px 0;}
    .channel-links p {font-size:24px;}
    }

    @media (min-width: 1181px) {
    .pg_index .master-main .content .social-share.channel-site {margin-left:20px;margin-top: 160px;display: block;position:absolute;}
	.channel-header.no-quick-links {margin-bottom: 36px;}
    }

    @media (min-width: 1351px) {
    .widget-SelfServeContent.widget-instance-hypertension_Channel_Subheading {margin-bottom:34px;margin-top:-34px;width: 100%;}
    .widget-SelfServeContent.widget-instance-machine-learning_Channel_Subheading {margin-bottom:34px;margin-top:-34px;width: 100%;}
    }


/* maybe footer specific styles */
    .jn-ss-footer-border-top {border-top:1px solid #555;padding-top:15px;}
    .jn-ss-footer-border-bottom {border-bottom:1px solid #555;padding-bottom:10px;}
    .jn-ss-footer-button-gray {background: grey !important;}
    .jn-ss-footer-button-gray:hover {background: #fff !important;}