/*****ОСНОВНЫЕ СТИЛИ
***************************************************************/
h1 {
  	font-size: 3rem;
}

h2 {
  	font-size: 3rem;
}
h3 {
  	font-size: 2rem;
}

h4 {
  	font-size: 1.7rem;
}

h5 {
  	font-size: 1.6rem;
}

h6 {
  	font-size: 1.4rem;
}

/*h1,h2,h3,h4,h5,h6 {
	font-weight: 600;
	margin-top: 10px;
	margin-bottom: 0.5rem;
}*/

a {
	word-wrap: break-word;
	text-decoration: none;
    color: inherit;
}

strong, b {
  	font-weight: bold;
}

/*a, p, input, select, form, option, textarea, label, legend, article, b, i, u, em, del, ul, li, ol, blockquote, hr, br {
	font-size: 16px;
}*/

span, strong {
  	font-size: inherit;
}

img {
	max-width: 100%;
	height: auto;
}

article ol,
article ul {
  	padding-left: 2rem;
    list-style-position: inside;
}

ul, ol {
	padding-left: 2rem;
}

sub,
sup {
	position: relative;
	font-size: 75%;
	line-height: 0;
	vertical-align: baseline;
}

sup {
  	top: -.5em;
}

sub {
  	bottom: -.25em;
}

hr { 
	border: 0;
	border-top: 1px solid #ccc;
	display: block;
	height: 1px;
	margin: 1rem 0;
	padding: 0;
}

/* WP */
.alignnone {
    margin: .5rem 2rem 2rem 0;
}

.aligncenter {
    display: block;
    margin: 0rem auto 0.5rem auto;
}

.alignright {
    float:right;
    margin: 0rem 0 2rem 2rem;
}

.alignleft {
    float: left;
    margin: 0rem 2rem 2rem 0;
}

a img.alignright {
    float: right;
    margin: 0.5rem 0 2rem 2rem;
}

a img.alignnone {
    margin: 0.5rem 2rem 2rem 0;
}

a img.alignleft {
    float: left;
    margin: 0.5rem 2rem 2rem 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 0.5rem 0.3rem 1rem;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 0.5rem 2rem 2rem 0;
}

.wp-caption.alignleft {
    margin: 0.5rem 2rem 2rem 0;
}

.wp-caption.alignright {
    margin: 0.5rem 0 2rem 2rem;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 1.1rem;
    line-height: 1.7rem;
    margin: 0;
    padding: 0 0.4rem 0.5rem;
}

.btn.focus, .btn:focus, .btn:hover {
    color: #fff;
}

/*ТАБЛИЦЫ*/
/*table {
	width: 100%;
	margin-bottom: 10.5rem;
	border-spacing: 0;
	border-collapse: collapse;
}

table th,
table td {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	padding-left: 10px;
	padding-right: 10px;
	line-height: 16px;
	font-size: 16px;
	text-align: left;
	vertical-align: middle;
	border-top: 1px solid #ddd;
}

table th {
  	font-weight: bold;
}

section table, section tbody {
  	vertical-align: baseline;
}

section table {
	width: 100%;
	margin: 2rem 0 40px 0;
	border-collapse: collapse;
}

section table td {
	padding: 12px 10px 10px;
	border: 1px solid #eaeaea;
	vertical-align: top;
}*/

/*****ОСНОВНЫЕ СТИЛИ ДЛЯ ШАБЛОНА
***************************************************************/
/*a, h4, h5, h6, p, span, input, select, form, option, textarea, label, legend, article, strong, b, em, del, ul, li, ol, blockquote, hr, br {
  	color: #1C1C1C;
}*/

/*****РАЗНОЕ
***************************************************************/
/***Пагинация***/
ul.page-numbers {
	text-align: center;
	padding-top: 2.5rem;
	margin-bottom: 40px;
}

ul.page-numbers li {
	list-style: none;
	display: inline-block;  
}

a.page-numbers {
	padding: 8px;
	border: 1px double rgba(120,111,111,0.33);
	margin: 0 7px;
	line-height: 45px;
}

a.page-numbers:hover {
  	background-color: rgba(120,111,111,0.2);
}

span.page-numbers.current {
	padding: 8px;
	border: 1px double rgba(120,111,111,0.33);
	background-color: rgba(120,111,111,0.2);
	margin: 0 7px;
}


/*** Редактирование ***/
.post-edit-link {
    color: #74A6DB;
}
.post-edit-link:hover {
    color: #487BB0;
}

/* фиксированное меню */
.block-fixed {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10001;
}
.is-fixed {
    position: fixed !important;
}

/**/

.btn-up {
    display: none;
    position: fixed;
    bottom: 5%;
    right: 1.5%;
    padding: 0px 1.5rem 0px;
    height: 5rem;
    font-family: Font Awesome\ 5 Free;/*"FontAwesome";*/
    font-size: 3.2rem;
    font-weight: 900;
    background: rgba(0,0,0,0.2);
    color: #fff;
    z-index: 9999;
    transition: 0.3s;
}
.btn-up:hover { 
    background: rgba(0,0,0,0.6); 
    color: #fff; 
    text-decoration:none; 
}
.btn-up:before { 
    content: "\f106"; 
}

/* Block Img Text */
.block-it {
    display: block;
    position: relative;
    overflow: hidden;
}
.text {
    margin-bottom: 0rem; 
}
.block-it_al .img {
    float: left;
    margin: 0 1.5rem 1.5rem 0;
    min-width: 40px;
}
.block-it_ac {
    text-align: center;
}
.block-it_ac .img {
    margin: 0 1.5rem 1.5rem 1.5rem;
}
.block-it_aa.block-it {
    margin: 0;
}
.block-it_aa .content {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.86);
}
.block-it_aa:hover .content {
    display: block;
}
.block-it_aa .img {
    display: inline-block;
    position: relative;
}
.block-it__link-abc {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.vertical-parent:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: 0;    
}
.vertical {
    position: absolute;
    left: 0;
    right: 0;
    padding: 0 1rem;
}
.vertical-top {
    top: 1rem;
}
.vertical-center {
    top: 50%;
    transform: translateY(-50%);
}
.vertical-bottom {
    bottom: 1rem;
}
.vertical-none {
    position: static;
    padding: 0;
}

.list {
    padding: 0;
    margin: 0;
    list-style: none;
}
.list-inline > li {
    display: inline-block;
    vertical-align: middle;
    padding: 0 0.5rem;
}

.btn-inline {
    margin: 0 !important;
    vertical-align: middle;
}

/* Bootstrap */
/* Выравнивание по высоте */
.row-flex > [class*='col-'] {  
    display: flex;
}

.no-gutter {
    margin: 0;
}
.no-gutter > [class*='col-'] {
    padding-right:0;
    padding-left:0;
}
.small-gutter {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}
.small-gutter > [class*='col-'] {
    padding-right:0.5rem;
    padding-left:0.5rem;
}


.media-object {
    max-width: 20rem !important;
}

/* Breadcrumbs - Хлебные крошки */
/*.breadcrumbs span {
    color: #8a8a8a;
    font-size: 14px;
    font-weight: 600;
}*/

/* */

/*.navbar-nav li:hover .dropdown-menu {
    display: block;
}*/
/*****SINGLE.PHP
***************************************************************/
.nav-prevnext {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    font-size: 1.6rem;
}

div#comments span {
	/* padding: 2rem 0px 0;
	display: block; */
}

label[for=comment] * {
  	vertical-align: top;
}

label[for=comment] {
  	padding: 1rem 0;
}

label[for=comment] textarea {
	font-size: 1.6rem;
	display: block;
	margin: 1rem 0;
	border: 1px solid #84809B;
	border-radius: 2px;
}

p.form-allowed-tags {
  	display: none;
}

form#commentform p.form-submit {
	padding-bottom: 10px;
}

form#commentform p.form-submit input {
	padding: 1rem;
	border: 1px solid #739BE9;
	border-radius: 2px;
}

form#commentform label {
	display: block;
	margin: 0.8rem 0px;
	width: 30rem;
}

/*** ДЛЯ ПЛАГИНОВ ***/
/*div#fancybox-wrap, div#fancybox-wrap div { 
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}*//* Обнуление fancybox */
div.wpcf7-response-output {
    position: fixed;
    top: 50%;
    left: 50%;
    margin: -6.5rem 0 0 -20rem !important;
	max-width: 40rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 3px 0.5rem rgba(0, 0, 0, .3), 0 1rem 1.6rem rgba(0, 0, 0, .2), 0 6.5rem 25rem rgba(0, 0, 0, .5);
    border-radius: 8px;
    color: #111;
    font-size: 1.5rem;
    text-align: center;
    cursor: pointer;
    z-index: 10;
}
div.wpcf7-response-output::after, div.wpcf7-response-output::after {
    content: "\f057";
    display: block;
    position: absolute;
    top: -0.9rem;
    right: -0.9rem;
    font-family: "Font Awesome 5 Free";
    background: rgb(255, 255, 255);
    padding-left: 1px;
    line-height: 1;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    cursor: pointer;
}

@media (max-width: 768px) {
    .no-gutter-xs > [class*='col-'] {
        padding-right:0;
        padding-left:0;
    }
    .row-five > [class*='col-'] {
        width: 50%;
        float: left;
    }
}