/*
Theme Name: Theme
Theme URI: http://theme.com
Description: A description about the theme
Author: Author Name
Author URI: http://www.author.com
Version: 1.0
Tags: responsive, black, white, columns, custom menu, etc.
*/

@font-face {
    font-family: SegoeUI;
    src:
        local("Segoe UI"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.woff2) format("woff2"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.woff) format("woff"),
        url(//c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.ttf) format("truetype");
    font-weight: 400;
}

:root {
    --theme-color-one: #0379c5;
    --theme-color-two: #f7826a;
    --theme-color-three: #474747;
    --theme-color-four: #6c747b;
    --theme-color-five: #ffffff;
}

body {
    margin: 0;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}

/******************************************************************/
/************************* Wordpress Blocks ***********************/
/******************************************************************/

.image-hover img.wp-block-cover__image-background {
    width: 100%;
    height: auto;
}

.wp-block-column figure {
    margin-top: 28px;
    margin-bottom: 28px;
}

.wp-block[data-align=full], .wp-block[data-align=wide] {
    clear: both;
}

.editor-styles-wrapper > .block-editor-block-list__layout {
    margin: 0px 0px;
    padding-left: 10px;
    padding-right: 10px;
}

.editor-styles-wrapper > .block-editor-block-list__layout > * {
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
}

.editor-styles-wrapper > .block-editor-block-list__layout > .alignwide {
    max-width: 1180px;
}

.editor-styles-wrapper > .block-editor-block-list__layout > .alignfull {
    max-width: none;
    margin-left: -10px;
    margin-right: -10px;
}

.editor-styles-wrapper > .block-editor-block-list__layout > .wp-block-cover > .wp-block-cover__inner-container > *,
.editor-styles-wrapper > .block-editor-block-list__layout > .wp-block-group > .wp-block-group__inner-container > * {
    max-width: 610px;
    margin-left: auto;
    margin-right: auto;
}

.editor-styles-wrapper > .block-editor-block-list__layout > .wp-block-cover > .wp-block-cover__inner-container > .alignwide,
.editor-styles-wrapper > .block-editor-block-list__layout > .wp-block-group > .wp-block-group__inner-container > .alignwide {
    max-width: 1180px;
}

.editor-styles-wrapper > .block-editor-block-list__layout > .wp-block-cover > .wp-block-cover__inner-container > .alignfull,
.editor-styles-wrapper > .block-editor-block-list__layout > .wp-block-group > .wp-block-group__inner-container > .alignfull {
    max-width: none;
    margin-left: 0px;
    margin-right: 0px;
}

img {
    width: 100%;
    height: auto;
}


.editor-styles-wrapper > .block-editor-block-list__layout > .wp-block-cover.alignfull {
    width: calc(100% + 20px);

}

/******************************************************************/


body {
    line-height: 1.8em;
}





.wp-block-button .wp-block-button__link {
    border-radius: 5px;
    font-size: 1em;
    padding: 10px 15px;
}

/******************************************************************/
/***************************** Header *****************************/
/******************************************************************/
    
#header > .wp-block-group {
    display: flex;
    align-items: center;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0px 10px;
}

/******************************************************************/
/*************************** Site Logo ****************************/
/******************************************************************/

header > .wp-block-group > .custom-logo-link > img {
    padding-top: 20px;
    padding-bottom: 12px;
    max-width: 240px;
}

/******************************************************************/
/*************************** Primary Menu *************************/
/******************************************************************/

header > .wp-block-group > .wp-block-navigation {
    flex-grow: 1;
    display: none;
}

header > .wp-block-group > .wp-block-navigation > .wp-block-navigation__container {
    justify-content: right;
}

header > .wp-block-group > .wp-block-navigation > ul > .menu-item {
    display: inline-block;
    padding-right: 22px;
    font-size: 14px;
}

header > .wp-block-group > .wp-block-navigation > ul > .menu-item > a {
    text-decoration: none;
}

header > .wp-block-group > .wp-block-navigation > ul > .menu-item > ul {
    display: none;
    position: absolute;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 8rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
} 

header > .wp-block-group > .wp-block-navigation > ul > .menu-item:hover > ul {
    display: block;
}

header > .wp-block-group > .wp-block-navigation > ul > .menu-item > ul {
    list-style: none;
}

header > .wp-block-group > .wp-block-navigation > ul > .menu-item > ul > li {
    display: block;
    min-width: 8rem;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

header > .wp-block-group > .wp-block-navigation > ul > .menu-item > ul > li > a {
    text-decoration: none;
}

header > .wp-block-group > .wp-block-navigation > ul > .menu-item > ul > li:hover {
    background-color: #e9ecef;
}

@media only screen and (min-width: 769px) {

    header > .wp-block-group > .wp-block-navigation {
        display: block;
    }
}

/******************************************************************/
/*************************** Mobile Menu **************************/
/******************************************************************/
    
#menu-mobile-navigation-menu {
    padding-inline-start: 0px;
}  

#mobile-menu-toggle {
    color: var(--theme-color-one);
    font-size: 25px;
    cursor: pointer;
    display: block;
    margin: 0px 15px;
    padding: 3px 12px;
    border-width: 0px;
    background: transparent;
    float:right;
    z-index: 3;
}
    
#mobile-navigation {
    padding-inline-start: 0px;
    height: 100%;
    position: fixed;
    z-index: 9;
    right: 0;
    top:109;
    background-color: var(--theme-color-five);
    overflow-x: hidden;
    width: 0;
    transition: 0.5s;
    display: none;
}
    
#mobile-navigation ul {
    margin: 0;
    padding-left: 0;
    list-style:none;
    display: block;
    justify-content: space-evenly;
}
    
#mobile-navigation > ul > li {
    list-style: none;
    padding: 0px 0px;
    display: block;
    border-bottom: 1px solid var(--theme-color-one);
}

#mobile-navigation > ul > li > ul > li {
    list-style: none;
    padding: 0px 32px;
    display: block;
    border-top: 1px solid var(--theme-color-one);
}

#mobile-navigation > ul > li > ul  {
    display: none;
}

#mobile-navigation > ul > li:hover > ul {
    display: block;
}
    
#mobile-navigation ul li a {
    color: var(--theme-color-four);
    padding: 20px 16px;
    text-decoration: none;
    font-size: 18px;
    display: block;
}

#mobile-navigation ul li:hover > a {
    color: var(--theme-color-one);
}

@media only screen and (min-width: 769px) {

    #mobile-navigation {   
        display: none;
    }

    #mobile-menu-toggle {
        display: none;
    }
}

/******************************************************************/
/*************************** Footer *******************************/
/******************************************************************/

footer {
	color: var(--theme-color-five);
}

footer > .wp-block-group {
    padding-top: 0px;
    padding-bottom: 0px;
}

#footer h2 {
    font-size: 1.5em;
    color: #ffffff;
}

#footer h2::before {
    content: "";
    margin-right: 0;
}

#footer ul {
    list-style: none;
    padding-inline-start: 0;
}

#footer ul li a{
    text-decoration: none;
    color: #ffffff;
}

#footer ul li:hover a{
    text-decoration: underline;
}

.site-footer {
    padding-top: 0px;
    padding-bottom: 40px;
}




#hero > .wp-block-cover.has-background-dim::before {
    opacity: .2;
}

.wp-block-latest-posts__featured-image img {
    width: 100%;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}