/* Затемнение фона (оверлей) */
        .popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(3px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.25s ease, visibility 0.25s ease;
            padding: 20px;
        }

        .popup-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Само всплывающее окно */
        .popup-container {
            max-width: 540px;
            width: 100%;
            background: #ffffff;
            border-radius: 32px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
            transform: scale(0.96);
            transition: transform 0.2s ease-out;
            overflow: hidden;
            position: relative;
        }

        .popup-overlay.active .popup-container {
            transform: scale(1);
        }

        /* Кнопка закрытия (крестик) */
        .close-popup {
            position: absolute;
            top: 18px;
            right: 22px;
            background: rgba(0, 0, 0, 0.05);
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            font-size: 26px;
            line-height: 1;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #1e2a3e;
            transition: all 0.2s;
            z-index: 10;
            font-weight: 400;
        }

        .close-popup:hover {
            background: rgba(0, 0, 0, 0.1);
            transform: rotate(90deg);
        }

        /* Основной контент */
        .popup-content {
            padding: 32px 28px 36px;
        }

        /* Главный текст */
        .title-text {
            font-size: 1.7rem;
            font-weight: 700;
            line-height: 1.3;
            color: #0c4e6e;
            margin-bottom: 16px;
            letter-spacing: -0.3px;
        }

        .question-text {
            font-size: 1.2rem;
            font-weight: 600;
            color: #1f3b4c;
            margin-bottom: 24px;
            border-left: 4px solid #2c7da0;
            padding-left: 14px;
            background: #f0f9ff;
            border-radius: 0 12px 12px 0;
            line-height: 1.4;
        }

        /* Блок ссылки */
        .link-wrapper {
            background: #f8fafc;
            border-radius: 20px;
            padding: 14px 18px;
            margin: 20px 0 18px;
            border: 1px solid #e2e8f0;
        }

        .link-label {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
            color: #2c7da0;
            margin-bottom: 8px;
            display: inline-block;
        }

        .custom-link {
            display: inline-flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            font-size: 1.1rem;
            font-weight: 600;
            word-break: break-all;
            background: #ffffff;
            padding: 10px 16px;
            border-radius: 60px;
            text-decoration: none;
            color: #1e6f5c;
            border: 1px solid #cbd5e1;
            transition: 0.2s;
            width: 100%;
            justify-content: center;
        }

        .custom-link:hover {
            background: #e6f7f2;
            border-color: #2c7da0;
        }

        .link-emoji {
            font-size: 1.2rem;
        }

        /* Блок QR-кода (просто картинка) */
        .qr-section {
            text-align: center;
            margin: 24px 0 16px;
            padding: 12px 0 8px;
            border-top: 1px dashed #cbd5e6;
        }

        .qr-label {
            font-size: 0.9rem;
            font-weight: 500;
            color: #2c3e50;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        /* Стиль для вашей картинки QR-кода */
        .qr-image {
            display: inline-block;
            background: white;
            padding: 10px;
            border-radius: 24px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
        }

        .qr-image img {
            width: 140px;
            height: 140px;
            display: block;
            margin: 0 auto;
            border-radius: 16px;
        }

        .qr-hint {
            font-size: 0.7rem;
            color: #5b6e8c;
            margin-top: 12px;
        }

        /* Подвал */
        .footer-note {
            margin-top: 24px;
            font-size: 0.7rem;
            text-align: center;
            color: #7c8ea0;
            border-top: 1px solid #edf2f7;
            padding-top: 18px;
        }

        @media (max-width: 500px) {
            .popup-content {
                padding: 24px 20px 28px;
            }
            .title-text {
                font-size: 1.4rem;
            }
            .question-text {
                font-size: 1rem;
            }
            .custom-link {
                font-size: 0.9rem;
            }
            .qr-image img {
                width: 120px;
                height: 120px;
            }
        }



 #map {
            width: 100%; height: 400px; padding: 0; margin: 0;
        }


.about_glav30 {
  margin: 50px 0 -20px 0;
  padding-bottom: 0px;
}


.gray
{margin-left:20px;}

.tooltip {
position: relative;
display: inline-block;
cursor: pointer;
color:#66727f;
  }
  

  .tooltip .tooltiptext {
    visibility: hidden;
    width: auto;
        color: #000;
    text-align: left;
    font-size: smaller;
    position: absolute;
    z-index: 1;
bottom: 50%;
left: 50%;
width: 350px;
margin-left: -175px;
margin-bottom: 10px;
padding: 10px;
font-weight: 400;
background: #fff;
-webkit-box-shadow: 0 2px 5px rgba(0,0,0,.4);
-moz-box-shadow: 0 2px 5px rgba(0,0,0,.4);
-ms-box-shadow: 0 2px 5px rgba(0,0,0,.4);
-o-box-shadow: 0 2px 5px rgba(0,0,0,.4);
box-shadow: 0 2px 5px rgba(0,0,0,.4);
border-radius: 4px;
  }

  .tooltip:hover .tooltiptext {
    visibility: visible;
  }

  .sign-link {
    font-weight: bold;
    font-style: italic;
  }


.sidebar-nav
{margin:30px 0 30px 0;
line-height:2;}

.news-detail
{
	word-wrap: break-word;
max-width: 830px;
margin-left: auto;
margin-right: auto;
padding: 0 15px 0 15px;
}

.zagol_qr
{font-size:26px;
font-weight:600;
	margin:0px 0 30px 0px;
text-align:left;
}

.zagol_foto 
{font-size:40px;
font-weight:600;
	margin:20px 0 30px 25px;
text-align:left;
/*text-transform: uppercase; */}

.zagol_about
{
margin:0 0 15px 0;
line-height:1;
	}


@media (max-width: 768px) {
.zagol_foto 
{font-size:26px; 
margin:20px 0 20px 5px;
}
.zagol_about
{margin: 10px 0 10px 0px;}


}



.table-small
{
line-height:1.5 !important;
}

.fa-3 {
margin-top:10px;
    font-size: 1.7em;
}

.thumb:hover img {opacity:0.8;}

.fff
{background:#fff;}

.podpis {
font-size:80%;
font-style:  italic;
color: #707070 ;
line-height:1;
margin:15px 0 15px 0;
}

.ikon
{margin-top:20px;
text-align:center;
font-weight:600;
font-size:120%;
margin-bottom:40px;
color:#393185;
}

.ikon img {width:70%;}

 .bukviza  {
   font-size:150%;
 background: #f26821;
font-weight:bold;
float:left;
color:#fff;
padding:10px;
margin-right:10px;
}



h6 {font-size: 18px;
line-height: 28px;
font-weigh:normal;}

h6:first-letter {
color: #f26821;
   font-size:150%;

 background: #f26821;
float:left;
color:#fff;
padding:10px;
margin-right:10px;
}


div.news-detail
{
	word-wrap: break-word;
max-width: 830px;
margin-left: auto;
margin-right: auto;
/*padding: 0 15px 0 15px;*/
padding:30px;
background:white;
border-radius:10px;
box-shadow: 0 1px 1px rgba(0,0,0,.12);
}


.card {
    background: #fff;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    width: 100%;
border-radius:10px;
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .05);
color:#2c3136;
box-shadow: 0 1px 1px rgba(0,0,0,.2);
}

.card0 {
    background: #fff;
    display: -ms-flexbox;
    display: flex;
align-items: center
    
    width: 100%;
border-radius:10px;
box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .05);
color:#2c3136;
box-shadow: 0 1px 1px rgba(0,0,0,.2);
}

.card1 {
    background: #fff;
    border-radius:10px;
color:#2c3136;
/*box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .05);*/
}



.card3 {
    background: #F4F5F6;
    border-radius:10px;
color:#2c3136;
/*box-shadow: 0 1px 5px 0 rgba(0, 0, 0, .05);*/
}

.card img, .card1 img { 
border-radius:  10px 10px 0 0;

}



.card:hover img, .card1:hover img,  .card2:hover img {opacity:0.8;}

.card:hover, .card1:hover {background: #f5fffa;
color:#E3910E;}

.card-content {
padding: 25px;
display: -ms-flexbox;
display: flex;
-ms-flex-flow: column nowrap;
flex-flow: column nowrap;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}

.card-content1 {
padding: 20px;
display: -ms-flexbox;
display: flex;
-ms-flex-flow: column nowrap;
flex-flow: column nowrap;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}

.rubrika {
font-size: 13px;
text-transform: uppercase;
margin-bottom: 10px;
}

.rubrika1 {
font-size: 13px;

margin-bottom: 10px;
}


.rubrika a {
color:#119787;}




.card-anons {
	color: #696F7C;
font-size:16px;}

.news-date-time {
	font-weight: 400;
font-size: 12px;
line-height: 18px;
padding-top: 8px;
color: #a8a9a8;
margin-top: auto;
}

.rub_zag {
font-size: 18px;
letter-spacing: .03em;
text-transform: uppercase;
font-weight: 600;
	margin-bottom: 10px;}

.rub_web { 
font-weight: 400;
font-size: 16px;
border-bottom: 1px solid #CACACA;
color: #119787;
letter-spacing: .03em;
line-height: 35px; 
}

.rub_tag { 
font-weight: 400;
font-size: 15px;
border-bottom: 1px solid #CACACA;
color: #119787;
letter-spacing: .03em;
line-height: 35px; 
}



.tel {margin:25px 0 10px 0; font-weight: 700; text-align:center;  }
@media (max-width: 768px) {
 .tel {margin:10px 0 15px 0;}
}
.soz{margin:20px 0  0;  text-align:right;}

.ten:hover{box-shadow: rgba(0,0,0, .09) 0 35px 90px;}

.title
{
font-size: 18px;
font-weight: 400;
margin-bottom:10px;
}


.uvel {
        position:relative;
        overflow:hidden;
margin:0 0 20px 0;
      
             }

.uvel2:hover  {
cursor: pointer;
  box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.4);
}

.uvel1 {
        position:relative;
        overflow:hidden;
margin:0 0 20px 0;
      
             }

.uvel1 img {
        -moz-transition: all 1s ease-out;
        -o-transition: all 1s ease-out;
        -webkit-transition: all 1s ease-out;
        }

.uvel1 img:hover{
       
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -o-transform: scale(1.1);
        }


.myvideo {
position:relative;
padding-bottom:56.25%;
padding-top:30px;
height:0;
overflow:hidden;
border:1px solid #ccc;
}
.myvideo iframe, .myvideo object, .myvideo embed   {
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
}

.sin {
  display: inline-block;
 /* color: #157fc4;*/
  margin-bottom: 0;
  /*font: normal 16px/40px "PT Sans", PTsans, Arial, sans-serif;*/

  vertical-align: middle;
  background-image: none;
  background: #dcecf6;
  border: 0;
  text-decoration: none;
  min-height: 40px;
  padding: 20px 30px 10px 30px;
  border-radius: 5px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all ease 0.3s;
  transition: all ease 0.3s;
}

.stroka
{
background-color:#157fc4;
color:#ffffff;
}

/* ==========================================================================
	 TABLES */
/* ========================================================================== */
.responsive-table {
  position: relative;
  width: 100%;
}
table {
  max-width: 100%;
  background-color: transparent;
  border-collapse: collapse;
  border-spacing: 0;

}
.table {
  width: 100%;
  margin-bottom: 20px;
}
.table-small td, .table-small th {
font-size:70%;
padding: 2px;}


.table th,
.table td {
  padding: 7px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #ccc;
}
.table th {
  font-weight: 500;
  background: #f5f7fa;
font-size:90%;
line-height:1.2;
}
.table p
{margin:0px;
padding:0px;}

.table thead th {
  vertical-align: bottom;
}
.table caption + thead tr:first-child th,
.table caption + thead tr:first-child td,
.table colgroup + thead tr:first-child th,
.table colgroup + thead tr:first-child td,
.table thead:first-child tr:first-child th,
.table thead:first-child tr:first-child td {
  border-top: 0;
}
.table tbody + tbody {
  border-top: 2px solid #ededed;
}
.table .table {
  background-color: #f5f5f5;
}
.table-bordered {
  border: 1px solid #ccc;
  border-collapse: separate;
  border-left: 0;
}
.table-bordered th,
.table-bordered td {
  border-left: 1px solid #ccc;
}
.table-bordered caption + thead tr:first-child th,
.table-bordered caption + tbody tr:first-child th,
.table-bordered caption + tbody tr:first-child td,
.table-bordered colgroup + thead tr:first-child th,
.table-bordered colgroup + tbody tr:first-child th,
.table-bordered colgroup + tbody tr:first-child td,
.table-bordered thead:first-child tr:first-child th,
.table-bordered tbody:first-child tr:first-child th,
.table-bordered tbody:first-child tr:first-child td {
  border-top: 0;
}
.table-bordered tbody + tbody tr:first-child td {
  border-top: solid 2px #ededed;
}
.table-striped tbody > tr:nth-child(even) > td,
.table-striped tbody > tr:nth-child(even) > th {
  background-color: #f5f7fa;
}
.primary-box .table-striped tbody > tr:nth-child(even) > td,
.primary-box .table-striped tbody > tr:nth-child(even) > th,
.secondary-box .table-striped tbody > tr:nth-child(even) > td,
.secondary-box .table-striped tbody > tr:nth-child(even) > th {
  background-color: rgba(255, 255, 255, 0.2);
}
.table-hover tr:hover > th,
.table-hover tr:hover > td {
  background-color: #f5f5f5;
}
.table-noborder th,
.table-noborder td {
  border: 0;
  padding: 8px;
}
.table-noborder th p:first-child,
.table-noborder td p:first-child {
  margin-top: 0;
}
.table-noborder th p:last-child,
.table-noborder td p:last-child {
  margin-bottom: 0;
}
.table-noborder th:first-child,
.table-noborder td:first-child {
  padding-left: 0;
}
.table-noborder th:last-child,
.table-noborder td:last-child {
  padding-right: 0;
}
