/*Theme Name: Meed
Theme URI: https://exodusdevelop.com/
Author: Mykola Perebenesiuk
Author URI: https://exodusdevelop.com/
Description: Hotel website theme
Requires at least: 5.3
Version: 1.0
*/

* {
    box-sizing: border-box;
}

/* Menu */

header .fixed-nav .menu-wrap, header .fixed-nav .my-acc-wrap {
    padding: 0;
}

.fixed-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}

header .fixed-nav .fixed-wrapper {
    max-width: 1300px;
}

/* Grid */

.wrapper {
    width: calc(100% - 10px);
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 10px;
}

@media (min-width: 60em) {
    .news-grid-section ul li {
        width: 23%;
    }

    .news-grid-section ul li img {
        min-height: 150px;
        max-height: 150px;
    }

    .division-section-one {
        width: calc(75% - 20px);
        padding-right: 20px;
    }

    .division-section-two {
        width: 25%;
    }

    .discoveries-section .division-section-one {
        width: 60%;
    }

    .discoveries-section .division-section-two {
        width: 35%;
    }
}

/* Single page */

.post-thumbnail img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.post-description p img {
    width: 100%;
}

/* Profile Dropdown Menu */

.profile-dropdown * {
    box-sizing: border-box;
}

.profile-dropdown {
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.profile-dropdown-link {
    display: inline-block;
    width: 100%;
    margin-right: 0 !important;
}

.profile-dropdown-top {
    background-color: #eaeaea;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    width: 100%;
}

.profile-dropdown__name {
    color: #3d3d3d;
    display: block;
}

.profile-dropdown__expiration {
    font-size: 12px;
    font-weight: normal;
    color: #a8a8a8;
    display: block;
}

.profile-dropdown__icon {
    width: 24px;
    height: 24px;
}

.profile-dropdown-menu {
    opacity: 0;
    visibility: hidden;
    width: 100%;
    background-color: #eaeaea;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;

    position: absolute;
    right: 0;
    left: 0;
    top: 100%;

    transition: opacity ease .25s;
}

.profile-dropdown-menu__item {

}

body .profile-dropdown-menu__link {
    display: block;
    color: #a8a8a8;
    font-weight: normal;
    border-bottom: 1px solid #d2d2d2;
    padding: 20px;
    width: 100%;
}

.profile-dropdown-menu .profile-dropdown-menu__item:last-child .profile-dropdown-menu__link  {
    border-bottom: none;
}

.profile-dropdown:hover .profile-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.profile-dropdown:hover .profile-dropdown-top {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

/* Footer */

.footer {
    background-color: #515252;
    color: #fff;
    padding: 20px 0;
    box-sizing: border-box;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-top-links {

}

.footer-top-links a {
    color: #fff;
}

.footer-top-links a:hover {
    text-decoration: underline;
}

.footer__copy {
    color: #fff;
    font-size: 14px;
}

@media only screen and (max-width: 1440px){
    .my-acc-wrap {
        min-width: 270px;
    }
}

@media only screen and (max-width: 450px) {
    .footer-top {
        flex-direction: column;
        justify-content: flex-start;
    }

    .footer-top-links {
        margin-top: 10px;
    }
}