

/* --------------------- 
    Table of Contents
------------------------


1. Header

2. Navigation

3. Banner

4. Contacts

5. Social Media

6. Headings

7. Footer

8. Section: Services

9. Buttons

10. Secondary

11. Additional

12. Custom

*/



/* -------------------- 
    1. Header Styles 
----------------------- */

header {
    /* z-index: 99999999999999; */
    height: auto;
    position: relative;
}

.mr-navbar-upper {
    position: relative;
    background: var(--mr-color-primary);
    align-items: center;
    justify-content: space-between;
    font-size: 0.8em;
    padding: .3em 1em;
    top: auto;
    display: flex;
    width: auto;
    flex-direction: row;
}

.mr-navbar-subpanel {
    display: flex;
    top: 0;
    z-index: 9999999;
    width: 100%;
    flex-direction: column;
}

.header_contacts {
    display: flex;
}

#sticky-wrapper {
    position: relative;
    z-index: 99999999;height: auto !important;

}


.mr-navbar-upper .list-inline {
    margin-bottom: 0;
    margin-right: 2em;
}

.mr-navbar-upper .list-inline li {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.mr-navbar-upper .list-inline li:last-of-type {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.mr-navbar-upper .contact-info {
    flex-direction: row;
}

.mr-navbar-upper .contact-info span {
    display: inline-block;
    vertical-align: middle;
}

.mr-navbar-upper .contact-info span+a {
    margin-left: 10px;
}

.mr-navbar-upper .contact-info a {
    display: inline-block;
    vertical-align: middle;
    color: #fff;
    line-height: 1.2;
}

.mr-navbar-upper .contact-info a:hover {
    color: #77b9e5;
}

.mr-navbar-upper .contact-info .address {
    margin-left: 60px;
}

.mr-navbar-upper .contact-info .mail {
    margin-left: 60px;
}



.list-inline>li {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
}


.header_contacts {
    display: flex;
}

.page {
    background: rgb(29 29 29);
    margin-top: 0;
}

.mr-header-wrap {
    padding: 0 0 0 0;
    display: flex;
    align-items: center;
    background: white;
    box-shadow: 3px 3px 6px rgb(0 0 0 / 60%);
    flex-direction: column;
}

.header_social {
    /* position: absolute; */
    /* right: 7px; */
    margin-right: 1em;
}

header.stuck {
    /* position: fixed !important; */
    top: -6.1vw !important;
    /* width: 100vw !important; */
    left: 0 !important;
}

header#home {
    position: sticky;
    width: 100%;
    display: block;
    background-position: center;
    background-size: cover;
    z-index: 99999999;
    transition: height .3s ease;
    /* height: 5vw; */
    margin: auto;
    /* box-shadow: 3px 3px 7px black; */
}

header a:hover {
    text-decoration: none;
    color: white;
}

.header_extra {
    /* background: #3e5b41; */
    color: var(--mr-color-dark);
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0px 1em 3vw;
    width: 100%;
}

.stuck h1.logo {
    /* height: calc(12px + 4.3vw); */
}

.stuck nav.mr-navbar-desktop {
    /* padding: 0 1.5em; */
}

.mr-navbar-brand {
    position: relative;
    /* z-index: 9999999; */
    background: #252525;
    display: flex;
    padding: 0;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    width: 100%;
    /* height: 6.05vw; */
    padding: 1rem 1rem 3rem;
    margin-bottom: 1rem;
    /* margin-top: -1.8em; */
    height: auto;
    top: auto;
}

img.logo_img {
    height: 100%;
}

h1.logo {
    width: auto;
    height: calc(12px + 4.3vw);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    transition: .3s all ease;
    margin: 0;
    /* margin-top: -1.8em; */
    /* margin-left: -0.7em; */
    position: absolute;
    /* bottom: 0.25em; */
    left: 1.5vw;
    font-family: 'Oleo Script';
    text-transform: none;
    font-weight: 400;
    font-size: 1.6em;
}

h1.logo a {
    display: flex;
    height: 100%;
    color: #54534a;
    text-decoration: none;
    align-items: center;
}

h1.logo a span {
    line-height: 1;
    display: block;
    padding-top: 1.2vw;
}

h1.logo .desktop {
    width: 90%;
    padding-top: 0.25vw;
}
img.desktop {
    width: 21vw;
    height: auto;
    max-width: none;
    opacity: 1;
    transition: 1.3s transfrom ease;
}.-is-stuck img.desktop {
    opacity: 0;
    transition: 1.3s transfrom ease;
}
.mr-navbar-toggle, .mr-upper-toggle {
    display: none;
}
.mr-navbar-brand:after {
    position: absolute;
    top: calc(100% - 2.2em);
    left: 0;
    right: 0;
    height: 3em;
    width: 100%;
    display: block;
    background: #252525;
    content: '';
    z-index: -1;
    transform: skewY(-2deg);
    transform-origin: left;
    transition: .3s transform ease;
}

img.desktop {
    width: 300px;
    height: auto;
    display: block;
    max-width: calc(100vw - 180px);
}

nav {
    transform-origin: right;
    transform: skewY(-2deg) translateY(-100%);
    position: absolute;
    z-index: 9999999;
    width: 100%;
    box-shadow: 0 10px 10px #0000004f;
    transition: .3s transform ease;
}

.-is-stuck nav {
    transform: skewY(0deg) translateY(-100%);
    transition: .3s transform ease;
}



/* -----------------------
    2. Navigation Styles
 ------------------------- */

.mr-navbar-wrap {
    position: relative;
}

.mr-navbar-nav-wrap {
    flex-grow: 1;
    position: relative;
    width: 100%;
    margin: 0 0 0 0;
    align-self: stretch;
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0);
    transition: .3s box-shadow ease;
    left: 0;
    background: #000000;
    transform: none;
    overflow: unset !important;
    height: auto;
    opacity: 1;
    background: transparent;
}

ul.level-0.mr-navbar-nav {
    display: flex;
    flex-direction: row;
    list-style: none;
    width: 100%;
    align-items: stretch;
    justify-content: space-evenly;
    font-size: 1.7vw;
    font-weight: 400;
    font-family: var(--mr-font-heading);
    text-transform: uppercase;
    text-decoration: none;
    margin: 0;
    padding: 0;
    height: 100%;
    background: #242424;
    box-shadow: inset 0 0 2rem #000000b3;
}

ul.level-0.mr-navbar-nav li a {
    font-size: 1.6vw;
    text-align: center;
    width: 100%;
    line-height: 1;
    display: flex;
    text-decoration: none;
    position: relative;
    z-index: 2;
    padding: 0.65em 0.5em;
    cursor: pointer;
    transition: .3s all ease;
    color: var(--mr-color-primary);
}

ul.level-0.mr-navbar-nav a:hover {
    color: red;
    text-shadow: 0 0 1rem red;
}

.mr-navbar-nav-wrap #nav_slide_hover {
    position: absolute;
    bottom: 0;
    height: 0.3em;
    background-color: rgb(254, 218, 123);
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.mr-navbar-nav-wrap #nav_slide_hover_bg {
    position: absolute;
    bottom: 0;
    height: 0.3em;
    background-color: rgb(177, 177, 177);
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    width: 100%;
    left: 0;
}

.mr-navbar-inner {
    padding: 0;
    position: fixed;
    width: 100%;
    background: white;
    background-size: 100%;
    z-index: 2;
    min-height: 58px;
}

#secondary .mr-navbar-inner {}

ul.level-0.mr-navbar-nav>li {
    padding-bottom: 0px;
    flex-grow: 1;
    position: relative;
}

ul.level-1 {
    position: absolute;
    list-style: none;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    left: 50%;
    /* padding: 0; */
    background: #e5e3db;
    min-width: 200px;
    color: #54534a;
    box-shadow: 0 10px 10px rgb(0 0 0 / 32%);
    display: none;
    border-top: 3px solid black;
    /* top: calc(100% + 3px); */
    transform: translate(-50%, 0px);
    z-index: 9;
    padding: 0;
    width: 100%;
    border-left: none !important;
}

ul.level-0.mr-navbar-nav ul.level-1 li a {
    text-align: left;
    padding: 0.7em 1em;
    /* font-size: 1em; */
    transition: none;
    width: 100%;
    color: #54534a;
    text-align: center;
    font-size: calc(11px + 0.4em);
    background: #d9d9d9;
}

ul.level-0.mr-navbar-nav ul.level-1 li a:hover {
    background: var(--mr-color-accent);
    color: black;
}

ul.level-0.mr-navbar-nav li {
    width: auto;
    height: auto;
    margin: 0 !important;
    display: flex;
}

ul.level-0.mr-navbar-nav li.has_subnav>a:after {
    content: '\f0d7';
    font-family: var(--mr-fontawesome);
    font-weight: 900;
    /* margin-left: .25em; */
    line-height: 1em;
    font-size: calc(8px + 0rem);
    position: absolute;
    bottom: 0rem;
    left: 50%;
    transform: translate(-50%, 0px);
}

ul.level-0.mr-navbar-nav li.has_subnav:hover>a:after {
    color: var(--mr-color-accent);
}

ul.level-0.mr-navbar-nav .current-parent>a {
    color: rgb(255 0 0);
    /* text-decoration: underline; */
    /* background: var(--mr-color-accent); */
    box-shadow: inset 0 0 3rem #421b1b, inset 0 0 1rem black, inset 0 0 .3rem black;
}

ul.level-0.mr-navbar-nav .current-parent>a:before {
    content: '';
    width: 100%;
    height: 3px;
    position: absolute;
    bottom: 0;
    border-radius: 3px;
    display: block;
    background: black;
    visibility: collapse;
}

ul.level-0.mr-navbar-nav>li:first-of-type:before {
    margin-left: -2%;
}

ul.level-0.mr-navbar-nav>li:last-of-type:before {
    margin-right: -2%;
}

ul.level-0.mr-navbar-nav>li:before {
    /* content: ''; */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: black;
    z-index: 1;
    transform: skewX(-25deg);
    border-left: 1px solid white;
    margin-left: -2%;
}

li.current.current-item.current.current-parent:before {
    background: grey;
}


.mr-navbar-nav-wrap #nav_slide_hover {
    position: absolute;
    bottom: 0;
    height: 0.25em;
    background-color: rgb(255 0 0);
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    z-index: 99999999;
    box-shadow: 0 0 1rem red, 0 0 1rem red;
}

.mr-navbar-nav-wrap #nav_slide_hover_bg {
    position: absolute;
    bottom: 0;
    height: 0.25em;
    background-color: rgb(30 30 30);
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    width: 100%;
    left: 0;
    z-index: 99999;
}


.mr-navbar-inner {
    padding: 0;
    position: fixed;
    width: 100%;
    background: white;
    background-size: 100%;
    z-index: 2;
    /* FF3.6-15 */
    /* Chrome10-25,Safari5.1-6 */
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    /* IE6-9 */
    min-height: 58px;
}

li.current.current-item:after {
    display: none;
}

span.subnav_toggle {
    display: none;
}

ul.level-0.mr-navbar-nav li.has_subnav > a {
    padding: 0.5em 0em 0.4em;
}





/* ---------------
    3. Banner 
------------------ */


section#banner {
    margin-top: 0;
}






/* -------------- 
    4. Contacts
 ---------------- */








/* --------------------
    5. Social media 
 ---------------------- */






/* ----------------
    6. Headings 
 ------------------ */

.heading_withlink {
    font-size: 3em;
}

.heading_withlink .header_link {
    font-size: .7em;
}

.heading_withlink span {
    flex-grow: 1;
    font-size: 1em;
}


/* ------------ 
    7. Footer
--------------- */



footer.page-footer {
    background: #282828;
    color: white;
    font-family: var(--mr-font-main);
    font-size: 1.2rem;
    padding: 2rem 0;
}
section.footer_copyright { font-size: 1.3em}



/* -------------------------
    8. Section: Services 
---------------------------- */



/* ------------- 
    9. Buttons 
 --------------- */





 .button {
    font-size: 2rem;
    padding: 1rem;
}






/* -----------------
    10. Secondary 
 ------------------- */

#secondary main.page-content {
    padding-top: 4rem;
}





/* --------------------
    11. Additional 
 ---------------------- */








/* ----------------
    12. Custom 
 ------------------ */


 .padding {
    padding: 3vw 4vw;
}
 
.sitemap_pagetitle, .search_result_link h2 {

    font-size: 2.3rem;

}
.sitemap_pageurl {

    font-size: .7rem;

}

h2 {
    
    font-size: 2.7rem;
};
