
/* about */
.team-table {
    display: flex;
    flex-direction: column;

    width: 100%;
    gap: 30px;
}

.team-table__item { 
   display: grid;
   grid-template-columns: repeat(2, 1fr);

   width: 100%;
   grid-gap: 20px;
   padding: 20px;

   border-radius: 20px;

   background: white;
}

.team-table__item-part {
    display: flex;
    flex-direction: column;

    width: 100%;
    gap: 16px;
}

.team-table__item-el {
    display: flex;
    flex-direction: column;

    width: 100%;
    border-radius: 20px;
    padding: 20px; 

    background: #F5F7F9;
}

.team-table__item-el p:nth-child(1) {
    font-size: 28px;
    font-weight: 700;
}

.team-table__item-el p:nth-child(2) {
    color: #596579;
    font-size: 14px;
}

.team-table__item-el ul {
    display: flex;
    flex-direction: column;

    width: 100%;
    gap: 10px;
    padding: 0 !important;

    list-style: none !important;
}

.team-table__item-el li {
    display: flex;
    align-items: center;
    gap: 20px;

    font-weight: 500;
    color: #222731;
    font-size: 22px;
}

.team-table__item-el li span {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;

    width: 32px;
    height: 32px;
}

.team-table__item-el li span svg {
    width: 100%;
    height: 100%;

    fill: black;
}


.team-table__item-el ul li a {
    color: #222731;
}

.team-table__item-el ul li a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 850px) {
    .team-table__item { 
        grid-template-columns: repeat(1, 1fr);
    }

    .team-table__item-el p:nth-child(1) {
        font-size: 24px; 
    }

    .team-table__item-el li {
        font-size: 17px;
    }
}

/* congratulation */
.block-fr-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    width: 100%;
    grid-gap: 30px; 
}
 
.block-fr-2__banner {
	display: flex;

    width: 100%;
    height: auto;
}

.block-fr-2__banner img {
	width: 100%;
    height: 100%;
    object-fit: cover;

    border-radius: 20px;
}

.block-fr-2__content {
	 display: flex;
     flex-direction: column;

     width: 100%;
     gap: 20px;
}

.block-fr-2__item {
     display: flex;
     flex-direction: column;

     width: 100%;
     gap: 20px;
}

.item-atention {
    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;
    padding: 16px; 

    border-radius: 10px;
    background: rgba(240, 73, 62, 0.10);
}

.item-atention p {
    font-weight: 600;
    font-size: 16px;

    color: #f0493e;
}

.item-atention.theme-grey {
   background: rgba(89, 101, 121, 0.10);
}
 
.item-atention.theme-grey p {
      color: #222731;
}

@media screen and (max-width: 850px) {
   .block-fr-2 {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* forms */

.custom-form {
    display: flex;
    flex-direction: column;

    width: 100%;
    padding: 20px;
    gap: 20px;

    background: white;
    border-radius: 20px;
}

.custom-form__head {
    display: flex; 
    flex-direction: column;

    width: 100%;
    padding: 20px;
    gap: 20px;

    background: #F5F7F9;
    border-radius: 20px;
}

.custom-form__head > * {
    margin: 0;
}

.custom-form__head-inner {
    display: flex;
    flex-wrap: wrap;

    width: 100%; 
    gap: 20px; 
}

.custom-form__content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    width: 100%;
    grid-gap: 30px; 
}

.custom-form__content-full {
    display: grid;
    grid-template-columns: repeat(1, 1fr);

    width: 100%;
    grid-gap: 30px; 
}

.custom-form__content-item {
    display: flex;
    flex-direction: column;

    width: 100%;
    padding: 20px;
    gap: 10px;

    background: #F5F7F9;
    border-radius: 20px;
}

.custom-form__content-item > * {
    margin: 0;
}

.custom-form__content-item-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    width: 100%;
    grid-gap: 20px;
}

.custom-form__content-item-cards-th {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    width: 100%;
    grid-gap: 20px;
}

@media screen and (max-width: 1170px) {
   .custom-form__content {
        grid-template-columns: repeat(1, 1fr);
    }

    .custom-form__content-item-cards-th {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .custom-form__content-item-cards {
        grid-template-columns: repeat(1, 1fr);
    }

    .custom-form__content-item-cards-th {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* aggents */
.agents  {
    display: flex;
    flex-direction: column;

    width: 100%;
    gap: 50px;
}

.agents .select-content {
    max-width: 500px;
}

.agents__cards {
    display: flex;
    flex-direction: column;

    width: 100%;
    gap: 30px;

}

.agents__card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    width: 100%;
    grid-gap: 10px;
    padding: 30px;

    border-radius: 20px;
    border: 1px solid #ECEFF5;
    background: #FFF;
}

.agents__card > * {
   font-weight: 700;
   font-size: 22px;
}

@media screen and (max-width: 1170px) {
    .agents__card { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media screen and (max-width: 850px) {
    .agents .select-content {
        max-width: 300px;
    }

    .agents__card > * { 
        font-size: 17px;
    }
}

@media screen and (max-width: 600px) {
    .agents .select-content {
        max-width: 260px;
    }

    .agents__card { 
        grid-template-columns: repeat(1, 1fr); 
    }
}


/* cards */
.card-icon {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    gap: 20px;
    padding: 30px;

    background: white;
    border-radius: 20px;

    cursor: pointer;
}

.card-icon:hover svg {
    fill: #187CEE; 
}

.card-icon:hover .card-icon__desc > * {
    color: #187CEE; 
}

.card-icon__img {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 70px;
    height: 70px;
}

.card-icon__img svg { 
    width: 100%;
    height: 100%;

    fill: #596579;

    transition: 0.3s all ease;
}


.card-icon__desc {
    display: flex;
    flex-direction: column;

    width: 100%;
}

.card-icon__desc > * {
    text-align: center;
    font-weight: 700;
    color: #596579;
    font-size: 22px;

    transition: 0.3s all ease;
}

.card-icon__desc > *:nth-child(2) {
    text-align: center;
    font-weight: 700;
    color: #596579;
    font-size: 16px;

    transition: 0.3s all ease;
}

/* other */
.d-none {
    display: none !important;
}

.pagination-round {
    display: flex;
    align-items: center;

    width: max-content;
    gap: 30px;
    margin: 0 auto;
} 

.pagination-round a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    border-radius: 50%;
    border: 1px solid #D6DCEA;
}

.pagination-round > a {
    display: flex;
    align-items: center;
    
    gap: 10px;

    transition: 0.3s all ease;
}

.pagination-round > a:hover {
    border-color: #222731;
}

.pagination-round > a.active {
    border-color: #222731;
}

.pagination-round ul {
    display: flex;
    align-items: center;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;

    gap: 10px;
}

.pagination-round li {
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 600px) {
    .pagination-round { 
        gap: 20px; 
    } 

    .pagination-round a {
        width: 40px;
        height: 40px; 
    }
}


/* modals */
.modal-common {
    display: flex;
    flex-direction: column;

    width: 100%;
    max-width: 900px;

    border-radius: 20px;
}

.modal-common__inner {
    display: flex;
    flex-direction: column;

    width: 100%;
    gap: 10px;
}

.modal-common__content {
    display: flex;
    flex-direction: column;

    width: 100%;
    padding: 20px;

    background: #F5F7F9;
    border-radius: 20px;
}

.modal-common__content > * {
    display: flex;
    flex-direction: column;

    width: 100%;
    gap: 10px;

}

