/**
Theme Name: archaeology
Author: Fusio
Author URI: http://wpastra.com/about/
Description: archaeology theme
Version: 1.0.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: archaeology
Template: astra
*/

/* Focus Outlining */
a.wp-block-tiptip-hyperlink-group-block:focus {
	outline: 0;	/* Overridden by focus-within below */
}

a:not(.wp-block-tiptip-hyperlink-group-block):focus-within, a.news:focus, div.news:focus-within, div[role=button]:focus, div.information:focus-within, div#ast-scroll-top:focus-within {
	outline: 2px solid #fff !important;
	outline-offset: 4px !important;
}

a.wp-block-button__link:not(.news):focus, a[itemprop=item]:focus, .wp-block-group:has(.wp-block-tiptip-hyperlink-group-block):not(.news):focus-within {
	outline: 2px solid #000 !important;
	outline-offset: 4px !important;
}

div.is-style-full-height > a.wp-block-tiptip-hyperlink-group-block {
	height: 100%;
}

/* Front Page Quick Links */
#quick-links-block {
	width: 600px;
	max-width: 600px;
}

html[lang="ga-IE"] #quick-links-block {
	width: 700px;
	max-width: 700px;
	margin-left: -100px;
}

.wp-block-uagb-image__figure, .uagb-block-4e60eb8c.wp-block-uagb-image--layout-default figure img {
    width: 100%!important;
}

.entry-content .wp-block-uagb-buttons {
    margin-bottom: 0px;
}

/* News Hyperlink Block or anywhere where a full height column is desired */
.full-height {
    height: 100%;
}

/* Site Title/Header */
.site-title {
    padding-top: 8px;
	text-align: center;
}

/* WPML */
.wpml-ls-legacy-list-horizontal .wpml-ls-item {
    padding: 24px 0px 24px 0px;
}

.ast-search-icon {
    padding: 24px 8px 24px 8px;
}

.wpml-ls-legacy-list-horizontal .wpml-ls-item:hover, .wpml-ls-legacy-list-horizontal .wpml-ls-item:focus, .ast-search-icon:hover, .ast-search-icon:focus {
    background-color: #004C3F;
}

/* WMPL Custom Control */
.child-custom-switcher {
    line-height: 80px;
}

.child-custom-switcher * {
    height: 100%;
    display: inline-block;
    padding: 0 4px;
}

.child-custom-switcher p {
    display: none;
}

.child-custom-switcher span {
    color: var(--ast-global-color-5);
	font-size: 22px;
}

.child-custom-switcher a {
    color: var(--ast-global-color-8);
	font-size: 22px;
}

.child-custom-switcher li a:hover, .child-custom-switcher li a:focus {
    background-color: var(--ast-global-color-1)
}

.child-custom-switcher li:nth-child(2):after {
    height: 22px;
    width: 2px;
    background: var(--ast-global-color-8);
    display: inline-block;
    content: "";
    position: absolute;
    margin-left: 5px;
    top: calc(50%);
    transform: translateY(-50%);
}

/* Adds underline to links but optionally leave out certain elements */
.ast-single-post .entry-content a:not(.wp-block-tiptip-hyperlink-group-block, .wp-block-button__link),.ast-comment-content a:not(.ast-comment-edit-reply-wrap a), .text-decoration {
    text-decoration: underline;
}

/* Footer social links - tighten */
.wp-block-social-links {
    gap: 8px;
}

/* Footer Links Underline */
.footer-widget-area a {
    text-decoration: underline 2px rgba(255, 255, 255, 0);
    transition: text-decoration-color 300ms;
    color: #fff;
}

.footer-widget-area a:hover, .footer-widget-area a:focus {
    text-decoration-color: rgba(255, 255, 255, 1);
}

/* Quick Links Mobile */
.wp-block-columns.is-not-stacked-on-mobile>.wp-block-column {
    margin-bottom: 0;
}

.quick-link-button {
    margin-block-start: 12px;
    margin: 12px;
}

/* Quick Links Floating */
@media only screen and (min-width: 767px) {
    #quick-links-block {
        width: 600px;
    }
	
	html[lang="ga-IE"] #quick-links-block {
        width: 700px;
    }

    .quick-links .wp-block-uagb-container {
        top: -70px;
    }

    .quick-links-2 {
        height: 0;
    }

    .quick-links-2 .wp-block-uagb-container {
        border-radius: 5px;
    }

    .quick-link-button {
        margin-block-start: 0;
    }

    .quick-links-container {
        z-index: 99;
        position: absolute;
        right: 0;
    }
}

/*card-block animation*/
.card-block, .card-block * {
    -webkit-transition: all linear 0.25s;
    -moz-transition: all linear 0.25s;
    -o-transition: all linear 0.25s;
    transition: all linear 0.25s;
}

.card-block {
    overflow: hidden;
    outline: 0px solid #fbfbfb;
}

.card-block-green {
    outline: 0px solid #003126;
    background-color: #003126;
}

.card-block:hover, .card-block:focus {
    outline: 12px solid #fbfbfb;
    background-color: #fbfbfb;
}

.card-block-green:hover, .card-block:focus {
    outline: 12px solid #004c3f;
    background-color: #004c3f;
}

.card-block:hover img, .card-block:focus img {
    transform: scale(1.05);
}

body:not(.single-publications) .uagb-heading-text, body:not(.single-publications) .wp-block-post-title {
    position: relative;
    text-decoration: none!important;
    display: inline-block;
    padding-bottom: 2px;
}

.card-block .uagb-heading-text::after, .card-block .wp-block-post-title::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    width: 0%;
    height: 3px;
    background-color: #000;
    -webkit-transition: all linear 0.25s;
    -moz-transition: all linear 0.25s;
    -o-transition: all linear 0.25s;
    transition: all linear 0.25s;
}

.card-block .wp-block-post-title::after {
    background-color: #fff;
}

.card-block:hover .uagb-heading-text::after, .card-block:focus .uagb-heading-text::after, .card-block-green:hover .wp-block-post-title::after, .card-block-green:focus .wp-block-post-title::after {
    width: 100%;
}

/* Post list items */
.post-list-item {
	box-shadow: 0px 6px 15px -2px rgba(16,24,40,0.05);
}

.post-list-item img { 
	border-radius: 6px 0 0 6px;
}

.test1 .n2-ss-slide-backgrounds, .test1 .n2-ss-slider-3 { min-height:250px; }

/*more than 576px*/
@media (min-width: 576px) {
  .test1 .n2-ss-slide-backgrounds, .test1 .n2-ss-slider-3 { min-height:500px; }
}

.pagination { }
.pagination .page-link, .pagination .page-link:hover{ color:var(--ast-global-color-1); }
.pagination .page-link.current{ background-color:var(--ast-global-color-1); color:#fff; }
.btn-check+.btn{ color: #fff!important; background-color: #003126!important; border:0!important; }
.btn-check:checked+.btn{ color: #fff!important; background-color: #a39161!important; }
.yoast-breadcrumbs a{ text-decoration:underline; }