/*
 Theme Name:   Antarctic Glaciers
 Description:  Astra Child Theme
 Author:       Stefan Senk
 Author URI:   http://senktec.com
 Template:     astra
 Version:      1.0.2
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  antarcticglaciers
*/


/* Global */

a:hover {
  text-decoration: underline;
}

.wp-block-cover.has-background-dim a {
    color: #fff;
}
.wp-block-cover.has-white-background-color a {
    color: #3a3a3a;
}
.entry-meta span,
.entry-meta time {
  color: inherit;
}
.wp-block-image figcaption {
  font-style: italic;
  font-size: 80%;
}


/* Header */
/*
.ast-theme-transparent-header .ast-builder-menu .main-header-menu,
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .menu-link,
.ast-theme-transparent-header [CLASS*="ast-builder-menu-"] .main-header-menu .menu-item > .menu-link,
.ast-theme-transparent-header .ast-masthead-custom-menu-items,
.ast-theme-transparent-header .ast-masthead-custom-menu-items a,
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .menu-item > .ast-menu-toggle,
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .menu-item > .ast-menu-toggle,
.ast-theme-transparent-header .ast-above-header-navigation a,
.ast-header-break-point.ast-theme-transparent-header .ast-above-header-navigation a,
.ast-header-break-point.ast-theme-transparent-header .ast-above-header-navigation > ul.ast-above-header-menu > .menu-item-has-children:not(.current-menu-item) > .ast-menu-toggle,
.ast-theme-transparent-header .ast-below-header-menu,
.ast-theme-transparent-header .ast-below-header-menu a,
.ast-header-break-point.ast-theme-transparent-header .ast-below-header-menu a,
.ast-header-break-point.ast-theme-transparent-header .ast-below-header-menu,
.ast-theme-transparent-header .main-header-menu .menu-link {
    color: #ffffff;
}
.ast-theme-transparent-header .ast-builder-menu .main-header-menu,
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .sub-menu,
.ast-theme-transparent-header .ast-builder-menu .main-header-menu,
.ast-theme-transparent-header.ast-header-break-point .ast-builder-menu .main-header-bar-wrap .main-header-menu,
.ast-flyout-menu-enable.ast-header-break-point.ast-theme-transparent-header .main-header-bar-navigation #site-navigation,
.ast-fullscreen-menu-enable.ast-header-break-point.ast-theme-transparent-header .main-header-bar-navigation #site-navigation,
.ast-flyout-above-menu-enable.ast-header-break-point.ast-theme-transparent-header .ast-above-header-navigation-wrap .ast-above-header-navigation,
.ast-flyout-below-menu-enable.ast-header-break-point.ast-theme-transparent-header .ast-below-header-navigation-wrap .ast-below-header-actual-nav,
.ast-fullscreen-above-menu-enable.ast-header-break-point.ast-theme-transparent-header .ast-above-header-navigation-wrap,
.ast-fullscreen-below-menu-enable.ast-header-break-point.ast-theme-transparent-header .ast-below-header-navigation-wrap,
.ast-theme-transparent-header .main-header-menu .menu-link {
    background-color: rgba(0,0,0,0);
}
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .menu-item:hover > .menu-link,
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .menu-item:hover > .ast-menu-toggle,
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .ast-masthead-custom-menu-items a:hover,
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .focus > .menu-link,
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .focus > .ast-menu-toggle,
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .current-menu-item > .menu-link,
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .current-menu-ancestor > .menu-link,
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .current-menu-item > .ast-menu-toggle,
.ast-theme-transparent-header .ast-builder-menu .main-header-menu .current-menu-ancestor > .ast-menu-toggle,
.ast-theme-transparent-header [CLASS*="ast-builder-menu-"] .main-header-menu .current-menu-item > .menu-link,
.ast-theme-transparent-header [CLASS*="ast-builder-menu-"] .main-header-menu .current-menu-ancestor > .menu-link,
.ast-theme-transparent-header [CLASS*="ast-builder-menu-"] .main-header-menu .current-menu-item > .ast-menu-toggle,
.ast-theme-transparent-header [CLASS*="ast-builder-menu-"] .main-header-menu .current-menu-ancestor > .ast-menu-toggle,
.ast-theme-transparent-header .main-header-menu .menu-item:hover > .menu-link,
.ast-theme-transparent-header .main-header-menu .current-menu-item > .menu-link,
.ast-theme-transparent-header .main-header-menu .current-menu-ancestor > .menu-link {
    color: #ffffff;
}
*/
.main-header-menu .menu-link,
.main-header-menu > a {
    /* text-decoration: none; */
    /* padding: 0 1em; */
    padding: 0 0.8em;
    /* display: inline-block; */
    /* transition: all .2s linear; */
}


.ast-primary-header-bar {
  background-image: url(./images/header-background-01.jpg);
}

/* .ast-primary-header-bar:before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    opacity: .5;
    content: "";
    background-color: #000;
}
.site-primary-header-wrap,
.ast-mobile-header-wrap {
  position: relative;
  z-index: 10;
} */

/* .ast-header-break-point .main-header-menu {
 background-color:#f9f9f9;
 border-top-width:1px;
 border-style:solid;
 border-color:#eaeaea
} */
.ast-mobile-header-content {

}

.site-primary-header-wrap a {
  /* color: #fff; */
}

.ast-theme-transparent-header .ast-primary-header-bar {
  background: transparent;
}

[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
    fill: #ffffff;
}

@media (max-width: 544px) {
  .home .wp-block-cover .has-huge-font-size {
    font-size: 2em;
    line-height: 1.5;
  }
}



/* Sidebar */
#secondary {
  line-height: 1.4 !important;
  font-size: 90% !important;
}
#secondary .widget_pages_modified li,
#secondary .widget_recent_entries li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
#secondary .widget_twitter li {
  margin-bottom: 1.2em;
}

/* Posts */
.entry-meta {
  color: inherit;
  font-style: italic;
  font-size: 80%;
  margin-top: 1em;
}

.entry-footer {
  margin-top: 6rem;
}
.entry-footer .ast-author-box {
  margin-top: 2rem;
  margin-bottom: 3rem;
  display: flex;
  padding: 2em 4em 1em 3em;
  border: 0;
  background: #e3eff6;
}
.entry-footer .ast-author-bio {
  flex: 1;
}
.ast-author-bio:first-child p {
  margin-top: 0.8em;
}
.entry-footer .ast-author-avatar {
  /* width: 50%; */
}
.ast-archive-description {
  margin-bottom: 4em;
}

/* Page Thumbnail */
.page.ast-article-single .post-thumb-img-content {
  display: none;
}


/* Footer */
.ast-footer-html-1 a {
  display: inline-block;
  margin: 10px 2%;
}



/* widget_pages_modified */
.widget_pages_modified ul {
	list-style: none;
}
.widget_pages_modified .children {
  display: none;
	margin-left: 1.5em;
}
.widget_pages_modified .current_page_ancestor .children {
  display: block;
}
.widget_pages_modified .current_page_ancestor .children .children {
  display: none;
}
.widget_pages_modified .current_page_ancestor .children .current_page_ancestor .children {
  display: block;
}
.widget_pages_modified .current_page_ancestor .children .current_page_ancestor .children .children {
  display: none;
}
.widget_pages_modified .current_page_ancestor .children .current_page_ancestor .children .current_page_ancestor .children {
  display: block;
}

.widget_pages_modified .current_page_item .children {
  display: block;
}
.widget_pages_modified .current_page_item .children .children {
  display: none;
}
.widget_pages_modified .current_page_ancestor .current_page_item .children {
  display: block;
}
.widget_pages_modified .current_page_ancestor .current_page_item .children .children {
  display: none;
}

.widget_pages_modified a {
  font-weight: normal;
}
.widget_pages_modified .current_page_ancestor a {
  font-weight: bold;
}
.widget_pages_modified .current_page_ancestor .children a {
  font-weight: normal;
}
.widget_pages_modified .current_page_ancestor .children .current_page_ancestor a {
  font-weight: bold;
}
.widget_pages_modified .current_page_ancestor .children .current_page_ancestor .children a {
  font-weight: normal;
}

.widget_pages_modified .current_page_item > a {
  font-weight: bold;
  color: #3a3a3a;
}
.widget_pages_modified .current_page_item .children a {
  /* font-weight: normal; */
  /* color: #0170B9; */
}
.widget_pages_modified .current_page_ancestor .children .current_page_item > a {
  font-weight: bold;
  color: #3a3a3a;
}
.widget_pages_modified .current_page_ancestor .children .current_page_item .children a  {
  /* font-weight: normal; */
  /* color: #0170B9; */
}
.widget_pages_modified .current_page_ancestor .children .current_page_ancestor .children .current_page_item > a {
  font-weight: bold;
  color: #3a3a3a;
}
.widget_pages_modified .current_page_ancestor .children .current_page_ancestor .children .current_page_item .children a {
  /* font-weight: normal; */
  /* color: #0170B9; */
}


/*  */
.tag_page_list .page_item_has_children > a {
	font-weight: bold;
	color: #373737;
}
.tag_page_list > .page_item_has_children {
  margin-top :20px;
}

/* Related Articles */
#related_articles {
  margin-top: 4em;
  border-top: 1px solid #eeeeee;
  padding-top: 2em;
}
.related_articles_title {
	/* font-size: 18px;
	color: #000;
	font-weight: bold;
	margin: 0 0 .8125em; */
}


/* Index Page */
.pages_index {
	display: block;
	position: relative;
	margin-left: -8px;
  margin-bottom: 4em;
}
.pages_index ul {
	list-style: none;
	margin-left:0;
}
.pages_index a {
	float:left;
	width: 23%;
	margin: 8px 1%;
	position: relative;
	overflow: hidden;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	/* box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.5); */

	height: 170px;
	background-color: #bbb;
	background-position: center center;
	background-repeat: no-repeat;
	/* background-size: auto 100%; */
	background-size: cover;
}
.home .pages_index a {
	height: 200px;
}
.pages_index_title {
	top:0;
	position:absolute;
	left:0;
	right:0;
	background-color: #333;
	background-color: rgba(0,0,0,0.5);
	color:#fff;
	padding: 8px 10px 8px 10px;
	line-height: 18px;
	font-weight:bold;
  font-size: 90%;
	-webkit-border-radius: 2px 2px 0px 0px;
	border-radius: 2px 2px 0px 0px;
}
.pages_index a .mouseover {
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-color:transparent;
}
.pages_index a:hover {
	/* box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.4); */
	text-decoration: none;
}
.pages_index a:hover .mouseover {
	background-color: rgba(180,180,250,0.2);
}
.page-template-index-page main article h1.entry-title {
  display: none;
}

/* Tag Flags */
.pages_index .tag_flags {
	position: absolute;
	left:0;
	bottom: 10%;
	right: 0;
}
.pages_index .tag_flag_item {
	line-height: 1;
}
.pages_index .tag_flag_item span {
	display: inline-block;
	padding: 2px 7px 2px 6px;
	color: #000;
	margin-top: 6px;
	/* line-height: 1; */
	background: yellow;
	-moz-border-radius: 0 6px 6px 0;
	border-radius: 0 6px 6px 0;
  font-size: 90%;
}



@media (max-width: 768px) {
  .pages_index a {
  	width: 48%;
  }
}

/* Back to top */
#back_to_top {
  position: fixed;
  bottom: 0;
  right: 0;
  padding: 4px 10px 2px 12px;

  /* background: none repeat scroll 0% 0% #eaeaea; */
  background: #ffffff;
  border-top: 1px solid #DDD;
  border-left: 1px solid #DDD;

  /* font-family: Georgia,"Bitstream Charter",serif; */
  /* font-weight: bold; */
  /* font-style: italic; */

  /*background: #ddd;*/
  -webkit-border-radius: 10px 0px 0px 0px;
  border-radius: 10px 0px 0px 0px;
  display: none;
}


/* Quiz */
body .slickQuizWrapper .button {
  background-color: #0170B9;
  padding: 10px 15px;
  border-radius: 2px;
  line-height: 1.85714285714286;
  border: 0;
}
body .slickQuizWrapper .button:hover {
  /* background-color: #000; */
}

/* Cookie Message */
#icc_message {
  color: #666;
  top: -28px;
}
#icc_message a {
  color: #666;
  text-decoration: underline;
}

/* FAQ Pages */
.expand-title:before {
  content: '+ ';
}
.expand-title:hover {
  text-decoration: underline;
}
h2.expand-title {
  margin-left: -15px;
}
.faq-answer {
  margin-bottom: 30px;
}

/* References & activities */
h2#references,
h2#activities {
	margin-bottom: 0;
}
h2#references a,
h2#activities a {
	color: #000;
}
.expanding_section_wrapper {
	margin-bottom: 2em;
}

.expanding_section_link:before {
	content: '+';
	min-width: 30px;
	display: inline-block;
}
.expanding_section_expended:before {
	content: '↓';
}

/* Download PDF */
.page-template-index-page .download_pdf_link {
  display: none;
}
.download_pdf_link {
	float: right;
  margin-top: -50px;
}
.download_pdf_link input[type="submit"] {
  padding: 10px 15px;
  font-size: 90%;
  /* border-radius: 2px; */
  /* line-height: 1.85714285714286; */
}
