/*OVERRIDES*/

body {
    background: white;
    display: block !important;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
    font-family: 'Poppins', sans-serif !important;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif !important;
}

h4 {
    color: rgba(0,0,0,1) !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    margin-bottom: 1rem;
}

p {
    line-height: 23pt;
    font-size: 11.5pt;
    color: rgba(0,0,0,0.6);
}

.edit-link {
    display: none;
}

.dropdown-toggle::after {
    margin-left: 7px !important;
    top: 2px !important;
    position: relative !important;
}

.dropdown-menu {
    min-width: 20px !important;
}

.navbar-brand {
    position: relative;
    z-index: 1001;
}

/* HEADER */

header#masthead {
    background-color: #FCF6F1 !important;
    box-shadow: none !important;
}

.nav-link {
    color: black;
    font-size: 12px;
    border-bottom: 2px solid transparent;
    margin: 0 20px;
    transition-duration: 0.5s;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.nav-link:hover {
    color: black;
    transition-duration: 0.5s;
}

li:hover .nav-link:after,
li.active .nav-link:after {
    content: ' ';
    width: 25px;
    height: 2px;
    background: #FFCABC;
    display: block;
    position: absolute;
    margin-top: 5px;
}

.home .nav-link,
.home .nav-link:hover{
    color: black;
}

.nav-item .dropdown-item {
    font-family: 'Poppins', sans-serif;
    line-height: 2;
}

@media screen and (max-width: 991px) {
    #masthead {
        padding: 0 !important;
    }

    li.active .nav-link {
        border-bottom: 0;
        font-weight: bold;
    }
}

/* BREADCRUMBS */

.breadcrumbs {
    display: none;
}

.breadcrumbs i {
    color: #cacaca;
    margin: 0 14px;
    font-size: 10px;
}

.breadcrumbs span a {
    color: #cccccc;
    font-weight: 600;
    font-size: 12px;
    font-family: 'Helvetica', Arial, serif;
}

.breadcrumbs span a:hover {
    text-decoration: none;
}

.breadcrumbs span a.current-item {
    color: #e74c3c;
}

@media screen and (max-width: 991px) {
    .breadcrumbs span a {
        color: #555555;
    }

    .breadcrumbs i {
        color: #555555;
    }
}

/* CONTENT */

#content.site-content {
    padding: 0 !important;
}

.page-content, .entry-content, .entry-summary {
    margin: 0 !important;
}

.full-header {
    padding-top: 40px;
    padding-bottom: 40px;
    margin-bottom: 40px;
    background: #FCF6F1 !important;
}

@media screen and (min-width: 1100px) {
    .container {
        width: 1024px !important;
    }
}


/* FOOTER */

.site-footer {
    background: transparent;
    padding-bottom: 40px;
}

.site-footer a .fab,
.site-footer a .fa {
    font-size: 25px;
    color: black;
}

.site-footer a {
    margin-right: 20px;
}

/* HOME */

body.home {
    background: #FCF6F1;
}

body.home footer {
    display: none;
}

body.home #content {
    width: 90%;
    max-width: 750px;
    margin: 100px auto;
}

body.home #content img {
    width: 100%;
}

body.home #content .home-buttons {
    text-align: right;
}

body.home #content .home-buttons a {
    background: #fc4103;
    color: white;
    font-size: 15px;
    padding: 15px 35px;
    font-weight: 400;
    text-transform: uppercase;
    margin-top: 30px;
    margin-left: 15px;
    display: inline-block;
    border-radius: 5px;
    letter-spacing: 2px;
}

/* CONTACT */

body.page-id-1556 {
    background: #FCF6F1;
}

body.page-id-1556 .entry-content {
    margin: 100px auto !important;
}

body.page-id-1556 .wp-image-1583 {
    max-width: 300px;
    float: right;
}


body.page-id-1556 .contact-data {
    margin-top: 28px;
}


body.page-id-1556 .contact-data .docedu-logo img {
    width: 150px;
    margin-bottom: 20px;
}

body.page-id-1556 .contact-data .poland-logo img {
    width: 300px;
    margin-top: 40px;
}


body.page-id-1556 .contact-data p {
    font-size: 20px;
}

body.page-id-1556 .contact-data h4 {
    font-size: 22px;
    font-weight: 500;
}

body.page-id-1556 .container > .wp-block-columns .wp-block-column:nth-child(1) {
    flex-basis: calc(40% - 16px);
}

body.page-id-1556 .container > .wp-block-columns .wp-block-column:nth-child(2) {
    flex-basis: calc(60% - 16px);
}


/* PROGRAMY */

body.page-id-1554 {
    background: #FCF6F1;
}


body.page-id-1554 .entry-content {
    margin: 100px auto !important;
}

body.page-id-1554 table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

body.page-id-1554 table td {
    padding: 35px 0;
    border-bottom: 2px solid #FFCABC;
    font-size: 18px;
}

body.page-id-1554 table strong {
    font-weight: 600;
    font-size: 16px;
}


body.page-id-1554 table a {
    color: black;
    opacity: 0.5;
}



/* IDEA */

body.page-id-1546 .wp-block-media-text {
    margin-top: 80px;
    grid-template-columns: 40% 60%;
    margin-bottom: 60px;
}

body.page-id-1546 .wp-block-media-text > figure > img {
    width: 330px;
}

body.page-id-1546 .wp-block-media-text .wp-block-media-text__content {
    padding: 0 !important;
}

body.page-id-1546 .wp-block-media-text.has-media-on-the-right {
    grid-template-columns: 60% 40%;
}

body.page-id-1546 .has-media-on-the-right img {
    float: right;
}

/* TUTORZY */

body.page-id-1550 .tutors-image-box,
body.parent-pageid-1550 .tutors-image-box {
    position: relative;
    top: 30px;
}

body.page-id-1550 .tutors-image-box img,
body.parent-pageid-1550 .tutors-image-box img {
    max-width: none;
    width: calc(100% + 100px);
    margin-left: -50px;
}

body.page-id-1550 .wp-block-columns a,
body.parent-pageid-1550 .wp-block-columns a {
    line-height: 23pt;
    font-size: 13.5pt;
    color: rgba(0,0,0,0.6);
    position: relative;
}

body.page-id-1550 .wp-block-columns a:after,
body.parent-pageid-1550 .wp-block-columns a:after {
    content: " >";
}


body.page-id-1550 .wp-block-columns h4,
body.parent-pageid-1550 .wp-block-columns h4 {
  margin-bottom: 20px !important;
  margin-top: 50px !important;
}

body.page-id-1550 .wp-block-columns .bio,
body.parent-pageid-1550 .wp-block-columns .bio {
    margin-top: 50px !important;
    background: #FC4103;
    color: white;
    padding: 25px;
    border-radius: 25px;
}

body.page-id-1550 .wp-block-columns .bio .wp-block-image,
body.parent-pageid-1550 .wp-block-columns .bio .wp-block-image {
    margin-bottom: 30px;
}

body.page-id-1550 .wp-block-columns .bio p,
body.parent-pageid-1550 .wp-block-columns .bio p {
    color: white !important;
    padding: 0px;
}

body.page-id-1550 .full-header,
body.parent-pageid-1550 .full-header {
    padding-bottom: 0px;
    padding-top: 0px;
}

body.page-id-1550 .wp-block-columns p.active a,
body.parent-pageid-1550 .wp-block-columns p.active a {
    line-height: 23pt;
    font-size: 13.5pt;
    color: #f00;
    font-weight: 500;
}

body.page-id-1550 .wp-block-columns a:hover,
body.parent-pageid-1550 .wp-block-columns a:hover {
    line-height: 23pt;
    font-size: 13.5pt;
    color: #f00;
}


body.page-id-1550 .container > .wp-block-columns .wp-block-column:nth-child(1),
body.parent-pageid-1550 .container > .wp-block-columns .wp-block-column:nth-child(1) {
    flex-basis: calc(40% - 16px);
}

body.page-id-1550 .container > .wp-block-columns .wp-block-column:nth-child(2),
body.parent-pageid-1550 .container > .wp-block-columns .wp-block-column:nth-child(2) {
    flex-basis: calc(60% - 16px);
}

/* PROJEKTY */


body.page-id-1548 {
    background: #FCF6F1;
}

body.page-id-1548 .wp-block-columns.first-columns {
    padding-top: 80px;
}

body.page-id-1548 .wp-block-columns.first-columns h4 {
    margin-bottom: 30px !important;
    font-size: 20px !important;
}

body.page-id-1548 .wp-block-columns.first-columns a {
    line-height: 23pt;
    font-size: 13.5pt;
    color: rgba(0,0,0,0.6);
}

body.page-id-1548 .wp-block-columns.first-columns a:hover {
    line-height: 23pt;
    font-size: 13.5pt;
    color: #f00;
}

body.page-id-1548 .wp-block-columns.first-columns > .wp-block-column:nth-child(1) {
    flex-basis: calc(35% - 16px);
}

body.page-id-1548 .wp-block-columns.first-columns > .wp-block-column:nth-child(2) {
    flex-basis: calc(65% - 16px);
}


.projects-list .wp-block-column .wp-block-image:nth-child(2) {
    display: none;
}

.projects-list .wp-block-column.hovered .wp-block-image:nth-child(2) {
    display: block;
}

.projects-list .wp-block-column.hovered .wp-block-image:nth-child(1) {
    display: none;
}


/* PROJEKT */


body.page-template-project-page {
    background: #FCF6F1;
}

body .video iframe {
    width: 100%;
    height: 70vh;
    background: black;
}

body .video #player {
    width: 100% !important;
    max-width: none !important;
    height: 70vh !important;
}

body.page-template-project-page p.entry-title {
    color: #f00 !important;
}

body.page-template-project-page .back-link {
    line-height: 23pt;
    font-size: 12.5pt;
    color: rgba(0,0,0,0.6);
    font-weight: bold;
    display: block;
    margin-bottom: 30px;
}

body.page-template-project-page .project-description {
    padding-top: 80px;
}

/* fixes */

@media screen and (min-width: 1200px) {

    body.page-id-1550 .entry-content ,
    body.parent-pageid-1550 .entry-content,
    body.page-id-1548 .entry-content {
        padding-bottom: 200px;
    }

    .body.page-id-53 .entry-content {

    }
}

@media screen and (max-width: 1200px) {
    #masthead {
        padding-top: 20px !important;
    }

    .navbar-nav .nav-link {
        margin: 0;
        padding: 14px !important;
        border: 0 !important;
        text-align: center;
    }

    li:hover .nav-link:after,
    li.active .nav-link:after {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    body.home #content .home-buttons {
        text-align: center;
    }

    body.home #content .home-buttons a {
        width: 250px;
        margin-top: 15px;
    }

    body.page-id-1546 .wp-block-media-text > figure > img {
        width: 220px;
    }
}

@media screen and (max-width: 1000px) {

    body.page-id-1546 .wp-block-media-text {
        display: block;
    }

    body.page-id-1546 .has-media-on-the-right img {
        float: none;
    }

    body.page-id-1546 .wp-block-media-text .wp-block-media-text__media {
        margin-bottom: 40px;
        text-align: center;
    }
}

strong {
    font-weight: 500 !important;
}

body.page-id-1548 .entry-content img {
    width: 100% !important;
}