/*
Theme Name:     Gridlove Child
Theme URI:      https://mekshq.com/theme/gridlove
Description:    Child theme for Gridlove theme
Author:         meks
Author URI:     https://mekshq.com
Template:       gridlove
Version:        0.1.0
*/
html, body {
 /* Убирает прокрутку по горизонтале, для мобильной версии */
 overflow-x: hidden;
}

 /* Цвет иконки вкнтакте */
.gridlove-vk,
.gridlove-author-links .fa-vk {
background-color: #5e84ac;
}

 /* настройка стилей содержания */
#toc_container.no_bullets li:before {
    content: " — "; /* Добавляем в качестве маркера символ */
   }
#toc_container p.toc_title {
	font-size: 1.1rem;
	text-align:left;
	font-weight:600;
	margin:0;
	color: #484848;
	font-family: open sans;
}

#toc_container.no_bullets ul,
#toc_container.no_bullets li,
#toc_container.no_bullets ul li,
.toc_widget_list.no_bullets,
.toc_widget_list.no_bullets li {
	background:none;
	list-style: none;
}

.toc_list {
	border-left: 5px solid #335985; /* Параметры линии */ 
    margin-left: 0px; /* Отступ слева */
    padding-left: 15px !important; /* Расстояние от линии до текста */ 
}


.entry-content ul a {
    border-bottom: 0px solid; 
    text-decoration: underline !important;
}
.entry-content ul a:hover {
    border-bottom: 0px solid; 
     text-decoration: none !important;
}

@media (max-width:579px) {
	.container, .container-fluid {
	    max-width: 100% !important;
	    padding-left: 5px !important;
	    padding-right: 5px !important;
	}
    .box-inner-p, .gridlove-post-a .box-inner-p, .entry-sm-overlay, .box-inner-p-smaller, .box-inner-p-bigger  {
		padding: 15px !important;
	}
}
@media (max-width:340px){
	.container, .container-fluid {
	    padding: 0 5px !important;
	}
}

@media (max-width: 767px) {.gridlove-sidebar {display: none !important;}}


 /* стили похожих постов */

.relevant-posts .heading {
	text-align: center;
	padding: 0 15px;
	font-size: 22px;
	font-weight: bold;
	line-height: 50px;
	background: #2d5786;
	color: #fff;
	margin: 40px 0;
}
.relevant-posts ul {
	list-style: none;
	margin: -40px 0 0;
	padding: 0;
}
.relevant-posts li {
	width: 46.875%;
	float: left;
	margin: 40px 0 0 6.25%;
	font-size: 18px;
	line-height: 1.11;
	font-weight: bold;
}
.relevant-posts li:nth-child(odd) {
	clear: left;
	margin-left: 0;
}
.relevant-posts a, .entry-content .relevant-posts a {
	display: block;
	color: #333;
	text-decoration: none !important;
	-webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.16);
	box-shadow: 0 2px 5px rgba(0,0,0,0.16);
}
.relevant-posts a:hover, .entry-content .relevant-posts a:hover {
	-webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.3);
	box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    color: #345786;
}
.relevant-posts img {
	display: block;
	max-width: 100%;
	height: auto;
}
.relevant-posts li span {
	display: block;
	min-height: 5em;
	padding: .8em 1.4em;
}

 /* ссылки на документы */

.downico {
	height: auto !important;
	min-height: 112px;
	padding: 20px 20px 20px 124px !important;
	margin-bottom: 15px;
	font-size: 18px !important;
	line-height: 1.44 !important;
	font-weight: bold;
	color: #333 !important;
	border: 1px solid #dadada;
	background: none !important;
	position: relative;
}
a.downico:hover {
    color: #345786 !important;
}
.downico:before {
	content: "";
	font-size: 64px;
	width: 1em;
	height: 1em;
	background: url("/wp-content/uploads/img/file-formats.png") no-repeat;
	-webkit-background-size: 3em 1em;
	background-size: 3em 1em;
	position: absolute;
	left: 29px;
	top: 23px;
}
.exeldown:before {
	background-position: -1em 0;
}
.pdfdown:before {
	background-position: -2em 0;
}
.downico ul {
	list-style: none;
	padding: 0;
	margin: 10px 0 0;
	font-size: 15px;
}
.downico li {
	display: inline;
	margin-right: 20px;
}
.downico li a {
	color: #345786;
	text-decoration: underline;
}
.downico li a:hover {
	text-decoration: none;
}
@media (min-width: 1024px) and (max-width: 1199px) {
	.relevant-posts li {
		font-size: 16px;
	}
}
@media (max-width: 767px) {
	.gridlove-sidebar {
		display: none !important;
	}
	.relevant-posts ul {
		margin-top: -30px;
		overflow: hidden;
	}
	.relevant-posts li {
		font-size: 16px;
		margin-top: 30px;
	}
}
@media (max-width: 579px) {
	.container, .container-fluid {
		max-width: 100% !important;
		padding-left: 5px !important;
		padding-right: 5px !important;
	}
	.box-inner-p, .gridlove-post-a .box-inner-p, .entry-sm-overlay, .box-inner-p-smaller, .box-inner-p-bigger {
		padding: 15px !important;
	}
	.downico {
		min-height: 94px;
		padding: 15px 20px 15px 92px !important;
		font-size: 15px !important;
	}
	.downico:before {
		font-size: 48px;
		left: 22px;
		top: 22px;
	}
	.downico ul {
		font-size: 13px;
	}
	.relevant-posts {
		margin-bottom: 30px;
	}
	.relevant-posts .heading {
		margin:  30px 0;
	}
	.relevant-posts li {
		font-size: 14px;
	}
}
@media (max-width: 479px) {
	.downico {
		font-size: 14px !important;
	}
	.relevant-posts .heading {
		font-size: 18px;
		line-height: 60px;
	}
	.relevant-posts li, .relevant-posts li:nth-child(odd) {
		float: none;
		width: 100%;
		max-width: 300px;
		margin: 30px auto 0;
	}
	.relevant-posts li span {
		min-height: 0;
	}
}
@media (max-width: 399px) {
	.downico {
		min-height: 64px;
		padding: 10px 15px 10px 62px !important;
		font-size: 14px !important;
	}
	.downico:before {
		font-size: 32px;
		left: 15px;
		top: 15px;
	}
	.downico ul {
		font-size: 12px;
		margin-top: 10px;
	}
	.downico li {
		margin-right: 15px;
	}
}
@media (max-width: 340px) {
	.container, .container-fluid {
		padding: 0 5px !important;
	}
}
a.downico {
    padding-left: 70px;
    padding-top: 15px;
    font-size:24px;
    display: block;
    height: 70px;
    line-height: 20px;
    margin-bottom: 15px;
   }
   
/* Дизайн */  
@font-face {
	font-family: Circe;
	src: url("/wp-content/uploads/img/fonts/Circe-Bold-webfont.woff") format("woff"), url("/wp-content/uploads/img/fonts/Circe-Bold-webfont.otf") format("opentype");
	font-weight: bold;
	font-style: normal;
}
@font-face {
	font-family: Circe;
	src: url("/wp-content/uploads/img/fonts/Circe-ExtraBold-webfont.woff") format("woff"), url("/wp-content/uploads/img/fonts/Circe-ExtraBold-webfont.otf") format("opentype");
	font-weight: 800;
	font-style: normal;
}
#intro h1, #intro .button, .post-categories, .about-project h2, .lawyers .name, .topics a {
	font-family: Circe, "Open Sans", Arial, Helvetica, sans-serif;
	font-weight: bold;
	line-height: 1.25;
}
.post-categories, .about-project h2 {
	font-weight: 800;
}
/*
.gridlove-header-wrapper, .gridlove-header-middle .sub-menu, .gridlove-header-responsive, .gridlove-header-responsive .sub-menu, .gridlove-header-sticky, .gridlove-header-sticky .sub-menu {
	background-color: #2d5786;
}
*/
#cover {
	height: auto !important;
}
#cover .gridlove-cover-content {
	width: 100%;
}
#cover .overlay-vh-center-custom {
        position: static;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        max-width: none;
        padding: 0;
}
#intro {
	height: 500px;
	padding: 100px 0;
	background: #000 url("/wp-content/uploads/img/bg-intro.jpg") 50% 50% no-repeat;
	text-align: left;
}
#intro h1 {
	max-width: 680px;
	font-size: 41px;
	color: #fff;
	margin: 0;
}
#intro .button {
	display: inline-block;
	font-size: 27px;
	padding: .65em 1.2em;
	-webkit-border-radius: .2em;
	border-radius: .2em;
	background: #e55042;
	color: #fff;
	margin-top: 1.5em;
	cursor: pointer;
}
#intro .button:hover {
	background: #ff7464;
}
#intro .button:active {
	background: #ff7464;
	-webkit-box-shadow: 0 3px 0 0 rgba(0,0,0,0.26) inset;
	box-shadow: 0 3px 0 0 rgba(0,0,0,0.26) inset;
}
.section {
	margin-top: 50px;
}
ul.unstyled, .lawyers ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.post-categories {
	text-align: center;
	font-size: 20px;
	text-transform: uppercase;
}
.post-categories li {
	width: 33.333%;
	float: left;
	margin-bottom: 30px;
}
.post-categories a {
	display: block;
	color: #333;
	text-decoration: underline;
	-webkit-text-decoration-color: rgba(154,154,154,0.55);
	text-decoration-color: rgba(154,154,154,0.55);
	padding: 0 10px;
}
.post-categories a:hover, .topics a:hover {
	color: #e55042;
	-webkit-text-decoration-color: transparent;
	text-decoration-color: transparent;
}
.post-categories a:before {
	content: "";
	display: block;
	font-size: 220px;
	width: 1em;
	height: 1em;
	background: url("/wp-content/uploads/img/post-categoreis.png") no-repeat;
	-webkit-background-size: 3em 1em;
	background-size: 3em 1em;
	margin: 0 auto 30px;
}
.post-categories li:nth-child(2) a:before {
	background-position: -1em 0;
}
.post-categories li:nth-child(3) a:before {
	background-position: -2em 0;
}
.about-project {
	margin: 50px 0;
}
.about-project h2 {
	width: 27%;
	font-size: 30px;
	text-transform: uppercase;
	padding-top: 110px;
	background: url("/wp-content/uploads/img/about-project.png") no-repeat;
	color: #333;
	float: left;
	margin-top: -10px;
}
.about-project .text {
	font-size: 17px;
	width: 70%;
	float: right;
}
.about-project p {
	width: 45%;
	float: left;
}
.about-project p:last-child {
	float: right;
}
.section-heading {
	text-align: center;
	padding: 10px;
	background: #2d5786;
	color: #fff;
	text-transform: uppercase;
}
.lawyers .item {
	text-align: center;
	padding: 20px 10px;
	background: #fff;
}
.lawyers img {
	display: block;
	width: 116px;
	height: 116px;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	margin: 0 auto 15px;
}
.lawyers .name {
	font-size: 18px;
	line-height: 1.2;
	font-weight: bold;
	color: #282828;
}
.rating {
	width: 20px;
	height: 13px;
	background: url("/wp-content/uploads/img/star.png") repeat-x;
	-webkit-background-size: 20px 13px;
	background-size: 20px 13px;
	margin: 10px auto;
}
.rating.rating-2 {
	width: 40px;
}
.rating.rating-3 {
	width: 60px;
}
.rating.rating-4 {
	width: 80px;
}
.rating.rating-5 {
	width: 100px;
}
.rating.rating-6 {
	width: 120px;
}
.lawyers ul {
	font-size: 14px;
	line-height: 1.57;
}
.lawyers .owl-dots {
	text-align: center;
	margin-top: 30px;
	display: none;
}
.lawyers .owl-dot {
	display: inline-block;
	vertical-align: top;
	width: 12px;
	height: 12px;
	border: 2px solid #2d5786;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	margin: 10px 5px 0;
}
.lawyers .owl-dot:hover, .lawyers .owl-dot.active {
	background: #2d5786;
}
#topics {
	margin-bottom: 30px;
}
.topics {
	text-align: center;
	font-size: 18px;
	font-weight: bold;
}
.topics li {
	width: 25%;
	float: left;
	margin-bottom: 50px;
}
.topics li:nth-child(4n+1) {
	clear: left;
}
.topics a {
	display: block;
	padding: 0 10px;
	color: #222;
	text-decoration: underline;
	-webkit-text-decoration-color: rgba(154,154,154,0.88);
	text-decoration-color: rgba(154,154,154,0.88);
}
.topics a:before {
	content: "";
	display: block;
	font-size: 152px;
	width: 1em;
	height: 1em;
	background: url("/wp-content/uploads/img/topics.png") no-repeat;
	-webkit-background-size: 8em 1em;
	background-size: 8em 1em;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	margin: 0 auto 20px;
}
.topics li:nth-child(2) a:before {
	background-position: -1em 0;
}
.topics li:nth-child(3) a:before {
	background-position: -2em 0;
}
.topics li:nth-child(4) a:before {
	background-position: -3em 0;
}
.topics li:nth-child(5) a:before {
	background-position: -4em 0;
}
.topics li:nth-child(6) a:before {
	background-position: -5em 0;
}
.topics li:nth-child(7) a:before {
	background-position: -6em 0;
}
.topics li:nth-child(8) a:before {
	background-position: -7em 0;
}
.topics a:hover:before {
	opacity: .88;
}
@media (max-width: 1023px) {
	#intro {
		height: 400px;
		padding: 70px 0;
		-webkit-background-size: cover;
		background-size: cover;
	}
	#intro h1 {
		font-size: 36px;
	}
	#intro .button {
		font-size: 24px;
	}
	.post-categories {
		font-size: 18px;
	}
	.post-categories a:before {
		font-size: 180px;
		margin-bottom: 20px;
	}
	.about-project h2 {
		font-size: 24px;
		padding-top: 90px;
		-webkit-background-size: 100px 66px;
		background-size: 100px auto;
	}
	.about-project .text {
		font-size: 16px;
	}
	.about-project p, .about-project p:last-child {
		float: none;
		width: 100%;
	}
	.topics {
		font-size: 16px;
	}
	.topics li {
		margin-bottom: 30px;
	}
	.topics a:before {
		font-size: 114px;
	}
}
@media (max-width: 767px) {
	#intro {
		height: auto;
		padding: 50px 0;
	}
	#intro h1 {
		max-width: 500px;
		font-size: 30px;
	}
	#intro .button {
		font-size: 20px;
	}
	.post-categories {
		font-size: 16px;
	}
	.post-categories a:before {
		font-size: 140px;
		margin-bottom: 15px;
	}
	.about-project h2 {
		width: 100%;
		float: none;
		-webkit-background-size: 84px 55px;
		background-size: 84px 55px;
		padding: 0 0 0 100px;
		background-position: 0 0;
	}
	.about-project .text {
		width: 100%;
		float: none;
	}
	.topics li {
		width: 33.333%;
	}
	.topics li:nth-child(4n+1) {
		clear: none;
	}
	.topics li:nth-child(3n+1) {
		clear: left;
	}
	.topics li:nth-child(7):nth-last-child(2) {
		margin-left: 16.67%;
	}
}
@media (max-width: 479px) {
	#intro {
		padding: 40px 0;
		background-position: 60% 50%;
	}
	#intro h1 {
		max-width: 75%;
		font-size: 24px;
		font-size: 6.5vw;
	}
	#intro .button {
		font-size: 18px;
	}
	.post-categories li {
		width: 100%;
		float: none;
	}
	.about-project .text {
		font-size: 14px;
	}
	ul.topics {
		max-width: 360px;
		margin: 0 auto;
	}
	.topics li {
		width: 50%;
	}
	.topics li:nth-child(3n+1) {
		clear: none;
	}
	.topics li:nth-child(2n+1) {
		clear: left;
	}
	.topics li:nth-child(7):nth-last-child(2) {
		margin-left: 0;
	}
}
@media (min-resolution: 1.5dppx), (min-resolution: 144dpi), (-webkit-min-device-pixel-ratio: 1.5) {
	.rating {
		background-image: url("/wp-content/uploads/img/star@2x.png");
	}
}
#intro .button, .post-categories a, .lawyers .owl-dot, .topics a, .topics a:before {
	-webkit-transition: .2s;
	transition: .2s;
}

div.tel {text-align: center;}

.PRVD_chatWindow {
    background-color: #663366 !important;
    left: 20px !important;
    }
    
.content_rb {text-align: center; padding-bottom: 7px;} 

@media screen and (max-width: 1300px) {
    #content_rb_2932 {
	display: none;
    }
}

 /* калькулятор пенсии */
 
 #calcPens * {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box; }
#calcPens{
	padding: 0 20px 30px 20px;
	font-family: 'Roboto', sans-serif;
	border: 1px #2A517A solid;
	max-width: 790px;
}

#calcPens .p0{
	padding-right: 0;
	padding-left: 0;
}
#calcPens .pt5{
	padding-top: 5px;
}
#calcPens h4{
	margin-bottom: 0;
	font-style: italic;
}
#calcPens a{
	color: #2A517A;
	text-align: center;
}
#calcPens .row{
	padding-top: 30px;
}
#calcPens .row.calcRes{
	padding-top: 0;
	margin-top: 30px;
	padding-top: 5px;
}
#calcPens .row h3{
	margin-top: 0;
	margin-bottom: 0;
}
#calcPens .calcTitle{
	font-size: 16px;
	color: #2A517A;
	min-height: 30px;
	padding-right: 0;
}
#calcPens .calcValue{
	font-size: 20px;
	line-height: 30px;
	text-align: right;
	padding-right: 15px;
}
.ui-menu-item{
	font-size: 14px;
	font-family: 'Roboto', sans-serif;
}
.ui-selectmenu-optgroup{
	font-size: 14px;
	color: #2A517A;
	font-family: 'Roboto', sans-serif;
}
#calcPens .calcRes{
	background-color: #2A517A;
	color: white;
}
#calcPens .calcHelp{
	height: 30px;
	width: 30px;
	background-image: url("/wp-content/uploads/calcs/mvd/help.png");
	background-size: 30px;
	display: inline-block;
	margin-bottom: -7px;
}
.overflow {
  max-height: 400px;
}
#calcPens .ui-selectmenu-button{
	width: 100%;
	background: white;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid #2A517A;
    background: #2A517A;
    font-weight: normal;
    color: #fff;
}

.ui-tooltip{
	max-width: 350px;
	white-space: pre-line;
	text-align: justify;
	font-size: 12px;
}

#calcModal{
	display: none;
	background-color: white;
	width: 100%;
	text-align: center;
	min-height: 300px;
}
#calcModal .calcBody{
	margin: 0 auto;
	max-width: 300px;
	position: relative;
}
#calcModal .closeModal{
	position: absolute;
	top: 10px;
	right: 0;
	cursor: pointer;
	font-size: 20px;
}

table {
	display: block;
	overflow-x:auto;
 white-space: nowrap;
}