@charset "utf-8";
/* CSS Document */

body{
padding: 0;
margin: 0 auto;
font-family: 'Roboto Serif', sans-serif;}

#tab{
width: auto;
height: auto;}

.container-usluga{
width: 80%;
margin: 0 auto;}

.t-text{
color: #333333;
text-align: right;
font-size: 1rem;}

.t-text-hend{
color: #333333;
font-weight: bold;
text-align: center;
text-transform: uppercase;
margin-top: 20px;
margin-bottom: 10px;
font-size: 1.2rem;}

.t-text-hend_pr{
color: #5B5A5A;
text-align: center;
text-transform: uppercase;}

.t-tab-text{
display: flex;
background: #6DA5FC;
color: #434242;
text-align: center;
padding: 5px;
border: 1px solid #333;
justify-content: center;
align-items: center;
margin-top: 15px;}

.t-tab-text-center{
color: #333333;
text-align: center;
padding: 5px;}

.t-tab-text-left{
color: #333333;
text-align: left;
padding: 5px;}

.t-table_tbody_tr{
width: auto;
display: flex;
border: 1px solid #333;
line-height: 150%;
margin-top: 1%;
margin-left: 1%;
align-items: center;
padding-bottom: 1%;}

.t-table{
margin-top: 2%;
display: table;
border-collapse: collapse; /* Чтобы границы ячеек слились в одну */}

.table_itr {display: table-row;}

.itr_num {
width: 7%;
display: table-cell;
border: 1px solid #ccc;
padding: 8px;
text-align: center;
font-weight: 700;}

.itr_usluga{
display: table-cell;
border: 1px solid #ccc;
padding: 8px;
text-align: center;
align-content: center;
font-weight: 700;}

.itr_sostav{
display: table-cell;
border: 1px solid #ccc;
padding: 8px;
text-align: center;
align-content: center;
font-weight: 700;}

.itr {
display: table-cell;
border: 1px solid #ccc;
padding: 8px;
text-align: center;}

.itr_left {
display: table-cell;
border: 1px solid #ccc;
padding: 8px;
text-align: left;}

.itr_left_sostav {
display: table-cell;
border: 1px solid #ccc;
padding: 8px;
text-align: left;}

.itr_sum {
display: table-cell;
border: 1px solid #ccc;
padding: 8px;
font-size: 0.9rem;
text-align: center;}

.prais_oglavlenie{
text-align: center;
margin-top: 20px;}

@media (min-width: 891px) and (max-width: 1056px) {
.t-text-hend_pr, h4{font-size: 0.8rem;}
.itr_num{
width: 10%;
font-size: 0.8rem;}
.t-text, .itr_usluga, .itr_sostav, .itr, .itr_left, .itr_left_sostav, .itr_sum, .itr_usluga{font-size: 0.8rem;}
.t-text-hend, .prais_oglavlenie, h3{font-size: 1rem;}
}

@media (min-width: 539px) and (max-width: 892px) {
.t-text-hend_pr, h4{font-size: 0.8rem;}
.itr_num{
width: 10%;
font-size: 0.7rem;}
.t-text, .itr_usluga, .itr_sostav, .itr_left_sostav, .itr, .itr_left, .itr_sum, .itr_usluga{font-size: 0.7rem;}
.t-text-hend, .prais_oglavlenie, h3{font-size: 0.8rem;}
}

@media (min-width: 497px) and (max-width: 540px) {
.t-text-hend_pr, h4{font-size: 0.6rem;}
.itr_num{
width: 10%;
font-size: 0.6rem;}
.t-text, .itr_usluga, .itr_sostav, .itr_left_sostav, .itr, .itr_left, .itr_sum, .itr_usluga{font-size: 0.6rem;}
.t-text-hend, .prais_oglavlenie, h3{font-size: 0.6rem;}
}


@media (min-width: 320px) and (max-width: 497px) {
/*
#tab{
width: auto;
height: auto;}

.tab_header{max-width: auto;}*/

.t-text-hend_pr, h4{font-size: 0.6rem;}

.itr_num, .itr, .itr_usluga, .itr_sostav, .itr_left_sostav{display: none;}
.t-text, .itr, .itr_left, .itr_sum{font-size: 0.6rem;}
.t-text-hend, .prais_oglavlenie, h3{font-size: 0.6rem;}
}

