/*
Theme Name: Twenty Twenty-Two Child
Theme URI: https://rds.silentvoice.ca
Author: Shannon Rusnak
Author URI: https://www.shannonrusnak.com
Description: A child theme for TT2, with Bootstrap and Fontawesome.
Requires at least: 5.8
Tested up to: 5.9
Requires PHP: 5.6
Version: 0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentytwo-child
Template: twentytwentytwo
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments

Twenty Twenty-Two Child WordPress Theme, (C) 2021 WordPress.org
Twenty Twenty-Two Child is distributed under the terms of the GNU GPL.
*/

/* helpers */


body {
    font-family: "Lato";
}

.wp-site-blocks {
    padding: 0 !important;
    overflow: hidden;
}


/*

.wp-site-blocks > *,
.wp-site-blocks > * + * {
    margin: 0;
}
*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
    z-index: 999;
    display: flex;
    background-color: #fff;
}



main {
    position: relative;
    margin: 43px 0 0 0 !important;
    width: 100%;
}

footer {}

/* typography */

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
}

.lead {
    font-size: 1.5rem;
    font-weight: 400;
}

a {
    text-decoration: none;
}

.link-light a {
    color: #f8f9fa !important;
}

/* lists */
.ep-custom-icon-list li {
    display: block;
}

/* buttons */
.wp-block-buttons.btn-block {
    display: flex;
}

.btn {
    --bs-btn-border-width: 2px;

}

.btn-outline-light {
    background-color: rgba(33, 37, 41, 0.75);
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0060aa;
    --bs-btn-border-color: #0060aa;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0b5ed7;
    --bs-btn-hover-border-color: #0a58ca;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0a58ca;
    --bs-btn-active-border-color: #0a53be;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0060aa;
    --bs-btn-disabled-border-color: #0060aa;
}

.wp-block-button .wp-block-button__link {
    border-radius: 0.375rem;
}

/* block cover */
.wp-block-cover.flex {
    display: flex;
    flex-flow: column;
}

.wp-block-cover.flex .wp-block-cover__inner-container {
    flex: 1 0 100%;
    display: flex;
    flex-flow: column;
}

/* cover block hover */
.cover-hover {
    position: relative;

}

.cover-hover:before {
    content: '';
    display: block;
    position: absolute;
    height: 0%;
    width: 100%;
    bottom: 0;
    transition: height 0.5s ease-out;
    background: linear-gradient(to bottom, transparent 20%, #ffffff 100%);
    z-index: -1;
}

.cover-hover:hover:before {
    height: 100%;
}


/* block query loop */

.wp-block-query .is-layout-grid li {
    display: flex;
    flex-flow: column;
}

/* pagination block */

.wp-block-query-pagination-numbers,
.wp-block-query-pagination-next,
.wp-block-query-pagination-previous {
    margin: 0 !important;
}

/* portfolio categories */

.taxonomy-project-types {
    display: flex;
}


.taxonomy-project-types a {
    text-decoration: none;
    border-radius: 0;

    background: var(--wp--preset--color--tertiary);
    padding: 0.25rem 0.44rem;
    border: 2px solid;
    font-size: 1rem;
    transition: background 200ms ease-in-out, color 200ms ease-in-out, border 200ms ease-in-out;
}

.taxonomy-project-types a:hover {
    color: #fff;
    border: 2px solid #000;
    background: #212529;
}

/* video acf oembed */

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    max-width: 100%;
    width: 100%;
    height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* partners list */

ul.partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

.partners-list li {
    flex: 0 1 250px;
    display: flex;
    justify-content: center;
}

.partners-list li a {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}

.partners-list img {
    width: 100%;
}

.partners-list p {
    text-align: center;
}

/* archive pages */


.wp-block-atbs-tabs .tabs-titles {
    background-color: #ffffff !important;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.tabs-titles .tab-title {
    width: auto !important;
    flex: 0 1 !important;
}

.tabs-nav .tab-title .tab-title-text {
    white-space: nowrap;
}


/* slider */

.superblockslider {
    height: 160vh !important;
}

.wp-block-superblockslider-slide[data-slide-index="0"] {
    height: 180vh !important;
}

.wp-block-superblockslider-slide[data-slide-index="1"] {
    height: 180vh !important;
}

.wp-block-superblockslider-slide[data-slide-index="2"] {
    height: 180vh !important;
}

.wp-block-superblockslider-slide[data-slide-index="3"] {
    height: 180vh !important;
}

.wp-block-superblockslider-slide[data-slide-index="4"] {
    height: 180vh !important;
}

@media (min-width: 576px) {
    .superblockslider {
    height: 240vh !important;
}
    .wp-block-superblockslider-slide[data-slide-index="0"] {
        height: 240vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="1"] {
        height: 160vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="2"] {
        height: 200vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="3"] {
        height: 200vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="4"] {
        height: 200vh !important;
    }

}

@media (min-width: 760px) and (orientation: portrait) {
    .superblockslider {
        height: 100vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="0"] {
        height: 100vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="1"] {
        height: 100vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="2"] {
        height: 100vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="3"] {
        height: 100vh !important;
    }

    s .wp-block-superblockslider-slide[data-slide-index="4"] {
        height: 100vh !important;
    }
}

@media (min-width: 760px) and (orientation: landscape) {

    .superblockslider {
        height: 240vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="0"] {
        height: 240vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="1"] {
        height: 240vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="2"] {
        height: 240vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="3"] {
        height: 240vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="4"] {
        height: 240vh !important;
    }
}

@media (min-width: 992px) {
        .superblockslider {
        height: 100vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="0"] {
        height: 100vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="1"] {
        height: 100vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="2"] {
        height: 100vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="3"] {
        height: 100vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="4"] {
        height: 100vh !important;
    }
}

@media (min-width: 1200px) {}

@media (min-width: 1400px) {
            .superblockslider {
        height: 70vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="0"] {
        height: 70vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="1"] {
        height: 70vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="2"] {
        height: 70vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="3"] {
        height: 70vh !important;
    }

    .wp-block-superblockslider-slide[data-slide-index="4"] {
        height: 70vh !important;
    }
}

.superblockslider__track {
    align-items: center;
}

.superblockslider__slide_inner {
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 100% !important;
    height: 100% !important;
    top: 0;
    left: 0;
    padding-bottom: 0;
    overflow: hidden;
}

.inner-blocks {
    height: 100%;
    display: flex;
    align-items: center;
}


/* nav menu fix */

.wp-block-navigation__responsive-container-open {
    border: 2px solid #000;
}
