.new-layout #main-content .sidenav .banner, .new-layout #main-content .header-wrapper {
  background-image: url(/media/schools-and-colleges/nymc/images/nymc-bg.jpg);
}

#homepage .promo-image-container {
  position: relative;
  width: 100%;
}
#homepage .promo-image-container .button {
color: #8C2232;
}

#homepage .promo-image-container .button:hover {
border: 2px solid #fff;
background: color: #8C2232;
color: #fff;
}

#homepage .promo-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

#homepage .promo-overlay-text {
  position: absolute;
  top: 50%;
  left: 0;
  width: 60%;
  transform: translateY(-50%);
  color: #fff;
  padding-left: 10%;
  box-sizing: border-box;
  z-index: 1;
letter-spacing: .07rem;
}
 
@media (max-width: 950px) {
#homepage .promo-image-container {
background: #8C2232;
  border-top: 10px solid #FFB300;
        border-bottom: 10px solid #FFB300;
}
#homepage .promo-image-container img {
  display: none;
}
#homepage .promo-overlay-text {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  transform: none;
  padding: 20px;
text-align: center;
}
}

/* start color overrides */
a {
	color: #8C1426;
}

a:hover, a:focus {
	color: #505962;
}

.subnav__placeholder--mobile .subnav .nav-container .subnav__list li.nav-dropdown > .sub-button:hover {
  color: #8C1426;
}

.subnav__current span a {
color: #8C1426;
}

.borderBox {
    border: 20px solid #FFB300;
}

.blue-block {
    background: #8C1426;
}

.image-description {
    color: #8C1426;
}

#homepage .header__nav-primary__list li:last-child {
     padding-bottom: 0; 
}
@media (min-width: 64em) {  
    
  #homepage.new-nav .new-header {
      height: 45px;
  }
	.header__nav-secondary {
		background-color: #8C1426;
	}
    .header__nav-primary__list {
        background: transparent;
    }
  	.header__nav-primary__link .new-header-link a{
		color: #8C1426;
	}
    #homepage.nymc-new.school-site .header__nav-primary .header__menu__search, #homepage.new-nav .new-header-link {
    color: #fff;
}


    .header__menu__search:before {
		background-color: #8C1426;
    }
  
	html:not(.gse-new) .header__nav--fixed .header__nav-primary__list{
		    background: -webkit-linear-gradient(left, #700515, #8C1426);
    background: linear-gradient(90deg, #700515, #8C1426);
	}
	.top__nav--fixed {
	background-color: #F2F2F2;
}
}

.school-site .header__nav-primary .header__nav-primary__list li a:not([class]), #homepage.school-site .header__nav-primary .header__menu__search, .school-site .header__nav-primary .header__menu__search {
	color: #000;
}

.subnav__placeholder--desktop .subnav #section_nav_head a {
	color: #8C1426;
}

.subnav__placeholder--desktop .subnav .currentbranch0 a, .subnav__placeholder--desktop .subnav .currentbranch1 a, .subnav__placeholder--desktop .subnav .currentbranch2 a, .subnav__placeholder--desktop .subnav .currentbranch3 a {
	color: #8C1426;
}

.header__nav-primary__link:before, .new-header-link:before, #school_navigation .school_nav_link:before {
	background-color: #8C1426;
}

.header__nav--fixed .header__nav-primary__link:before {
	background-color: #FFB300;
}

.header__menu, .header__search {
    background-color: #8C1426;
}

.school-site .subnav__list li a:not([class]):hover, .school-site .subnav__list li a:not([class]):focus {
	text-decoration: none;
	color: #8C1426;
}

h1, .h2, .accordion__name  {
	color:#000;
}

h3, .h4 {
  color: #5d0b17;
}

.container--blue h2, .container--blue h3 {
  color: #fff;
}

.breadcrumb__item {
	color: #8C1426;
}

.container--blue {
	background-color: #8C1426;
}

.button {
  	background: #8C1426;
	border: 2px solid #8C1426;
}

.button:hover, .button:focus {
  border: 2px solid #8C1426;
}

.button.light, .container--blue .button {
	background: #fff;
	border: 2px solid #fff;
	color: #000;
}

.container--blue .button:hover, .container--blue .button:focus, .button.light:hover, .button.light:focus {
	background: #505962;
	border: 2px solid #505962;
	color: #fff;
}

hr {
	background: #ffb300;
}

.accordion__text h2, .accordion__text h3, .accordion__text h4, .accordion__text h5, .accordion__text p {
color: #8C1426;
}

.accordion__toggle {
color: #8C1426;
}

.dropdown-content {
background-color: #8C1426;
}

blockquote {
    border-top: 0.5rem solid #8C1426;
    border-bottom: 0.5rem solid #8C1426;
}

blockquote cite {
    color: #8C1426;
}

.story_block a {
    color: #8C1426;
}

.story_block a:hover {
  	color: #505962;
}

.programHolder .programHeader .programText {
    background-color: #8C1426;
}

.tab-box .tab {
    background: #FFB300;
}

.tab-box .tab h3 {
    color: #000;
}

.tab-box .box {
  color: #000;
}

.withRectangle.nymc-gray:after {
    background: #5C6770;
}
.withRectangle.nymc-red:after {
    background: #8C1426;
}
.withRectangle.nymc-yellow:after {
    background: #FFB300;
}

.event_block {
    background: #8C1426;
}

.basic-blocks .block a {
  color: #8C1426;
}

.basic-blocks .block a:hover {
  color: #5C6770;
}

.table th {
    background: #8C1426;
}

.subnav__placeholder--mobile .subnav__toggle {
  color: #8C1426;
}

.subnav__placeholder--mobile .subnav .nav-container .menu-header a {
   background: #8C1426;
}

.subnav li {
    border-bottom: 1px solid #8C1426;
}

.subnav__placeholder--mobile .subnav .nav-container .subnav__list li.nav-dropdown > .sub-button:after, .subnav__placeholder--mobile .subnav .nav-container .subnav__list li.nav-dropdown > span .sub-button:after {
      color: #8C1426;
}

.subnav__placeholder--mobile .subnav .nav-screen {
    background-color: #8C1426;
}

[class^="header__small__icon--"] {
    color: #8C1426;
}

.tabs_row .button.active, .tabs_row .button:hover, .tabs_row .button:focus {
    background: #8C1426;
}


.news-featured-stories .date {
  color: #000;
}

.news-featured-stories .listing-title a {
    color: #8C1426;
}

 .news-featured-stories .listing-title a:hover {
   color: #5C6770;
 }

.stories hr {
  background: #ccc;
}

.subtitle {
  color: #8C1426;
}

.social-icons a {
  color: #8C1426;
}

.social-icons a:hover {
    background: #8C1426;
}

.pagination a {
  color: #5C6770;
}

.pagination .active {
    background: #8C1426;
}

.date-notice-box .date-square {
    background: #8C1426;
}

.date-notice-box .title { 
  color: #8C1426;
}

#hero-buttons a.button.button--large {
    color: #000;
}

#hero-buttons a.button.button--large:hover {
    color: #fff;
}

.hp-spotlight-text .button {
    background-color: #8C1426;
}

.hp-spotlight-text .button:hover {
    color: #fff;
}

.programAccordion .programButtonContent h3 {
  color: #8C1426;
}

.programAccordion .programButtonContent h3:hover {
  color: #5C6770;
}

.programAccordion::before,.programAccordion.active::before {
  color: #8C1426; 
}

.faculty_experts_lister .fe_item a {
    color: #8C1426;
}

.faculty_experts_lister .fe_item {
    border-bottom: 2px solid #8C1426;
}

.faculty_experts_lister .fe_item a:hover {
    color: #5C6770;
}

#fe_school.schoolname, .fe_school.schoolname {
    color: #8C1426;
}

.search__input {
  border: 2px solid #8C1426;
}

.form__select {
  border: 2px solid #8C1426;
}

.form__select__arrow {
  color: #8C1426;
}

#directory_well #directory_alpha {
  border: 2px solid #8C1426;
}

#directory_well #directory_alpha a {
  border-right: 2px solid #8C1426;
}

#directory_well #directory_alpha a:hover {
  background: #8C1426;
}

#directory_well #directory_alpha a.selected {
  background: #8C1426;
}

#directory_well #directory_results {
  border-top: 4px solid #8C1426;
}

#directory_well #directory_results .staff {
  border-bottom: 2px solid #8C1426;
}

#directory_well #directory_results .staff a {
  color: #8C1426;
}

.date-box-widget .date-box {
   background: #8C1426;
}

.date-box-widget .details p .headline {
    color: #8C1426;
}

#hero-text a:hover, #hero-text a:focus, .event_block .event-title:hover, .event_block .event-title:focus {
    color: #e6e6e6;
}

.event-url:hover {
    color: #e6e6e6;
}

.container--blue a:hover {
   color: #e6e6e6;
}
  

.drawer__header, .drawer {
  background-color: #8C1426;
}

.global_search_form input {
    border: 3px solid #8C1426;
}


.search__button {
  color: #8C1426;
}

.canvas .timeline::before, .canvas .timeline-img {
    background: #8C1426;
}

.quote-container .quote .quote-start {
  color: #8C1426;
}

.quote-container .quote .quote-end {
  color: #8C1426;
}

.quote-container .quote .quote-inner {
  color: #000;
}

.quote-container .quote-name {
  color: #8C1426;
}

.new-layout .content_block.background-blue {
    background: #8C1426;
  color: #fff;
}

.new-layout .content_block.background-blue h2, .new-layout .content_block.background-blue h3, .new-layout .content_block.background-blue h4 {
  color: #fff;
}

.new-layout .content_block.background-blue .accordion__text h3 {
  color: #8C1426;
}

.sub-button-icon {
    color: #8C1426;
}

.school-site .header__nav-primary .header__nav-primary__list .has-shelf .shelf {
  background: #8C1426;
      border-bottom: 0.5px solid #b24e5b;
      border-top: 0.5px solid #b24e5b;

}

.new-layout .header__nav-primary.new-primary-header.header__nav--fixed.new_nav--fixed .has-shelves, .new-layout#homepage .new-header #nav_main.new-nav-container.has-shelves:hover {
          background: -webkit-linear-gradient(left, #700515, #8C1426);
        background: linear-gradient(90deg, #700515, #8C1426);
}

#homepage.school-site .header__nav-primary.shelf-active {
  background: -webkit-linear-gradient(left, #700515, #8C1426);
        background: linear-gradient(90deg, #700515, #8C1426);
    color: #fff;
}
  

@media (max-width: 700px) {
    .new-layout #main-content .sidenav .banner, .new-layout #main-content .landing .banner {
        background: -webkit-linear-gradient(left, #700515, #8C1426);
        background: linear-gradient(90deg, #700515, #8C1426);
    }
}

/* end color overrides */


/* start main nav */


#homepage .header__nav-primary {
  background: transparent;
}




@media (min-width: 64em) {
#homepage.new-nav .new-header-logo, .new-nav .new-header-logo {
    width: 22rem;
}
}


@media (max-width: 1130px) {
  .new-layout .new-header .new-header-link, .new-layout .new-header .header__nav-primary__link {
    font-size: .95rem;
}
      .header__menu__search:before {
        left: -.4rem;
      }
}
@media (max-width: 1023px) {
  #homepage.new-nav .new-header-link, .new-nav .new-header-link {
    /*font-size: .9rem;*/
    color: #8C1426;
}
}

@media (max-width: 1023px) {
  
  .inner_landing #touroCanvas, .programs_landing #touroCanvas, .news_events_landing_page_layout #touroCanvas {
    grid-template-rows: 80px 56px 1fr auto auto;
}
  
.subnav__placeholder--mobile {
    position: fixed;
    width: 100%;
    top: 80px;
  }

}




/* end main nav */


/* Start HOMEPAGE */

#homepage #main__content {
    background: #f2f2f2;
    margin-top: 0;
}

#homepage .hero__content.container--blue {
  display: block;
}

.hero__content.container--blue .button {
  padding: 1rem;
  width: 225px;
  margin: 5px auto;
}

#homepage .hero__content.container--blue .button {
    padding: 1rem;
    width: 100%;
}

#homepage .video-hero h1.logo {
    top: 50%;
}

#homepage #video_overlays {
background: #000;
    opacity: .6;
}

#homepage video {
    -webkit-filter: none;
    filter: none;
}


@media (min-width: 1024px) {

  #homepage.nymc-new #js-video {
    background-image: url(/media/schools-and-colleges/nymc/images/nymc_vidstill_homepagevideo.jpg);
    background-size: cover;
  }
  
  #homepage h1 {
    background-image: url(/media/schools-and-colleges/nymc/images/logos/nymc-colo-logo.png);
  }
}



@media (max-width: 1023px) {
  
   #homepage h1 {
    background-image: url(/media/schools-and-colleges/nymc/images/logos/nymc-colo-logo.png);
  }
  
  #homepage .video-hero h1.logo {
    width: 60%;
    height: 33%;
}
}

.hp-spotlight-container .hp-spotlight-img {
height: 700px;
}

@media (max-width:1117px) {
.hp-spotlight-container .hp-spotlight-img {
height: 800px;
}
}

@media (max-width:864px) {
.hp-spotlight-container .hp-spotlight-img {
height: 950px;
}
}

@media (max-width:700px) {
.hp-spotlight-container .hp-spotlight-img {
height: 750px;
}
}

@media (max-width:526px) {
.hp-spotlight-container .hp-spotlight-img {
height: 850px;
}
}

@media (max-width:422px) {
.hp-spotlight-container .hp-spotlight-img {
height: 950px;
}
}


@media (max-width: 600px) {
#homepage .video-hero h1.logo {
    width: 80%;
    height: 45%;
}
}


/* added by Ralph 1/6/20 re: Edge video overlay fallback */
@supports not (mix-blend-mode: multiply) {
  #homepage #video_overlays{
    filter: brightness(75%);
    background: rgba(226, 158, 74, .75);
    
  }
}

/* added by Ralph 1/6/20 re: IE video overlay fallback */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	/* IE10+ CSS styles go here */
  	#homepage #video_overlays{
      opacity: .75;
  }
}

/*

#homepage .hero__content.container--blue {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr 1fr 2rem 1fr; 
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 2rem;
    padding: 5% 10% 2% 10%;
    height: auto;
}


#homepage .hero__content.container--blue #hero-text {
    -ms-grid-column: 1;
    -ms-grid-column-span: 3;
    grid-column: 1 / span 3;
    width: 100%;
}


#homepage .hero__content.container--blue #hero-buttons {
    grid-column: 4 / span 1;
    -ms-grid-column: 5; 
    -ms-grid-column-span: 1;
    width: 100%;
}

@media (max-width: 1024px) {
#homepage .hero__content.container--blue #hero-text {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1 / span 1;
}
  #homepage .hero__content.container--blue {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    grid-gap: 0;
}
  #homepage .hero__content.container--blue #hero-buttons {
    grid-column: 1 / span 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
}
}

*/


/* end homepage */



/* Start 404 */

#errorPage #main-content {
    background: url('/media/schools-and-colleges/nymc/images/page-photos/404.jpg') no-repeat center;
    background-size: cover;
  text-shadow: 0 2px 10px #00000085;
}


/* end 404 */




/* start NEW FOOTER */

.footer {
    font-weight: 700;
    font-family: "Metropolis", sans-serif;
letter-spacing: 0.07em;
}

.footer img {
    max-width: 600px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 50px;
}

.footer .button {
    width: 80%;
}

.footer ul {
list-style: none;
    margin-left: -40px;
}

.footer .fa-brands {
    font-weight: 400;
    font-size: 30px;
}

.footer .fa-brands:hover {
  color: #ffb300;
}


.new-layout .footer {
    background: -webkit-linear-gradient(left, #700515, #8C1426);
    background: linear-gradient(90deg, #700515, #8C1426);
}

@media (max-width: 767px) {
  .footer .button {
    margin-bottom: 10px;
}
  
  .footer img {
    max-width: 450px;
}
}

@media (max-width: 550px) {

  .footer img {
    max-width: 300px;
}
}


/* end new footer */



/* start FOOTER */


.school_footer .module_container {
display: flex;
justify-content: space-between;
align-items: center;
  border-bottom: 0.5px solid #b24e5b;
}

.school_footer .school_name {
    font-family: "Metropolis", sans-serif;
letter-spacing: 0.07em;
    font-size: 28px;
    font-weight: 700;
line-height: 1.5;
}

.school_footer .school-footer-buttons {
flex-grow: 1;
 margin: 0 20px;
}

.school_footer .school-footer-buttons  .button {
width: 100%;
margin-top: 0;
white-space: nowrap;
}

.footer__social__link .fa-brands:hover {
  color: #ffb300;
}

.footer .policy {
background: -webkit-linear-gradient(left, #700515, #8C1426);
    background: linear-gradient(90deg, #700515, #8C1426);
    padding-bottom: 10px;
    margin-top: 30px;
    border-top: 0.5px solid #b24e5b;
}

@media (max-width:1023px) {
.school_footer .module_container {
flex-direction: column;
height: 380px;
}
.school_footer .school-footer-buttons {
flex-grow: 0;
margin: 20px 0;
  width: 100%;
}
}

@media (max-width: 767px) {
.school_footer .module_container {
flex-direction: column;
height: 480px;
}

.school_footer .school_name {
text-align: center;
}

.school_footer .school-footer-buttons .button {
margin: 5px 0;
}
}


/* end footer */


.accordion:last-child {
    border-bottom: none;
}


/* start school pages */

.hero__content h1 {
      margin: 0;
}


@media (max-width: 1130px) {
.nymc-new.new-layout #hero_container #school_navigation_container #school_navigation {
font-size: .9rem;
}
  .nymc-new.new-layout #hero_container #school_navigation_container #school_navigation .name {
    font-size: 1.05rem;
  }
}

@media (max-width: 540px) {
.school-of-health-sciences-and-practice .subnav__toggle .subnav_header {
font-size: .75rem;
}
  .graduate-school-of-biomedical-sciences .subnav__toggle .subnav_header {
font-size: .75rem;
}
}


/* end school */



/* nav links state targeting each section - underline current section*/

/* About */
.about_section #mn_about:before, .about #mn_about:before, 
/* Admissions */
.admissions_aid_section #mn_admissions:before, .admissions #mn_admissions:before,
/* Academics */
.academics_section #mn_academics:before, .academics #mn_academics:before,
/* Research */
.research #mn_research:before, .research_section #mn_research:before,
/* Life at NYMC */
.life_section #mn_nymc_life:before, .life.at.nymc #mn_nymc_life:before, .life_at_nymc_section #mn_nymc_life:before
{
    opacity: 1;
}



/* end nav links state */

/* disable underline on main nav highlighting section  */


/* About */
.graduate_school_of_biomedical_sciences_section #mn_about:before, 
.school_of_health_sciences_and_practice_section #mn_about:before, 
.school_of_medicine_section #mn_about:before,
/* Admissions */
.graduate_school_of_biomedical_sciences_section #mn_admissions:before, 
.school_of_medicine_section #mn_admissions:before,
/* Academics */
.graduate_school_of_biomedical_sciences_section #mn_academics:before, 
.school_of_medicine_section #mn_academics:before,
/* Research */
.school_of_medicine_section #mn_research:before,
/* Life at NYMC */
.school_of_medicine_section #mn_nymc_life:before
{
    opacity: 0;
}

/* end disable underline on main nav highlighting section  */

.button.button--large.yellow {
background-color: #FFB300;
border: #FFB300;
}


.button.button--large.yellow:hover{
    background: #505962;
    border: 2px solid #505962;
    color: #fff;
}

.hero__overlay, .graduate.school_landing .hero__overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0px;
    opacity: .2;
    background: #000;
  z-index: 1;
}

/* remove dark overlay from school homepage */
.school_landing .hero__overlay{
	background: none;
}


/* Instagram */

.instagram .card .card_back p {
  border: 2px solid #FFB300;
}

.instagram .card:hover .card_back {
  background-color: #8C1426;
}


/* start News */

.new-layout.nymc-new.school-site .newsroom #school_navigation_container #school_navigation li:nth-child(2) {
    margin-left: 450px;
}

@media (max-width: 1200px) {
.new-layout.nymc-new.school-site .newsroom #school_navigation_container #school_navigation li:nth-child(2) {
    margin-left: 300px;
}
}

@media (min-width: 1024px) {
  .full_width.newsroom .main {
	margin-top: -1rem;
}
}

.nymc-new .newsroom #hero_container #school_navigation_container #school_navigation ul li {
    display: inline-block;
    padding: 1rem 2.5rem;
    margin: 0;
}

.nymc-new .newsroom #hero_container #school_navigation_container #school_navigation ul {
justify-content: flex-end;
} 

.newsroom #site_breadcrumb {
  display: none;
}



#news-list-page hr {
    background: #bababa;
    height: 3px;
}


@media (max-width: 1023px) {
  .nymc-new .newsroom #hero_container .hero__content, .nymc-new .newsroom #hero_container .hero__image {
    display: none;
  }

}

@media (max-width: 799px) {
    #news-list-page .story-text {
        width: 100%;
        margin-right: 0;
      margin-top: 20px;
    }
    .featured-story-img-container {
   	    width: 100%;
        padding-bottom: 57%;
        margin-left: 0;
        margin-top:2%;
	}

#news-list-page .featured-story {
  display: flex;
    flex-direction: column-reverse;
}
}

@media (max-width: 599px) {
  
	#news-list-page.story-text {
    	width: 100%;
	}

	.featured-story-img-container{
		width: 100%;
	}
}


/* end news */


.inner_landing_no_left_nav.school_landing .hero__content.container--blue {
    margin-top: -10px;
}


.container--blue .accordion__toggle {
    color: #fff;  
}

.container--blue .accordion__content p {
    color: #000;
}

.inner_landing.no_sidenav div#touroCanvas {
    grid-template-rows: 80px 1fr auto auto;
    grid-template-areas:
        "header"
        "notification"
        "main-content"
        "footer";
}

.homepage #block-1 {
    grid-area: video;
}

/*
@media (max-width: 1023px) {
.homepage #touroCanvas, .school-site #touroCanvas {
    display: grid;
    grid-template-rows: 80px 1fr auto auto;
    grid-template-areas:
        "header"
        "notification"
        "video"
        "main-content";
}
#homepage #js-video, #homepage .hero {
    margin-top: 0;
}  
  #homepage #block-1 .pauseVideo {
      display: none;  
  }
}

*/

@media (width: 1024px) {
.new-nav .header__nav-primary {
    top: 100%;
}
}

.pauseVideo::after {
    content: '\f04c';
    font: var(--fa-font-solid);      
    font-size: 2rem;
}

/* Flickr Styles*/
figcaption.image__caption.image__caption--overlay, .flickity-enabled .flickity-prev-next-button:hover, .flickity-enabled .flickity-prev-next-button:active, .image__slider .image__container--promo {
    background-color: #8C1426;
}

/* Clinical Training sites styles */
.grid-block{
  display: flex;
  margin: 5% 0;
}

.image-block{
  width: 50%;
}

.text-block{
  width: 50%;
}

@media (max-width: 768px) {
.grid-block{
  flex-direction: column;
}
  
  .image-block{
  width: 100%;
}

.text-block{
  width: 100%;
}
  
  
  
}



/* homepage video button style */
/* https://touro-web.monday.com/boards/4403606775/pulses/6722086879?notification=4640752198 */
button.pauseVideo{
  border: none;
  background-color: transparent;
}


/* fix hero overlay issue */

.hero-content{
  display: flex;
  flex-direction: column;
  position: relative;
}

.hero-content h1{
  z-index: 2;
}



.hero__overlay{
  top:0;
  right: 0;
  bottom: 0;
  left: 0;
}



/* https://touro-web.monday.com/boards/114029247/pulses/7171867787?notification=4948878061 */

.hp-spotlight-text a.button:focus {
    color: #fff;
}


/* https://touro-web.monday.com/boards/114029247/pulses/7172331344 */
/* https://touro-web.monday.com/boards/114029247/pulses/7173828680 */
.academics .module_container a:focus, .research .module_container a:focus{
  color: #e6e6e6;
}

/* https://touro-web.monday.com/boards/114029247/pulses/7174724357 */
.newsroom_section #school_navigation a:focus{
	border-bottom: 3px solid #8C1426;
    padding-bottom: 5px;
}


#errorPage .button-wrapper{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  }

@media (max-width: 1023px) {
    #errorPage .inner_page #touroCanvas {
            grid-template-rows: 80px 1fr auto 710px;
        }
  #errorPage .inner_page .main__content{
  	margin-top: 50px;
  }
  
  #errorPage .button-wrapper{
    flex-direction: column;
    
  }
  
  


    }

@media (min-width: 1024px) {
#errorPage .inner_page .main__content{
  	margin-top: 100px;
  margin-bottom: 200px;
  }
}






/* start 165 */




@media (min-width: 64em) {

/*
      .anniversary-header .new-nav .new_nav--fixed {
        padding: 0;
        top: 32px;
    }

  .anniversary .header__nav-primary__list li:first-child, .anniversary .header__nav-primary__list li:last-child {
    margin: -10px auto auto auto;
    
}
  
    .anniversary .header__nav-primary__list li:first-child, .anniversary .header__nav-primary__list li:last-child {
    margin: -25px auto auto auto;
    
}
  
  .anniversary-header .header__nav-primary.header__nav--fixed .header__nav-primary__list li:first-child, .anniversary-header .header__nav-primary.header__nav--fixed .header__nav-primary__list li:last-child {
    margin: auto;
  }
      .anniversary-header #homepage.new-nav #nav_main.new-nav-container, .anniversary-header .new-nav .new-nav-container {
        height: 130px;
    }
  
      .anniversary-header #homepage.new-nav .new-header, .anniversary-header .new-nav .new-header {
        height: 160px;
    }
  
      .anniversary-header #homepage.new-nav #nav_main.new-nav-container,  .anniversary-header .new-nav .new-nav-container {
        height: 130px;
    }*/
  
  .new-nav .anniversary .new_nav--fixed {
        padding: 0;
        top: 32px;
    }

.anniversary-header .header__nav-primary__list li:first-child, .anniversary-header .header__nav-primary__list li:last-child {
    margin: -25px auto auto auto;
    
}

.anniversary-header .header__nav-primary.header__nav--fixed .header__nav-primary__list li:first-child, .anniversary-header .header__nav-primary.header__nav--fixed .header__nav-primary__list li:last-child {
    margin: auto;
  }

 .new-nav .anniversary-header #nav_main.new-nav-container {
        height: 130px;
    }

}

@media (max-width: 63em){
  .new-nav .anniversary .anniversary-header.header{
      height: auto;
  }
}

.nymc-new #main-content #hero_container .hero__content::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 100 65' fill='rgb(140%2C20%2C38)' fill-opacity='1'%3E%3Cpolygon points='0%2C0 100%2C65 100%2C0'%3E%3C/polygon%3E%3C/svg%3E");
}


.off-screen {
  height: 0;
  overflow: hidden;
}



/*testing*/



















