/*
Theme Name: SP Theme
Theme URI: https://cms3.ru/wordpress-pustaya-tema/
Author: Alex Kuimov
Author URI: https://cms3.ru
Description: The blank wordpress theme
Version: 1.0.0
Text Domain: sp-theme
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*WordPress Core*/
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
body {
    font-family: 'Lato';
    font-size: 1rem;
    color: #343434;
    line-height: 1.5;
    font-style: normal;
    font-weight: 400;
    margin: 0;
    box-sizing: border-box;
}
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.gallery-caption {
    display: block;
}

.bypostauthor {
    display: block;
}
section{
    position: relative;
}
html {
    font-size: 16px;
}
.mb-1{
    margin-bottom: 1rem;
}
.mb-2{
    margin-bottom: 2rem;
}
.mb-3{
    margin-bottom: 3rem;
}

*, *::before, *::after {
    box-sizing: border-box;
}
.d-flex {
    display: flex;
}
.d-grid {
    display: grid;
    gap: 1rem;
}
.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.align-center {
    align-items: center;
}

.just-between {
    justify-content: space-between;
}
img{
    display: block;
    max-width: 100%;
}
#menu-main{
    padding-inline-start: 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}
header a{
    text-decoration: none;
}
#menu-main,
#menu-main li{
    list-style-type: none;
}
.header_in{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
section{
    position: relative;
}
.main_banner{
    display: grid;
    grid-template-columns: 2fr 3fr;
}
.main_banner_l{
    background: #fa853b;
}
#menu-main a{
    color: #fff;
    transition: 0.3s;
}
#menu-main a:hover{
    color: #e1e1e1;
}
header{
    z-index: 9;
    position: fixed;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
}
.main_banner_r img{
    opacity: 0.9;
}
.logo_link{
    max-width: 200px;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main_banner_in {
    position: absolute;
    width: 100%;
    transform: translateY(-50%);
    top: 50%;
}
.logo_link span{
    transition: 0.3s;
}
.logo_link span:hover{
    color: #343434;
}
.main_banner_title{
    font-size: 2rem;
    color: #fff;
    font-weight: 600;
}