/*
Theme Name: Root Child
Theme URI: http://wpshop.biz/themes/root
Author: WPShop.biz
Author URI: http://wpshop.biz/
Template: root
Version: 1.0.0
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */


/* Сдвиг афоризма вправо */
.header-html-2 {
    flex-grow: 0;
}


/* Оформление оглавления */
#toc_container {
	width: 100%;
	background: #EFF0F1;
	border: 0;
	margin: 5px 0 35px 0;
	/*padding-bottom: 30px;*/
	padding: 0 0 35px 0;
}
#toc_container .toc_title {
	background: #DBE1E6;
	/*border-left: 4px solid #6969b3;*/
	padding: 12px 15px;
	/*margin-bottom: 30px;*/
	font-size: 20px;
	line-height: 25px;
	color: #435058;;
}
#toc_container p.toc_title {
    text-align: left;
    font-weight: 700;
    margin: 0;
    padding: 12px 15px 12px 40px;
}
#toc_container > ul {
	text-align: left;
	font-size: 16px;
	line-height: 20px;
}
#toc_container > ul > li {
	padding: 15px 1px 1px 40px;
	background: none !important;
	position: relative;
}
#toc_container > ul > li:last-child {
	padding-bottom: 0;
}
#toc_container > ul > li:before {
	display: none;
}
#toc_container > ul > li a {
	color: #666666;
	border-bottom: 1px dashed rgba(102, 102, 102, 0.5);
}
#toc_container > ul > li a:hover {
	color: #6969b3;
	text-decoration: none;
	border-bottom: 1px dashed rgba(105, 105, 179, 0.2);
}
#toc_container > ul > li a .toc_number {
	font-size: 16px;
	line-height: 16px;
	color: #666666;
	font-weight: bold;
	margin-right: 3px;
}
#toc_container > ul > li a .toc_number:after {
	content: '.';
}
#toc_container > ul > li > ul {
	margin: 18px 0 0 17px;
}
#toc_container > ul > li > ul > li {
	position: relative;
	padding-bottom: 8px;
	padding-left: 15px;
	background: none !important;
}
#toc_container > ul > li > ul > li:last-child {
	padding-bottom: 0;
}
#toc_container > ul > li > ul > li:before {
	display: none;
}


/* Управление размерами меню */
.main-navigation .main-navigation-inner, .footer-navigation .main-navigation-inner {
    /* padding: 0 40px; */
}
.main-navigation ul li a, .main-navigation ul li .removed-link, .footer-navigation ul li a, .footer-navigation ul li .removed-link {
    /*display: inline-block;
    text-align: left;*/
	padding-top: 12px;
	padding-right: 15px; /* 15 */
	padding-bottom: 19px;
	padding-left: 19px;
}
.site-footer-inner {
	background-image: url("/wp-content/uploads/2019/08/Fon-shapki-temnoseryj.png");
    background-position: center center;
    background-repeat: repeat;
}

/* Выравнивание меню по центру */
@media (min-width: 992px) {
.main-navigation .menu {
    display: table;
    margin: 0 auto;
}
}


/* Расстояние дочернего меню от родительского */
@media (min-width: 992px) {
.main-navigation ul li> .sub-menu li ul, .footer-navigation ul li>.sub-menu li ul {
    position: absolute;
    top: 0;
    left: 102%;
    font-size: 85%;
}
}


/* Сужаем область социальных кнопок в футере, чттобы расширить правую область */
.footer-social {
    flex: 1 0 15%;
}





/********************************/


/* Для вывода телефонов в сайдбаре */
.img-tel img{
    /*position: absolute;
    left:50%;
    top:50%;
    transform: translate(-50%, -50%);*/
    /*max-width:25%;*/
    height: 25px;
	margin-right: 5px; 
	margin-top: 2px; 
	/*margin-bottom: 2px; */
	float: left;
}


/* Для вывода иконок документов */
.vertical-align-box{
  display: flex;
  align-items: center;
}
.file-icon{
	margin-right: 5px; 
	/* margin-left: 1px; */
}
.file-icon-txt{
	/* font-size: 16px; */
	margin-right: 30px; 
	/* margin-left: 10px; */
}


/*
.ref-pic{
	margin-right: 10px; 
	margin-left: 10px;
}
.ref-pic-txt{
	margin-right: 10px; 
	margin-left: 10px;
}
.ref-pic-block{
	width: 220px;
	text-align: center;
}
.ref-pic-block-big{
	width: 658px;
	height: 135px;
    background-color: #f1f1f1;
	padding: 10px 15px;	
	margin: 15px 0px;	
}
*/


/* Замена иконки выделенного контента */
.entry-content blockquote.info:before {
    content: "\f245";
    color: #3da2e0;
}


/* Для цветовой таблицы RAL*/
.bg-color {
    padding: 8px 20px 8px 20px;
    width: 90px;		/*53*/
    margin: 0px 10px 10px 0px;
    float: left;
    text-align: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.number-color {
    font-weight: bold;
	font-size: 14px;
	color: #ffffff;
}


/* Для кнопки перехода на стр. сертификатов из сайдбара */
div.certificate{
	padding-bottom: 280px;
	padding-left: 10px;	
}
a.certificate {
    position: absolute;
    background: url(/files/certificate.png) no-repeat;
    width: 255px;
    height: 320px;
    z-index: 0;
}
a.certificate:hover {
    background: url(/files/certificate-hover.png) no-repeat;
}


/* Для кнопки перехода на стр. цветов RAL из сайдбара */
div.ral{
	padding-bottom: 270px;
	padding-left: 23px;
}
a.ral {
    position: absolute;
    background: url(/files/ral.png) no-repeat;
    width: 255px;
    height: 320px;
    z-index: 0;
}
a.ral:hover {
    background: url(/files/ral-hover.png) no-repeat;
}


.map {
    background: url(/files/map.png) no-repeat;
    width: 444px;		/*666*/
    height: 313px;		/*470*/
}

/*
.table-names{
	width: 620px;
	border: 1px;
	cellpadding: 3px;
}
*/

/* Выравнивание текста в ячейках таблицы по центру */
/*
entry-content {
    padding-left: 0;
    word-wrap: break-word;
}
.entry-content table {
    width: 620px;		/*100%;*/
/*    margin: 20px 0;
    border: 1px solid #ccc;
    border-spacing: 0;
    border-collapse: collapse;
}
.entry-content table td{
	text-align: left;		/*center;*/
}
	

/*************************************/

/* Кнопка загрузки */
.btn-download {
    background-color: #eeeeee;
    border: 2px solid #888888;
	/*color: #428bca;*/
	padding: 10px 22px;
    text-align: center;
	font-weight: bold;
}
.btn-download:hover {
    background-color: #eeeeee;
	border: 2px solid #444444;
	/*color: #e66212;*/
}


/* Закрывашка лишней информации на 510 пикс */
.wbx {
    position: absolute;
    width: 510px;
    height: 35px;
    background: #fff;
    font-weight: bold;
    font-size: 11px;
    color: #000000;
    padding-left: 400px;
    padding-top: 12px;
}

/* Закрывашка лишней информации на 670 пикс */
.wbx2 {
    position: absolute;
    width: 643px;
    height: 30px;
    background: #f1f1f1;
    font-weight: bold;
    font-size: 16px;
    color: #000000;
    margin-top: 8px;
    padding-left: 15px;
    padding-top: 4px;
}



/* линия подчеркивания */
hr {
	margin-top: 25px;
	margin-bottom: 25px;
}


/* Чтобы в YARPP не выводилось оглавление */
.b-related .post-card__content {
display: none;
}


/********************************************************************
 * Categories
 */
.widget_categories ul,
.widget_nav_menu ul,
.widget_recent_entries ul,
.widget_views ul,
.widget_recent_comments ul,
.widget_archive ul,
.widget_meta ul {
  list-style: none;
  padding: 0;
  margin: 0; }
  .widget_categories ul li,
  .widget_nav_menu ul li,
  .widget_recent_entries ul li,
  .widget_views ul li,
  .widget_recent_comments ul li,
  .widget_archive ul li,
  .widget_meta ul li {
    position: relative;
    padding: 6px 0 6px 25px;
    border-bottom: 1px solid #eee; }
    .widget_categories ul li:before,
    .widget_nav_menu ul li:before,
    .widget_recent_entries ul li:before,
	.widget_views ul li:before,
    .widget_recent_comments ul li:before,
    .widget_archive ul li:before,
    .widget_meta ul li:before {
      content: "\f105";
      position: absolute;
      top: 9px;
      left: 3px;
      font: normal normal normal 14px/1 FontAwesome;
      color: #ccc; }
    .widget_categories ul li:last-child,
    .widget_nav_menu ul li:last-child,
    .widget_recent_entries ul li:last-child,
	.widget_views ul li:last-child,
    .widget_recent_comments ul li:last-child,
    .widget_archive ul li:last-child,
    .widget_meta ul li:last-child {
      border-bottom: none; }
    .widget_categories ul li a,
    .widget_nav_menu ul li a,
    .widget_recent_entries ul li a,
	.widget_views ul li a,
    .widget_recent_comments ul li a,
    .widget_archive ul li a,
    .widget_meta ul li a {
      text-decoration: none; }
    .widget_categories ul li ul,
    .widget_nav_menu ul li ul,
    .widget_recent_entries ul li ul,
	.widget_views ul li ul,
    .widget_recent_comments ul li ul,
    .widget_archive ul li ul,
    .widget_meta ul li ul {
      padding-left: 10px; }
      .widget_categories ul li ul li,
      .widget_nav_menu ul li ul li,
      .widget_recent_entries ul li ul li,
	  .widget_views ul li ul li,
      .widget_recent_comments ul li ul li,
      .widget_archive ul li ul li,
      .widget_meta ul li ul li {
        padding-left: 0;
        font-size: .9em; }
        .widget_categories ul li ul li:before,
        .widget_nav_menu ul li ul li:before,
        .widget_recent_entries ul li ul li:before,
		.widget_views ul li ul li:before,
        .widget_recent_comments ul li ul li:before,
        .widget_archive ul li ul li:before,
        .widget_meta ul li ul li:before {
          display: none; }
        .widget_categories ul li ul li a,
        .widget_nav_menu ul li ul li a,
        .widget_recent_entries ul li ul li a,
		.widget_views ul li ul li a,
        .widget_recent_comments ul li ul li a,
        .widget_archive ul li ul li a,
        .widget_meta ul li ul li a {
          color: #666; }

