#sp-left .sp-module,#sp-right .sp-module {
   
    border: 2px solid rgba(11, 46, 68);
    padding: 30px;
    border-radius: 3px;
 }
#sp-left .sp-column {
    margin-top: 100px;
 }
#sp-right .sp-column {
    margin-top: 200px;
  }

#sp-left .sp-module .sp-module-title, #sp-right .sp-module .sp-module-title {
    margin: 0 0 30px;
    padding-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    border-bottom: 1px solid rgba(11, 46, 68);
}

#sp-left, #sp-right{
 width: 30%;

}
.col-lg-12 {
       width: 80% !important;
}

#sp-left{
  margin-top: 100px;
margin-left:-10%;
margin-right:-10%;
}

#sp-right{
 margin-left:-10%;
margin-right:-10%;
 
}

#sp-menu {
    background-color: rgba(241,167,8);
    text-align: left;
   width: 100%;
  
}


#sp-component
{
    background-color:rgba(255,255,255,0.8);  
     width: 60%;
  margin:auto;
   margin-top: 100px;
  
}



#sp-header
{
    background-color:rgba(11, 46, 68);  
}


#sp-footer
{
    background-color:rgba(11, 46, 68);  
}

#sp-header .logo a {
    font-size: 24px;
    line-height: 1;
    margin: 0;
    padding: 0;
    color: rgba(241,167,8);
}

#mod-custom125 a {
    color: rgba(241,167,8);
   
}

#mod-custom125 {
 margin-top: -5%;
   margin-left: 5%;
  background-color:rgba(11, 46, 68,0.0); 
height:60px;
  width:1000px;
  
}
[itemprop="articleBody"] img {
    display: block;
    margin-left: auto;
    margin-right: auto
  }
[itemprop="articleBody"] 
{
   text-align: center
  }

.article-feature-gallery, .article-feature-gallery {
   width:60%;
  height:auto;
   display: block;
    margin-left: auto;
    margin-right: auto
}



.custom-image-module {
    text-align: center;
}

.image-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.image-list li {
    padding: 5px;
    border-radius: 5px;
    text-align: center;
}

.image-list img {
    display: block;
    width:500px ;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}


.administration {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 20px;
   padding: 20px;
}

.admin-member {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 10px;
   border: 2px solid #ff6600;
   padding: 10px;
   border-radius: 5px;
   width: 60%;
}

.admin-position {
   font-weight: bold;
   font-size: 1.1em;
   text-align: center;
}

.admin-member img {
   width: 300px;
   height: auto;
   border-radius: 5px;
   object-fit: cover;
}

.admin-info {
   text-align: center;
}


h1 {
   text-align: center;
   color: #333;
}

.baza {
   overflow: hidden;
   margin-bottom: 20px;
   position: relative;
}


.baza p {
   font-size: 20px;
   text-indent: 50px;
}


.baza img {
   width: 600px;
   height: auto;
   border-radius: 5px;
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.baza figcaption {
   font-size: 16px;
   color: #555;
   text-align: center;
   margin-top: 5px;
}

.history {
   overflow: hidden;
   margin-bottom: 20px;
   position: relative;
}

.history .right {
   float: right;
   margin-left: 15px;
}

.history .left {
   float: left;
   margin-right: 15px;
}



.history p {
   font-size: 20px;
   text-indent: 50px;
  text-align:left;
}


.history .image-group {
   display: flex;
   justify-content: center;
   gap: 20px;
   flex-wrap: wrap;
   align-items: flex-start;
}


#line-2 img {
   width: 180px;
   height: 300px;
}

#line-1 {
   gap: 100px;
   /* Добавляет отступ между изображениями */
}

#line-1 figure {

   width: 45%;
   /* Ограничивает ширину, чтобы избежать наложения */
   max-width: 300px;
   /* Фиксированная максимальная ширина */
}

#line-1 img {
   width: 100%;
   height: auto;

}

.history .image-group figure {
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
   margin: 0;
   width: 22%;
   /* Чтобы картинки выстроились в ряд */
}

.history img {
   width: 300px;
   height: auto;
   border-radius: 5px;
   display: block;
}

.history figcaption {
   font-size: 14px;
   color: #555;
   text-align: center;
   margin-top: 5px;
}


.slider-container {
   position: relative;
   width: 80%;
   max-width: 800px;
   overflow: hidden;
   border-radius: 10px;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
   background: white;
  margin-left: 10%;
}
.slider {
   display: flex;
   transition: transform 0.5s ease-in-out;
}
.slide {
   min-width: 100%;
   box-sizing: border-box;
}
.slide img {
   width: 65%;
   height: auto;
   border-radius: 10px;
   margin-left: 20%;
   margin-right: 20%;
}
.slider-container button {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   background: rgba(0, 0, 0, 0.5);
   color: white;
   border: none;
   padding: 10px;
   cursor: pointer;
   font-size: 18px;
   border-radius: 50%;
}
.prev {
   left: 10px;
}
.next {
   right: 10px;
}
button:hover {
   background: rgba(0, 0, 0, 0.8);
}


.specialty {
   display: flex;
   align-items: center;
   background: rgb(11, 46, 68);
   margin: 20px 0;
   padding: 15px;
   border-radius: 8px;
   box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
   flex-direction: row; /* Расположение картинки слева */
}
.specialty img {
   width: 300px;
   height: auto;
   border-radius: 5px;
   margin-right: 20px;
   order: -1; /* Помещает изображение перед текстом */
}
.info {
   flex: 1;
   background: rgba(241,167,8); /* Полупрозрачный синий фон */
   padding: 15px;
   border-radius: 8px;
   
}
.info h2 {
   margin: 0 0 10px;
   color: #000000;
}
.info p {
   margin: 5px 0;
   color: #000000;
   font-size: 18px;
   text-indent: 20px;
}
.description {
   font-size: 18px;
   text-align: justify;
   margin-bottom: 20px;
}

.description p {
   text-indent: 50px;
}
.gallery {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 15px;
}
.gallery img {
   width: 45%;
   max-width: 400px;
   height: auto;
   border-radius: 8px;
   box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.required-documents, .documents ul {
   list-style-type: none;
   padding: 0;
}
.required-documents, .documents ul li {
   background: rgba(255, 255, 2552);
   padding: 10px;
   margin: 5px 0;
   border-radius: 5px;
}

}
.passing-scores table {
   width: 100%;
   border-collapse: collapse;
   margin-top: 20px;
}
.passing-scores th, td {
   border: 1px solid #ddd;
   padding: 10px;
   text-align: center;
}
.passing-scores th {
   background: rgba(255, 255, 255);
   color: #333;
}

.gallery-isb img {
   width: 80%;
   height: auto;
   border-radius: 8px;
   box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
   margin-left: 10%;
   margin-right: 10%;
}

.principles h2 {
   color: #2c3e50;
   text-align: center;
}
.principles ol {
   list-style-type: decimal;
   padding-left: 20px;
}
.principles li {
   margin-bottom: 10px;
   font-size: 20px;
   line-height: 1.5;
  text-align:left;
}
.intro p{
text-indent: 50px;
text-align:left;
margn-left:20%;
   font-size: 20px;

}

.section-H,.principles, .intro {
   background: rgba(255, 128, 0, 0.241);
   padding: 15px;
   margin: 20px 0;
   border-radius: 8px;
   box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.section-H h2 {
   color: #003366;
}
.section-H p {
   color: #000;
   font-size: 20px;
   line-height: 1.5;
}

/* Стилизация слайдера */
.slider-container-H {
   position: relative;
   width: 100%;
   max-width: 800px;
   overflow: hidden;
   border-radius: 10px;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
   background: white;
   margin-left: 10%;


}
.slider-H {
   display: flex;
   transition: transform 0.5s ease-in-out;

}
.slide-H {
   min-width: 100%;
   box-sizing: border-box;
  
}
.slide-H img {
   width: 80%;
   height: auto;
   border-radius: 10px;
   margin-left: 10%;
   margin-right: 10%;
}

.slider-container-H button {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   background: rgba(0, 0, 0, 0.5);
   color: white;
   border: none;
   padding: 10px;
   cursor: pointer;
   font-size: 18px;
   border-radius: 50%;
}
.prev {
   left: 10px;
}
.next {
   right: 10px;
}
.slider-container-H button:hover {
   background: rgba(0, 0, 0, 0.8);
}
.law-content {
   background: rgba(0, 0, 255, 0.05);
   padding: 20px;
   border-left: 5px solid #003366;
   border-radius: 8px;
   margin-top: 20px;
}
.law-content h3 {
   color: #003366;
   border-bottom: 2px solid #003366;
   padding-bottom: 5px;
   margin-bottom: 15px;
}
.law-content p {
   text-align: justify;
   font-size: 14px;
   color: #333;
}
.law-content ul {
   list-style-type: none;
   padding: 0;
}
.law-content li {
   padding: 5px 0;
   border-bottom: 1px dashed #003366;
}
.law-content li:last-child {
   border-bottom: none;
}


.section-L {
   background: rgba(0, 0, 255, 0.1);
   padding: 15px;
   margin: 20px 0;
   border-radius: 8px;
   box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}
.section-L h2 {
   color: #003366;
}
.section-L p {
   color: #000;
   font-size: 16px;
   line-height: 1.5;
}



.table-section table {
   width: 70%;
   border-top: 7px solid rgb(19, 17, 129);
   border-collapse: collapse;
   text-align: center;
   margin-bottom: 20px;
   border: 1px solid #dddddd;
   margin-top: 20px;
   margin-left: 15%;
   margin-right: 15%;
   background: rgba(0, 0, 255, 0.05);
}

.table-section td {
   text-align: left;
   padding: 10px;
   border: 3px solid rgb(19, 17, 129);
}

.table-section th {
   text-align: center;
   padding: 10px;
   border: 3px solid rgb(19, 17, 129);
}


.section-union {
   background: rgba(0, 0, 255, 0.05);
   padding: 20px;
   border-left: 5px solid #003366;
   border-radius: 8px;
   margin-top: 20px;
}

.section-union p {
   text-align: justify;
   font-size: 18px;
   color: #333;
   text-indent: 50px;
}
.section-union h2 {
   color: #2c3e50;
   text-align: center;
}
.section-union ol {
   list-style-type: decimal;
   padding-left: 20px;
}
.section-union li {
   margin-bottom: 10px;
   font-size: 18px;
   line-height: 1.5;
  text-align:left;
}

.section-union img{
   width: 300px;
   height: auto;
   border-radius: 5px;
   display: block;
   float: left; /* Обтекание картинки по левому краю */
   margin-right: 5%;
}

.church {
   font-size: 18px;
   text-align: justify;
   margin-bottom: 20px;
}
.church table {
   width: 100%;
   border-collapse: collapse;
   margin-top: 20px;
}
.church th, td {
   border: 1px solid #000000;
   padding: 10px;
   text-align: center;
}
.church th {
   background: rgba(0, 0, 255, 0.2);
   color: #333;
}
.church td:nth-child(2) { /* Второй столбец (Мероприятие) */
   text-align: left;
}

.section label {
    display: block;
    background: #ff590071;
    color: rgb(0, 0, 0);
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
    text-align: center;
}
.section label:hover {
  
    border:2px solid #b33300;
   
}
.content-slide-rec {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #e9ecef;
    padding: 0 10px;
    border-radius: 4px;
}

.section input:checked ~ .content-slide-rec {
    max-height: 100%;
    padding: 10px;
}
.Parents  h2 {
    text-align: center;
}
.Parents  p{
    text-indent: 20px;
}
.section input{

    display: none;
}



.years80 {
   overflow: hidden;
   margin-bottom: 20px;
   position: relative;
}


.years80 p {
   font-size: 20px;
   text-indent: 50px;
}


.years80 img {
   width: 600px;
   height: auto;
   border-radius: 5px;
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.years80 figcaption {
   font-size: 16px;
   color: #555;
   text-align: center;
   margin-top: 5px;
}

.children  h2 {
    text-align: center;
}
.children  p{
    text-indent: 20px;
}
.content-slide-rec img{

    max-width: 80%;
    height: auto;
    margin-left: 10%;


}
.content-slide-rec a{
    text-align: center
}

.intro-Pam {
  margin-bottom: 30px;
  font-size: 1.1em;
  color: #333;
  line-height: 1.6;
}

.gallery-Pam {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  
}

.gallery-Pam img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);

}