@media all and (max-width: 1380px) {
    .second-tab-content__row-second .second-tab-content__col:last-child {
        width: auto;
        flex-grow: 1;
    }
}

@media all and (max-width: 1330px) {
    .admin-profile-section__links {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .admin-profile-section__links a {
        margin: 0 0 10px !important;
        line-height: 14px;
        max-width: 100%;
        padding: 0 10px;
        width: 300px;
    }

    .admin-profile-section__system-instruction {
        justify-content: center !important;
    }

    .second-tab-content__row-first .second-tab-content__col:first-child {
        margin-right: 94px;
    }
    .second-tab-content__row-first .second-tab-content__col:nth-child(2) {
        width: 50%;
    }
    .second-tab-content__row-first .second-tab-content__col:nth-child(3) {
        margin-top: 45px;
    }

    .tab-add-customsert .second-tab-content__row-first .second-tab-content__col:nth-child(3) {
        margin-top: 0;
        padding-top: 40px;
        width: 100%;
    }

}
@media all and (max-width: 1280px) {
    #header nav a {
        font-size: 18px;
    }
    #header .btn {
        font-size: 16px;
        padding: 6px 0;
        width: 132px;
        height: 38px;
    }
    .is-homepage .institutes-section {
        padding: 112px 0;
    }
    .institutes-section__item span {
        font-size: 12px;
    }
    .institutes-section__item img {
        width: 80px;
    }
    .import-ippo__item {
        padding: 39px 30px 39px 54px;
    }
    .import-ippo__item-form span {
        width: 100%;
        margin-bottom: 15px;
    }
    .import-ippo__item-available {
        margin-bottom: 30px;
    }
    .import-ippo__item-title {
        line-height: 22px;
        margin-bottom: 5px;
    }
}

@media all and (max-width: 1200px) {
    .second-tab-content__row-second .second-tab-content__col:last-child {
        width: 100%;
    }
    .second-tab-content__row-second .second-tab-content__col:first-child {
        align-self: center;
        margin: 0 auto 80px;
    }
    .questionnaire-from__general-experience-rows {
        flex-direction: column;
    }
    .questionnaire-from__general-experience-periods {
        order: 1;
    }
    .questionnaire-from__general-experience-rows .questionnaire-from__add-btn {
        order: 0;
        justify-content: right;
        width: 100%;
    }
    .questionnaire-from__general-experience-title {
        margin-bottom: 7px;
    }
    .questionnaire-from__general-experience-periods .form-modal__wrapper {
        width: 154px;
    }
}

@media all and (max-width: 1180px) {
    .admin-profile-section__invite {
        justify-content: center;
    }
    .admin-profile-section__invite br {
        display: inline;
    }
    .admin-profile-section__invite .is-desktop {
        display: none;
    }
    .admin-profile-section__invite .is-mobile-inline {
        display: inline;
    }
    .admin-profile-section__invite-icon__wrapper {
        display: flex;
        flex-direction: column;
    }
}
@media all and (max-width: 1120px) {
    #header .logo {
        width: auto;
    }
    #header .buttons {
        margin-left: auto;
        width: 368px;
    }
    .about-section__description {
        margin-right: 40px;
    }
    .capabilities-section__items {
        align-items: stretch;
        justify-content: space-between;
    }
    .capabilities-section__item {
        border: 0 !important;
        padding: 0 !important;
        width: calc((100%  - 79px) / 2);
        margin-bottom: 56px;
    }
    .capabilities-section__item-title {
        font-size: 24px;
        line-height: 24px;
        border-top: 1px solid;
    }
    .capabilities-section__item-text {
        font-size: 16px;
        line-height: 22px;
    }
    .capabilities-section {
        padding: 153px 0 80px;
    }
    .capabilities-section__step {
        font-size: 18px;
    }
    .excerpts-section__item {
        padding: 35px 96px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .excerpts-section__item .info {
        margin-bottom: 15px;
    }
    .main-tabs {
        padding-left: 0;
        padding-right: 0;
    }
    .second-tabs,
    .main-tabs {
        flex-direction: column;
        align-items: center;
    }
    .second-tab:not(:last-child) {
        margin-bottom: 24px;
    }
    .second-tab {
        width: auto;
    }
    .main-tab:not(:last-child) {
        margin-bottom: 6px;
    }
    .teachers-information-section hr.tab-content-divider {
        margin: 50px 0 58px;
    }
    .teachers-information-section__block-title {
        font-size: 18px;
        margin-bottom: 30px;
    }
    .teachers-information-section__accordion-item .accordion-button {
        padding: 10px 40px 10px 20px;
    }
    .certificate__header {
        flex-direction: column;
        padding: 20px 40px;
    }
    .certificate__img {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 47px;
    }
    .certificate__details-title {
        font-size: 20px;
        margin-bottom: 33px;
    }
    .certificate__options {
        grid-template-columns: 100%;
    }
}

@media all and (max-width: 1050px) {
    .mainsubjectslist b {
        font-size: 20px;
        margin-right: 10px;
    }
    .mainsubjectslist span {
        font-size: 16px;
    }
    .addition-emails__item {
        padding: 40px 50px;
    }
    .addition-emails__item-form span {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .department-section hr {
        width: 300%;
        transform: translateX(-50%);
        margin: 44px 0;
    }
    .department-section__description {
        margin-bottom: 44px;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .department-section__description,
    .department-section__description + div {
        width: 100%;
    }

    .department-section__description + div {
        display: flex !important;
        justify-content: center !important;
    }
    .department-section__description + div > a {
        width: 594px;
        height: 81px;
        font-size: 24px;
    }
    .department-section__description + div > a svg {
        width: 14px;
        height: 14px;
    }
    .department-section__description br {
        display: inline;
    }
    .department-section__description > div:first-child {
        margin-bottom: 12px;
    }
    .department-section__description > div:last-child {
        position: relative;
    }
    .department-section__description a {
        font-weight: 700;
    }
    .department-section__description svg {
        width: 27px;
        height: 34px;
        margin-left: 16px;
    }
    .department-section__description .copy-btn {
        position: absolute;
        right: -36px;
        top: 18px;
    }

    .department-section__certification {
        display: flex;
        justify-content: center;
        margin-bottom: 12px;
    }
    .department-section__certification-btn {
        width: 594px;
        height: 111px;
        font-size: 24px;
    }

    .department-section__filter-wrapper {
        justify-content: center !important;
    }
    .department-section__filter-wrapper > a {
        order: 0;
        width: 594px;
        height: 81px;
        font-size: 24px;
        margin-bottom: 86px;
    }
    .department-section__filter-wrapper > a svg {
        width: 14px;
        height: 14px;
        margin-left: 16px;
    }
    .department-section__filter {
        order: 1;
    }

    .department-section__import {
        position: relative;
    }
    .department-section__import:before,
    .department-section__import:after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: -50%;
        background: #EEEDED;
        width: 50%;
    }
    .department-section__import:after {
        left: auto;
        right: -50%;
    }
    .department-section__import .text-primary {
        margin-top: 20px;
    }
    .department-section__form {
        margin-top: 30px;
    }
    .table-wrapper {
        width: 100% !important;

    }

    .commissions-section__head {
        margin-bottom: 50px;
    }
    .commissions-section__title {
        width: 100%;
        margin-bottom: 50px;
    }
    .commissions-section__head .btn {
        margin: 0 auto;
        width: 594px;
        height: 81px;
        font-size: 24px;
    }
    .commissions-section__count {
        text-align: center;
        margin-bottom: 58px;
    }
    .excerpts-section__item,
    .commissions-section__items .comm {
        padding: 32px 40px;
        flex-direction: column;
    }
    .excerpts-section__item .info,
    .commissions-section__items .info {
        margin-bottom: 32px;
        width: 100%;
    }
    .excerpts-section__item .actions {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .excerpts-section__item .actions,
    .commissions-section__items .actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .excerpts-section__item .actions .btn,
    .commissions-section__items .actions .btn {
        margin: 8px 15px;
    }
    .excerpts-section__item .actions .btn:first-child,
    .commissions-section__items .actions .btn:first-child {
        margin-bottom: 8px;
    }
}

@media all and (max-width: 965px) {
    #header .menus nav,
    .container-fluid {
        width: 768px;
        padding: 0 40px;
    }
    #header .menus nav {
        max-width: 100%;
        padding-top: 130px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        overflow: hidden;
    }
    #header .menus nav a {
        margin: 0 0 44px;
        font-size: 55px;
        font-weight: 600;
        line-height: 66px;
        position: relative;
    }
    #header .menus nav a.active {
        border-bottom-width: 2px;
    }
    #header .menus nav a:after {
        content: '';
        display: block;
        height: 1px;
        width: 1000px;
        background: var(--border);
        position: absolute;
        bottom: -32px;
        left: 0;
    }
    .is-homepage #header {
        border-color: transparent;
    }
    .is-homepage #header .logo {
        opacity: 0;
        transition: .3s;
    }
    #header .menus,
    #header .buttons .btn {
        display: none;
    }
    #header .buttons {
        width: 65px;
    }
    #header.scrolling {
        border-color: var(--block-2);
    }
    #header.scrolling .logo {
        opacity: 1;
    }

    #header.menu-active {
        border-bottom: 1px solid var(--block-2) !important;
    }
    #header.menu-active .logo {
        opacity: 1;
    }
    #header .menus {
        overflow-y: auto;
        transition: .2s;
    }
    #header.menu-active .menus {
        display: block;
        position: fixed;
        background: var(--background);
        top: 122px;
        left: 0;
        width: 100%;
        height: 100%;
    }
    #header.menu-active.scrolling .menus {
        top: 66px;
    }
    #content-wrapper {
        padding-top: 189px;
    }
    .main-section {
        padding-top: 0;
    }
    #close_button,
    #menu_button {
        display: block;
        z-index: 3;
        position: relative;
        width: 44px;
        height: 24px;
    }

    #close_button span,
    #menu_button span {
        transition: .1s;
        position: absolute;
        left: 0;
        width: 100%;
        height: 4px;
        border-radius: 5px;
        background: var(--block-2);
    }
    #menu_button span:nth-child(1) {
        top: 0;
    }
    #menu_button span:nth-child(2) {
        top: 10px;
    }
    #menu_button span:nth-child(3) {
        top: 20px;
    }
    #menu_button span:nth-child(4) {
        top: 30px;
    }

    .menu-active #menu_button span:nth-child(1),
    .menu-active #menu_button span:nth-child(4) {
        opacity: 0;
    }
    #close_button span:nth-child(1),
    .menu-active #menu_button span:nth-child(2) {
        top: 15px;
        transform: rotate(45deg);
    }
    #close_button span:nth-child(2),
    .menu-active #menu_button span:nth-child(3) {
        top: 15px;
        transform: rotate(-45deg);
    }

    .main-section__logo-wrapper {
        margin-bottom: 58px;
    }
    .main-section__buttons {
        margin-top: 45px;
        display: flex;
        justify-content: center;
    }
    .main-section__buttons .btn {
        font-size: 16px;
        padding: 6px 0;
        min-width: 132px;
        width: 132px;
        height: 38px;
        margin: 0 12px;
    }
    .main-section__information-item {
        width: 165px;
        height: 100px;
        border-radius: 10px;
        margin: 0 12px;
    }
    .main-section__information-item b {
        font-size: 24px;
        line-height: 24px;
        margin-bottom: 6px;
    }
    .main-section__information-item {
        font-size: 20px;
        line-height: 16px;
    }
    .is-homepage .title-section,
    .title-section {
        font-size: 45px;
    }
    .section-description {
        font-size: 20px;
        line-height: 24px;
    }
    .is-homepage .institutes-section {
        padding: 45px 0 50px;
    }
    .institutes-section .btn {
        width: 228px;
        height: 48px;
        font-size: 20px;
        line-height: 20px;
        padding: 12px 0;
    }
    .institutes-section__items {
        margin-top: 36px;
    }

    .institutes-section__item {
        width: calc((100% - 16px) / 2);
        margin-bottom: 16px;
    }
    .is-homepage .institutes-section__item:nth-child(5),
    .is-homepage .institutes-section__item:last-child {
        display: none;
    }
    .institutes-section__item span {
        font-size: 12px;
    }

    .about-section {
        padding: 108px 0;
    }
    .about-section .d-flex {
        display: block !important;
    }
    .about-section__description {
        margin-right: 0;
        font-size: 20px;
        margin-bottom: 60px;
    }
    .about-section__image {
        margin: 0 auto;
    }
    .capabilities-section__steps,
    .capabilities-section__steps-line {
        display: none !important;
    }
    .is-homepage .faq-section {
        padding: 80px 0 104px;
    }
    .faq-section__item-btn {
        font-size: 20px;
        padding: 5px 20px 5px 32px;
        font-weight: 300;
    }
    .faq-section__item-body {
        padding: 32px;
    }

    .faq-section__text {
        margin-top: 60px;
        font-size: 18px;
    }

    #footer {
        padding: 137px 0;
    }
    #footer .d-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    #footer .d-flex .col:not(:last-child) {
        margin-bottom: 50px;
    }
    #footer .d-flex .col {
        text-align: left !important;
    }
    #footer .d-flex .col:nth-child(2) {
        order: 0;
    }
    #footer .d-flex .col:nth-child(1) {
        order: 1;
    }
    #footer .d-flex .col:nth-child(3) {
        order: 1;
    }
    #footer img {
        width: 333px;
        height: 56px;
    }
    .form-section__form {
        width: 384px;
    }
    .form-field {
        height: 58px;
        font-size: 18px;
    }
    .form-section__form-input-wrapper {
        margin-bottom: 21px;
    }
    .btn.big,
    .btn.big.small-text {
        min-width: 165px;
        height: 47px;
        font-size: 18px;
        padding: 0 40px;
    }
    .form-section__form-link {
        font-size: 14px;
    }

    .recoverypass-section .title-section {
        margin-bottom: 60px;
    }
    .recoverypass-section .form-section__form-input-wrapper {
        margin-bottom: 60px;
    }
    .form-section__form p.full-width {
        font-size: 14px;
    }

    .is-desktop {
        display: none;
    }

    .is-mobile {
        display: block;
    }
    .is-mobile-inline {
        display: inline;
    }
    .admin-profile-section__name .is-mobile-inline {
        display: none;
    }
    .form-checkbox__wrapper {
        margin-bottom: 56px;
    }
    .form-section__description {
        margin-bottom: 78px;
    }
    .edit-section__title {
        margin-bottom: 76px;
    }
    .admin-profile-section__name {
        font-size: 16px;
        margin-bottom: 50px;
    }
    .admin-profile-section__title {
        font-size: 30px;
    }
    .admin-profile-section__attached {
        margin-bottom: 50px;
    }
    .admin-profile-section__attached b {
        font-weight: 400;
    }
    .admin-profile-section__system-instruction {
        margin-bottom: 50px;
    }
    .second-tab-content__row {
        padding: 45px 0 50px;
    }
    .second-tab-content__row-first {
        padding-top: 65px;
    }
    .second-tab-content__row-first .second-tab-content__col:first-child {
        margin-right: 0;
    }
    .questionnaire-from__general-education-info .form-modal__wrapper:last-child {
        flex-grow: 1;
    }
    .questionnaire-from__general-education-info .form-modal__wrapper:not(:last-child) {
        margin-right: 0;
    }
    .questionnaire-from__general-education-info .form-modal__wrapper {
        width: 100%;
        margin-right: 0;
    }
    .questionnaire-from__row .form-modal__wrapper {
        margin-bottom: 27px;
    }
    .form-checkbox-wrapper {
        width: 100%;
        gap: 10px;
    }
    .questionnaire-from__degree .questionnaire-from__row {
        display: grid;
        grid-template-columns: calc((100% - 40px) / 3) calc((100% - 40px) / 3) calc((100% - 40px) / 3);
        gap: 20px;
    }
    .questionnaire-from__degree .form-modal__wrapper {
        margin-right: 0 !important;
        width: auto;
    }
    .questionnaire-from__positions-held-results {
        justify-content: space-between;
    }
    .questionnaire-from__positions-held-results .form-modal__wrapper:first-child {
        order: 0;
        width: calc((100% - 40px) / 3);
    }
    .questionnaire-from__positions-held-other {
        order: 1;
        width: calc((100% - 40px) / 2);
        text-align: right;
        padding-top: 16px;
    }
    .questionnaire-from__positions-held-results .form-modal__wrapper:nth-child(2) {
        order: 2;
        width: calc((100% - 40px) / 3);
    }
    .questionnaire-from__positions-held-results .form-modal__wrapper:nth-child(3) {
        order: 3;
        width: calc((100% - 40px) / 3);
    }
    .questionnaire-from__positions-held-results .form-modal__wrapper:nth-child(4) {
        order: 4;
        width: calc((100% - 40px) / 3);
    }
    .questionnaire-from__positions-held-results .form-modal__wrapper {
        margin-right: 0 !important;
    }
    .questionnaire-from__general-experience {
        margin-top: 16px;
    }
    .questionnaire-from__general-experience-periods .form-modal__wrapper {
        margin-right: 0 !important;
    }
    .questionnaire-from__general-experience-rows .form-checkboxes {
        margin-right: 20px;
    }
    .questionnaire-from__general-experience-rows .questionnaire-from__row {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }
    .questionnaire-from__general-experience-rows .form-check-label {
        transform: none;
    }
}

@media all and (max-width: 760px) {
    .questionnaire-from__general-experience-rows .questionnaire-from__row {
        flex-direction: column;
    }
    .questionnaire-from__general-experience-periods .form-modal__wrapper {
        width: 100%;
    }
    .questionnaire-from__general-experience-rows .form-checkboxes {
        margin-right: auto;
        margin-bottom: 32px;
    }
    .questionnaire-from__general-experience-rows .questionnaire-from__add-btn {
        order: 2;
        justify-content: center;
    }
    .questionnaire-from__general-experience-item {
        padding: 30px 0;
    }
    .questionnaire-from__row .form-modal__wrapper {
        width: 100% !important;
        margin-right: 0 !important;
    }
    .questionnaire-from__positions-held-other {
        order: 6;
        width: 100%;
        text-align: left;
        padding-top: 0;
    }
    .questionnaire-from__general-experience {
        margin-top: 30px;
    }
    .questionnaire-from__degree .questionnaire-from__row {
        display: block;
    }
    .questionnaire-from__row .form-modal__wrapper {
        margin-bottom: 10px;
    }
    .form-checkbox-wrapper {
        display: block;
        margin-top: 20px;
    }
    .questionnaire-from__first-education {
        padding-bottom: 30px;
    }
}

@media all and (max-width: 750px) {
    .department-section__filter .table-type {
        font-size: 18px;
    }
    .department-section__filter .table-type:not(:last-child) {
        margin-right: 20px;
    }
}

@media all and (max-height: 500px) and (max-width: 965px) {
    #header .menus nav {
        padding-top: 50px;
    }
}

@media all and (max-width: 700px) {
    .admin-profile-section__invite {
        display: none;
    }
    .admin-profile-section__invite.mobile-view {
        display: block;
    }
    .admin-profile-section__invite.mobile-view > div:first-child {
        margin-bottom: 20px;
    }
    .admin-profile-section__invite a {
        margin-right: 6px;
    }
    .admin-profile-section__invite-icon {
        position: relative;
        cursor: pointer;
        top: -3px;
    }

    .admin-profile-section__invite.mobile-view > div:first-child .admin-profile-section__invite-icon {
        top: -1px;
    }
    .addition-emails__item {
        border: 0;
        padding: 0;
    }
    #horstcountersblock.teacher {
        display: block;
        margin-bottom: 40px;
        padding: 20px;
    }
    #horstcountersblock.teacher > div:not(:first-child) {
        margin-left: 0;
    }
    .teachers-information-section__accordion-items:not(:last-child) {
        margin-bottom: 40px;
    }
}
@media all and (max-width: 640px) {
    #CreateDodatok form {
        display: block;
    }
    #CreateDodatok form > div {
        width: 100%;
    }
    #addnewbindcont {
        text-align: center;
    }
    #newbind {
        margin-bottom: 10px;
    }
    .toolhead:not(#download-buttonnatl){
        display: none;
    }

   .isadminmode #download-buttonnatl {
        margin-top: 130px;
        margin-right: 30px;
        position: absolute;
        right: 0;
    }
    .isadminmode #atestlisprint {
        margin-top: 90px;
    }
    .isteachermode #download-buttonnatl{
        margin-top: 45px;
        margin-right: 30px;
    }
    .mainsubjectslist b {
        font-size: 20px;
        margin-right: 0;
        display: block;
        text-align: center;
    }
    .mainsubjectslist span {
        font-size: 16px;
    }

    .teachers-information-section__top-info {
        position: relative;
        margin-bottom: 45px;
        width: 100%;
    }
    .teachers-information-section .name-title {
        font-size: 14px;
        line-height: 16px;
        margin-bottom: 30px;
    }
    .teachers-information-section .name-title svg {
        width: 17px;
        height: 17px;
    }
    .teachers-information-section__top-info svg {
        position: absolute;
        top: calc(50% - 15px);
        right: 0;
        width: 30px;
        height: 30px;
    }
    .teachers-information-section__top-info .admin-info,
    .teachers-information-section__top-info .invited {
        font-size: 10px;
    }
    .teachers-information-section__top-info .link-title {
        font-size: 12px;
    }
    .questionnaire-from__title {
        font-size: 12px;
        line-height: 12px;
    }
    .questionnaire-from__subtitle {
        font-size: 9px;
        line-height: 12px;
        margin-bottom: 30px;
    }
    .first-education__title {
        font-size: 14px;
    }
    .first-education__title span {
        border-width: 2px;
    }
    .form-checkbox-wrapper .form-checkbox label {
        font-size: 10px;
    }
    .questionnaire-from__row .form-modal__wrapper label {
        font-size: 12px;
        margin-bottom: 5px;
    }
    .questionnaire-from__positions-held .questionnaire-from__title {
        font-size: 14px;
        margin-bottom: 30px;
    }
    .questionnaire-from__add-btn {
        font-size: 14px;
    }
    .questionnaire-from__positions-held-other {
        margin-top: 10px;
    }
    .questionnaire-from__general-experience .questionnaire-from__title {
        font-size: 14px;
    }
    .questionnaire-from__general-experience .questionnaire-from__title span {
        border-width: 2px;
    }
    .questionnaire-from__general-experience-item {
        padding: 20px 0;
    }
    .questionnaire-from__general-experience-title {
        font-size: 12px;
        line-height: 14px;
        margin-bottom: 0;
    }
    .questionnaire-from__general-experience-rows .questionnaire-from__row {
        padding: 30px 0;
    }
    .addition-emails__item-form span {
        font-size: 14px;
        line-height: 16px;
        margin-bottom: 15px;
    }
    .addition-emails__item-available {
        font-size: 10px;
        line-height: 12px;
        display: none;
    }
    .addition-emails__item-available.hide-desktop {
        display: block;
        margin-bottom: 30px;
    }
    .addition-emails {
        margin-top: 20px;
    }
    .addition-emails__item-form input {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .addition-emails__item-form .btn {
        width: 135px;
        height: 34px;
        font-size: 14px;
        margin: 0 auto;
    }
    .import-ippo {
        margin-top: 20px;
    }
    .import-ippo__item {
        padding: 26px 20px;
    }
    .import-ippo__item-title {
        font-size: 12px;
        line-height: 14px;
        margin-bottom: 10px;
    }
    .import-ippo__item-available {
        font-size: 10px;
        line-height: 12px;
        margin-bottom: 25px;
    }
    .import-ippo__item-form span {
        font-size: 12px;
        line-height: 14px;
        margin-bottom: 5px;
        margin-right: 0;
    }
    .import-ippo__item-form input {
        margin-right: 0;
        width: 100%;
        margin-bottom: 30px;
    }
    .import-ippo__item-form .btn {
        width: 135px;
        height: 34px;
        font-size: 14px;
        margin: 0 auto;
    }
    .import-ippo__info {
        font-size: 12px;
        line-height: 14px;
        padding: 24px 0;
    }
    .second-tab-content__row-first .second-tab-content__col {
        width: 100% !important;
    }
    .second-tab-content__row-first .form-checkbox label {
        font-size: 10px;
    }
    .second-tabs {
        padding: 28px 0;
        align-items: flex-start;
        border-bottom: 1px solid var(--border);
    }
    .second-tab span {
        font-size: 14px;
    }
    .second-tab-content__row {
        padding: 20px 0;
    }
    .second-tab-content__row-second .second-tab-content__col:first-child {
        width: 100%;
    }
    .second-tab-content__row-second .second-tab-content__col .form-checkboxes {
        display: block !important;
    }
    .second-tab-content__row-second .form-checkbox {
        margin-bottom: 2px;
    }
    .second-tab-content__row-first {
        padding-top: 20px;
    }
    .second-tab:not(:last-child) {
        margin-bottom: 20px;
    }
    .second-tab-content__row-first .second-tab-content__col:nth-child(2) {
        padding-top: 16px;
    }
    .second-tab-content__row-second .second-tab-content__col:first-child .form-checkboxes {
        border-bottom: 1px solid var(--border);
        padding-bottom: 16px;
        margin-bottom: 16px;
    }
    .second-tab-content__row-first .second-tab-content__col:nth-child(3) {
        margin-top: 16px;
    }
    .second-tab-content__row-second .second-tab-content__col:first-child {
        border-bottom: 1px solid var(--border);
        margin-bottom: 16px;
        padding-bottom: 16px;
    }
    .second-tab-content__row .add-file {
        font-size: 10px;
        height: 146px;
    }
    .second-tab-content__row-second .form-check-label span {
        display: block;
        line-height: 6px;
    }
    .second-tab-content__row-second .second-tab-content__col:last-child .form-modal__wrapper .form-checkbox {
        margin-bottom: 10px;
        line-height: 15px;
    }
    #infopanel .form-check-label {
        font-size: 14px;
        margin-left: 10px;
    }
    #horstcountersblock {
        margin-top: 20px;
    }
    .teachers-information-section hr.tab-content-divider {
        margin: 20px 0 38px;
    }
    .teachers-information-section__block-title {
        font-size: 14px;
        line-height: 16px;
    }
    .teachers-information-section__accordion-item .accordion-button {
        font-size: 13px;
        padding: 5px 40px 5px 20px;
        align-items: center !important;
    }
    .certificate__header {
        padding: 18px 25px;
    }
    .certificate__details-title {
        font-size: 12px;
        margin-bottom: 18px;
        line-height: 1.5;
    }
    .certificate__details-row {
        font-size: 10px;
        line-height: 12px;
        margin-bottom: 6px;
    }
    .certificate__img {
        margin-bottom: 20px;
    }
    .certificate__details a {
        font-size: 8px;
    }
    .certificate__footer {
        padding: 18px 25px;
    }
    .form-switch .form-check-label {
        font-size: 10px;
        line-height: 18px;
    }
    .certificate__details-row span {
        width: 50%;
    }
    .teachers-information-section__accordion-item .right-info {
        font-size: 8px;
        line-height: 10px;
    }
    .form-switch input {
        width: 35px !important;
        height: 14px;
    }
    .main-tab {
        height: 42px;
        font-size: 14px;
    }
    #hTable td:first-child {
        padding-left: 30px;
    }
    #infopanel .d-flex,
    #edit_customsert .modal-body .d-flex {
        display: block !important;
    }
    #infopanel .data {
        margin-left: 0;
        margin-top: 20px;
    }
    #edit_customsert .modal-body {
        padding: 15px 32px;
    }
    #edit_customsert .modal-header {
        padding: 15px 32px;
    }
    #edit_customsert .modal-title {
        font-size: 12px;
    }
    #edit_customsert label, .form-checkboxes label, .form-modal__wrapper label {
        font-size: 10px;
        margin-bottom: 5px;
    }
    .form-modal__wrapper input, .form-modal__wrapper textarea, .form-modal__wrapper select {
        height: 29px;
        font-size: 10px;
    }
    .form-modal__wrapper textarea {
        padding-top: 6px;
    }
    #edit_customsert .all-counts {
        font-size: 10px;
    }
    #edit_customsert .form-modal__wrapper {
        width: 100%;
    }
    .admin-profile-section__links a {
        font-size: 12px;
        height: 51px;
        width: 198px;
    }
    .admin-profile-section__system-instruction {
        margin-bottom: 32px;
    }
    .admin-profile-section__system-instruction a {
        font-size: 8px;
        height: 24px;
        font-weight: 200;
    }
    .admin-profile-section__name .no-admin, .admin-profile-section__attached .wrong-disconnect,
    .admin-profile-section__attached {
        font-size: 10px;
    }
    .admin-profile-section__attached {
        margin-bottom: 30px;
    }
    .admin-profile-section__title {
        font-size: 18px;
        text-align: center;
        margin-bottom: 10px;
    }
    .admin-profile-section__name {
        font-size: 10px;
        line-height: normal;
        text-align: center;
        justify-content: center;
        margin-bottom: 30px;
        flex-direction: column;
    }
    .admin-profile-section__name .is-mobile-inline {
        display: inline;
    }
    .admin-profile-section__name > div {
        position: relative;
        margin-bottom: 10px;
    }
    .admin-profile-section__name-edit {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: -20px;
        margin-right: 0;
    }
    .admin-profile-section__name-edit svg {
        height: 17px;
        width: 17px;
    }
    .admin-profile-section__invite {
        font-size: 14px;
    }
    .form-checkbox__group {
        margin-bottom: 21px;
    }
    .form-section__form p {
        margin-bottom: 18px;
        border-top: 1px solid var(--border);
        padding-top: 26px;
    }
    .form-section__description {
        margin-bottom: 26px;
    }
    .form-section__form .mini-text {
        margin-bottom: 13px;
    }
    .form-section__form .mini-text + div {
        margin-bottom: 25px;
    }
    body:not(.is-homepage) #content-wrapper {
        padding-top: 90px;
    }
    .form-section__form-input-wrapper {
        margin-bottom: 28px;
    }
    .recoverypass-section .title-section {
        margin-bottom: 20px;
    }
    .recoverypass-section .form-section__form-input-wrapper {
        margin-bottom: 20px;
    }
    .form-field {
        height: 37px;
        font-size: 14px;
        padding: 0 20px;
    }
    .form-checkbox.big,
    .form-checkbox {
        font-size: 14px;
        line-height: 23px;
    }
    .form-checkbox.big label {
        line-height: 23px;
    }
    .form-checkbox.big label,
    .form-checkbox label {
        padding-left: 24px !important;
    }
    .btn.big,
    .btn.big.small-text {
        min-width: 132px;
        padding: 0 40px;
        height: 40px;
        font-size: 16px;
    }
    .form-checkbox label::before,
    .form-checkbox input:checked + label:after {
        width: 17px !important;
        height: 17px !important;
    }

    .form-section__form hr {
        margin: 25px 0;
        border-width: 1px;
    }
    .form-select__wrapper:after {
        right: 16px;
        width: 10px;
        height: 6px;
    }
    .form-select {
        padding-right: 30px;
    }
    .form-checkbox__wrapper {
        margin-bottom: 27px;
    }
    .is-homepage .title-section,
    .title-section {
        font-size: 18px;
    }
    .title-section span:after {
        height: 2px;
    }
    .title-section span {
        padding-bottom: 5px;
    }
    .title-section span svg {
        width: 20px;
        height: 20px;
    }
    .title-section span > a {
        transform: none;
    }
    .section-description {
        font-size: 14px;
        line-height: 16px;
    }
    .institutes-section .section-description,
    .institutes-section .col-4,
    .institutes-section__items {
        width: 100%;
    }
    .institutes-section .section-description {
        order: 0;
    }
    .institutes-section__items {
        order: 1;
        margin: 18px 0 12px;
    }

    .institutes-section__item span {
        font-size: 10px;
    }

    .institutes-section__item img {
        width: 60px;
    }
    .institutes-section .col-4 {
        order: 2;
        justify-content: center !important;
    }
    #header {
        padding: 16px 0;
    }
    #header .logo {
        width: auto;
    }
    #header .logo img {
        width: 136px;
    }
    #close_button,
    #menu_button {
        transform: scale(.8);
    }
    #content-wrapper {
        padding-top: 98px;
    }
    #header.menu-active .menus {
        top: 52px;
        padding: 0 40px;
    }
    #header.menu-active.scrolling .menus {
        top: 50px;
    }
    #header .menus nav {
        padding: 40px 0;
    }
    #header .menus nav a {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 15px;
    }
    #header .menus nav a:after {
        display: none;
    }
    .main-section__information-item b {
        font-size: 20px;
    }
    .main-section__information-item {
        font-size: 16px;
    }
    .main-section__buttons {
        flex-direction: column;
        align-items: center;
        margin-top: 50px;
    }
    .main-section__buttons .btn:first-child {
        margin-bottom: 5px;
    }
    .main-section__logo-wrapper {
        margin-bottom: 26px;
    }
    .institutes-section .btn {
        font-size: 14px;
        width: 134px;
        min-width: 117px;
        height: 34px;
        padding: 4px 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .institutes-section .btn svg {
        width: 11px;
        height: 11px;
        margin-left: 4px;
    }
    .about-section__description {
        font-size: 14px;
        line-height: 20px;
    }
    .about-section__description b:first-of-type {
        display: block;
        margin-bottom: 16px;
    }
    .about-section__image {
        display: none;
    }
    .about-section__title {
        margin-bottom: 26px;
    }
    .about-section {
        padding: 54px 0 20px;
    }
    .capabilities-section {
        padding: 90px 0;
    }
    .capabilities-section__title {
        margin-bottom: 36px;
    }
    .capabilities-section__items {
        width: 800px;
    }
    .capabilities-section__item {
        width: calc((100% - 80px) / 3);
        margin-bottom: 36px;
    }
    .capabilities-section__item-title {
        padding-top: 22px;
        font-size: 20px;
        margin-bottom: 22px;
    }
    .capabilities-section__item-text {
        font-size: 14px;
        line-height: 20px;
    }
    .capabilities-section__items-wrapper {
        overflow-x: auto;
    }
    .capabilities-section__items-wrapper::-webkit-scrollbar {
        height: 3px;
    }

    .capabilities-section__items-wrapper::-webkit-scrollbar-track {
        background: var(--border);
    }

    .capabilities-section__items-wrapper::-webkit-scrollbar-thumb {
        background: var(--block-2);
    }
    .faq-section__item-btn {
        font-size: 14px;
        padding: 2px 14px;
        line-height: 1.5;
        font-weight: 400;
    }
    .faq-section__item-body {
        padding: 14px;
    }
    .faq-section__item:not(:last-child) {
        margin-bottom: 6px;
    }
    .is-homepage .faq-section {
        padding: 47px 0 53px;
    }
    .faq-section__text {
        font-size: 14px;
    }
    .faq-section .title-section {
        margin-bottom: 19px;
    }
    #footer {
        padding: 60px 0;
        font-size: 14px;
        line-height: 22px;
    }
    #footer img {
        width: 187px;
        height: 30px;
    }
    .department-section__description .copy-btn {
        right: -22px;
        top: 16px;
    }
    .department-section__description .copy-btn svg {
        width: 13px;
        height: 16px;
    }
    .department-section__description {
        font-size: 12px;
        margin-bottom: 20px;
    }
    .department-section__description > div:first-child {
        margin-bottom: 7px;
    }
    .department-section__description + div > a {
        width: 240px;
        height: 33px;
        font-size: 10px;
        line-height: normal;
        padding: 0;
    }
    .department-section__description + div > a svg {
        margin-left: 9px;
        width: 8px;
        height: 8px;
    }
    .department-section hr {
        margin: 20px 0 24px;
    }
    .department-section__certification {
        margin-bottom: 5px;
    }
    .department-section__certification-btn {
        width: 240px;
        height: 45px;
        font-size: 14px;
    }
    .department-section__filter-wrapper > a {
        width: 240px;
        height: 33px;
        font-size: 10px;
        margin-bottom: 24px;
    }
    .department-section__filter-wrapper > a svg {
        width: 8px;
        height: 8px;
        margin-left: 9px;
    }
    .department-section__filter .table-type {
        font-size: 10px;
    }
    .department-section__filter .table-type:not(:last-child) {
        margin-right: 10px;
    }
    .department-section__filter .table-type.active {
        border-bottom-width: 2px;
    }
    .department-section__filter-wrapper {
        margin-bottom: 10px;
    }
    .department-section__import {
        font-size: 10px;
        padding: 22px 0 34px;
        margin-bottom: 45px;
    }
    .department-section__import .text-primary {
        margin-top: 12px;
    }
    .department-section__form {
        margin-top: 36px;
        display: flex;
        justify-content: space-between;
    }
    #selectedFileName {
        display: block;
        font-size: 10px;
        text-align: center;
        margin-top: 5px;
    }
    .department-section__form .add-btn,
    .department-section__form button {
        font-size: 12px;
        width: 110px;
        min-width: 110px;
        height: 24px;
    }

    .custom-table th {
        font-size: 14px;
        min-width: 44px;
        height: 38px;
        border-top: 1px solid var(--block-2);
    }
    .custom-table th:first-child {
        border-left: 1px solid var(--block-2);
    }
    .custom-table th:last-child {
        border-right: 1px solid var(--block-2);
    }
    .custom-table td {
        font-size: 12px;
        padding: 10px;
    }

    .department-section {
        padding-bottom: 70px;
    }
    .edit-section__title {
        margin-bottom: 18px;
    }
    .edit-section .button-wrapper {
        margin-top: 25px;
    }
    .edit-section {
        padding-bottom: 78px;
    }
    .edit-section .form-label {
        font-size: 12px;
    }
    .excerpts-section__item,
    .commissions-section__items .comm {
        font-size: 14px;
        line-height: 20px;
        padding: 23px 14px 33px;
    }
    .excerpts-section__item .info,
    .commissions-section__items .info {
        margin-bottom: 29px;
    }

    .excerpts-section__item .info {
        font-size: 14px;
        line-height: 16px;
    }
    .excerpts-section__item .info span {
        font-size: 12px;
        line-height: 14px;
        margin-top: 16px;
        display: block;
    }

    .excerpts-section__item .actions .btn,
    .commissions-section__items .actions .btn {
        margin: 4px 15px !important;
    }

    .excerpts-section__item .actions .btn,
    .commissions-section__items .actions .btn,
    .btn.btn-form {
        font-size: 14px;
        min-width: 135px !important;
        width: 135px !important;
        height: 34px !important;
    }

    .modal-header {
        padding: 15px 32px;
    }
    .modal-title {
        font-size: 14px;
    }
    .modal-header button {
        padding: 6px;
    }
    .modal-header button svg {
        width: 12px;
        height: 12px;
    }
    .modal-footer {
        padding: 15px 32px;
    }
    .modal-body {
        padding: 15px 32px;
    }
    .modal-body .col-form-label {
        font-size: 14px;
    }
    .modal-body select, .modal-body input {
        font-size: 12px;
    }
    .modal-body .dates {
        font-size: 12px;
    }
    #add-member, #add-membered {
        display: block;
        margin: 0 auto;
    }
    .breadcrumbs {
        font-size: 12px;
        margin-bottom: 14px;
    }
    .breadcrumbs a svg {
        width: 12px;
        height: 12px;
    }
    .is-homepage .title-section, .title-section {
        margin-bottom: 15px;
    }
    .commissions-section__head .btn {
        width: 320px;
        height: 42px;
        font-size: 14px;
        padding: 0;
    }
    .commissions-section__count {
        text-align: left;
        font-size: 14px;
        margin-bottom: 20px;
    }
    .commissions-section__head {
        margin-bottom: 30px;
    }
    .excerpts-section__item,
    .commissions-section__items .comm {
        margin-bottom: 15px;
    }
    .excerpts-section__wrap {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15px;
    }
    .excerpts-section__wrap .btn {
        order: 0;
        width: 100%;
        height: 42px;
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 22px;
    }
    .excerpts-section__count {
        order: 1;
        font-size: 14px;

    }
}

@media all and (max-width: 560px) {
    #dodatok1 * {
        font-size: 12px !important;
    }
    #dodatok1 {
        padding: 10px;
    }
    #atestlisprint {
        font-size: 12px !important;
    }
    .atlcont p {
        font-size: 12px !important;
    }
    #atestlisprint h3 {
        font-size: 14px;
    }
    .institutes-section__item {
        width: 100%;
    }
    .is-homepage .institutes-section__item:nth-child(4),
    .is-homepage .institutes-section__item:nth-child(3) {
        display: none;
    }
    .institutes-section__item span {
        font-size: 12px;
    }
    .institutes-section__item img {
        width: 50px;
    }
}

@media all and (max-width: 400px) {
    .isteachermode #download-buttonnatl {
        margin-top: 35px;

    }
    .mainsubjectslist b {
        font-size: 14px;
        margin-right: 0;
        display: block;
        text-align: center;
    }
    .mainsubjectslist span {
        font-size: 14px;
    }

    .modal-footer {
        flex-direction: column;
    }
    .modal-footer .btn {
        margin: 4px 0;
    }
}

@media (max-width: 1120px) {
    #accordionEAS   .teachers-information-section__accordion-item .accordion-button:not(.isvalid) {
        padding: 10px 175px 10px 20px;
    }
    #accordionEAS    .accordion-button:not(.isvalid) .sertThem {
        max-width: calc(100% - 50px) !important;
    }
}
@media all and (max-width: 640px) {
    .connecttovocont {
        font-size: 10px;
    }
    .certificate__details-row a {
        font-size: 14px !important;
        margin-bottom: 15px;
    }
    .certificate__details-row a svg {
        display: none;
    }
    .certificate__details-row.hoursbycat {
        font-size: 10px;
    }
    .cat-subtitle {
        font-size: 12px !important;
        margin-top:10px;
    }
    .conf_logo {
        width: 45px;
        padding-top: 0;
        padding-right: 10px;
    }
    .right-info.sertHours {
        min-width: 70px;
    }
    #invcont * {
        margin: 0 !important;
        margin-bottom: 10px !important;
    }
    #mynzhcont p {
        font-size: 14px !important;
    }
    .main-section__information-item {
        padding: 0 18px;
        margin: 5px !important;
    }
    .main-section__buttons .btn {
        margin-bottom: 20px !important;
        font-size: 20px !important;
        padding: 0 !important;
        height: 48px !important;
        width: 200px !important;
        line-height: 45px;
    }

    .form-field {
        height: 50px !important;
    }

    .certificate__details-row span {
        width: 30%;
    }
    .breadcrumbs svg {
        width: 12px;
        margin-bottom: 2px;
    }
    .mainsubject label {
        margin-left: 0 !important;
        margin-bottom: 10px;
    }
    #addposada input {
        font-size: 14px;
        padding: 5px;
    }
    #addposada select {
        margin-bottom: 10px;
    }

    .btn.btn-primary.addposadabtn {
        font-size: 16px;
        padding: 0;
    }
    #accordionEAS  .teachers-information-section__accordion-item .accordion-button:not(.isvalid) {
        padding: 10px 110px 10px 20px;
    }


} /*end 640px*/


.banner-section-main .card{
    width: 50%;
}
@media all and (max-width: 1000px) {
    .banner-section-main .card{
        width: 100%;
        margin-bottom: 40px;
    }
}
@media all and (max-width: 500px) {
    .csfilter {
        margin-top: 15px;
        display: block;
    }
}