/*
Theme Name: RKRP
Theme URI: https://git.it-forge.tech/users/leninkerrigan/repos/ingot/browse
Author: IT Forge Team
Author URI: https://it-forge.tech/
Description: Bones for WordPress Theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, rtl-language-support, translation-ready
Text Domain: theme

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
@import 'css/single_post.css';
@import 'css/pages.css';
a {
    color: #453aef;
}
body {
    margin: 0;
}

.site_wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #1a1919;
    font-size: 16px;
}
/*---------------- header ------------------------*/

.site_header {
    background-color: #d42c22;
    position: relative;
    width: 100%;
}
.header_cont {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    max-height: 300px;
    max-width: 1280px;
    min-width: 320px;
    min-height: 128px;
    background-size: 100% 100%;
    position: relative;
    margin: 0 auto;
}
.name-and-logo-cont {
    display: grid;
    grid-template-columns: 25% 75%;
    align-items: center;
}
.logo-cont {
    max-height: 260px;
    height: 100%;
}
.logo-cont img {
    height: 100%;
    width: auto;
    min-width: 100px;
}

.site_header a {
    text-decoration: none;
}

.site_slogan {
    color: white;
    font-family: Open Sans, sans-serif;
    text-align: right;
    margin: 20px 20px 0 0;
}
.site_name {
    color: white;
    font-size: 38px;
    font-weight: 900;
    font-family: Open Sans, sans-serif;
}

.logo_container {
    height: 100%;
}

.logo_container img {
    height: 100%;
    width: auto;
}
.minor_row{
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 10;
    position: absolute;
    bottom: 10px;
    right: 20px;
}
.rkrp_eng {
    background-color: white;
    color: #8a7a7a;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    margin: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    font-family: Open Sans, sans-serif;
    cursor: pointer;
    font-size: 14px;
    position: relative;
}
.rkrp_eng a {
    color: #7a7a7a;
    outline: none;
}
.rkrp_eng img {
    width: 40px;
    height: 40px;
    border-radius: 50px;
    opacity: 0;
    transition: 0.5s;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.rkrp_eng:hover img {
    opacity: 1;
    transition: 0.5s;
}

.rkrp_eng:hover {
    color: transparent;
}
.rkrp_search-form {
    display: inline-flex;
    align-items: center;
    background-color: white;
    border-radius: 20px;
    padding: 0 5px;
}
.rkrp_search {
    height: 40px;
    width: 55px;
    padding: 5px;
    border: none;
    background-color: transparent;
    color: #3f3b3b;
    transition: 0.5s;
    outline: none;
}

.rkrp_search:focus {
    width: 200px;
    transition: 0.5s;
}
.rkrp_search-submit{
    background-color: transparent;
    width: 30px;
    height: 30px;
    border-radius: 30px;
    border: none;
    transition: 0.5s;
    position: absolute;
    z-index: 1000000;
    cursor: pointer;
}
.search_svg {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    background-color: #8a7a7a;
}

.search_svg svg {
    width: 20px;
    height: 20px;
    fill: #fff;
    position: absolute;
    top: 5px;
    right: 5px;
}
.search_svg:hover {
    background-color: #d42c22;
    transition: 0.5s;
}
.header_menu_mobile{
    display: none;
    visibility: hidden;
}
.mobile_menu_button{
    display: none;
    visibility: hidden;
}

/*----------------navigaion in header ------------------------*/

.header_menu_cont{
    width: 100%;
    height: auto;
    background-color: #a9231b;
    position: sticky;
    top: 0;
    z-index: 10;
}
.header_menu {
    width: 100%;
    max-width: 1280px;
    font-family: Open Sans, sans-serif;
    font-weight: 600;
    z-index: 10;
    margin: 0 auto;
 }
.header_menu_cont .menu-item a {
    color: white;
}
.sub-menu .menu-item a {
    color: #3f3b3b;
}

.menu_cont ul {
    width: 1000px;
    padding: 0;
    display: flex;
    margin: 10px auto;
    justify-content: space-around;
    flex-wrap: wrap;
}
.menu_cont a{
    border-bottom: none;
}
#menu-menu-1 li {
    list-style-type: none;
    font-family: Open Sans, sans-serif;
    font-weight: 600;
    font-size: 1em;
    position: relative;
}

.header_menu_cont ul {
    display: flex;
    justify-content: space-between;
    padding: 0 30px;


}
.menu-item a {
    text-decoration: none;
    color: #3f3b3b;
}
.current_page_item {
    border-bottom: solid 3px #d42c22;
}
.menu-item {
    border-bottom: solid 3px transparent;
}
.menu-item:hover {
    border-bottom: solid 3px white;
    transition: 0.3s;
}
.header_menu_cont .menu-item-has-children:before {
    border: 7px solid transparent;
    border-top: 8px solid #fff;
    display: block;
    position: absolute;
    content: "";
    right: -21px;
    bottom: -2px;
}
.header_menu_cont .menu-item-has-children:after {
    border: 5px solid transparent;
    border-top: 6px solid #a9231b;
    display: block;
    position: absolute;
    content: "";
    right: -19px;
    bottom: 3px;
}
.header_menu_cont .menu-item.menu-item-has-children:hover {
    border-bottom: solid 3px transparent;
}
.menu_mobile_cont{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 100;
    display: none;
    visibility: hidden;
    justify-content: center;
}
.menu_mobile_cont.open {
    visibility: visible;
    display: flex;
}
.mobile_menu_back {
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.7;
    z-index: 90;
}

.header_menu_cont .sub-menu {
    display: flex;
    visibility: hidden;
    opacity: 0;
    min-width: 280px;
    flex-direction: column;
    position: absolute;
    background-color: white;
    padding: 15px;
    margin-top: 8px;
    box-shadow: 0 0 1px 1px rgba(0,0,0,.2);
    border-radius: 5px;
    transition: 0.5s;
    z-index: 100;
}
.header_menu_cont .menu-item-has-children:hover .sub-menu{
    opacity: 1;
    visibility: visible;
}
.header_menu_cont .sub-menu li {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: solid 1px #c6c4c4;
}
.header_menu_cont .sub-menu li:last-of-type {
    padding-bottom: 0;
    border-bottom: none;
}
.header_menu_cont .sub-menu li:hover a {
    color: #d42c22;
}

.header_menu_cont .sub-menu:before {
    border: 15px solid transparent;
    content: "";
    display: block;
    position: absolute;
    top: -24px;
}

.header_menu_cont .sub-menu:after {
    border: 14px solid transparent;
    border-bottom: 12px solid white;
    content: "";
    display: block;
    position: absolute;
    top: -25px;
    left: 16px;
}

/*------------------------------footer----------------------------------*/
.rkrp_footer{
    width: 100%;
    min-height: 50px;
    background-color: #a9231b;
    color: white;
    font-family: Open Sans, sans-serif;
    margin-top: 16px;
}
.rkrp_footer a{
    outline: none;
}
.footer_text_cont {
    max-width: 1280px;
    margin: 15px auto;
    display: flex;
    padding: 0 20px 10px;
    justify-content: space-between;
}
.footer_contacts {
    margin-right: 20px;
    padding-right: 20px;
}
.footer_contscts_title {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 20px;
    margin: 10px 0;
}

.social_media_box svg{
    height: 34px;
    width: 33px;
    margin-right: 15px;
    fill: white;
    transition: 0.3s;
    cursor: pointer;
}
.social_media_box svg:hover{
    fill: #c6c6c6;
    transition: 0.3s;
}

.footer_text {
    font-weight: 100;
    font-size: 14px;
    max-width: 1280px;
    margin: 15px auto;
    display: flex;
    padding: 20px;
    border-top: dashed 2px;
}
.scroll_to_top{
    display: flex;
    align-items: center;
}
.scroll_to_top svg {
    height: 40px;
    width: 40px;
    fill: white;
    transform: rotate(270deg);
    cursor: pointer;
}
.scroll_to_top svg:hover{
    fill: #c6c6c6;
    transition: 0.3s;
}

/*--------------------------------sidebar menu------------------------------------*/
#secondary {
    background-color: #1a1919;
}

.menu-item {
    list-style: none;
    position: relative;
}
.widjet_cont{
    background-color: white;
    margin-bottom: 15px;
    padding: 15px 31px 5px 15px;
    font-family: Open Sans, sans-serif;
}
.widjet_cont:last-of-type {
    margin-bottom: 0;
}

.widgettitle {
    display: flex;
    justify-content: center;
    color: #1a1919;
}
.widjet_cont ul {
    padding-left: 15px;
    font-size: 14px;
}

.widjet_cont .sub-menu {
    background-color: white;
    position: absolute;
    right: -180px;
    top: 0;
    box-shadow: 0 0 1px 1px rgba(0,0,0,.2);
    min-width: 150px;
    padding: 10px 15px;
    visibility: hidden;
    opacity: 0;
    transition: 0.5s;
    z-index: 100;
}
.widjet_cont .menu-item-has-children:hover .sub-menu{
    display: flex;
    flex-direction: column;
    visibility: visible;
    opacity: 1;
}
.widjet_cont .sub-menu:before{
    border: 10px solid transparent;
    border-right: 10px solid #d9d9d9;
    display: block;
    position: absolute;
    content: "";
    left: -20px;
    top: 9px;
}
.widjet_cont .sub-menu:after{
    border: 8px solid transparent;
    border-right: 8px solid white;
    display: block;
    position: absolute;
    content: "";
    left: -16px;
    top: 10px;
}

.widjet_cont .menu-item {
    padding: 6px 0;
    font-family: Open Sans, sans-serif;
    border-bottom: solid 1px #bfbfbf;
    font-weight: 600;
    position: relative;
}

.widjet_cont .menu-item:last-of-type{
    border: none;
}
.widjet_cont .menu-item a:hover  {
    color: #d42c22;
}
.widjet_cont .sub-menu li {
    font-size: 14px;
    font-weight: 600;
}

.widjet_cont .menu-item-has-children:before {
    border: 9px solid transparent;
    border-left: 10px solid #3f3b3b;
    display: block;
    position: absolute;
    content: "";
    right: -23px;
    top: 8px;
}
.widjet_cont .menu-item-has-children:after {
    border: 8px solid transparent;
    border-left: 8px solid white;
    display: block;
    position: absolute;
    content: "";
    right: -19px;
    top: 9px;
}

.sidebar_cont {
    display: flex;
    background-color: white;
    min-width: 200px;
}
.sub-menu {
    padding: 0 15px;
}

.widjet_cont .cat-post-item a {
    color: #a9231b;
    transition: 0.3s;
}

.widjet_cont .cat-post-item:hover a {
    filter: brightness(200%);
}
/*--------------------------------content area------------------------------------*/
.site_content{
    width: 100%;
    max-width: 1280px;
    background-color: #1a1919;
    display: grid;
    grid-template-columns: 2fr 7fr;
    grid-gap: 16px;
    margin-top: 16px;
}
.content_area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 16px;
    font-family: Open Sans, sans-serif;
    background-color: #1a1919;;
}
.more_button_cont {
    grid-column-start: 2;
    grid-column-end: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Open Sans, sans-serif;
}
.more_button {
    color: white;
    width: auto;
    font-weight: 700;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 10px;
    background-color: #8a7a7a;
    display: flex;
    align-items: center;
    transition: 0.3s;
    position: relative;
}
.more_button svg {
    fill: white;
    stroke: white;
    height: 30px;
    width: 30px;
    margin-right: 7px;
}
.more_button:hover {
    background-color: #a9231b;
    transition: 0.3s;
}

.more_loading_cont{
    position: absolute;
    opacity: 0;
    background-color: inherit;
    width: 85%;
    display: flex;
    justify-content: center;
}
.more_loading_cont svg {
    fill: white;
    stroke: white;
    height: 28px;
    width: 28px;
    animation: loading 1s infinite linear;
}

.more_button.loading .more_loading_cont {
    opacity: 1;
}
.no_posts {
    display: none;
}
.more_button.nothing .show_more{
    display: none;
}
.more_button.nothing .no_posts{
    display: block;
}
.more_button.nothing:hover {
    background-color: #8a7a7a;
}

/*-----------------------------------Category Box-----------------------------------------*/
.content_wrapper {
display: flex;
flex-direction: column;
}

.category_box {
background: #ffffff;
display: flex;
Flex-direction: column;
margin-bottom: 16px;
padding: 16px;
}

.category_title {
margin: 0;
}

/*.category_description {*/

/*}*/

/*-----------------------------------mobile-version-----------------------------------------*/
@media screen and (max-width:1100px) {
    .content_area {
        grid-template-columns: 1fr 1fr;
        grid-gap: 10px;
    }
    .rkrp_footer {
        font-size: 14px;
    }
}
@media screen and (max-width:800px) {
    .site_wrap {
        font-size: 14px;
    }

    .logo-cont {
        max-height: none;
        height: 35vw;
    }

    .content_area {
        grid-template-columns: 1fr;
        grid-gap: 10px;
    }
    .site_name{
        font-size: 24px;
    }

    .header_menu_cont ul {
        font-size: 14px;
    }
    .header_menu_cont ul {
        font-size: 12px;
    }

    .site_content {
        display: flex;
        flex-direction: column;
        margin-top: 0;
    }
    .sidebar_background {
        display: none;
    }

    .content_area {
        margin: 16px;
        grid-gap: 16px;
    }

    .widjet_cont {
        font-size: 12px;
    }
    .rkrp_footer {
        font-size: 12px;
    }
    .footer_contscts_title{
        font-size: 18px;
    }
    .social_media_box svg {
        height: 24px;
        width: 23px;
        margin-right: 10px;
    }
    .footer_text_cont {
        margin: 0;
    }
    .single_post_title{
        font-size: 16px;
    }
    .single_header_cont{
        font-size: 14px;
    }
    .error_button{
        font-size: 16px;
    }

}
@media screen and (max-width:600px) {
    .site_wrap {
        font-size: 14px;
    }
    .content_area{
        margin-top: 10px;
        margin-right: 10px;
    }
    .site_name{
        font-size: 18px;
    }
    .header_menu {
        display: none;
    }
    .header_menu_mobile {
        display: none;
        visibility: visible;
        background-color: white;
        position: absolute;
        box-sizing: border-box;
        border-radius: 5%;
        font-size: 14px;
        width: 230px;
        flex-direction: column;
    }
    .header_menu_mobile ul {
        padding: 0 20px;
        margin-top: 0;
    }
    .header_menu_mobile li {
        padding: 5px;
        font-size: 16px;
        font-family: Open Sans, sans-serif;
    }
    .mob_menu_close {
        display: flex;
        padding: 15px 15px 0;
        justify-content: flex-end;
    }
    .mob_menu_close svg {
        width: 20px;
        height: 20px;
        cursor: pointer;
        fill: #4c4c4c;
    }
    .mob_menu_close svg:hover {
        fill: #d42c22;
    }
    .mobile_menu_button{
        display: flex;
        background-color: white;
        color: #7a7a7a;
        border-radius: 20px;
        cursor: pointer;
        visibility: visible;
        width: 30px;
        height: 30px;
        padding: 5px;
        justify-content: center;
        align-items: center;
    }
    .mobile_menu_button svg {
        width: 24px;
        height: 24px;
        fill: #7a7a7a;
        transition: 0.5s;
    }
    .mobile_menu_button svg:hover {
        fill: #d42c22;
        transition: 0.5s;
    }
    .menu_mobile_cont.open .header_menu_mobile {
        display: flex;
        z-index: 100;
        margin-top: 20px;
    }
    .header_menu_mobile .sub-menu {
        display: none;
        margin-top: 0;
        visibility: hidden;
    }
    #mob_menu .menu-item-has-children{
        position: relative;
    }

     .menu__arrow {
        width: 50px;
        height: 20px;
        position: absolute;
        right: 0;
        top: 5px;
        display: none;
    }
    .menu__arrow:before{
        border: 10px solid transparent;
        border-top: 10px solid #4c4c4c;
        display: block;
        position: absolute;
        content: "";
        right: -4px;
        bottom: -6px;
    }

    .menu__arrow:after {
        border: 8px solid transparent;
        border-top: 9px solid #fff;
        display: block;
        position: absolute;
        content: "";
        right: -2px;
        bottom: -2px;
    }
    .sub-menu li {
        padding: 5px 0;
    }
    .menu-item-has-children > .menu__arrow{
        display: block;
    }
    .sub-menu.open{
        visibility: visible;
        display: block;
    }
    .current_page_item {
        font-weight: 600;
    }

    .menu-item:hover {
        border-bottom: none;
        transition: 0.3s;
        font-weight: 600;
    }
    .site_content{
        grid-template-columns: 1fr;
    }
    .sidebar_background {
        display: none;
    }
    .site_content {
        margin-top: 0;
    }
    .footer_contacts {
        display: none;
    }
    .rkrp_contact_form{
        display: none;
        visibility: hidden;
    }
    .footer_contscts_title {
        font-size: 16px;
    }
    .rkrp_search {
        height: 30px;
    }
    .search_svg {
        width: 20px;
        height: 20px;
    }
    .rkrp_search-submit {
        width: 20px;
        height: 20px;
        border-radius: 20px;
        outline: none;
    }
    .search_svg svg {
        width: 15px;
        height: 15px;
        position: absolute;
        top: 3px;
        right: 3px;
    }
    .rkrp_eng {
        width: 30px;
        height: 30px;
        border-radius: 30px;
        font-size: 10px;

    }
    .rkrp_search:focus {

        width: 120px;
        transition: 0.5s;

    }
    .rkrp_eng img {
        width: 30px;
        height: 30px;
    }
}

@media screen and (max-width:500px) {
    .site_wrap {
        font-size: 12px;
    }
    .header_cont {
        background-image: none !important;
    }
    .site_name {
        font-size: 4vw;
    }
    .site_slogan{
        display: none;
    }

    .mobile_menu_button{
        width: 30px;
        height: 30px;
        padding: 0;
    }
    .mobile_menu_button svg {
        width: 16px;
        height: 24px;
    }
    .more_loading_cont svg{
        width: 24px;
        height: 24px;
    }

}


@media screen and (max-width:330px) {
    .site_content {
        grid-template-columns: 1fr;
        grid-gap: 10px;
    }
    .content_area {
        grid-template-columns: 1fr;
        grid-gap: 10px;
        margin-right: 10px;
    }
    .single_header_cont{
        font-size: 12px;
    }
    .ya-share2__container_size_m .ya-share2__icon {
        height: 25px !important;;
        width: 25px !important;;
    }
}

/*----------------------vanilla wp styles-------------------*/
.wp-caption,
.gallery-caption {
    color: #666;
    font-size: 13px;
    font-size: 0.8125rem;
    font-style: italic;
    margin-bottom: 1.5em;
    max-width: 100%;
    text-align: center;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}
