/**
 * Theme Name:  PROJECT.CNC
 * Description: Система управления технологической подготовкой производства деталей на станках с ЧПУ
 *
 * Author:      CAM-PROGRAM
 * Author URI:  cam-program.ru
 *
 * Tags:        
 * Text Domain: project-cnc
 *
 * License:     Лицензия. Пр: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Version:     1.0
 */


 /* Изменяем стандартный цвет линий таблиц в wp-content */
 .wp-block-table td, .wp-block-table th {
 border: 1px solid #dee2e6;
 }

 /* стилизация надписи Комментарии на карточках posts при выводе на странице home.php */
 .entry-meta-comments a{
   color: #6c757d;
   font-size: 14px;
   font-weight: 400;
 }

 /* переопределение стилей дополнения Comments Tuner */
 #comment-box .add-attach-comment .button-upload {
   background-color: #013079;
 }


 /* =COMMENTS
----------------------------------------------- */
#comments {
	background-color: #FFFFFF;
}

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

#comments h1,
#comments h2,
#comments h3,
#comments h4,
#comments h5,
#comments h6 {
	margin-bottom: 1rem;
}

#comments h2.comments-title,
#comments h3.comments-title {
	margin-bottom: 10px;
	font-size: 28px;
}

.comment-author .avatar {
	border-radius: 50%;
	float: left;
}

.comments-area article header {
	margin: 0 0 10px;
	overflow: hidden;
	position: relative;
}

.comments-area .comment-edit-link,
.comments-area .comment-permalink,
.comments-area .comment-date-time,
.comments-area .comment-author-link {
	display: block;
	margin-left: 100px;
	color: #999999;
}

#content .comments-area article header cite a:hover {
	color: #013079;
}

#content .comments-area a.comment-edit-link:hover, #content .comments-area a.comment-permalink:hover {
	color: #013079;
}

.comments-area .comment-author-link a {
	color: #999999;
}

.comments-area .comment-author-link a:hover {
	color: #013079;
}

.comments-area .comment-author-link span {
	margin-left: 10px;
	padding: 0 5px;
	background-color: #013079;
	color: #FFFFFF;
	border-radius: 3px;
}

.comments-area article header .comment-author-link:before,
.comments-area article header .comment-edit-link:before,
.comments-area article header .comment-permalink:before,
.comments-area article header .comment-date-time:before {
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font: normal 22px/1 'Genericons';
	vertical-align: top;
}

.comments-area article header .comment-author-link:before {
	content: '\f304';
}

.comments-area article header .comment-edit-link:before {
	content: '\f411';
}

.comments-area article header .comment-permalink:before {
	content: '\f107';
}

.comments-area article header .comment-date-time:before {
	content: '\f307';
}

.comment-content {
	padding: 1rem 1rem 1.5rem 1rem;
	background-color: #F8F8F8;
	border: 1px solid #EAEAEA;
}

.comment {
	margin-bottom: 20px;
}

.comment ul,
.comment ol {
	margin: 0 0 20px 20px;
}

.comment ul {
	list-style: square outside none;
}

.comment .comment-reply-link {
	float: right;
	color: #999999;
}

.comment .comment-reply-link:hover {
	color: #013079;
}

.comment .comment-reply-link:before {
	content: '\f412';
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font: normal 22px/1 'Genericons';
	vertical-align: top;
}

.comment-list {
	list-style-type: none;
	padding: 0;
	margin-bottom: 3.4rem;
}

.comment-list .children {
	margin-left: 20px;
	list-style-type: none;
	padding: 0;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
	/* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	-webkit-clip-path: none;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#main[tabindex="-1"]:focus {
	outline: 0;
}

.nav-previous,
.nav-next {
	margin-bottom: 15px;
}

.nav-previous .nav-next a {
	color: #666666;
	padding: 5px 25px;
	cursor: pointer;
	border: 1px solid #EAEAEA;
	font-size: 16px;
}

.nav-previous a:hover,
.nav-next a:hover {
	color: #013079;
}

/* =COMMENT FORM
----------------------------------------------- */

.tc_line.tc_ava label {
	color: #ffffff;
}
 
/* .tooltip-inner {
	background-color: green !important;
	color: #fff ;
} 

 .bs-tooltip-bottom .arrow::before, 
.bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
	border-bottom-color: green !important;
} */

#gtr_group_posts_widget .title-widget {
	color: #013079;
}

.rating-rcl .rating-plus {
	background-color: #d7d7d7;
	color: #013079;
	border-radius: 0.3rem;
}

/* CNCLOGIN PAGE
----------------------------------------------- */

.login-body {
   height: 100vh;
   }

.panel_lk_recall .default-field input {
	border-radius: 6px;
}

body:not(.wp-admin) .rcl-bttn.rcl-bttn__type-primary {
	border-radius: 6px;
}

body:not(.wp-admin) .form-block-rcl .rcl-bttn.rcl-bttn__type-primary {
	/* border-radius: 6px; */
	height: 40px;
}

/* .cnclogin_img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
} */


/* LOGIN FORM
----------------------------------------------- */

.panel_lk_recall.pageform .form-tab-rcl {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.panel_lk_recall .form-tab-rcl {
	border-radius: 12px;
}

.form_auth, .form_head.form_rmmbr a:first-child {
	border-right: 0px;
}

.panel_lk_recall .form_reg, .panel_lk_recall .form_auth {
	width: 100%;
	font-size: 18px;
}

/* FRONT PAGE
----------------------------------------------- */
.badge-last {
display: inline-block;
margin-left: 5px;
padding: .25em .4em;
font-size: 65%;
font-weight: 400;
line-height: 1;
text-align: center;
white-space: nowrap;
vertical-align: baseline;
border-radius: .25rem;
}

.last-info {
	position: absolute;
	top: 15px;
}

iframe {
border: none;
}

.embed-container {
   position: relative;
   padding-bottom: 56.25%;
   overflow: hidden;
   max-width: 100%;
   height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
}

.cards-equal-height {
   height: calc(100% - 1.25rem);
}


/* CONTENT-POST PAGE
----------------------------------------------- */


/* CNC MACHINES PAGE-TEMPLATE
----------------------------------------------- */
.machine-info {
	position: absolute;
	right: 0px;
}

.machine-tools {
	position: absolute;
	right: 0px;
	top: 50px;
}

.machine-maintenance {
	position: absolute;
	right: 0px;
	top: 100px;
}