/* Theme Name:   IGA Theme
 Theme URI:    https://gaucheralliance.org
 Description:  Theme built for the International Gaucher Alliance
 Author:       Andrew Chapman
 Author URI:   https:e-bd.co.uk
 Version:      1.1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, one-columns, right-sidebar, responsive-layout, accessibility-ready */
/* Connections plugin - addtional css */
/* multilevel navigation */
/* ul.dropdown-menu li > ul.dropdown-menu {
    left: 100%;
    top: 0;
}

ul.dropdown-menu li:hover > ul.dropdown-menu,
ul.dropdown-menu li:focus > ul.dropdown-menu {
    display: block;
} */
/* START Connections plugin - addtional css START */
.cn-entry {
    max-width: 32%;
    float: left;
    margin: 10px;
    min-height: 200px;
    margin-right: 2px!important;
    max-height: 200px!important;
    overflow: hidden;
}

img.cn-image {
    max-width: 20%;
}

.cn-entry a {
    font-size: 0.8em;
    font-weight: normal;
}

cn-image-style {
    width: 100px!important;
}

ul#cn-entry-actions {
    text-align: center;
    list-style-type: none!important;
    padding: 10px;

    /* color: white!important; */
}

#cn-entry-actions li {
    display: inline;
    padding: 20px;
    border: 1px solid #a64237;
    border-radius: 5px;
    background-color: white;
}

/* END Connections plugin - addtional css END */
.color-1 {
    color: #A64237;
}

.color-2 {
    color: #008ACA  ;
    padding-top: 1px;
}

.nav-item .nav-link {
    color: #008ACA!important  ;
}

p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.1em;
}

h1 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    color: #a64237;
    font-size: 1.8em;
}

h2 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    color: #008bca;
    font-size: 1.6em;
    text-decoration: none;
}

h3 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    color: #a64237;
    font-size: 1.4em;
}

h4 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    color: #5f0a01;
    font-size: 1.3em;
}

h5 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    color: #008bca;
    font-size: 1.2em;
    text-decoration: underline;
}

h6 {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    color: #5f0a01;
    font-size: 1.1em;
}
#main a {
    color: #a64237 !important;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
	text-transform:none!important;
}

#footer .color-2 {
    background-color: #ffffff;
    padding: 8px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.4em;
}

.postDate {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.8em;
    color: #a64237!important;
    text-transform: uppercase;
}

.readMore {
    font-family: 'Source Sans Pro', sans-serif;
    color: rgba(166, 66, 55, 0.3);
    font-style: italic;
    font-size: 0.8em;
}

#main a {
    color: #a64237 !important;
}

#pagn div {
    width: 50%;
}

#pagn p {
    text-decoration: underline;
}

.pagination {
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
    justify-content: center;
}

.nav-next {
    width: 50%;
    float: right;
}

.nav-previous {
    width: 50%;
    float: left;
}

nav.navigation.post-navigation {
    width: 100%;
    text-align: center;
}

footer h2 {
    font-family: 'Source Sans Pro', sans-serif;
    color: #ffffff;
    font-weight: 400;
    text-decoration: none;
    font-size: 1.4em;
}

#iga-social {
    padding: 1px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 0.8em;
}

#main .lead {
    font-weight: lighter;
    font-size: 1.2em;
    font-family: 'Source Sans Pro', sans-serif;
    color: #008bca;
}

#main blockquote {
    /* text-indent: 40px */
    font-style: italic;
    border-left-width: 1px;
    border-left-style: double;
    padding-left: 35px;
}

.timeline-wrapper {
    margin: 5rem 0;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: #0092ce;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

/* The actual content */
.timeline-content {
    padding: 20px 30px;
    background-color: #e4e4e4;
    position: relative;
    border-radius: 6px;
}

/* The circles on the timeline */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12.5px;
    background-color: white;
    border: 3px solid #0092ce;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

/* Place the container to the left */
.left {
    left: 0;
}

/* Place the container to the right */
.right {
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
    content: "";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid #e4e4e4;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #e4e4e4;
}

/* Add arrows to the right container (pointing left) */
.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid #e4e4e4;
    border-width: 10px 10px 10px 0;
    border-color: transparent #e4e4e4 transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
    left: -12.5px;
}

/* Container around content */
.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The year should be displayed on the opposite side of the content */
.timeline-year {
    position: absolute;
    color: #b55e55;
    font-size: x-large;
    font-weight: 600;
}

/* Left year, offset right */
.left .timeline-year {
    right: -100px;
}

/* Right year, offset left */
.right .timeline-year {
    left: -100px;
}

/* The ends of the timeline */
.timeline-ends {
    margin: 0 auto;
    color: white;
    background-color: #0092ce;
    width: fit-content;
    padding: 10px 40px;
    border-radius: 5px;
    opacity: 1;
}

@media screen and (max-width: 600px) {
    /* Hide the timeline on mobile */
    .timeline::after {
        display: none;
    }

    /* Hide the circles on the timeline */
    .timeline-container::after {
        display: none;
    }

    .timeline-container {
        width: 100%;
        left: 0;
        right: 0;
    }

    /* Add arrow to the top of the container (pointing up) */
    .timeline-content::before {
        position: absolute;
        content: "";
        height: 0;
        width: 0;
        top: -14px;
        right: calc(50% - 5px);
        z-index: 1;
        transform: rotate(-90deg);
        border: medium solid #e4e4e4;
        border-width: 10px 0 10px 10px;
        border-color: transparent transparent transparent #e4e4e4;
    }

    /* Removes the arrows to the right and left */
    .left::before,
    .right::before {
        display: none;
    }

    /* Reposlition the year */
    .timeline-year {
        left: 0 !important;
        right: 0 !important;
        position: relative;
        text-align: center;
        margin-bottom: 20px;
    }
}

#footer a {
    color: #cecece !important;
}

#iga-sidebar ul {
    list-style-type: none;
    padding-left: 1px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1em;
    line-height: 1.5;
    color: #a64237;
}

#iga-sidebar {
    border-left-width: 1px;
    border-left-style: solid;
    border-color: #a64237;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.wp-block-search__button {
    background: #bd2130;
    border: 1px solid #ccc;
    padding: 0.375em 0.625em;
    color: #f8f9fa;
    margin-left: 0.625em;
    word-break: normal;
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
}

#iga-sidebar [type=submit]:not(:disabled),
button:not(:disabled) {
    cursor: pointer;
    background-color: #a64237;
    color: white;
    border: none;
}

#iga-social {
    color: #2c91c6;
    padding-top: 10px;
}

#iga-social a {
    color: #2c91c6;
}

.page-id-124 .wp-block-image {
    max-width: 200px!important;
}

/* navigation start */
* {
    box-sizing: border-box;
}

nav {
    background-color: #fbfbfb;
    position: relative;
    z-index: 300;
}

a {
    display: inline-block;
    padding: 8px 16px;
    color: #ffffcc;
    text-decoration: none;
    text-transform: uppercase;
}

a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

nav ul {
    margin: 0;
    padding: 14px 0;
    list-style: none;
    background: #fbfbfb;
    width: 100%;
}

nav li > ul {
    margin: 0;
    padding: 0;
    background: white;
    height: 0;
    overflow: hidden;
    transition: all 0.3s;
    margin-top: 5px;
}

nav li > ul a {
    color: #2c91c6;
    font-size: 0.8em;
}

.plus,
.minus {
    float: right;
    padding: 6px 16px 6px 30px;
    font-weight: 400;
    color: rgb(185, 43, 43);
    font-size: 1.0em;
}

.plus:hover,
.minus:hover {
    cursor: pointer;
}

.minus {
    display: none;
}

.open .plus {
    display: none;
}

.open .minus {
    display: block;
}

nav .open > ul {
    margin: 8px 0;
    padding: 12px 0;
    height: auto;
}

.menu-xxx-container {
    display: none;
}

.tadaa .menu-xxx-container {
    display: block;
}

.menu-button {
    display: block;
    position: relative;
    top: 0;
    width: 48px;
    height: 48px;
    cursor: pointer;
    background-color: transparent;
    -webkit-transition: opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), -webkit-transform 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), -webkit-transform 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99), -webkit-transform 0.4s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    -webkit-tap-highlight-color: transparent;
    z-index: 10;
}

.tadaa .menu-button {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.bread {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    -webkit-transition: opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    z-index: 10;
}

.bread-top {
    -webkit-transition: -webkit-transform 0.25s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: -webkit-transform 0.25s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: transform 0.25s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: transform 0.25s cubic-bezier(0.4, 0.01, 0.165, 0.99), -webkit-transform 0.25s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    transform: rotate(0);
    z-index: 20;
}

.tadaa .bread-top {
    -webkit-transition: -webkit-transform 0.25s 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: -webkit-transform 0.25s 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: transform 0.25s 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: transform 0.25s 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99), -webkit-transform 0.25s 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.bread-bottom {
    -webkit-transition: -webkit-transform 0.25s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: -webkit-transform 0.25s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: transform 0.25s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: transform 0.25s cubic-bezier(0.4, 0.01, 0.165, 0.99), -webkit-transform 0.25s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    transform: rotate(0);
}

.tadaa .bread-bottom {
    -webkit-transition: -webkit-transform 0.25s 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: -webkit-transform 0.25s 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: transform 0.25s 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    transition: transform 0.25s 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99), -webkit-transform 0.25s 0.2s cubic-bezier(0.4, 0.01, 0.165, 0.99);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.ham {
    display: block;
    width: 18px;
    height: 2px;
    background: #6699CC;
    position: absolute;
    left: 15px;
    -webkit-transition: -webkit-transform 0.2s;
    transition: -webkit-transform 0.2s;
    transition: transform 0.2s;
    transition: transform 0.2s, -webkit-transform 0.2s;
    z-index: 0;
}

.ham-top {
    top: 23px;
    -webkit-transition: -webkit-transform 0.2s 0.2s;
    transition: -webkit-transform 0.2s 0.2s;
    transition: transform 0.2s 0.2s;
    transition: transform 0.2s 0.2s, -webkit-transform 0.2s 0.2s;
    -webkit-transform: translateY(-4px);
    -ms-transform: translateY(-4px);
    transform: translateY(-4px);
}

.tadaa .ham-top {
    -webkit-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transition-delay: 0;
    transition-delay: 0;
}

.ham-bottom {
    bottom: 23px;
    -webkit-transform: translateY(4px);
    -ms-transform: translateY(4px);
    transform: translateY(4px);
}

.tadaa .ham-bottom {
    -webkit-transition: -webkit-transform 0.2s;
    transition: -webkit-transform 0.2s;
    transition: transform 0.2s;
    transition: transform 0.2s, -webkit-transform 0.2s;
    -webkit-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
}

main {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
    background-color: #fff;
    padding: 40px 16px;
}

@media screen and (min-width:620px) {
    nav {
        min-height: 44px;
        padding: 0 6px;
    }

    .menu-button {
        display: none;
    }

    .menu-xxx-container {
        display: block;
    }

    nav ul {
        margin: 0;
        padding: 0;
        list-style: none;
        background: #ffffff;
        width: 100%;
    }

    nav ul:not(.sub-menu) {
        background-color: transparent;
        border-top: 1px solid #a64237;
    }

    nav ul:not(.sub-menu) > li {
        display: inline-block;
        margin-top: 6px;
    }

    nav ul:not(.sub-menu) > li:hover:not(.menu-item-has-children) {
        border-bottom: 1px solid #2c91c6;
    }

    nav ul:not(.sub-menu) > li a {
        color: #2c91c6;
    }

    nav .minus,
    nav .plus {
        display: none;
    }

    nav .sub-menu {
        display: none;
        max-width: 220px;
        border: 0px solid #fdfdfd !important;
    }

    nav .menu-item-has-children:hover {
        border-bottom: 2px solid transparent;
    }

    nav .menu-item-has-children:hover .sub-menu {
        display: block;
        height: auto;
        position: absolute;
        top: 40px;
        width: auto;
        border: 2px solid #e8e9ea;
        border-right: 0px;
        border-left: 0px;
        padding: 10px 30px 10px 0;
    }
}

/* navigation END */

