/* 
Theme Name: Dayri Develop
Author: Vasiliy Din
Version: 0.0
*/

body{
    background-color: #f3f3f3;
    padding: 0px;
    margin: 0px;

    font-size: 10px;
    box-sizing: border-box;

    font-family: "Play", sans-serif;
    font-weight: 400;
    font-style: normal;

    z-index: 100;
}

/* меню хедера */
.header_block{
    background-color: #18537d;
    width: 100%;
    height: 6rem;
}

/* логотип -- НАЧАЛО */
.header_menu_block{
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    margin: auto;
    max-width: 125rem;
    height: 100%;
}

.header_logo{
    width: 14rem;
    height: 100%;
    margin-left: 1rem;
    margin-right: 1rem;

    background-image: url('./img/logo_920x330px.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
/* логотип -- КОНЕЦ */


/* Кнопки меню хедера -- НАЧАЛО */
.header_right_block{
    display: flex;
    flex-direction: row;
    right: 1rem;
    align-items: center;
}
.header_btn_block{
    border-right: 3px solid #ffffff83;
}

/* кнопки ТОП меню из UL списка */
ul.ul_top_menu { 
    list-style-type: none;
}

ul.ul_top_menu a { 
    padding: 3px 12px 4px 12px;
    text-decoration: none;
    color: #b4dde2;
    border-bottom: 2px solid transparent;
}

ul.ul_top_menu a:hover { 
    color: #ffffff;
}



ul.ul_top_menu li.current-menu-item a {
    color: #ffffff;
    border-bottom: 2px solid #f7ab05;
}

.ul_top_menu .menu-item{
    height: 1rem;
    position: relative;
    display: inline-block;
    padding: 3px 0px 4px 0px;
    /* margin: 3px 20px 3px 0px; */
}

.ul_top_menu .menu-item::before{
    content: "";
    display: inline-block;
    position: absolute;
    height: 2px;
    bottom: -2px;
    background-color: #f7ab05;
}

.ul_top_menu .menu-item:hover::before{ 
    color: #ffffff;
    animation: borderOpacity 0.3s ease-in-out forwards;
}

@keyframes borderOpacity {
  from {
    right: 50%;
    left: 50%;
  }
  to {
    right: 0%;
    left: 0%;
  }
}

.ul_top_menu{
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #b4dde2;
    margin-right: 1.5rem;
}

/* этот селектор у кнопки в которой есть вложенный список */
.menu-item-has-children::after{
    width: 0px;
    height: 0px;
    border: 4px solid transparent;
    border-bottom: none;
    border-top-color: #b4dde2;
    content: '';
    vertical-align: middle;
    display: inline-block;
    position: relative;
    right: 5px;
}
.menu-item-has-children:hover::after{
    border-top-color: #fff;
}

.sub-menu{
    display: flex;
    flex-direction: column;
    position: absolute;
    /* left: -20%; */

    font-size: 0.8rem;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    margin-top: 0.8rem;
    align-items: left;
    /* background-color: #0534559e; */
    background: linear-gradient(180deg, #2e648b8c, #0c332a9c);
    border-radius: 3px 3px 3px 3px;

    transform-origin: 100% 0%;
    animation: viewSubMenu 0.3s ease-in-out forwards;
}

@keyframes viewSubMenu {
  from {
    opacity: 0;
    transform: scaleY(0);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

.menu-item-type-taxonomy, .menu-item-type-post_type{
    margin: 0;
    white-space: nowrap;
    margin-bottom: 0.3rem;
}


.hiden{
    display: none;
}
/* Кнопки меню хедера -- КОНЕЦ */


/* кнопка ЛИЧНЫЙ КАБИНЕТ -- НАЧАЛО */
.alt_menu{
    width: 13rem;
    height: 100%;
    display: flex;
    align-items: center;
    padding-right: 1rem;
    padding-left: 0.5rem;
}

.lk_menu_btn{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    border-bottom: 2px solid transparent;

    width: 100%;
    height: 2rem;
}

.lk_menu_btn:hover{
    cursor: pointer;
}

.lk_menu_btn:hover .lk_menu_text{
    color: #ffffff;
}

.lk_menu_btn:hover .lk_menu_img{
    filter: contrast(200);
}

.lk_menu_img{
    width: 1.3rem;
    height: 100%;
    margin-right: 0.5rem;
    background-image: url('./img/user.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.lk_menu_text{
    text-transform: uppercase;
    font-size: 1.1rem;
    color: #b4dde2;
}
/* кнопка ЛИЧНЫЙ КАБИНЕТ -- КОНЕЦ */


/* Футер -- НАЧАЛО */
.footer_contents_block{
    /* display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center; */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;

    background-color: #18537d;

    margin: auto;
    max-width: 125rem;
    min-height: 10rem;

    color: #fff;
    font-size: 1rem;
}

.one_footer_contents{
    grid-area: 1 / 1 / 2 / 2;
}

.three_footer_contents{
    /* border: 1px solid #fff; */
    grid-area: 1 / 3 / 2 / 4;
}

.for_footer_contents{
    /* border: 1px solid #fff; */
    grid-area: 1 / 4 / 2 / 5;
}

.footer_logo{
    width: 10rem;
    height: 4rem;
    margin-left: 1rem;
    margin-top: 2.5rem;
    margin-right: 1rem;

    background-image: url('./img/logo_920x330px.svg');
    background-repeat: no-repeat;
    background-position: top;
    background-size: contain;

    filter: sepia(100%) saturate(50%);
}

.copyright{
    display: inline-block;
    color: #ffffee;
    font-size: 0.9rem;
    margin-left: 2.5rem;
}


/* Футер -- КОНЕЦ 
filter: invert(100%) sepia(25%) saturate(0%) hue-rotate(99deg) brightness(110%) contrast(101%);
*/


