.advice {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 600px;
    background: #002E4B;
    text-align: center;
    
}

.eating {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 300px;
    background: #002E4B;
    text-align: center;
    
}

.rules {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 400px;
    background: #002E4B;
    text-align: center;
    
}

.rules__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    
    border: 2px solid #002E4B;
    text-align: center;
    margin: 30px 0;
    padding: 50px;
    border-radius: 10px;
    
}

.rules__inner--post {
    
    padding: 20px;
    
    
}

.rules__con {
    display: flex;
    justify-content: space-between;
}


.rules__kv {
    width: 40%;
}

.rulestime__kv {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    width: 200px;
    height: 200px;
    background-color: #e84545;
    box-shadow:  15px 15px 0 3px #d19b06;
    padding: 5px;
    margin: 0 30px 30px 0;
  
    
    
}

.rulestime__t {
    font-size: 90px;
    font-weight: 700;
    color: #ffffff;
    
    line-height: 1;
}

.rulestime__date {
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
}

/* .rules__content {
    width: 100%;
} */

.certification {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 650px;
    background: #002E4B;
    text-align: center;
}



.ustav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 500px;
    background: #035e97;
    text-align: center;
}

.advice__title {
    font-size: 35px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.advice__title--rules {
    color: #002E4B;
    font-size: 40px;
    margin-bottom: 20px;
}


.advice__title--vac {
    color: #002E4B;
    font-size: 30px;
    margin-bottom: 20px;
    text-decoration: none;
    
}

.advice__title--vac:hover{
    color: #e84545;  
}

.text--rules {
    font-size: 20px;
    color: #002E4B;
    margin-top: 20px;
}
h2 {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    
    margin-bottom: 20px;
}

h2 p {
    font-size: 25px;
    font-weight: 500;
    color: #fff;
    
    padding-top: 20px;
}

.color {
    color: #e84545;
}

h4 {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    
    margin-bottom: 20px;
}

h3 {
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    
    margin-bottom: 20px;
}

/*****DOCUMENT FORUM CLASS************/


.docum__border {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px 20px;
    background-color: #002E4B;
    border-radius: 10px;
    margin: 15px 0;
}

.docum__border--solid {
    border: 2px solid #ffff;
}

.docum__border--solid:last-child {
    margin-bottom: 0;
}

.docum__form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 30px 0;
    
}

.docum__item {
    width: 47.5%;
    text-align: center;
    border-radius: 6px;
    margin-bottom: 30px;
}

.docum__title {
    background-color: #002E4B;
    border-radius: 5px 5px 0 0;
    border: 1px solid #002E4B;
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    padding: 15px;
}

.docum__titles {
    
    border-radius: 5px 5px 0 0;
    border: 1px solid #002E4B;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    padding: 15px;
}

.docum__photo {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.docum__photo img{
    
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.docum__text {
    font-size: 14px;
    color: #000000;
    font-weight: 300;
    line-height: 1.5;
    padding: 15px 5px;
}


.docum__content-eating {
    height: auto;
    
    }
.docum__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #cdd3dd;
    border-radius: 0 0 5px 5px;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    padding: 10px 30px 10px 30px;
    
}

.docum__eating {
    width: 100%;
    text-align: center;
    border-radius: 6px;
    border: 1px solid  #cdd3dd;
}



/*****END DOCUMENT FORUM CLASS************/

/*#######################################*/

/*****CLASSES FOR POSTS************/

.post__inner {
    display: flex;
    margin: 20px;
    justify-content: space-between;
}    

.post__img {
    width: 60%;
    height: 400px;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 10px;
}

.post__img img {
    width: 100%;
    
    object-fit: cover;
}

.post__content {
    width: 40%;
    margin-left: 20px;
    position: relative;
}

.post__title {
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    margin-bottom: 30px;
}

.post__anons {
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 40px;
}

.post__info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
}

.post__data time {
    font-size: 25px;
    font-weight: 600;
    color: #fff;
}

.posttext__border {
    
    width: 100%;
    padding: 20px;
    border: 2px solid #002E4B;
    border-radius: 10px;
    margin: 15px 0;
}

.posttext__description {
    font-size: 18px;
    line-height: 1.5;

}



/********************comments************/

.postsub__title {
    color: #052C65;
    font-size: 18px;
    font-weight: 500;
    margin: 30px 15px 10px 0;
}

.formcomment {
	display: block;
	width: 100%;
	border: 1px solid #052C65;
	border-radius: 10px;
	padding: 10px;

}

.formcomment__group {
	width: 100%;
	margin-bottom: 20px;
}
.form {
    padding-bottom: 20px;

}


.formcomment__control-data {
	width: 100%;
	height: 50px;
	border: 1px solid #BDBDBD;
	border-radius: 6px;
	padding: 10px;
}

.formcomment__control-data:hover {
	
	border: 1px solid #4a93fa;
	box-shadow: 0 0 0 3px rgb(169, 194, 235);
	
}

.comments {
    margin-top: 20px;
	

}

.comments__header {
    display: flex;
    margin-bottom: 20px;
}

.commenta__avatar {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
}

.comments__author {
    flex-grow: 1;
    
    padding-left: 15px;
}

.comments__name {
    color: #052C65;
    font-weight: 500;
    font-size: 14px;
}

.comments__pubdate {
    font-size: 12px;
    color: #635a5a;
}

.comments__text {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 300;
    color: #052C65;
}

.comments__reply {
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;

    font-family: inherit;
    font-size: 12px;
    color: blue;
}

.comments__reply:hover {
    text-decoration: underline;
}


/********************pagination************/
.pagination {
    
    list-style-type: none;
}
.pagination__inner {
    display: flex;
    margin-top: 10px;
    justify-content: center;
    list-style-type: none;
    gap: 10px;
    
}

.pagination__item {
    margin: 0 10px;
    list-style-type: none;
}

.pagination__link {
    display: block;
    height: 40px;
    text-decoration: none;
    padding: 0 15px;
    
    background-color: #002E4B;
    border-radius: 3px;
    text-align: center;
    line-height: 40px;
    font-size: 14px;
    color: #fff;
    border: none;
    
    
}

.pagination__link:hover {
    background-color: lighten #035e97;
    opacity: 50%;
}

.pagination__link:active {
    background-color: rgb(23, 23, 167);
    box-shadow: 0 0 10px rgba(58, 108, 234, 15);
}

/********************table vacance************/

.tableV {
    margin: 30px 0 30px 0;
    border-radius: 10px;
    border: 1px solid #002E4B;
    padding: 30px;
}
.content__table {

    width: 100%;
    height: auto;
    border-collapse: collapse;

}

.content__table TH {
    border: 2px solid #035e97;
}
.content__table TD {
    border: 2px solid #035e97;
}

.table__inner {
    width: 100%;
}
.table__title {
    background: #002E4B;
    color: #fff;
}
.table__title, .table__item {
    overflow: hidden;
    border: 1px solid #002E4B;
    padding: 10px 10px;
    text-align: center;

}

.tableV__category {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}


/* ------------certification_2024------------ */

.certification_2024 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 50px 0 30px 0;
    background: #002E4B;
    text-align: center;
}

.cert_2024 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    
    border: 2px solid #002E4B;
    text-align: center;
    margin: 30px 0;
    padding: 30px;
    border-radius: 10px;
    
}

.cert_2024__item {
    width: 100%;
    text-align: center;
    border-radius: 6px;
}

.content__table {
    width: 100%;
    min-width: 100%;
    margin-bottom: 20px;
    height: auto;
    
}

.docum__bordertable {
    border: 1px solid #002E4B;
    padding: 20px;
    background-color: #e4e4e4;
    margin-bottom: 30px;
}

.table__inner {
    width: 100%;
    min-width: 1000px;
}

.docum__title {
    background-color: #002E4B;
    border-radius: 5px 5px 0 0;
    border: 1px solid #002E4B;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    padding: 10px;
}

.docum__titleinner {
    background-color: #d19b06;
    border-radius: 5px 5px 0 0;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    padding: 5px;
}

.table__title, .table__item {
    overflow: hidden;
    border: 1px solid #052C65;
    padding: 10px 10px;
    text-align: center;
    
}

.table__title {
   
    background-color: rgba(3, 94, 151, 1);
}

.table__item {
    color: #000000;
    font-weight: 500;
    background-color: #fff;
}

.table__itemDown {
    width: 25%;
}

.table__itemNum {
    width: 5%;
}

/* HISTORY=================== */

.history__img   {
    width: 100%;
    height: auto;
    overflow: hidden;
    padding: 10px;
    margin: 20px 0;
    
    border-radius: 6px;
    box-shadow: 0 0 5px rgba(0, 46, 75, 0.70);
}

.history__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 3px;
    border-radius: 12px;
}
.history__photo{
    display: flex;
    justify-content: center;
    width: 100%;
}
.history__imgsm   {
   
   width: 50%;
    overflow: hidden;
    padding: 10px;
    margin: 20px;
    
    border-radius: 6px;
    box-shadow: 0 0 5px rgba(0, 46, 75, 0.70);
}

.history__imgsm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 3px;
    border-radius: 12px;
}


p{
    text-indent: 25px;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    line-height: 1.2;
}

.history__dir {
    border-top: 6px solid #002E4B;
    padding: 20px;
    margin: 20px 0;
    
}
.history__dir-Item{
    display: flex;
    justify-content: center;
    width: 100%;
    align-items: center;
}

.history__dirinfo{
    width: 30%;
    overflow: hidden;
}
.history__dirinfo img{
    width: 100%;
}