/*
 *
 * Theme main styles
 */

/* site purle is: #32398f */

:root {
 --color-primary: #008dd4;
 --color-primary-rgb: 0, 141, 212;


 --color-white:#fff;
 --color-black:#000;
 

 --heading-font: 'Oswald', serif;
 --text-font: 'Roboto', serif;

}

/*
/* for local hosting of variable font */
/*
@font-face {
    font-family: 'Muli';
    src: url('../fonts/Muli/Muli-VariableFont_wght.ttf') format('truetype');
    font-weight: 1 999;
    font-style: normal;
}

@font-face {
    font-family: 'Muli';
    src: url('../fonts/Muli/Muli-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 1 999;
    font-style: italic;
}

@font-face {
    font-family: 'Podkova';
    src: url('../fonts/Podkova/Podkova-VariableFont_wght.ttf') format('truetype');
    font-weight: 1 999;
    font-style: normal;
}
*/

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    border: 0;
    background: #fff;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    height: auto;
    overflow-x: hidden;
    font-family: var(--text-font);
    font-size: 18px;
    font-weight: 233;
    letter-spacing: 0.5px;
    color: #000;
}

a {
    color: #000;
    text-decoration: underline;
    outline: 0;
}

a:hover {
    color: #000;
    text-decoration: underline;
    font-weight: bold;
}

p a:hover, a.uline:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 600px) {}

@media only screen and (min-width: 1000px) {}

h1, h2, h3, button, .button, nav {
    font-family: var(--heading-font);
    /* font-family: 'Lato', sans-serif; */
}

h1, h2, h3 {
    word-wrap: break-word;
    text-transform: none;
    letter-spacing: 1px;
    white-space: normal;
    
}


.home .home_page_title {
    display: flex;
    flex-wrap: wrap;
    font-weight: 600;
}

@media only screen and (max-width: 500px) {
    .home .home_page_title {
        font-size:3rem;
    }
}

@media only screen and (max-width: 380px) {
    .home .home_page_title {
        font-size:2.3rem;
    }
}

.container {
    max-width: 980px;
    /* min-height: 60vh; */
}

.container-small, .small-text-col .main>.container {
    max-width: 760px;
}

.container-archive, .container-blogpage {
    min-height: 100vh;
}

.main>.container, .main>article {
    padding-top: 40px;
}



a.anchor {
    display: block;
    position: relative;
    top: -80px;
    visibility: hidden;
}

.container-wide {
    max-width: 9999px;
    width: auto;
    padding: 0 20px;
}

/* prevent double width */

.container .container {
    width: 100%;
}

.container-text {
    max-width: 700px;
}

.text-uppercase {
    text-transform: uppercase;
}

.tiny-text {
    font-weight: 300;
    font-size: 9px;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
}

.flex-center {
    justify-content: center;
}

.flex-center>* {
    margin-left: 20px;
    margin-right: 20px;
}

.flex-top {
    align-items: flex-start;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    grid-gap: 2rem;
}

section {
    
    padding: 0;
}

.align-right {
    text-align: right;
}

.content.hidden {
    display: none;
}

.single-insight .content {
    padding-top: 40px;
}

.header {
    background: rgba(0, 0, 0, 0);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 7;
    transition: all 250ms ease-in-out;
}

.header.sticky {
    background: #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
}

.header .menu-bar,
.footer .container {
    /* background-color: yellow; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}



.footer .container {
    padding-left: 20px;
    padding-right: 20px;
}

#footer-flex {
    display:flex;
    align-items: flex-start;

}



.header a.logo {
    /* display: block;
    width: 180px;
    height: 38px; */
    
}

.header a.logo span {
    display: none;
}

/*
.logo svg {
    width: 180px;
    height: auto;home_page_title
    overflow: visible !important;
}
*/

.logo img {
    width: 260px;
/*    height: 95px;*/
    height: 65px;
/*    object-fit: cover;*/
    object-fit: contain;
}

@media only screen and (max-width: 400px) {
    .home_page_title img {
        width: 210px;
        height: 50px;
        object-fit: cover;
    }
}

@media only screen and (max-width: 350px) {
    .logo img {
        width: 190px;
        height: 40px;
        object-fit: cover;
    }
}

/*


.st0 {
    fill: #000000;
    opacity: 0;
    animation: appear 200ms linear forwards;
    animation-iteration-count: 1;
    animation-delay: 50ms;
}

@keyframes appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.st0:nth-child(1) {
    animation-delay: 150ms;
}

.st0:nth-child(2) {
    animation-delay: 250ms;
}

.st0:nth-child(3) {
    animation-delay: 350ms;
}

.st0:nth-child(4) {
    animation-delay: 450ms;
}

.st0:nth-child(5) {
    animation-delay: 550ms;
}

.st0:nth-child(6) {
    animation-delay: 650ms;
}

.st0:nth-child(7) {
    animation-delay: 750ms;
}

.st0:nth-child(8) {
    animation-delay: 850ms;
}

.st0:nth-child(9) {
    animation-delay: 950ms;
}

.st0:nth-child(10) {
    animation-delay: 1050ms;
}

.st0:nth-child(11) {
    animation-delay: 1150ms;
}

.st0:nth-child(12) {
    animation-delay: 1250ms;
}

.st0:nth-child(13) {
    animation-delay: 1350ms;
}

.st4 {
    fill: none;
    stroke: #999999;
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10;
    stroke-dasharray: 240px;
    stroke-dashoffset: 240px;
    animation: draw 500ms linear forwards;
    animation-delay: 2s;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

.st4:nth-child(2) {
    animation-delay: 2500ms;
}

.st4:nth-child(3) {
    animation-delay: 2700ms;
}

.st4:nth-child(4) {
    animation-delay: 2850ms;
}

.st4:nth-child(5) {
    animation-delay: 3150ms;
}

.st4:nth-child(6) {
    animation-delay: 3250ms;
}

.st4:nth-child(7) {
    animation-delay: 3350ms;
}

.st4:nth-child(8) {
    animation-delay: 3450ms;
}

.st4:nth-child(9) {
    animation-delay: 3800ms;
}

.st4:nth-child(10) {
    animation-delay: 3950ms;
}

.st4:nth-child(11) {
    animation-delay: 4050ms;
}

.st4:nth-child(12) {
    animation-delay: 4200ms;
}

.st4:nth-child(13) {
    animation-delay: 4600ms;
}

.st4:nth-child(14) {
    animation-delay: 4800ms;
}

.st4:nth-child(15) {
    animation-delay: 4900ms;
}

.st4:nth-child(16) {
    animation-delay: 5000ms;
}

.st4:nth-child(17) {
    animation-delay: 5250ms;
}

.st4:nth-child(18) {
    animation-delay: 5450ms;
}

.st4:nth-child(19) {
    animation-delay: 5550ms;
}

.st4:nth-child(20) {
    animation-delay: 5650ms;
}

.st4:nth-child(21) {
    animation-delay: 5750ms;
}

.st4:nth-child(22) {
    animation-delay: 5850ms;
}
*/

h1, h2, h3 {
    letter-spacing: .05rem;
}

/*
 * Regular content
 * ======================================================== */

.main h1 {
    font-size: 3.4rem;
}

.main h2, article h2 {
    font-size: 2.8rem;
    font-weight: 300;
}
.main h3 {
    font-size: 2.2rem;
}

.main ul {
    list-style: disc inside;
}

#primary {
    padding-top: 150px;
    min-height: 640px;
}

#breadcrumbs {
    padding-bottom: 40px;
    color: #999;
    font-size: 13px;
}

blockquote {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    font-size: 140%;
    font-weight: 100;
}

img.alignright {
    float: right;
    margin-left: 20px;
    max-width: 50%;
    width: auto;
    height: auto;
}

img.alignleft {
    float: left;
    margin-right: 20px;
    max-width: 50%;
    width: auto;
    height: auto;
}

.entry-content a:not(.button) {
    color: #999;
    text-decoration: underline dotted;
    ;
}

.entry-content a:not(.button):hover {
    color: #000;
    text-decoration: underline;
}

h1 .type {
    display: block;
    font-family: 'Cutive Mono', 'Courier', 'Courier New', monospace;
    font-size: 17px;
    font-style: italic;
    color: #bbb;
}

.grid a.item {
    cursor: pointer;
}

.grid .item {
    position: relative;
    border: solid 1px #fdb782;
}

.grid .item img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
}

.item-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.5);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    text-align: center;
    transition: opacity 200ms ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.item:hover .item-overlay {
    opacity: 1;
}

.item-label {
    position: absolute;
    width: 100%;
    height: auto;
    padding: 16px;
    right: 0;
    bottom: 20px;
    left: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
	transition: all 250ms ease-in-out;
}
.item:hover .item-label {
    opacity: 0;
}

.item-label h3 {
    font-family: var(--heading-font);
    color: #000;
    background: rgba(255, 255, 255, 0.4);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
	padding: 4px 10px;
}

/*
.item-overlay h3 {
    font-family: 'Lato', sans-serif;
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.item-overlay .text {
    color: #fff;
    font-size: 14px;
}

.faux-label {}

.cat-icon {
    color: #bbb;
}

.cat-name {
    display: inline-block;
    margin-left: 10px;
    padding: 0px 6px;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    background: #eee;
    color: #999;
} */

.overview .entry-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
    cursor: pointer;
}

.overview .entry-item .box-img {
    width: 200px;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.overview .entry-item .box-img img {
    max-width: 100%;
    width: auto;
    height: auto;
}

.overview .entry-item:hover .box-img img {
    max-width: 100%;
    width: auto;
    height: auto;
    transform: scale(1.05);
}

.overview .entry-item .item-content {
    padding: 20px;
    position: relative;
    flex-grow: 5;
    height: 200px;
}

.overview .entry-item:hover .item-content {
    background: #f6f6f6;
}

.overview .entry-item .item-content .inner-arrow {
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.overview .entry-item:hover .item-content .inner-arrow {
    color: #E67932;
}

.tw-pagination {
    margin: 0 auto;
    text-align: center;
    padding: 20px 0;
}

.tw-pagination li {
    list-style: none;
    display: inline-block;
    padding-right: 6px;
}

.tw-pagination a, .tw-pagination .current, .tw-pagination .prev, .tw-pagination .next {
    display: inline-block;
    margin-right: 4px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    text-decoration: none;
    background: #e7e7e7;
    border: 1px solid #d7d7d7;
    color: #666666;
}

.tw-pagination .prev, .tw-pagination .next {
    color: #666666;
    background: #f7f7f7;
    border: 1px solid #e7e7e7;
}

.tw-pagination .current {
    color: #E67932;
    background: #fff;
    border: 1px solid #E67932;
}

.tw-pagination a:hover {
    background: #d7d7d7;
    border: 1px solid #d7d7d7;
    color: #333;
}

.tw-pagination .prev:hover, .tw-pagination .next:hover {
    color: #333;
    background: #e7e7e7;
    border: 1px solid #e7e7e7;
}

@media only screen and (max-width: 800px) {
    .contact.flex {
        display: block;
    }
}

#about {
    padding-top: 60px;
    padding-bottom: 60px;
}
#about .bg-image {
    width: 300px;
	height: auto;
	position: absolute;
	left: -120px;
	top: -40px;
}
/*
 * Buttons and forms
 * ======================================================== */

.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
    background-color: #fff;
    border-color: #f6ae72;
	height: 48px;
	padding: 0 30px;
	font-size: 14px;
	font-weight: 700;
	line-height: 42px;
	border-width: 3px;
	border-radius: 24px;
	font-family: 'Muli', sans-serif;
	text-transform: none;
	color: #eba164;
}

.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
    color: #fff;
    background-color: #f6ae72;
    border-color: #f6ae72;
}
.button.button-large,
button.button-large,
input[type="button"].button-large {
    height: 46px;
    padding: 0 36px;
    font-size: 13px;
    line-height: 46px;
    border-radius: 6px;
}

.button:hover {
    text-decoration: none;
}

#sb_instagram #sbi_load .sbi_load_btn, #sb_instagram .sbi_follow_btn a, .button.square {
    border-radius: 0px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    background: rgb(230, 121, 50, 0.5);
    border-radius: 50%;
    border: 4px solid rgb(230, 121, 50, 0.5);
    margin: -27px 0 0 -27px;
    transition: all 250ms ease-in-out;
    transform: scale(1) rotate(0deg);
}

a:hover .play-button {
    background: rgb(230, 121, 50, 1);
    border: 4px solid rgb(230, 121, 50, 1);
    transform: scale(1.2) rotate(120deg);
}

a:hover .play-button:hover {
    background: rgb(0, 0, 0, 1);
    border: 4px solid rgb(0, 0, 0, 1);
    transform: scale(1.2) rotate(120deg);
}

div.wpcf7-response-output {
    margin: 1em 0.5em 1em;
}

div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
    border: 2px solid #f7e700;
    background-color: #f7e700;
    color: #000;
    font-size: 13px;
}

div.wpcf7-mail-sent-ng, div.wpcf7-aborted {
    border: 2px solid #ff0000;
    background-color: #ff0000;
    color: #fff;
    font-size: 13px;
}

div.wpcf7-mail-sent-ok {
    border: 2px solid #398f14;
    background-color: #398f14;
    color: #fff;
    font-size: 13px;
}

span.wpcf7-not-valid-tip {
    color: #fff;
    font-size: 0.8em;
    font-weight: normal;
    display: block;
    background: #f00;
    padding: 1px 4px;
    margin-bottom: 3px;
    position: relative;
}

span.wpcf7-not-valid-tip:before {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #f00;
    content: "";
    bottom: -5px;
    left: 10px;
}

/*
 * Grid (isotope)
 * ======================================================== */

.grid-item {
    width: 100%;
    padding: 8px;
}

.grid-item--width2 {
    width: 100%;
}

/* Larger than mobile */

@media (min-width: 400px) {}

/* Larger than phablet (also point when grid becomes active) */

@media (min-width: 550px) {
    .grid-item {
        width: 50%;
    }
    .grid-item--width2 {
        width: 100%;
    }
}

/* Larger than tablet */

@media (min-width: 750px) {
    .grid-item {
        width: 33.33%;
    }
    .grid-item--width2 {
        width: 66.67%;
    }
}

/* Larger than desktop */

@media (min-width: 1000px) {}

/* Larger than Desktop HD */

@media (min-width: 1200px) {}



/*
 * Swipers
 * ======================================================== */

.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
    right: 10px;
}

.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
    left: 10px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #f6ae72;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: #f6ae72;
}


/*
 * Contact footer
 * ======================================================== */

#contact {
    background: #ddd;
    padding: 40px 0;
    font-size: 14px;
}

#contact .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-content: space-between;
    flex-wrap: wrap;
}

#contact .container>div {
    width: 25%;
    padding-right: 20px;
}

@media only screen and (max-width: 800px) {
    #contact .container>div {
        width: 50%;
        padding-right: 20px;
    }
}

@media only screen and (max-width: 800px) {
    #contact .container>div {
        width: 100%;
        padding-right: 0px;
    }
}

.adress-type {
    font-style: italic;
}

/*
 * Footer
 * ======================================================== */

.prefooter {
    background: #F8F8FC;
    color: #ccc;
    font-size: 12px;
}

.footer {
    background: #000;
    color: #ccc;
    font-size: 12px;
}

.footer .section.container .left {
    width: 65%;
}
.footer .section.container .right {
    width: 35%;
}

.footer a {
    color: #ddd;
}

.footer a:hover {
    color: #fff;
}

.grecaptcha-badge {
    visibility: collapse !important;
}


/* Uisce Logo box */
.uisce-footer {
    display: flex;
    align-items: center;
    /* padding-top: 20px; */
}

.uisce-footer__link {
    /* height: 50px;
    width: 200px; */
}

.uisce-footer__link img{
    /* width: 130px; */
    height: 30px;
    object-fit: cover;
    padding-left: 10px;
  }

 /*
 * Section Frontpage Links
 * =========================================================*/ 

/* https://stackoverflow.com/questions/25800067/how-to-divide-list-in-a-single-ul-into-3-columns/25800221 */
section.section-links {
    display: block;
    height: auto;

}


ul.section-links__columns {
    /* display: flex;
    flex-wrap: wrap; */
    list-style: none;
    
}


@media (max-width: 550px) {
   ul.section-links__columns {

    flex-direction: row;
   }

   section.section-links {

   
    }

}

  
li.section-links__column--link {
        /* flex: 1 1 80px;
        width: 320px;
        min-width: 280px;
        max-width: 320px; */
}

li ul.section-links__column--link-ul {
        margin: 0;
}


li.section-links__column--link h3 {
    padding: 3px 7px;
    margin-bottom: 5px;

    background: rgba(var(--color-primary-rgb), 0.8);
    color: var(--color-white);
    width: 95%;
    /* width: 240px; */
    /* max-width: 300px; */
}

.section-links a.listed-link {
display: block;
padding: 0 0 0 10px;    
}

.container.container-small.page-404 {
    height: 100vh;
}
