/*
Theme Name: My Custom Theme
Theme URI: https://katana-web.kz
Author: Nariman Aliakbarov
Author URI: https://katana-web.kz
Description: Тема для новостного сайта
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-custom-theme
*/
body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #29294b;
    text-align: left;
    background-color: #f0f1f5;
}
a {
    text-decoration: none;
    color: initial;
	color: #29294b;
}
a:hover {
    color: #d30140;
}
.container {
    width: 1300px;
    margin: 0 auto;
}
header .container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    padding: 5px 0;
    gap: 30px;
}
header .wrapper {
    background: #f7f7fa;
    box-shadow: 0 0 10px rgb(191 191 191 / 50%);
    position: fixed;
    width: 100%;
	z-index: 100;
}
.logo img {
    width: 120px;
    vertical-align: middle;
}
header .container .logo {
    flex: 2;
}
header .container .menu {
    flex: 70%;
}
header .container .header-nav {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}
.menu ul {
    display: flex;
    justify-content: flex-start;
    list-style-type: none;
    padding: 0;
    gap: 15px;
}
.header-nav ul, ul.soc-header {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    padding: 0;
    gap: 6px;
}
.menu ul a {
    font-weight: 500;
}
ul.soc-header li a {
    border-radius: 30px 30px 30px 30px;
    color: #fff;
    background: #d30140;
    padding: 18px 18px 18px 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 0;
    width: 0;
}
ul.soc-header li a:hover {
    background: #383838;
}
.news-list-item {
    background-color: #ffffff;
    border-radius: 10px 10px 10px 10px;
    padding: 30px 30px 30px 30px;
    box-shadow: #7272ff1f 0px 5px 20px 0px;
    display: flex;
    gap: 20px;
}
.container.main-contanier {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.wrapper.main-wrapper {
	padding: 110px 0 60px;
}
.news-list-block {
    flex: 5;
}
.asside {
    flex: 2;
}
.news-list {
	gap: 30px;
    display: flex;
    flex-direction: column;
}
.news-list-item-img img, .asside-item-list-item-img img {
    width: 100%;
	height: auto;
    border-radius: 10px;
    vertical-align: top;
}
.news-list-item-card {
    flex: 5;
}
.news-list-item-img {
    flex: 4;
}
.asside-item-list-item-img {
    flex: 2;
}
span.news-list-item-card-cat a {
    background: #404040;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 30px;
    color: #fff;
}
span.news-list-item-card-cat a:hover {
    background: #d30140;
}
.news-list-item-card h4 {
    font-size: 18px;
    margin: 10px 0;
}
.news-list-item-card-desc {
    font-size: 14px;
    margin: 10px 0;
}
.news-list-item-card-meta {
    font-size: 12px;
}
.asside-item {
    display: flex;
	gap: 30px;
    flex-direction: column;
}
.asside-item-title {
    text-align: center;
}
.asside-item-block {
    background-color: #ffffff;
    border-radius: 10px 10px 10px 10px;
    padding: 30px 30px 30px 30px;
    box-shadow: #7272ff1f 0px 5px 20px 0px;
    display: flex;
    gap: 30px;
    flex-direction: column;
}
.asside-item-title h2 {
    text-align: center;
    margin: 0;
}
.asside-item-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.asside-item-list-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.asside-item-list-item-desc {
    flex: 5;
}
.asside-item-list-item-desc h4 {
    margin: 0;
    font-size: 14px;
}
.asside-item-card-desc {
    font-size: 12px;
}
.asside-item-list-item-img img {
    border-radius: 5px;
}
footer {
    background: #161616;
    color: #fff;
}
footer a {
	color: #fff;
}
footer .container {
    display: flex;
    align-items: flex-start;
    padding: 60px 0;
    gap: 50px;
}
.footer-block {
    flex: 1;
}
a.footer-logo img {
    width: 115px;
}
.footer-block ul.soc-header {
    justify-content: flex-start;
}
.footer-block ul {
    padding: 0;
    list-style: none;
}
.footer-block h3 {
    margin: 0 0 15px 0;
}
.footer-block li {
    line-height: 1;
    margin-bottom: 10px;
}
.footer-block span {
    font-size: 74%;
    opacity: 0.8;
    line-height: 1;
}
.footer-block iframe {
    border-radius: 15px;
}
.footer-block-text {
    font-size: 14px;
}
.copyright {
    text-align: center;
    padding: 0 0 30px;
    opacity: 0.8;
	font-size: 14px;
    font-weight: 100;
}
.header-nav .search input#s::placeholder {
  color: #fff;
  font-size: 16px;
}
.header-nav .search input.inputbox {
    background-image: url(//sport.tv7.kz/wp-content/themes/your-theme/img/search.png);
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: 50%;
    overflow: hidden;
    width: 36px;
    height: 36px;
    border: none;
    background-color: #404040;
    color: transparent;
    padding: 0;
    border-radius: 30px;
}
.header-nav .search input.inputbox:focus{
	width:120px;
	background-position:15px 50%;
	padding-left: 40px;
	color: #fff;
}
.header-nav .search input.inputbox:autofill {
	background-color: #404040 !important;
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #404040 inset !important;
	-webkit-text-fill-color: white !important;
}
span.separator {
    opacity: .6;
}
.asside h4 {
    line-height: 1.3;
}
.container.ads-block img {
    width: 100%;
    border-radius: 10px;
    margin: 0 0 20px 0;
}
.asside-persons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.asside-persons a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px solid #d30140;
}

.asside-persons a {
    background: #f0f1f5;
    color: #414141;
    padding: 5px;
    font-size: 15px;
    flex: 41%;
    border-radius: 5px;
}
.asside-persons a:hover {
    background: #d30140;
    color: #fff;
}
.table-kpl {
    position: relative;
}
.table-kpl:after {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: linear-gradient(0deg, #ffffff 20px, transparent 0);
}

div#load-more {
    position: relative;
}


.gooey {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 142px;
  height: 40px;
  margin: 10px 0 0 -71px;

}
.gooey .dot {
  position: absolute;
  width: 16px;
  height: 16px;
  top: 12px;
  left: 15px;
  background: #d30140;
  border-radius: 50%;
  transform: translateX(0);
  animation: dot 2.8s infinite;
}
.gooey .dots {
  transform: translateX(0);
  margin-top: 12px;
  margin-left: 31px;
  animation: dots 2.8s infinite;
}
.gooey .dots span {
  display: block;
  float: left;
  width: 16px;
  height: 16px;
  margin-left: 16px;
  background: #d30140;
  border-radius: 50%;
}
@-moz-keyframes dot {
  50% {
    transform: translateX(96px);
  }
}
@-webkit-keyframes dot {
  50% {
    transform: translateX(96px);
  }
}
@-o-keyframes dot {
  50% {
    transform: translateX(96px);
  }
}
@keyframes dot {
  50% {
    transform: translateX(96px);
  }
}
@-moz-keyframes dots {
  50% {
    transform: translateX(-31px);
  }
}
@-webkit-keyframes dots {
  50% {
    transform: translateX(-31px);
  }
}
@-o-keyframes dots {
  50% {
    transform: translateX(-31px);
  }
}
@keyframes dots {
  50% {
    transform: translateX(-31px);
  }
}

.footer-block .menu-footer_menu-container ul li {
    flex: 45%;
}
.footer-block .menu-footer_menu-container ul {
    display: flex;
    flex-wrap: wrap;
}
.footer-block:first-child {
    flex: 2;
}
.article-page .news-list-block {
	background-color: #ffffff;
    border-radius: 10px 10px 10px 10px;
    padding: 30px 30px 30px 30px;
    box-shadow: #7272ff1f 0px 5px 20px 0px;
    display: flex;
    gap: 30px;
    flex-direction: column;
}
.article-img img {
    width: 100%;
	height: auto;
    border-radius: 10px;
	vertical-align: top;
}
.article-page-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.article-page h1 {
    margin: 0;
    line-height: 1.2;
}
.article-page-item span.entry-date {
    font-size: 14px;
}
.container.error404 {
    text-align: center;
}
.container.error404 h3 {
    font-size: 11vw;
    margin: 0;
    line-height: 1;
    font-weight: 900;
}
.container.error404 a {
    background: #d30140;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 2vw;
}
.article-page-item-meta {
    display: flex;
    justify-content: space-between;
}
.tn-bottom-share-container, .visually-hidden {
    display: none;
}
.article-page-item blockquote {
    background: #cccccc17 url(https://tv7.kz/wp-content/themes/tv7/img/quotes.png) no-repeat calc(100% - 30px) 30px;
    padding: 20px 140px 20px 30px;
    background-size: 70px;
    box-shadow: 0 0 15px #00000030;
    border-radius: 20px;
    margin: 20px 0;
    font-style: italic;
}
.mob-menu-block {
    display: none;
}

.mob_menu-ul {
    padding: 0;
    list-style-type: none;
    text-align: center;
}
.mob_menu-ul a {
    color: #f7f7fa;
    font-size: 23px;
    font-weight: bold;
}
.search-page-block {
    background-color: #ffffff;
    border-radius: 10px 10px 10px 10px;
    padding: 30px 30px 30px 30px;
    box-shadow: #7272ff1f 0px 5px 20px 0px;
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}
form.search-page {
	width: 100%;
}
form.search-page input {
    width: 100%;
    padding: 10px;
    border-radius: 7px;
    box-sizing: border-box;
}
a.search-mob-btn {
    display: none;
}



@media (max-width:560px) {
.container {
    width: 100%;
    margin: 0 auto;
}
.container.main-contanier, .news-list-item, footer .container, .article-page-item-meta, .article-page .news-list-block {
	flex-direction: column;
}
header .menu {
    display: none;
}
main {
    padding: 0 15px;
}
.gooey {
    margin: -5px 0 0 -71px;
}
header .container {
	padding: 0 15px;
	box-sizing: border-box;
	gap: 0;
	justify-content: space-between;
	background: #f7f7fa;
}
ul.soc-header li a {
	padding: 13px;
	font-size: 13px;
}
.header-nav .search input.inputbox {
	background-size: 12px;
	width: 26px;
	height: 26px;
}
.footer-block {
    padding: 0 15px;
}
.article-page h1 {
    font-size: 24px;
}
.article-page-item img{
    width: 100%;
}
.article-page-item iframe {
	width: 100% !important;
}
.logo img {
    width: 85px;
}
.news-list-item {
    padding: 20px;
}
header .container .header-nav {
    gap: 4px;
}
.mob-menu-block {
	display: block;
	flex: 0;
	padding-left: 20px;
}
header .container .logo {
    flex: 10%;
}
.header-nav {
	flex: 80%;
}
.header-nav .search {
	position: relative;
}
a.search-mob-btn {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.news-list-block h1 {
    font-size: 22px;
    margin-top: 0;
}




}













/* Theming */

:root{
    --white: #f9f9f9;
    --black: #36383F;
    --grey: #85888C;
}


ul.mob-menu {
    width: 100%;
    padding: 0;
}
/* Nav menu */
.nav {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: var(--black);
    overflow: hidden;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
	z-index: -1;
}

.mob-menu a{
    display: block;
    padding: 30px;
    color: var(--white);

}

.mob-menu a:hover{
    background-color: var(--grey);
}

.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
}

/* Menu Icon */

.hamb{
    cursor: pointer;
    float: right;
    padding: 0;
}


.hamb-line {
    background: var(--black);
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
    
}

.hamb-line::before,
.hamb-line::after{
    background: var(--black);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.hamb-line::before{
    top: 5px;
}

.hamb-line::after{
    top: -5px;
}


.side-menu {
    display: none;
}

/* Toggle menu icon */

.side-menu:checked ~ nav{
    max-height: 100%;
}

.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;

}

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}


/* Responsiveness */

@media (min-width: 768px) {
    .nav{
        max-height: none;
        top: 0;
        position: relative;
        float: right;
        width: fit-content;
        background-color: transparent;

    }

    .mob-menu li{
        float: left;
    }

    .mob-menu a:hover{
        background-color: transparent;
        color: var(--grey);
        
    }
    
    .hamb{
        display: none;
    }

}













