.school-res { width: 100%; }

.school-res > .title                    { font-size: 18px; line-height: 32px; padding: 20px 25px; border-bottom: 1px solid #e5e5e5; }
.school-res   .title > .button          { float: right; width: auto; padding: 0 20px; }
.school-res > .inner                    { display: flex; align-items: stretch; min-height: 0; max-height: calc(100% - 73px); }
.school-res > .inner > *                { flex-basis: 50%; flex-grow: 1; box-sizing: border-box; position: relative; }
.school-res > .inner > *:nth-child(2)   { border-left: 1px solid #e5e5e5; }
.school-res > .inner > * > .title       { font-size: 16px; line-height: 24px; padding: 10px 25px; border-bottom: 1px solid #e5e5e5; }
.school-res > .inner > * > .items       { overflow-x: hidden; overflow-y: auto; max-height: calc(100% - 45px); scrollbar-width: thin; }


@media screen and (max-width: 1200px) {
    .school-res > .inner                    { flex-direction: column-reverse; min-height: 0; }
    .school-res > .inner > *:nth-child(2)   { border-left: none; }
    .school-res > .inner > *:nth-child(2)   { border-bottom: 1px solid #e5e5e5; }

    .school-res > .inner                    { max-height: initial; }
    .school-res > .inner > * > .items       { overflow-x: hidden; overflow-y: auto; max-height: 300px; }
}


.school-res .items > div            { padding: 10px 25px; display: flex; align-items: center; border-bottom: 1px solid #e5e5e5; }
.school-res .items > div:last-child { border-bottom: none; }
.school-res .items > div > .image   { flex-grow: 0; flex-shrink: 0; width: 50px; height: 50px; border-radius: 50%; }
.school-res .items > div > .image   { background: no-repeat center center; background-size: cover; margin-right: 20px; }
.school-res .items > div > .info    { flex-grow: 1; flex-shrink: 1; }
.school-res .items > div > .info > .title  { font-size: 18px; color: #228dcf; line-height: 27px; }
.school-res .items > div > .info > .descr  { font-size: 14px; color: #999999; line-height: 21px; }
.school-res .items > div > .info > .params { margin: 5px 0; line-height: 18px; }
.school-res .items > div > .info > .params { display: flex; align-items: flex-start; flex-wrap: wrap; }
.school-res .items > div > .info > .params  > *             { white-space: nowrap; font-size: 14px; color: #424242; margin-right: 20px; }
.school-res .items > div > .info > .params  > *         > b { color: #1f3c77; margin: 0 5px; }
.school-res .items > div > .info > .params  > *.empty       { color: #999999; }
.school-res .items > div > .info > .params  > *.empty   > b { color: #ef4949; }
.school-res .items > div > .info > .params  > *.expired > b { color: #ef4949; }

.school-res .items > div .request       { display: flex; align-items: center; flex-wrap: wrap; }
.school-res .items > div .user          { display: inline-flex; align-items: center; }
.school-res .items > div .user > .photo { flex-grow: 0; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; }
.school-res .items > div .user > .photo { background: no-repeat center center; background-size: cover; margin-right: 10px; }
.school-res .items > div .user > .name  { font-size: 16px; color: #228dcf; }
.school-res .items > div .item          { display: inline-flex; align-items: center; }
.school-res .items > div .item          { font-size: 16px; color: #282828; }
.school-res .items > div .item > .name  { font-weight: 600; }
.school-res .items > div .item > .hint  { color: #999999; font-size: 14px; }
.school-res .items > div .item > *      { margin-left: 5px; }
.school-res .items > div .comment       { font-style: italic; margin-top: 10px; font-size: 14px; color: #999; }

.school-res .items > div.status1 { opacity: 0.5; background-color: rgba(16, 177, 99, 0.05); }
.school-res .items > div.status2 { opacity: 0.5; background-color: rgba(239, 73, 73, 0.05); }
.school-res .items > div.status3 { opacity: 0.5; background-color: rgba(127, 127, 127, 0.05); }

.school-res .actions                     { display: flex; align-items: center; justify-content: end; }
.school-res .actions > *                 { margin: 0; }
.school-res .actions > * > *.icon        { width: 32px; height: 32px; line-height: 32px; font-size: 18px; cursor: pointer; text-align: center; border: none; background-color: transparent; }
.school-res .actions > * > *.act-delete  { color: #ef4949; }
.school-res .actions > * > *.act-edit    { color: #0044CD; }
.school-res .actions > * > *.act-request { color: #10B163; }
.school-res .actions > * > *.act-approve { color: #10B163; }
.school-res .actions > * > *.act-decline { color: #ef4949; }
.school-res .actions > * > *.act-revert  { color: #228dcf; }

.modal-res .text-title { font-size: 16px; color: #1f3c77; line-height: 24px; padding: 6px 5px; min-height: 36px; box-sizing: border-box; }
