#university {
    width     : 70rem;
    max-width : 98%;
    margin    : 0 auto;
}

#university h1 {
    letter-spacing : 0;
}

a.university-name:focus {
    outline        : none;
    box-shadow     : none;
    border         : 2px dashed lightskyblue;
}

#university #university-info {
    margin-bottom : 1em;
}

#university #university-info > div {
    display   : flex;
    flex-flow : row nowrap;
}

#university #university-info > div > label {
    display     : block;
    width       : 21em;
    font-size   : .9rem;
    flex-shrink : 0;
    margin      : .2em 1em .2em 0;
}

#university #university-info > div > div {
    flex-grow : 1;
}

#university #university-branches {
    margin-bottom : 1em;
    display       : none;
}

#university #university-branches > .university,
#university #university-predecessors > .university {
    display       : flex;
    flex-flow     : row nowrap;
    margin-bottom : .2em;
}

#university #university-branches > .university > a,
#university #university-predecessors > .university > a {
    display : block;
    color   : #000000;
}

#university #university-branches .fas,
#university #university-predecessors .fas {
    color      : #3758a1;
    font-size  : 1.2rem;
    flex       : 0 0 1.5em;
    margin-top : .1em;
    text-align : center;
}

#university #university-facultets {
    margin-bottom : 1em;
    display       : none;
}

#university #university-facultets > .facultet {
    display       : flex;
    flex-flow     : row nowrap;
    margin-bottom : .2em;
}

#university #university-facultets > .facultet .fas {
    color      : #3758a1;
    font-size  : 1.2rem;
    flex       : 0 0 1.5em;
    margin-top : .1em;
    text-align : center;
}

#university .university-educations > table {
    width         : 100%;
    font-size     : 0.8em;
    margin-bottom : 1em;
    max-width     : 95%;
}

#university .university-educations table tr.university-education-row td {
    line-height : 1.2;
    height      : 2.5em;
}

#university .university-educations > table > thead > tr > td {
    padding : .5em;
}

#university .university-educations > table tr > td.license-name {
    word-wrap : break-word;
}

#university .university-educations > table tr > td.license-count {
    width      : 5em;
    max-width  : 5em;
    text-align : center;
}

#university .university-educations > table tr > td.license-count-w {
    width      : 9em;
    max-width  : 9em;
    text-align : center;
}

#university .university-educations > table tr > td.license-count.all-term-count {
    width     : 6em;
    max-width : 6em;
}

#university .university-educations > table tr > td.license-foreigners {
    width      : 5em;
    text-align : center;
}

#university .university-educations > table tr > td.license-decision {
    width     : 25em;
    max-width : 25em;
}

#university .university-educations > table tr > td.license-certificate,
#university .university-educations > table tr > td.usp-license {
    width      : 8em;
    max-width  : 8em;
    text-align : center;
}

#university .university-educations > table tr > td.license-certificate-note {
    width      : 22em;
    max-width  : 22em;
    text-align : left;
}

#university .university-educations > table tr > td.license-notes {
    width      : 6em;
    max-width  : 6em;
    text-align : center;
}

#university .certificate:before {
    font-size      : 1.7em;
    font-family    : 'Font Awesome 5 Free';
    font-weight    : bold;
    font-style     : normal;
    margin         : 0 .2em;
    vertical-align : middle;
}

#university .certificate.certificate-exist:before {
    color   : green;
    content : '\f14a';
}

#university .certificate.certificate-spec-exist:before {
    color   : blueviolet;
    content : '\f14a';
}

#university .certificate.certificate-level:before {
    color   : blue;
    content : '\f14a';
}

#university .certificate.certificate-expired:before {
    color   : gold;
    content : '\f017';
}

#university .certificate.certificate-empty:before {
    color   : darkred;
    content : '\f146';
}

#university .certificate.no-entrant:before {
    color   : orange;
    content : '\f071';
}

#university .university-educations.university-educations-prof > table > tbody > tr > td:nth-child(2) {
    width : 17em;
}

#university .university-educations-legend {
    display         : flex;
    justify-content : center;
    font-size       : .8rem;
}

#university .university-educations-legend .certificate {
    margin : 0 1em;
}

#university .university-educations > table > tbody > tr.university-education-qualification > td {
    background     : #3758a1;
    text-align     : center;
    text-transform : uppercase;
    font-size      : .8rem;
    font-weight    : bold;
    padding        : .5em 0;
}

#university .university-educations > table > tbody > tr.university-education-qualification > td > a {
    color : #ffcf4a;
}

#university .university-educations > table > tbody > tr.university-education-subtype > td {
    background-color : aliceblue;
    font-size        : .8rem;
    text-align       : center;
    padding          : .3em 3em;
}

#university .university-educations > table > tbody > tr.university-education-row > td:empty {
    background-color : #dddddd;
}

#university .university-educations > table > tfoot > tr.university-education-none {
    display : none;
}

#university .university-educations > table > tfoot > tr.university-education-none > td {
    color          : orangered;
    font-weight    : bold;
    text-align     : center;
    text-transform : uppercase;
    font-size      : 1.5em;
    padding        : .5em;
}

#university .university-educations .university-education-search {
    text-align    : center;
    margin-bottom : .5em;
    display       : none;
}

#university .university-educations .university-education-search > input {
    width : 21.5em;
}

#university .university-educations .qualification-anchors {
    text-align : center;
    display    : none;
}

#university .university-educations .qualification-anchors > span {
    display        : inline-block;
    color          : #3e74a2;
    font-weight    : bold;
    text-transform : uppercase;
    margin         : .5em;
    cursor         : pointer;
}

#university .university-educations .qualification-anchors > span.qn-active {
    font-weight : bold;
    color       : #3758a1;
}

#university .university-educations .university-educations-hint {
    text-align : center;
    font-size  : .8rem;
    color      : #727272;
}

#university .university-educations .university-education-row .speciality-name span.code {
    color : darkblue;
}

#university .university-educations .university-education-row .speciality-name .specz {
    font-style  : italic;
    color       : #3758a1;
    margin-left : .5em;
}

#university .university-educations .university-education-row .speciality-name .master-type-name {
    margin-left : .5em;
    color       : navy;
}

#university .university-educations .university-education-row .speciality-name span.rang {
    font-style  : italic;
    color       : #3758a1;
    margin-left : .5em;
}

#university .university-educations .university-education-row .speciality-code {
    text-align : center;
}

#university .university-educations .university-education-row .license-date {
    text-align : center;
    width      : 7em;
}

#university .university-educations .university-education-row .study-program-name {
}

#university .university-educations .university-education-row .fas {
    font-size : 1.2rem;
}

#university .university-educations .university-education-row .fa-check-square {
    color : green;
}

#university .university-educations .university-education-row .fa-check-square.spec {
    color : blue;
}

#university .university-educations .university-education-row .fa-clock {
    color : darkgoldenrod;
}

#university .university-educations .university-education-row .fa-ban {
    color : #727272;
}

#university #university-offers.university-educations > table tr.university-education-row .offer {
    display   : flex;
    flex-flow : row nowrap;
    padding   : .5rem .5rem;
}

#university #university-offers.university-educations > table tr.university-education-row .offer-info {
    flex-grow : 1;
}

#university #university-offers.university-educations > table tr.university-education-row .offer-info > div {
    display       : flex;
    align-items   : flex-start;
    margin-bottom : .3em;
}

#university #university-offers.university-educations > table tr.university-education-row .offer-info > div > label {
    flex : 0 0 9.5em;
}

#university #university-offers.university-educations > table tr.university-education-row .offer-info > div > div {
    flex-grow : 1;
}

#university #university-offers.university-educations > table tr.university-education-row .offer-info .education-program > div {
    color       : steelblue;
    font-weight : bold;
}

#university #university-offers.university-educations > table tr.university-education-row .offer-info .foreign {
    color       : purple;
    font-weight : bold;
}

#university #university-offers.university-educations > table tr.university-education-row .speciality-name .specz {
    color          : steelblue;
    text-transform : none;
}

#university #university-offers.university-educations > table tr.university-education-row .offer-subjects {
    flex        : 0 0 37em;
    margin-left : 1em;
}

#university #university-offers.university-educations > table tr.university-education-row .offer-subjects > div {
    margin-bottom : .5em;
}

#university #university-offers.university-educations > table tr.university-education-row .offer-subjects > div > .subject-name {
    font-weight : bold;
}

#university #university-offers.university-educations > table tr.university-education-row .offer-subjects > div > .subject-name .fas {
    color        : #727272;
    margin-right : .5em;
}

#university #university-offers.university-educations > table tr.university-education-row .offer-subjects .subject-name.ef3-0 {
    color : darkgreen;
}

#university #university-offers.university-educations > table tr.university-education-row .offer-subjects .subject-name.ef3-1 {
    color : limegreen;
}

#university #university-offers.university-educations > table tr.university-education-row .offer-subjects .subject-name.ef1,
#university #university-offers.university-educations > table tr.university-education-row .offer-subjects .subject-name.ef2 {
    color : blue;
}

#university #university-offers.university-educations > table tr.university-education-row .offer-subjects .subject-name.ef4,
#university #university-offers.university-educations > table tr.university-education-row .offer-subjects .subject-name.ef10,
#university #university-offers.university-educations > table tr.university-education-row .offer-subjects .subject-name.ef11,
#university #university-offers.university-educations > table tr.university-education-row .offer-subjects .subject-name.ef20 {
    color : purple;
}

#university #university-offers.university-educations > table tr.university-education-row .offer-subjects .subject-name.ef100 {
    color : #727272;
}

#university #university-offers.university-educations > table tr.university-education-row .offer-subjects .k {
    color       : orangered;
    font-weight : bold;
}

#university #university-offers.university-educations > table tr.university-education-row .offer-subjects .mb {
    color       : orangered;
    font-weight : bold;
}

#university #university-offers.university-educations > table tr.university-education-row .buttons-panel {
    margin          : 0;
    padding         : 0;
    justify-content : flex-end;
}

#university #university-offers.university-educations > table tr.university-education-row .buttons-panel .button {
    font-size : 1rem;
}

#university #university-professions.university-educations > table tr > td.license-count {
    width     : 9em;
    max-width : 9em;
}

#university .university-educations > table tr.university-education-qualification > td:empty,
#university .university-educations > table tr.university-education-subtype > td:empty {
    height  : 0;
    padding : 0;
    border  : none;
}

#university #university-specialities-before.university-educations > table tr > td.education-level,
#university #university-specialities-after.university-educations > table tr > td.education-level {
    width : 8em;
}

#university #university-offers.university-educations > table tr.university-education-subtype > td > span {
    color          : #3758a1;
    font-weight    : bold;
    font-size      : .8rem;
    text-transform : uppercase;
}

#university #university-educators.university-educations > table tr > td.license-count,
#university #university-prof-educators.university-educations > table tr > td.license-count {
    width     : 7.5em;
    max-width : 7.5em;
}

#university #university-entrance-examinations .entrance-examination {
    border-bottom : 1px solid #3758a1;
    border-radius : 0 .5rem;
    padding       : .5rem 0;
}

#university #university-entrance-examinations .entrance-examination > div {
    display   : flex;
    flex-flow : row nowrap;
}

#university #university-entrance-examinations .entrance-examination label {
    flex : 0 0 15rem;
}

#university #university-entrance-examinations .entrance-examination div {
    flex-grow : 1;
}

#university #university-entrance-examinations .entrance-examination .entrance-examination-type-1 {
    color : #8c6d25;
}

#university #university-entrance-examinations .entrance-examination .entrance-examination-type-2 {
    color : dodgerblue;
}

#university #university-buttons {
    align-items : stretch;
}

#university #university-panels > div {
    display : none;
}

#university #university-blocked {
    color         : darkred;
    display       : flex;
    flex-flow     : row nowrap;
    margin-bottom : 2rem;
}

#university #university-blocked .fas {
    font-size      : 3rem;
    margin-right   : .5em;
    vertical-align : middle;
}

#university .university-education-search .university-education-search-form {
    width : 11rem;
}

#university .university-education-search .university-education-search-base {
    width : 20rem;
}

#university #university-buildings .building-n {
    text-align : center;
    width      : 3em;
}

#university #university-buildings .building-name,
#university #university-buildings .building-address {
    width : auto;
}

#university #university-buildings .building-spheres {
    width : 21em;
}

#university #predecessors-names-history .name-n,
#university #names-history .name-n {
    text-align : center;
    width      : 3em;
}

#university #predecessors-names-history .date-begin,
#university #predecessors-names-history .code,
#university #names-history .date-begin {
    text-align : center;
    width      : 7em;
}

#university #predecessors-names-history .name,
#university #names-history .name {
    width : auto;
}

@media only screen and (max-width : 60em) {
    #university #university-offers.university-educations > table tr.university-education-row .offer-subjects {
        flex-basis : 27em;
    }

    #university #university-specialities table tr td.license-decision {
        display : none;
    }

    #university #university-professions table tr td.license-decision {
        width : 15em;
    }
}

@media only screen and (max-width : 50em) {
    #university #university-info > div {
        flex-flow : column;
    }

    #university #university-offers.university-educations > table tr.university-education-row .offer {
        flex-direction : column;
    }

    #university #university-offers.university-educations > table tr.university-education-row .offer .offer-subjects {
        margin-top  : 1em;
        margin-left : 0;
        flex-basis  : auto;
    }

    #university-educators.university-educations > table thead tr > td.license-count:nth-of-type(4),
    #university-educators.university-educations > table thead tr > td.license-count:nth-of-type(5),
    #university-prof-educators.university-educations > table thead tr > td.license-count:nth-of-type(4),
    #university-prof-educators.university-educations > table thead tr > td.license-count:nth-of-type(5) {
        display : none;
    }

    #university-educators.university-educations > table tbody tr > td.license-count:nth-of-type(5),
    #university-educators.university-educations > table tbody tr > td.license-count:nth-of-type(6),
    #university-prof-educators.university-educations > table tbody tr > td.license-count:nth-of-type(5),
    #university-prof-educators.university-educations > table tbody tr > td.license-count:nth-of-type(6) {
        display : none;
    }

    #university #university-educators.university-educations > table tr > td.license-count,
    #university #university-prof-educators.university-educations > table tr > td.license-count {
        width     : 5em;
        max-width : 5em;
    }

    #university #university-professions table tr td.license-decision {
        display : none;
    }
}

@media only screen and (max-width : 40em) {
    #university #university-specialities table tr td.license-certificate {
        display : none;
    }

    #university-educators.university-educations > table thead tr > td.license-count:nth-of-type(3),
    #university-prof-educators.university-educations > table tr > td.license-count:nth-of-type(3) {
        display : none;
    }

    #university-educators.university-educations > table tbody tr > td.license-count:nth-of-type(4),
    #university-prof-educators.university-educations > table tr > td.license-count:nth-of-type(4) {
        display : none;
    }
}

@media only screen and (max-width : 30em) {
    #university-specialities.university-educations > table tr > td.license-foreigners {
        display : none;
    }

    #university #university-offers.university-educations > table tr.university-education-row .offer .offer-info > div {
        flex-direction : column;
    }

    #university #university-offers.university-educations > table tr.university-education-row .offer .offer-info > div > label {
        flex-basis : auto;
    }

    #university .university-educations > table > tbody > tr.university-education-subtype > td {
        padding : .3em;
    }

    #university #university-info > div {
        margin-bottom : .5em;
    }

    #university #university-panels #university-offers .university-education-search {
        text-align  : left;
        margin-left : .5em;
    }

    #university #university-panels #university-offers .university-education-search input,
    #university #university-panels #university-offers .university-education-search .select2 {
        margin-bottom : .5em;
    }

    #university #university-professions table tr td.license-certificate {
        display : none;
    }

    #university #university-entrance-examinations .entrance-examination > div {
        flex-direction : column;
    }

    #university #university-entrance-examinations .entrance-examination > div > label {
        flex-basis : auto;
    }
}