body {
    margin: 0 auto;
    min-width: 320px;
    font-size: 1em;
    line-height: 1.25rem;
    color: #000;
    font-weight: 500;
    font-family: 'Montserrat';
    position: relative;
}

a {
    text-decoration: none;
    outline: none;
    color: inherit;
}

a:hover {

    text-decoration: none;
    color: inherit;
    outline: none;
}

a:active {
    outline: none;
    color: inherit;
    text-decoration: none;
}

a:focus,
a:visited {
    outline: none;
    color: inherit;
    text-decoration: none;
}


strong {
    font-weight: 800;
}

b {
    font-weight: 900;
}

em {
    font-style: italic;
}

img {
    max-width: 100%;
    height: auto;
}

/*header,*/
footer,
main {
    overflow: hidden;
}

.container {
    /*max-width: 1670px;*/
    max-width: 86%;
    padding: 0 15px;
}


/*BIP*/
section {
    margin-bottom: 7vh;
}

.view-header,
.title {
    position: relative;
    border-bottom: 2px solid #FBB800;
    margin-bottom: 50px;
}

.content_info {
    margin: 50px 0;
    line-height: 26px;
}


body.home h2,
h1 {
    font-size: 2.625em;
    line-height: 52px;
    font-weight: 700;
}

body.home h1 {
    font-size: 3.75em;
    line-height: 73px;
}


h2 {
    font-size: 1.25em;
    line-height: 27px;
}

.podyplomowe h2 a,
h2 a {
    font-size: 1.40em;
    line-height: 52px;
    color: #000 !important;
    text-decoration: underline;
    text-decoration-color: transparent !important;
    font-weight: 600 !important;
    margin-bottom: 7px;
}

.podyplomowe h2:hover a,
h2:hover a {
    text-decoration-color: #FBB800 !important;
}

.h3,
h3 {
    font-size: 1.375em;
    line-height: 27px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single-programs .wydzial {
    margin-bottom: 35px;
}

.single-doctoral_school .akty_regulaminy .file_item,
.single-programs .tabcontent .wydzial .file_item {
    display: inherit;
}


#list_files .group_files,
#list_files {
    display: flex;
    flex-direction: column;
}

#list_files .group_files {
    margin-bottom: 50px;
}

.file_item {
    display: inline-block;
    align-items: center;
    margin-top: 0.75em;
    margin-bottom: 0.75em;
    font-size: 1em;
    line-height: 1.1875em;
    color: #00197D;
    font-weight: 600;
}


a:hover, a:focus, a:visited, a.file_item:hover,
a.file_item:focus, a.file_item:visited {
    outline: none;
    color: #00197D;
    font-weight: 600;
    text-decoration: underline;
}

.file_item {
    flex-wrap: wrap;
    position: relative;
    align-items: center;
    margin-left: 35px;
}

.file_item strong {
    display: inline-flex;
    flex-wrap: nowrap;
}

body.home .file_item {
    display: none;
}

body.home .file_item:nth-child(-n+10) {
    display: inline-block;
}

.file_item img {
    margin-right: 0.5em;
    max-width: 1.8em;
    position: absolute;
    left: -35px;
    top: -5px;
}

.file_item strong {
    margin-left: 0.5em;
}

.invisible {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

:focus-visible {
    outline: #000 solid 3px;
}

/*info_section*/

#info_section .side:nth-child(2) {
    display: flex;
    align-items: center;
}

#info_section .side .content_box {
    max-width: 86%;
    margin: 0 auto;
}

[role="table"]:focus-visible {
    outline: -webkit-focus-ring-color auto 0px;
}

[role="table"] a:focus-visible,
[role="table"]:focus-visible [role="rowgroup"] {
    outline: #000 solid 3px;
    outline-offset: 5px;
}

[role="rowgroup"] {
    border: 1px solid #FBB800;
}

[role="rowgroup"] [role="row"] {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #FBB800;
}

[role="rowgroup"] [role="row"]:last-child {
    border-bottom: 0px solid #FBB800;
}

[role="rowgroup"] [role="row"] span {
    width: 100%;
    max-width: 50%;
    padding: 10px 20px;
}

[role="rowgroup"] [role="row"] span:first-child {
    border-right: 1px solid #FBB800;
}

[role="rowgroup"] [role="row"] span:last-child {
    font-weight: 600;
}


/*single*/
body.archive .view,
body.single .view {
    min-height: 55vh;
    margin: 5vh 0
}

.sigle_banner_image {
    background-color: #0c5460;
    height: 224px;
    width: 100%;
}

.postepowania_awansowe,
#doctoral_school .tabcontent ul {
    list-style: none;
}

.postepowania_awansowe  li,
#doctoral_school .tabcontent ul li {
    margin: 15px 0;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.postepowania_awansowe a:focus-visible,
#doctoral_school .tabcontent ul li a:focus-visible {
    outline: #000 solid 2px !important;
    outline-offset: 2px;
    color: black;
}

.postepowania_awansowe  li:hover,
#doctoral_school .tabcontent ul li:hover {
    border: 2px solid black;
}

.postepowania_awansowe  li:hover a ,
#doctoral_school .tabcontent ul li:hover a {
    color: black;
}

.postepowania_awansowe a.link,
#doctoral_school a.link {
    font-weight: bold;
    font-size: 1.125em;
    line-height: 1.375em;
    padding: 15px 35px;
    display: block;
    color: black;
    transition: all 0.1s;
}


/*content nav tabs*/
.hide {
    display: none;
}


.tabList-container::-webkit-scrollbar {
    display: none;
}

.tabList-container {
    border: 1px solid #707070;
    padding: 5px;
}

.tabList-container .widget-header {
    background-color: #FBB800;
    padding: 15px 10px;
    font-size: 1.25em;
    line-height: 1.25em;
    font-weight: 700;
    text-transform: uppercase;
}

#single_content .description {
    margin: 50px 0;
}

.grid__aside {
    display: flex;
    flex-direction: column;
    width: 25%;
}

.grid__main {
    width: 75%;
    padding-left: 3%;
}

@media (min-width: 1441px) {

    .grid__main {
        width: 70%;
    }

}

@media (min-width: 768px) and (max-width: 991px) {

    .samorzad_title_section {
        background: initial;
        position: absolute;
        bottom: auto;
        top: 0;
    }

    .entry-content {
        overflow: hidden;
    }

}

.tablist-menu[role="tablist"] {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

.tablist-menu-item[role="tab"] {
    color: #000000;
    list-style-type: none;
    padding: 0.75em;
    margin: 0;
    /*white-space: nowrap;*/
    font-size: 1.125em;
    line-height: 22px;
    border: 2px solid transparent;
    display: block;
}

.tablist-menu-item[role="tab"][aria-selected="true"], .tablist-menu-item:hover {
    opacity: 1;
    cursor: pointer;
    background-color: #FBB800;
    border: 2px solid #FBB800;
}

@media (max-width: 990px) {


    .tablist-menu-item[role="tab"] {
        opacity: 1;
        cursor: pointer;
        background-color: #F5F5F5;
        border: 2px solid #fff;
        box-shadow: 0px 1px 2px #DBDBDB;
    }
    .tablist-menu-item[role="tab"].active_acc {
        background-color: #FBB800;
        border: 2px solid #FBB800;
    }
    .podyplomowe h2 a, h2 a {
        font-size: 1.25rem;
        line-height: 2rem;
        font-weight: 500 !important;
        margin-bottom: 5px;
    }

}

[role="tabpanel"] {
    position: relative;
    top: -1px;
    padding: 0 1em;
}

.tabpanel-container {
    position: relative;
}

.loading {
    background-image: url(../img/loading_icon_animate.svg);
    width: 50px;
    height: 50px;
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover;
    position: absolute;
    top: 50px;
    left: 50px;
}

.bg {
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover;
}


/*footer*/

footer {
    background-color: #000000;
    padding: 30px 0;
    color: #FFFFFF;
}

footer .item,
footer a {
    display: block;
    color: #FFFFFF !important;
    font-size: 12px;
    line-height: 22px;
    font-weight: 600;
}

footer .item span {
    font-weight: 300;
}

footer .site_map {
    margin-top: 20px;
}

footer a:focus-visible {
    outline: #fff solid 1px !important;
    outline-offset: 2px;
}

footer .site_map a {
    text-decoration: underline;
}

footer .side:last-child {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

footer a.logo_footer:focus-visible {
    outline: #fff solid 1px;
    outline-offset: 10px;
}

/*header*/
header nav {
    min-height: 50px;
}

header .navbar-light .navbar-toggler {
    /*position: absolute;*/
    left: 0;
    top: 0;
}

header .header_bar {
    display: flex;
    padding: 10px 0;
}

header .header_title {
    font-size: 1.375em;
    line-height: 1.875em;
    font-family: 'Segoe UI';
}

header .header_bar a:focus-visible {
    outline: #000 solid 2px;
    outline-offset: 2px;
}

header .header_bar a:first-child {
    position: relative;
    margin-right: 20px;
}

header .header_bar a:first-child:before {
    position: absolute;
    content: '';
    top: 0;
    right: -10px;
    height: 100%;
    width: 1px;
    background-color: black;
}

.top_nav_section {
    background-color: #FBB800;
}

nav#nav {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
}

nav#nav * {
    box-sizing: border-box;
}

nav#nav h4 {
    margin: 0;
}

nav#nav a {
    display: block;
    text-decoration: none;
    color: #000;
}

nav#nav .nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    justify-content: flex-end;
}

nav#nav .nav-item {
    position: relative;
    color: #000;
    height: 100%;
    transition: background 0.2s ease;
    padding: 30px 10px;
    margin: 0 20px;
}

nav#nav .nav-item:nth-child(2) {
    padding: 30px;
}

nav#nav .nav-item:nth-child(2) .sub-nav-group li {
    padding: 0 10px 0 20px;
}

nav#nav .menu-item-type-custom > a {
    text-transform: uppercase;
}

nav#nav .nav-item:first-child {
    border-left: none;
}

nav#nav .nav-item:last-child {
    border-right: none;
}

nav#nav .nav-item.selected {
    /*background: white;*/
    /*border: 1px solid #000;*/
}

nav#nav .nav-item > a.focus:focus-visible {
    /*background: white;*/
    outline: #000 solid 2px;
    outline-offset: 8px;
    transform: scaleY(1);
    letter-spacing: 0em;
}

nav#nav .nav-item .sub-nav a:focus-visible {
    color: #FBB800;
}

nav#nav .nav-item > a {
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
}

nav#nav .nav-item a:hover {
    transform: scaleY(1);
    letter-spacing: 0em;
}

nav#nav .nav-item .sub-nav a:hover {
    font-weight: inherit;
}


nav#nav .sub-nav {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    /*padding: 10px;*/
    background: #FFF;
    width: 100%;
    z-index: 999;
}


nav#nav .sub-nav.align-right {
    left: auto;
    right: 0;
}

nav#nav .sub-nav-group {
    display: flex;
    flex-direction: column;
    padding-left: 0px;
    text-align: left;
    width: 100%;
}

nav#nav .sub-nav-group li {
    position: relative;
    list-style: none;
    padding: 0 10px;
}

nav#nav .sub-nav-group li:hover {
    background-color: #FBB800;
}


nav#nav .sub-nav-group li a {
    padding: 10px 0;
}


nav#nav .nav-item > a.focus:focus-visible ~ .sub-nav,
nav#nav .sub-nav.open {
    display: table;
}

nav#nav li.header {
    margin-bottom: 5px;
}

nav#nav li.header ~ li:before {
    content: "";
}

/*section_banner*/
.section_banner .bg {
    padding-bottom: 32%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.section_banner .bg:before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;

}


.section_banner .main_title {
    max-width: calc(100% - 40px);
    position: absolute;
    top: 15%;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    color: #FFFFFF;
}

.section_banner .main_title h1 {
    font-weight: 300;
}

.section_banner .main_title h1 strong {
    font-weight: 600;
}

@media (min-width: 1441px) {

    .section_banner .main_title {
        max-width: 60%;
    }

}

.secondary_nav {
    margin-top: -4vh;
    z-index: 1;
    position: relative
}


.secondary_nav_menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    justify-content: center;
}

.secondary_nav .secondary_nav_item {
    background-color: #FBB800;
    margin: 0 15px;
    transition: all 0.3s;
    max-width: 305px;
    min-height: 110px;
    display: flex;
    align-items: center;
}

.secondary_nav .secondary_nav_item a {
    padding: 15px 20px 15px 30px;
    font-size: 1em;
    line-height: 1.1875em;
    text-transform: uppercase;
    color: black;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
}

.secondary_nav .secondary_nav_item a:focus-visible {
    outline: #000 solid 3px;
    outline-offset: 0px;
}

.secondary_nav .secondary_nav_item a .icon {
    max-width: 90px;
    margin-right: 15px;
    position: relative;
}

.secondary_nav .secondary_nav_item a svg,
.secondary_nav .secondary_nav_item a img {
    min-width: 50px;
    z-index: 1;
    opacity: 1;
}

.secondary_nav .secondary_nav_item a svg,
.secondary_nav .secondary_nav_item a img.hover {
    position: absolute;
    left: 0;
    top: 0;
    /*display: none;*/
    z-index: -1;
    opacity: 0;
}

.secondary_nav .secondary_nav_item:hover img {
    z-index: -1;
    opacity: 0;
}

.secondary_nav .secondary_nav_item:hover img.hover {
    z-index: 1;
    opacity: 1;
}

.secondary_nav .secondary_nav_item:hover {
    background-color: #000;
}

.secondary_nav .secondary_nav_item:hover a {
    color: #FBB800;
}

.secondary_nav .secondary_nav_item:hover svg path {
    stroke: #FBB800;
}

.secondary_nav .secondary_nav_item a span {
    max-width: 125px;
}

#aula_image_section img {
    width: 100%;
}

#contact .content_box {
    max-width: 86%;
}

.navbar-nav ul {
    list-style: none;
}

.navbar-nav {
    margin: 10px 0;
}

.navbar-nav li a {
    text-transform: uppercase;
    font-weight: bold;
}

.navbar-nav li.disable > a {
    pointer-events: none;
}

.navbar-nav li a {
    color: black !important;
    padding: 10px 0;
    display: block;
}

.navbar-nav li .sub-menu {
    margin-left: 35px;
    list-style: none;
}

.navbar-nav li .sub-menu a {
    text-transform: inherit;
    font-weight: 500;
}

button.navbar-toggler {
    color: #000 !important;
    border-color: #000 !important;
}

button:focus {
    outline: 1px dotted;
    outline: 1px solid #000;
}

@media (min-width: 280px) and (max-width: 1440px) {
    .container {
        max-width: calc(100% - 30px);
        padding: 0 10px;
    }
}

@media (min-width: 992px) and (max-width: 1440px) {


    header .header_title {
        font-size: 1.125em;
    }

    nav#nav .nav-item > a {
        font-size: 16px;
    }

    nav#nav .nav-item {
        margin: 0 10px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .section_banner .main_title {
        top: 10%;
    }

    .section_banner .bg {
        padding-bottom: 30%;
    }

    .secondary_nav_menu li {
        width: 44%;
        margin: 15px !important;
    }
}

@media (min-width: 481px) and (max-width: 991px) {
    .secondary_nav_menu {
        flex-wrap: wrap;
        justify-content: center;
    }


    body.home h1 {
        font-size: 1.85em;
        line-height: 50px;
    }

    nav#nav .nav-item > a {
        font-size: 16px;
    }

    nav#nav .nav-item {
        padding: 30px 0px;
        margin: 0 10px;
    }

    nav#nav .nav-menu {
        justify-content: center;
    }

    header .header_title {
        font-size: 1em;
        line-height: 2em;
        justify-content: center;
        margin: 15px 0 0 0;
    }

    body.home h2, h1 {
        font-size: 1.5em;
        line-height: 1.1;
    }

    [role="rowgroup"] [role="row"] span {
        padding: 5px;
    }

    .secondary_nav .secondary_nav_item a {
        padding: 10px;
    }

    .secondary_nav .secondary_nav_item a span {
        max-width: 100%;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .secondary_nav_menu li {
        width: 100%;
        margin: 5px !important;
    }

    .section_banner .main_title {
        top: 7%;
    }

    .section_banner .bg {
        padding-bottom: 40%;
    }

    .secondary_nav_menu {
        width: 100%;
    }

    .secondary_nav .secondary_nav_item a span {
        max-width: 100%;
        text-align: right;
    }

    .secondary_nav_menu {
        justify-content: center;
    }

    .secondary_nav .secondary_nav_item {
        margin: 0 auto;
    }

    #info_section img {
        margin-bottom: 30px;
    }
}

@media (min-width: 280px) and (max-width: 480px) {
    .container {
        max-width: calc(100% - 10px);
        padding: 0 5px;
    }

    .secondary_nav {
        margin-top: 15px;
        z-index: 1;
        position: relative;
    }

    body.home h1 {
        font-size: 2em;
        line-height: 1.1;
    }

    body.home h2, h1 {
        font-size: 1.625em;
        line-height: 1.1;
    }

    section,
    #info_section img {
        margin-bottom: 30px;
    }

    .secondary_nav .secondary_nav_item {
        min-height: auto;
    }

    .secondary_nav .secondary_nav_item a span {
        max-width: 100%;
        text-align: right;
    }

    .section_banner .bg {
        padding-bottom: 70%;
    }

    .secondary_nav .secondary_nav_item a {
        padding: 10px;
        font-size: 14px;
        line-height: 1.1;
    }

    .secondary_nav_menu {
        width: 100%;
    }

    .secondary_nav_menu {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .secondary_nav_menu li {
        width: 100%;
        margin: 5px auto !important;
    }

    header .header_title {
        font-size: 14px;
        line-height: 1em;
        justify-content: center;
        margin: 15px 0 0 0;
    }

    header .row {
        margin: 0;
    }

    #info_section img {
        margin-bottom: 30px;
    }

    #contact .content_box {
        max-width: 100%;
    }
}

@media (min-width: 280px) and (max-width: 991px) {
    .logo_footer img {
        max-width: 90px;
    }
}

@media (min-width: 280px) and (max-width: 384px) {
    body,
    a {
        font-size: 14px !important;
    }

    body.home h1 {
        font-size: 20px;
        line-height: 1.1;
    }

    #contact .content_box {
        max-width: 100%;
    }

    #info_section img {
        margin-bottom: 30px;
    }

    .secondary_nav .secondary_nav_item a .icon {
        display: none;
    }

    .secondary_nav .secondary_nav_item a span {
        text-align: initial;
    }

    [role="rowgroup"] [role="row"] span {
        padding: 5px;
    }

    header {
        overflow: hidden;
    }

    .file_item img {
        margin-right: 0.5em;
        max-width: 20px;
        position: absolute;
        left: -25px;
        top: 1px;
    }

    .header_bar img {
        max-width: 60% !important;
    }

    footer .row {
        margin: 0 15px;
    }

    footer .row .side {
        padding: 0;
    }

    #list_files .group_files, #list_files {
        padding: 0;
    }

    #info_section .side .content_box {
        max-width: 100%;
    }
}


.accordion_panel {
    display: none;
}

@media (max-width: 991px) {
    .grid__aside {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    body.single .view {
        margin: 2vh 0;
    }

    .view-header,
    .grid__main {
        display: none;
    }

    .sigle_banner_image {
        height: 100px;
    }

    .accordion {
        transition: 0.4s;
        border-radius: 8px !important;
        cursor: pointer;
    }

    .accordion_panel {
        display: none;
        width: 100%;
        font-size: 14px;
        overflow-x: auto;
        padding: 30px 10px;
        margin-top: 15px;
        background-color: #FFFFFF;
    }

    .accordion_panel .programs_header,
    .accordion_panel .programs_content {
        min-width: 580px;
    }

    .accordion_panel .diploma_header div {
        margin-top: 15px;
    }

    .accordion_panel .sub_title_header {
        font-size: 12px;
    }

    .programs .row .item {
        padding: 3px;
    }

    .programs .programs_content .row,
    .accordion_panel .row {
        margin: 0;
        width: 100%;
    }

    .accordion_panel .programs .row .item,
    .accordion_panel .title_header,
    .accordion_panel .diploma_header,
    .accordion_panel .sub_title_eu_header,
    .accordion_panel .subject_header, .accordion_panel .sub_title_header {
        padding: 3px;
    }


    li.accordion.active_acc .accordion_panel,
    .accordion_panel.active_acc {
        display: block;
    }

    .programs .programs_content > .row:last-child {
        border-radius: 0 0 8px 8px;
    }

    .programs .programs_nav_tabs li.accordion {
        border-top: none;
        border-bottom: 1px solid #707070;
    }

    .programs .programs_nav_tabs li.active {
        color: #3A3A3A;
        background-color: transparent;
    }

    .programs .programs_nav_tabs li.accordion:first-child {
        border-top: 1px solid #707070 !important;
    }

    .programs .programs_nav_tabs li.accordion.active_acc {
        background-color: #FBB800;
        color: #FFFFFF;
        border-radius: 8px 8px 0 0 !important;
        border-bottom: none;
        border-top: none;
    }

    .programs .programs_nav_tabs {
        flex-direction: column;
    }

    .programs_content > .row:last-child .row:last-child .item:last-child {
        border-radius: 0 0 8px 8px;
    }

    #section4 .language_courses .et_pb_tabs {
        overflow-x: auto;
    }
}

/*Mapa strony*/

#mapa_strony {
    margin: 5vh 0;
}

#mapa_strony ul {
    list-style: none;
}

#mapa_strony ul li {
    margin: 15px 0;
}

#mapa_strony .main_link.disable > a {
    pointer-events: none;
}

#mapa_strony .main_link > a {
    text-transform: uppercase;
}

#mapa_strony .sub_link {
    margin-left: 25px;
}

#mapa_strony .sub_sub_link {
    margin-left: 25px;
}


