/* Style sheet created by Flower-webdesign, unless otherwise noted*/
/*When using Grove build in anchor, please note the syntax of the anchor name sometimes automaticly changes and don't forget to turn on the anchor*/


/*------------------------------GENERAL------------------------------------------*/

/*---correct image margin---*/
.TwoColumnContainer3070 .Enh[data-align-center], .TwoColumnContainer7030 .Enh[data-align-center], .TwoColumnContainer5050 .Enh[data-align-center] {
	margin: 0px auto 50px auto;
}

/*---correct padding 3070 and 7030 column---*/

.TwoColumnContainer3070-column:first-of-type, .TwoColumnContainer7030-column:first-of-type {
	padding-right: 10px;
}
.TwoColumnContainer3070-column:nth-of-type(2), .TwoColumnContainer7030-column:nth-of-type(2) {
	padding-left: 10px;
}





/*---correct padding 5050 column---*/

.ThreeColumnContainer-column:first-of-type{   
	padding-right: 10px;
}

.ThreeColumnContainer-column:nth-of-type(2){
	padding-left: 5px;
	padding-right: 5px;
}

.ThreeColumnContainer-column:nth-of-type(3){
	padding-left: 10px;
}

/*---correct rich text module margin---*/
#newsletter-rich-margin-1, #newsletter-rich-margin-2, #newsletter-rich-margin-3, #newsletter-rich-margin-4, #newsletter-rich-margin-5, #newsletter-rich-margin-6{
	margin-bottom: 0px;
	padding-bottom: 40px;
}

/*----correct auto capitalize photo credit----*/
.Figure-credit, .Figure-divider, .Figure-source {
   text-transform: none; 
}


/*---Style HTML buttons---*/
.akpm-button{
color: #fff;
background-color: #BA0C2F;
border-width: 0px;
border-radius: 3px;
padding: 10px 30px 10px 30px;
}

.akpm-button:hover{
cursor: pointer;
background-color: #c90909;
opacity: 0.8;
}

/*---Style links---*/
a, .RTB a, .RTB p a, .RTB p>ol a, .RTB p>ul a, .RTB>ol a, .RTB>ul a {
  text-decoration: none;
}


/*---NAVIGATION---*/
.DropdownNavigation-items > li:nth-child(7){
margin-left: auto;
}

.DropdownNavigation-items > li:nth-child(8) a{
color: #BA0C2F;
}

.DropdownNavigation-items > li:nth-child(9) a{
color: #2638C4;
}

.PH-donate-button{
justify-content: center;
margin-top: 3px;
}

/*---FOOTER NAVIGATION--*/
.FooterNav a{
line-height: 2em;
font-size: 16px;
}







/*-----------------------------------HOME PAGE--------------------------------------------------*/

.AlertBar {
   background-color: #eb751a;
}

.PromoC-media{
margin: 0 0 20px 0;
}

#homepage-sponsor-title, #homepage-sponsor-title-2, #homepage-sponsor-title-3{
	margin-bottom: 0px;
	padding: 0 15px 20px 25px;
}

#homepage-program-high{
	border-bottom: 1px solid #e6e6e6;
}

#homepage-program-high .ListH-items-item{
	width: 100% !important;
}

#homepage-program-high .ThreeColumnContainer-column:nth-of-type(2), #homepage-program-high .ThreeColumnContainer-column:nth-of-type(3){
	margin-top: 25px !important;
}

#homepage-program-high-1 .PromoA-title, #homepage-program-high-2 .PromoA-title, #homepage-program-high-3 .PromoA-title{
	font-size: var(--title-3);
	line-height: 1.136;
}

@media only screen and (max-width: 676px){
#homepage-program-high .ListH-items{
	grid-template-columns: repeat(1,100%) !important;
}

#homepage-program-high-1 .ListH-items{
	grid-template-columns: repeat(1,100%) !important;
}

#homepage-program-high .ListH-items-item{
	margin-bottom: 0px;
	padding-bottom: 0px;
}

#homepage-program-high-1 .ListH-items-item{
	margin-bottom: 0px;
	padding-bottom: 0px;
}
}



/*-----------------------------------------NEWS----------------------------------------------------*/

/*---Alaska Desk---*/

#alaskadesk-team{
margin-bottom: 30px;
}

#alaskadesk-cpb, #alaskadesk-cpb-story{
margin-top: 30px;
}


/*--------------------------------LISTEN------------------------------------------------------*/

.PodcastPage-main{
	border-top: 0px !important;
}

/*aligns the podcast title. we also use the podcast title on our watch pages*/
@media only screen and (min-width: 768px) {
#main .PodcastPage-wrapper .PodcastPage-info .PodcastPage-top{
	align-items: center !important;
}

.PodcastPage-top-wrapper{
		padding-bottom: 25px;
		display: flex;
		justify-content: center;
}}

@media only screen and (min-width: 1024px) and (max-width: 1439px){
.PodcastPage-info{
	padding-top: 40px;
}}

@media only screen and (min-width: 1240px) and (max-width: 1439px){
.PodcastPage-info{
	padding-left: 0px;
	padding-right: 0px;

}}



/*---------------------------------------------WATCH------------------------------------------*/

/*----Ways to Watch----*/
.ways_to_watch{
	width: 100%;
	line-height: 1.7em;
	text-align: center;
}

.ways_to_watch th, .ways_to_watch td{
	font-family: 'Roboto';
	font-weight: 400;
	border: 1px solid #BA0C2F;
	padding: 5px;
}

.ways_to_watch th{
	background-color: #d3d3d3;
}

.ways_to_watch tr> td:nth-child(1){
	background-color: #e8e8e8;
}

/*----Indie Alaska----*/
 .OneOffPage-aside-content:has(#sidebar-indiealaska){
	margin-top: 90px;
 }

 #indiealaska-header .OneColumnContainer{
   margin-bottom: 0px;
 }
 

/*----Alaska Insight----*/
 #alaskainsight-header, #alaskainsight-header .OneColumnContainer{
   margin-bottom: 0px;
 }

  #alaskainsight-hostname{
	color: var(--primaryTextColor);
  }

/*----Media Manager pages----*/

 .TVShowEpisodePage-background picture{
	display:none;
 }

 .VideoPlayer-showTitle, .VideoPlayer-title, .VideoPlayer-info-wrapper, .VideoPlayer-description, .VideoPlayer-details, .VideoPlayer-franchise-logo{
 color: #333 !important;
}
 


   
    
/*----------Ways to Watch Tooltips - MARC SHERMAN ----------*/
.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip-container .tooltip-text {
    visibility: hidden;
    width: 300px;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 9999;
    top: 120%; /* position below */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.tooltip-container:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

    

/*----------ABOUT----------*/

#public-documents-spacing hr{
	margin: 10px auto 40px auto !important;
}

#public-documents-spacing .RichTextModule{
	padding-bottom: 0px;
}  
    



/*----------EVENT TABLES - MARC SHERMAN ----------*/
.responsive-table {
  width: 100%;
  border-collapse: collapse; /* Ensures clean grid lines */
  border: 1px solid #ddd; /* Restores the outer border */
}

/* Style table headers */
.responsive-table th {
  background-color: #ba0c2f; /* Dark red background */
  color: #ffffff; /* White text */
  padding: 12px; /* Add a bit more padding for readability */
  text-align: left;
  border: 1px solid #ddd; /* Ensures gridlines remain in headers */
}

/* Style table cells */
.responsive-table th,
.responsive-table td {
  padding: 12px; /* Slightly increased padding for better spacing */
  border: 1px solid #ddd; /* Restores full grid */
  text-align: left;
}

/* Style links inside table cells */
.responsive-table td a {
  color: #ba0c2f; /* Set text color */
  font-weight: bold; /* Make it bold */
  text-decoration: none; /* Optional: Remove underline */
}

/* Add underline when hovered for better UX */
.responsive-table td a:hover {
  text-decoration: underline;
}

/* Convert Table into Cards for Mobile */
@media (max-width: 768px) {
  .responsive-table thead {
    display: none; /* Hide table headers */
  }
  
  .responsive-table tbody,
  .responsive-table tr,
  .responsive-table td {
    display: block;
    width: 100%;
  }

  .responsive-table tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    padding: 12px;
    background: #f9f9f9;
  }

  .responsive-table td {
    text-align: right;
    position: relative;
    padding-left: 50%;
    border: 1px solid #ddd; /* Ensure borders remain in card format */
  }

  .responsive-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    font-weight: bold;
    text-align: left;
  }
}

/*----------EDUCATION----------*/

/*----Alaska at Work----*/
@media only screen and (min-width: 1279px){  
  #akatwork-footer-1, #akatwork-footer-2, #akatwork-footer-3, #akatwork-footer-4{
    margin-left: -500px;
    margin-right: -500px;
  }
    }

 #akatwork-footer-rich1 img, #akatwork-footer-rich2 img{
   max-width:60%;
   margin: auto;
 }
    
  #akatwork-footer .ThreeColumnContainer{
    padding-bottom: 0px;
    margin-bottom: 0px;
  }  


  #akatwork-footer .ThreeColumnContainer-column, #akatwork-footer .ThreeColumnContainer-column .HtmlModule{
    display:flex;
    justify-content: center;
  }
    
 #akatwork-footer-rich1, #akatwork-footer-rich2, #akatwork-footer-html1{
    align-content: center;
  }

/*---AKPM Programs----*/
#akpm-programs-promo-title .PromoB-title{
	text-align:center;
}

#oddsquad-header .Enh, #readyjetgo-header .Enh{
	margin: 0px auto 0px auto;
}


/*---TROUBLE AT SEA----*/
#tas-hatcheries-img, #tas-pink-img, #tas-climate-img, #tas-forward-img, #tas-bigdeal-img, #tas-yukon-img{
	margin-top: 75px;
}

.tas-caption{
	color: var(--secondaryTextColor);
    font-family: var(--secHlFont), Arial, Helvetica, sans-serif;
    font-size: var(--label-1);
    font-style: italic;
    line-height: 1.27;
    margin: 5px 0;
    text-align: right;
}

#tas-david-name, #tas-ayktc-name{
	font-size: 2em;
	text-align: center;
	padding-top: 5px;
}

 #tas-footer-rich1 img, #tas-footer-rich5 img, #tas-footer-rich7 img{
   max-width:60%;
   margin: auto;
 }

#tas-footer-rich2 img, #tas-footer-rich3 img, #tas-footer-rich4 img, #tas-footer-rich6 img{
   max-width:90%;
   margin: auto;
 }

#tas-footer-rich4 img{
   max-width:80%;
   margin: auto;
 }



 #tas-footer-rich1, #tas-footer-rich2, #tas-footer-rich3, #tas-footer-rich4, #tas-footer-rich5, #tas-footer-rich6, #tas-footer-rich7{
   align-content: center;
 }
    
#tas-footer .ThreeColumnContainer{
    padding-bottom: 0px;
    margin-bottom: 0px;
  }  

a.NavI-text-link[href="https://alaskapublic.org/programs/trouble-at-sea/about"] {
  color: inherit !important;
}

.DropdownNavigation-items > li.tas-nav-custom{
	margin-left: 0px;
}

@media only screen and (max-width: 767px){  
#tas-footer .ThreeColumnContainer-column:first-of-type, #tas-footer .ThreeColumnContainer-column:nth-of-type(2){
	padding-bottom: 0px;
	padding-right: 0px;
}

}
    
/* Dracula bat in nav menu */
ps-header.PH a.NavLink[href*="/programs/hometown-alaska/dracula"] {
  white-space: nowrap;

  --dracula-bat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 140'%3E%3Cpath d='M4 136C-3 119 0 101 7 87C10 81 15 77 16 73L11 70C10 65 25 69 37 69C48 70 56 67 63 62C57 61 52 57 50 53C58 52 64 48 68 43Q70 39 72 35Q74 38 76 43Q80 41 84 43Q86 39 88 37Q90 42 90 48C95 40 95 27 96 17C96 10 98 6 101 5C102 14 108 9 113 8C130 0 142 0 157 8C148 12 140 17 139 24L139 34C130 36 119 43 120 54C108 58 102 64 103 76C96 76 99 84 102 94C104 102 99 102 88 95C80 101 72 94 65 98C59 100 58 105 57 109C45 107 39 111 34 120C23 116 11 123 4 136Z'/%3E%3C/svg%3E");
}


ps-header.PH a.NavLink[href*="/programs/hometown-alaska/dracula"]::after {
  content: "";
  display: inline-block;

  width: 1.15em;
  height: 0.9em;
  margin-left: 14px;
  margin-right: 8px;
  vertical-align: baseline;

  transform: translateY(1px) scale(1.7);
  transform-origin: center;

  background-color: currentColor;
  pointer-events: none;

  -webkit-mask-image: var(--dracula-bat);
  mask-image: var(--dracula-bat);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* Debate for the State and 2026 Election Results: stars in nav menu */
ps-header.PH a.NavLink[href*="/debate-for-the-state"],
ps-header.PH a.NavLink[href*="/alaska-votes-2026"] {
  white-space: nowrap;

  --dfts-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 6L62 35L94 38L70 59L77 91L50 74L23 91L30 59L6 38L38 35Z'/%3E%3C/svg%3E");
}

ps-header.PH a.NavLink[href*="/debate-for-the-state"]::after,
ps-header.PH a.NavLink[href*="/alaska-votes-2026"]::after {
  content: "";
  display: inline-block;

  width: 0.9em;
  height: 0.9em;
  margin-left: 10px;
  margin-right: 4px;
  vertical-align: baseline;

  transform: translateY(1px) scale(1.15);
  transform-origin: center;

  background-color: currentColor;
  pointer-events: none;

  -webkit-mask-image: var(--dfts-star);
  mask-image: var(--dfts-star);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/*---ELECTION PAGE 2026----*/
@media (max-width: 767px) {
  #election-mobile-text-margin{
	margin-bottom: 0px;
	padding-bottom: 0px;
}
}

/* Travel Club: compass beside the navigation label */
ps-header.PH a.NavLink[href*="/community/alaska-public-media-travel-club"] {
  --travel-compass: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='41' fill='none' stroke='black' stroke-width='6'/%3E%3Cpath d='M69 28L57 57L28 69L40 40Z' fill='none' stroke='black' stroke-width='5' stroke-linejoin='round'/%3E%3Cpath d='M69 28L57 57L40 40Z' fill='black'/%3E%3C/svg%3E");
}

ps-header.PH a.NavLink[href*="/community/alaska-public-media-travel-club"]::after {
  content: "";
  display: inline-block;

  /* Keep the icon from increasing menu-row height. */
  width: 0.9em;
  height: 0.9em;
  margin-left: 10px;
  margin-right: 4px;
  vertical-align: baseline;

  transform: translateY(1px) scale(1.35);
  transform-origin: center;

  background-color: currentColor;
  pointer-events: none;

  -webkit-mask-image: var(--travel-compass);
  mask-image: var(--travel-compass);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}



