/*** COMMON WEBSITE PARTS ***/
#offCanvasRight{
    height: auto;
}

#logo a img {
    padding : 0px;
    margin : 0px;
}

/*format pager controls*/
.pager{
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
    align-content: center;
    margin-top:2rem;
}
/*format pager links*/
.pager__items li,.js-pager__items li{
    display: inline-block;
}
/*basic page content type - reduces margin top/bottom around page title - for all pages*/
.column.main-content {
    margin-top : 0.2rem;
    margin-bottom : 0.5rem;
}
/*** FOOTER ***/
/**************/
.site-footer {
    padding: 1rem;
    border: 0.3rem solid #DADADA;
}
/*font size for about us and contacts blocks*/
#block-contacts p, #block-aboutus p {
    font-size: 1.1rem;
}
#block-contacts li, #block-aboutus li {
    font-size: 1.1rem;
}
/*copyright and IGD info on very bottom of footer*/
#copyright,#igd{
    text-align: center;
}
/* OVERRIDING Mobile Nav menu */
/* Display links in column way for mobile viewports*/
/***************************************************/
.menu.mobile-navigation-menu {
    display: flex;
    margin-left: 0;
    flex-direction: column;
}
/*** SECONDARY BANNER of single image for all pages except from homepage ***/
#block-views-block-custom-single-image-banner-block-1 {
    width : 100%;
}
/*** HOMEPAGE ***/
/*Styling of info boxes - teasers*/
.bigbox .teaser {
    border: 0px;
}
.info.node.teaser {
    margin-top: 1.5rem;
}
/*odd boxes like 1st, 3rd, 5th etc...*/
.bigbox.columns:nth-of-type(odd) {
    clear: left;
    padding : 0px 1rem 0px 0rem;
    margin : 0px;
}
/*even boxes like 2nd, 4th, 6th etc...*/
.bigbox.columns:nth-of-type(even) {
    clear: right;
    padding : 0px 1rem 0px 0rem;
    margin : 0px;
	float: inline-end;
}
.bigbox .node.teaser {
    padding : 0px;
}
/*formats title of infobox*/
.bigbox .node.teaser .node-title {
    padding : 1.5rem 0rem 0.5rem 1.2rem;
    text-align: center;
}
/*formats content - body of infobox*/
.bigbox .node.teaser .field-body {
    padding : 0.3rem 0.3rem 0.3rem 0.3rem;
}
/*Styling of newsletters - teasers*/
.newsletter-teaser {
    margin-top: 1rem;
}
.newsletter-teaser-title {
    font-size : 1.2rem;
    text-align: left;
    border-bottom : 1px solid #ccc;
    font-weight: bold;
}
.newsletter-teaser-title a {
    color : var(--theme-tertiary-color);
    font-size: 1rem;
}
.newsletter-teaser-article {
    padding-top:0.5rem;
}
.newsletter-teaser-article p {
    font-size: 1rem;
}
/*Styling of blogposts - teasers **/
.blogpost-teaser {
    margin-top: 1rem;
}
.blogpost-teaser-title {
    font-size : 1.2rem;
    text-align: left;
    border-bottom : 1px solid #ccc;
    font-weight: bold;
}
.blogpost-teaser-title a {
    color : var(--theme-tertiary-color);
    font-size: 1rem;
}
.blogpost-teaser-article {
    padding-top:0.5rem;
}
.blogpost-teaser-article p {
    font-size: 1rem;
}
/*** NEWSLETTERS PAGE - formatting newsletters ***/
/*************************************************/
.newsletter {
    margin-top: 2rem;
}
.newsletter-title {
    font-size : 2.5rem;
    text-align: left;
    border-bottom : 1px solid #ccc;
    font-weight: bold;
}
.newsletter-title a {
    color : var(--theme-tertiary-color);
}
.newsletter-article {
    padding-top:1.2rem;
}
/*** BLOG POSTS PAGE - formatting blogposts ***/
/**********************************************/
.blogpost {
    margin-top: 2rem;
}
.blogpost-title {
    font-size : 2.5rem;
    text-align: left;
    border-bottom : 1px solid #ccc;
    font-weight: bold;
}
.blogpost-title a {
    color : var(--theme-tertiary-color);
}
.blogpost-article {
    padding-top:1.2rem;
}
/*** ABOUT US page - formatting display of coaches ***/
/*****************************************************/
#block-views-block-custom-about-us-coaches-block-1 h2:nth-child(1) {
    margin-bottom: 2rem;
}
.coach-title{
    font-size: 1.5rem;
    color : var(--theme-tertiary-color);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ccc;
    margin-bottom : 1rem;
}
.coach-image {
    float:left;
    border:1px solid #ccc;
    margin-right: 10px;
}
.coach-bio {
    font-size : 0.8rem;
    text-align: justify;
}
/*** CROSS RESULTS - elementary race page ***/
/********************************************/
#block-custom-results-elementary-race-list-of-cross-results-block-1 {
    width : 100%;
}
#block-custom-results-elementary-race-list-of-cross-results-block-1 h2:nth-child(1) {
    margin-bottom: 2rem;
}
.cross-result {
    border-bottom : 1px solid #ccc;
    margin-top: 1rem;
    padding-bottom: 1rem;
}

/*Styling for flex caption for FlexSlider*/
.image-infobox{
    position:absolute;
    padding: 5px;
    right:3vw;
    bottom: 10vh;
    border-radius: 25px;
    background-color: white;
    opacity: 0.8;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0,0,0,.3);
    text-align: center; 
    display: flex;
    align-items: center;
    justify-items: center;
}
.image-infobox p {
    color : var(--theme-color);
    font-family: var(--theme-heading-font);
    font-size: 0.8rem;   
    margin-top:10px;
}
.image-infobox a i {
    margin-left: 5px;
    font-size: 1.5rem; 
}