/* Reset */

/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent font size inflation */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
    margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
    line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
    text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    color: currentColor;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
    font: inherit;
}

/* Make sure textarea without a rows attribute are not tiny */
textarea:not([rows]) {
    min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
    scroll-margin-block: 5ex;
}

/* Common */
/* 
html {
    font-size: 62.5%;
} */

body {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #1a1a1a;
    transition: all 0.5s;
}

.header,
.main,
.footer {
    max-width: 1280px;
    margin: 0 auto;
    padding: 15px;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    transition: all 0.3s;
}

a:hover {
    color: #1467af;
}

img {
    width: 100%;
    border-radius: 4px;
/*     aspect-ratio: attr(width) / attr(height); */
}

.border {
    border: 1px solid #e7e7e7;
    border-radius: 4px;
}

ol,
ul {
    margin: 0 0 15px 0;
    padding: 0 0 0 30px;
}

h1 {
    font-size: 23px;
    margin: 0 0 15px 0;
}

h2 {
    font-size: 21px;
    margin: 0 0 15px 0;
}

h3 {
    font-size: 19px;
    margin: 0 0 15px 0;
}

h4 {
    font-size: 17px;
    margin: 0 0 15px 0;
}

h5 {
    font-size: 16px;
    margin: 0 0 15px 0;
}

h6 {
    font-size: 15px;
    margin: 0 0 15px 0;
}

p {
    margin: 0 0 15px 0;
}


/* Header */

.header {
    position: sticky;
    top: 0;
    padding-bottom: 0;
    background: #fff;
}

.header-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-content: center;
    padding: 0 0 15px 0;
    border-bottom: 1px solid #e7e7e7;    
}

.logo-name-slogan {
    display: flex;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 15px 0 0;
}

.logo-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 55px;
    border-radius: 60px;
    box-sizing: border-box;
    background-color: #DDD;
    border: 1px solid #272727;
}

.logo img {
    object-fit: cover;
    width: 100%;
}

.name-slogan {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
}

.name {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 27px;
    font-weight: 500;
}

.header .nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header .nav ul {
    display: flex;
    list-style: none;
    font-size: 17px;
    padding: 0;
}

.header .nav ul li a {
    display: inline-block;
    padding: 0 5px;
    font-weight: 500;
}

/* Main elements */

.main {
    display: flex;
}

.sidebar {
    width: 25%;
    padding: 0 25px 0 0;
    box-sizing: border-box;
}

.main-content {
    width: 75%;
}

/* Menus */

.block-sidebar-menu-item-list {
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    padding: 15px;
}

.block-sidebar-menu-item-list ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.block-sidebar-menu-item-list ul li {
    width: 50%;
    margin: 0 0 1px 0;
}

.block-sidebar-menu-item-list ul li a {
    display: block;
    font-weight: 500;
}

/* Node page */



/* Footer */

.footer-menu {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-content: center;
    padding: 15px;
}

.footer-menu-block {
    width: 25%;
    margin: 0 0 15px 0;
}

.nav-footer ul {
    list-style: none;
    padding: 0;
}

.nav-footer ul li {
    list-style: none;
    margin: 0 0 5px 0;
}

.nav-footer ul .footer-menu-title {
    margin: 0 0 7px 0;
}

.nav-footer ul li a {
    display: block;
    font-weight: 500;
    font-size: 13px;
}

.nav-footer ul .footer-menu-title a {
    font-weight: 600;
    font-size: 14px;
}

.copyright {
    padding: 1rem 0;
    text-align: center;
    font-size: 13px;
}

@media (max-width: 1024px) {

    /* Header */

    .header {
        padding: 15px 0 0 0;
    }

    .logo-name-slogan {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .logo {
        display: none;
    }
    
    .logo-name-slogan,
    .name,
    .header .nav {
        width: 100%;
        margin: 0;
    }
    
    .header .nav ul {
        font-size: 16px;
    }
    
    .header .nav ul li a {
        font-weight: 500;
    }
    
    /* Main elments */
    
    .main {
         flex-wrap: wrap;
    }
    
    /* Footer */

    .footer-menu-block {
        width: 50%;
    }   
}

/* Admin */

.toolbar-horizontal {
    padding-top: 90px !important;
}

.toolbar-vertical {
    padding-top: 50px !important;
}

.messages__wrapper {
    max-width: 1280px;
    margin: 10px auto;
    padding: 20px;
    box-sizing: border-box;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
}