/*
Theme Name: vseposlovitcy
Template: gridbox
*/
@import url('../gridbox/style.css');
* {
	outline: none !important;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}


:root {
    --primary-color: #4477aa;
    --secondary-color: #114477;
    --tertiary-color: #111133;
    --accent-color: #117744;
    --highlight-color: #aa445e;
    --light-gray-color: #ddd;
    --gray-color: #999;
    --dark-gray-color: #222;
    --text-color: #222;
    --medium-text-color: #666;
    --light-text-color: #999;
    --dark-border-color: #222;
    --medium-border-color: #ccc;
    --light-border-color: #ddd;
    --link-color: #7A1F1D;
    --link-hover-color: #ddba9a;
    --button-color: #7A1F1D;
    --button-text-color: #f5d3b5;
    --button-hover-color: #881c1a;
    --button-hover-text-color: #ddba9a;
    --page-background-color: #fff;
    --header-background-color: #7A1F1D;
    --site-title-color: #ddba9a;
    --site-title-hover-color:#ddba9a;
    --navi-color: #f5d3b5;
    --navi-hover-color: #ddba9a;
    --navi-border-color: rgba(255, 255, 255, 0.1);
    --title-color: #111133;
    --title-hover-color: #881c1a;
    --widget-title-color: #111133;
    --widget-title-hover-color: #7A1F1D;
    --widget-title-border-color: #111133;
    --footer-background-color: #7A1F1D;
    --footer-text-color: #f5d3b5;
    --footer-link-color: #f5d3b5;
    --footer-link-hover-color: #ddba9a;
    --text-font: "Roboto", arial, helvetica, sans-serif;
    --title-font: "Roboto Slab", arial, helvetica, sans-serif;
    --navi-font: "Roboto", arial, helvetica, sans-serif;
    --widget-title-font: "Roboto Slab", arial, helvetica, sans-serif;
    --title-font-weight: bold;
    --navi-font-weight: normal;
    --widget-title-font-weight: bold;
    --title-text-transform: none;
    --navi-text-transform: none;
    --widget-title-text-transform: uppercase;
    --text-line-height: 1.6;
    --title-line-height: 1.6;
}

html, body {
	min-width:320px;
}
a {
	transition:color .25s ease-out, background .25s ease-out;
}

/*Шапка*/
.site-description {
	position: relative !important;
    margin: -15px 0 0 75px !important;
    font-size: 0.77rem !important;
}
.current-menu-item a {
	text-decoration:none !important;
	color:#ddba9a !important;
}
.custom-logo-link {
	display:inline-block;
}
@media (max-width:575px) {
	.site-branding .custom-logo {
		max-width:250px;
		margin-right:0;
	}
	.site-description {
		display:none;
	}
}
@media (max-width:380px) {
	.site-branding .custom-logo {
		max-width:200px;
	}
}

/*Подвал*/
.site-footer .site-info {
	float:left;
}
.footer-custom-navigation {
	overflow:hidden;
	text-align:right;
	
}
.footer-custom-menu {
    list-style: none;
    padding: 2em 0;
	margin:0;
    display: flex;
    justify-content:end;
    gap: 15px;
}

.footer-custom-menu li a {
    text-decoration: none !important;
    color:#f5d3b5 !important;
}
.footer-custom-menu li a:hover {
    color:#ddba9a !important;
}
@media (max-width:880px) {
	.site-footer .site-info {
		float:none;
		text-align:center;
	}
	.footer-custom-navigation {
		text-align:center;
	}
	.footer-custom-menu {
		padding: 0 0 2em 0;
		justify-content: center;
	}
}
@media (max-width:640px) {
	.footer-custom-menu {
		display:block;
	}
	.footer-custom-menu li {
		padding:3px 0;
	}
}

/*Нумерованный список - Политика, Соглашение*/
.num-list-item {
    clear: both;
    display: flex;
    align-items: flex-start;
    padding-bottom: 24px;
}
.num-list-count {
	color:var(--link-color);
	font-weight:bold;
	padding:0 6px 0 10px;
}
.num-list-text {
    flex-grow: 1;
}

/*Контент*/
.more-link {
    font-weight:normal;
    text-transform:none;
}
.side-title {
	margin-bottom:0 !important;
}
.side-tags {
	margin-top:0 !important;
}

.sidebar .widget_block {
	margin-bottom:0;
}
.new-post li {
	overflow:hidden;
	clear:both;
}
.new-post li .wp-block-latest-posts__featured-image {
	float:left;
	margin-right:10px;
}

.related-posts {
	padding-top:30px;
}
.related-posts ul {
	list-style:none;
	padding:0;
	margin:0;
}

.socshare p {
	margin: 0;
    padding:20px 0  10px 0;
}

.go-top {
    position: fixed;
    display: block;
    z-index: 255;
    bottom: 0;
    right: 0;
	opacity:0;
	visibility:hidden;
	transition:all .25s ease-out;
}
.go-top a {
	position: absolute;
	bottom:-40px;
	right: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	border-radius:6px;
	font-size:1rem;
	line-height: 45px;
	text-align: center;
	text-decoration: none;
	background: #4dbc15;
	color:#fff;
	transition:all .25s ease-out;
}
.go-top a:before {
	font-family: "Font Awesome 5 Free";
    content: "\f077";
    display: inline-block;
    line-height: 1;
    font-size: 14px;
    font-weight: 900;
}
.go-top a:hover {
	background: #10a82a;
}
.go-top.vis {
	opacity:1;
	visibility:visible;
}
.go-top.vis	a {
	bottom: 40px;
}

.wsp-posts-list {
	list-style:none;
}
.wsp-posts-list ul {
	margin-top:0 !important;
	margin-bottom:10px !important;
}
.wsp-posts-list a {
	text-decoration:none !important;
}