@font-face {
    font-family: 'Comic Sans MS';
    src: local('Comic Sans MS Bold'), local('Comic-Sans-MS-Bold'),
        url('ComicSansMS-Bold.woff2') format('woff2'),
        url('ComicSansMS-Bold.woff') format('woff'),
        url('ComicSansMS-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
  }
/*@font-face {
    font-family: 'Comic Sans MS';
    src: local('Comic Sans MS Italic'), local('Comic-Sans-MS-Italic'),
        url('ComicSansMS-Italic.woff2') format('woff2'),
        url('ComicSansMS-Italic.woff') format('woff'),
        url('ComicSansMS-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
  }*/
*, *:after, *:before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    transition: .5s ease-in-out;
    /* добавим плавность переходов для всех элементов страницы*/
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
    outline: none;
}
img {
    display: block;
    width: 100%;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display';
    font-weight: normal;
    letter-spacing: 1px;
}
#fone{
    position: fixed;
}
body {
    margin: 0;
    padding: 0;
    background-image:  url(../img/01.png);
    background-size: cover;
    background-repeat: repeat;
    background-position: center; /* Позиция фона по центру */
     /*font-family: "Monotype Corsiva", Corsiva;*/
    /*font-family: 'Open Sans', arial, sans-serif;*/
    font-size: 14px;
    line-height: 1;
    /*width: 100%;*/
    /*color: #373737;*/
    /*background: #e5e0c5;*/
    /*background: url(http://pskovocnt.ru/brentkdu/wp-content/uploads/2021/06/СЛ2-scaled.jpg) no-repeat center;*/
}
/* добавим очистку потока для всех контейнеров, внутри которых задано обтекание дочерних элементов */
header:after, .container:after, footer:after, .widget-posts-list li:after, #subscribe:after {
    content: "";
    display: table;
    clear: both;
}
/* стилевой класс, который управляет шириной контейнера сетки*/
.container {
    margin: 0 auto;
    width: 100%;/*600px*/
    max-width: 1100px;
    padding: 0 15px;
/*position: relative;*/
}
header {
    /*width: 100%;*/
    /*background: #e5e0c5;*/
    box-shadow: 3px 3px 1px rgba(0, 0, 0, .05);
    padding: 15px 0;
    margin-bottom: 30px;
    position: relative;
}
/* логотип */
.logo {
    display: block;
    float: left;
}
.logo span {
    color: white;
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    margin: 5px 0;
    text-align: center;
    text-shadow: 2px 2px 1px rgba(0, 0, 0, .4);
}
.logo span:nth-child(odd) {
    background: #EF5A42;
}
.logo span:nth-child(even) {
    background: #F8B763;
}
/* меню */
#menu {
    float: right;
}
#menu li {
    display: inline-block;
    margin-right: 30px;
}
#menu a {
    color: #111;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    display: block;
    line-height: 40px;
}
#menu a:hover {
    color: #EF5A42;
}
#menu li:last-child {
    margin-right: 0;
}
/* форма поиска */
#searchform {
    float: right;
    margin-left: 46px;
    display: inline-block;
    position: relative;
}
#searchform input {
    width: 170px;
    float: left;
    border: none;
    padding-left: 10px;
    height: 40px;
    overflow: hidden;
    outline: none;
    color: #9E9C9C;
    font-style: italic;
}
#searchform button {
    background: transparent;
    height: 40px;
    border: none;
    position: absolute;
    right: 10px;
    color: #EF5A42;
    cursor: pointer;
    font-size: 18px;
}
#searchform input:focus {
    outline: 2px solid #EBEBE3;
}
/* кнопка переключения меню, появляющаяся при ширине 768px */
.nav-toggle {
    display: none;
    position: relative;
    float: right;
    width: 40px;
    height: 40px;
    margin-left: 20px;
    background: #EF5A42;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    position: absolute;
    top: 19px;
    left: 8px;
    right: 8px;
    height: 2px;
    background: white;
}
.nav-toggle span:before, .nav-toggle span:after {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
}
.nav-toggle span:before {
    top: -10px;
}
.nav-toggle span:after {
    bottom: -10px;
}
/* класс, который будет добавлен в верхнему меню при нажатии на кнопку и покажет скрытое меню*/
#menu.active {
    max-height: 123px;
}
/* левый контейнер */
.posts-list {
    margin-bottom: 30px;
    width: 64%;
    float: left;
}
/* блок для статьи */
.post {
    margin-bottom: 35px;
}
.post-content p {
    line-height: 1.5;
    padding-bottom: 1em;
}
.post-image {
    margin-bottom: 30px;
}
.category {
    margin-bottom: 15px;
}
.category a {
    color: #F8B763;
    text-transform: uppercase;
}
.post-title {
    margin-bottom: 12px;
    font-size: 26px;
}
/* блок с кнопкой "продолжить чтение" и кнопками социальных сетей */
.post-footer {
    border-top: 1px solid #EBEBE3;
    border-bottom: 1px solid #EBEBE3;
    position: relative;
    margin-top: 15px;
}
.more-link {
    position: relative;
    display: inline-block;
    font-size: 10px;
    text-transform: uppercase;
    color: white;
    line-height: 44px;
    padding: 0 22px;
    background: #3C3D41;
    letter-spacing: 0.1em;
    white-space: nowrap;
}
.more-link:after {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    top: 0;
    right: 0;
    border: solid transparent;
    border-width: 22px 18px;
    border-left-color: #3C3D41;
    transform: translateX(100%);
}
.post-social {
    position: absolute;
    left: auto;
    top: 50%;
    right: 0;
    text-align: right;
    transform: translateY(-50%);
    padding: 0;
    font-size: 12px;
}
.post-social a {
    display: inline-block;
    margin-left: 8px;
    color: #F8B763;
    width: 25px;
    height: 25px;
    line-height: 23px;
    text-align: center;
    border-radius: 50%;
    border: 1px solid;
}
/* правый контейнер */
aside {
    width: 33%;
    float: right;
}
/* блок для виджетов */
.widget {
    padding: 20px 15px;
    background: white;
    font-size: 13px;
    margin-bottom: 30px;
    box-shadow: 3px 3px 1px rgba(0, 0, 0, .05);
}
.widget-title {
    font-size: 18px;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
    border: 2px solid #F8B763;
    box-shadow: 3px 3px 0 0 #F8B763;
}
.widget-category-list li {
    border-bottom: 1px solid #EBEBE3;
    padding: 10px 0;
    color: #c6c6c6;
    font-style: italic;
}
.widget-category-list li:last-child {
    border-bottom: none;
}
.widget-category-list li a {
    color: #626262;
    margin-right: 6px;
    font-style: normal;
}
.widget-category-list li a:before {
    content: "\f105";
    display: inline-block;
    font-family: 'FontAwesome';
    margin-right: 10px;
    color: #c6c6c6;
}
.widget-posts-list li {
    border-top: 1px solid #EBEBE3;
    padding: 15px 0;
}
.widget-posts-list li:nth-child(1) {
    border-top: none;
}
.post-image-small {
    width: 30%;
    float: left;
    margin-right: 15px;
}
.widget-post-title {
    float: left;
}
/* форма подписки */
#subscribe {
    position: relative;
    width: 100%;
    padding: 15px 0;
}
#subscribe input {
    width: 100%;
    display: block;
    float: left;
    border: 2px solid #EBEBE3;
    padding: 0 0 0 10px;
    height: 40px;
    position: relative;
    outline: none;
    color: #9E9C9C;
    font-style: italic;
}
#subscribe button {
    padding: 0 15px;
    background: transparent;
    height: 40px;
    border: none;
    position: absolute;
    right: 0;
    color: #EF5A42;
    cursor: pointer;
    font-size: 18px;
}
#subscribe input:focus+button {
    background: #EF5A42;
    color: white;
}
.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    opacity: 0.6; /* прозрачность*/
    width: 100%;
    height: 40px;
    padding: 10px 0;
    background: #3C3D41;
    color: #fff;
    z-index: 1 ;
}
/*.footer-col {
    width: 50%;
    float: left;
}*/
.footer a {
    color: white;
}
.footer td {
    text-align: center;
    padding: auto 10px;
}

.social-bar-wrap {
    text-align: center;
}
.social-bar-wrap a {
    padding: 0 7px;
    font-size: 18px;
}
@media (max-width: 768px) {
    /* показываем кнопку для переключения верхней навигации */
    /*  .nav-toggle {
          display: block;
      }*/
    header {
        padding: 10px 0;
    }
    /* скрываем верхнее меню, отменяем обтекание, позиционируем его, сместив на высоту шапки сайта */
    #menu {
        max-height: 0;
        background: white;
        float: none;
        position: absolute;
        overflow: hidden;
        top: 63px;
        right: 0;
        left: 0;
        margin: 0;
        padding: 0;
        z-index: 3;
    }

    /* делаем элементы списка блочными, чтобы они располагались друг под другом */
    #menu li {
        display: block;
        text-align: center;
        border-bottom: 1px solid #EBEBE3;
        margin-right: 0;
    }
    /* отменяем обтекание левой и правой колонок, устанавливаем им ширину 100%*/
    .posts-list, aside {
        width: 100%;
        float: none;
    }
    .widget-post-title {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    /* отменяем обтекание для логотипа и выравниваем по центру*/
    .logo {
        float: none;
        margin: 0 auto 15px;
        display: table;
    }
    .logo span {
        margin: 0 2px;
    }
    /* позиционируем меню на увеличившуюся высоту шапки */
    #menu {
        top: 118px;
    }
    /* позиционируем форму поиска по левому краю */
    #searchform {
        float: left;
        margin-left: 0;
    }
    /* убираем верхнюю и нижнюю границы и выравниваем кнопку по центру */
    .post-footer {
        border-top: none;
        border-bottom: none;
        text-align: center;
    }
    /* отменяем позиционирование кнопок соцсетей */
    .post-social {
        position: static;
        text-align: center;
        transform: none;
        margin-top: 20px;
    }
    .widget-post-title {
        font-size: 1.2em;
    }
    /* отменяем обтекание для столбцов подвала страницы */
    .footer-col {
        /*float: none;*/
        margin-bottom: 20px;
        width: 50%;
        text-align: center;
    }
    .footer-col:last-child {
        text-align: center;
        margin-bottom: 0;
    }

}
.info{
    width: 150px;
    height: auto;
    position: absolute;
    top: 150px;
    margin-left: 450px;
    /*        right: 60px;*/
    /*background:  #d2b48c;*/
    border: 1px #d2b48c solid;
    display: none;
    color: #cc6600;
    box-shadow: 0px 0px 3px 4px #d2b48c;
    border-radius: 10px;
}
.info p{
    font-weight: bold;
}

.icn{
    width: 25px;
    height: 25px;
}
.icn:hover{
    cursor: pointer;
}
.aud{
    display: none;
}
.slide{
    text-align: center;
    margin-bottom: 20px;
}
.first_title{
    margin: auto;
    width: auto;

}
.first_title {
    width: 100%;
    font-weight: bold;
    margin-left: auto; 
    text-align: center;  
    line-height: 1.1; 
    font-family: 'Comic Sans MS';
    /*font-family: "Monotype Corsiva"  ;*/ 
    font-size: 35px; 
    color:#e66751; /*#8B0000; #e5693e  #e5693e*/
    text-shadow:  #C0C0C0 1px 1px 0,  #e5693e 3px 2px 2px; /*#cad5e2*/
        /*#cad5e2 3px 3px 0, #e5693e 4px 4px 0;*/
        /*#cad5e2 5px 5px 0;*/
}
img {
    display: block;
    border: none;
}
/* Стили модального окна и содержания 
-------------------------------------------------------------------------------*/
/* слой затемнения */
.dm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
/*    display: block;*/
    overflow: auto;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

/* активируем модальное окно */
.dm-overlay:target {
    display: block;
    -webkit-animation: fade .6s;
    -moz-animation: fade .6s;
    animation: fade .6s;
}

/* блочная таблица */
.dm-table {
    display: table;
    width: 100%;
    height: 100%;
}

/* ячейка блочной таблицы */
.dm-cell {
    display: table-cell;
    padding: 0 1em;
    vertical-align: middle;
    text-align: center;
}
#titl{
    align-content: center;
}

/* модальный блок */
.dm-modal {
    display: inline-block;
    padding: 20px;
    max-width: 50em;
    background: #EF5A42; /*#607d8b;*/
    -webkit-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 60px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.22), 0px 19px 50px #000;
    color: #cfd8dc;
    border-radius: 10px;
    font-size: 20px;;

}

.dm-modal p{
    text-align: justify;
}
/* изображения в модальном окне */
.dm-modal img {
    width: 100%;
    height: auto;
}
/* миниатюры изображений */
.pl-left,
.pl-right {
    width: 25%;
    height: auto;
}
/* миниатюра справа */
.pl-right {
    float: right;
    margin: 5px 0 5px 15px;
}
/* миниатюра слева */
.pl-left {
    float: left;
    margin: 5px 15px 5px 0;
}
.next{
    color: #fff;
}
/* рисуем кнопарь закрытия */
.close {
    z-index: 9999;
    float: right;
    width: 30px;
    height: 30px;
    color: #cfd8dc;
    text-align: center;
    text-decoration: none;
    line-height: 26px;
    cursor: pointer;
}
.close:after {
    display: block;
    border: 2px solid #cfd8dc;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    content: 'X';
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    transition: all 0.6s;
    -webkit-transform: scale(0.85);
    -moz-transform: scale(0.85);
    -ms-transform: scale(0.85);
    transform: scale(0.85);
}
/* кнопка закрытия при наведении */
.close:hover:after {
    border-color: #fff;
    color: #fff;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}
/* движуха при появлении блоков с содержанием */
@-moz-keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}
@-webkit-keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}
@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1
    }
}
area, .city:hover{
    cursor: pointer;
}