/*OVERRIDES*/

header#masthead {
    background-color: transparent !important;
    box-shadow: none;
    margin-top: 30px;
    margin-bottom: 30px;
}

.bg-custom {
    background: #fcf6f1;
}

.bg-custom-white {
    background: #fff;
}

.bg-custom-dark-1 {
    background: #fecb7a;
}

.bg-custom-dark-2 {
    background: #fece7a;
}

.bg-edition-2021 {
    background: #f04d24;
}

.bg-edition-2021 h3,
.bg-edition-2021 p {
    color: white !important;
}

@-webkit-keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.img-responsive {
    display: block;
}

.img-responsive img {
    width: 100% !important;
}

body {
    background: white;
    display: block !important;
    font-family: 'Lora', serif;
    overflow-x: hidden;
    color: #4A4A4A;
}

body:not(.page-id-36) .entry-content a {
    color: #3b8ee2;
    text-decoration: underline;
}

body.page-id-36 .entry-content a {
    color: #373a3c;
    text-decoration: underline;
}

h1, h2, h3, h4, h5 {
    font-family: 'Lora', serif;
}

.entry-content h2:not(:first-child) {
    padding-top: 90px;
}

footer#colophon {
    background-color: black !important;
    opacity: 0.8;
}

.site-info {
    margin-top: 10px;
}

#primary {
    min-height: 350px;
}

#general-overlay {
    position: fixed;
    width: 45%;
    top: -30px;
}

#general-overlay-home {
    position: absolute;
    width: 100%;
}

#main {
    margin-top: 100px;
    opacity: 0;
    -webkit-transition-duration: 2s;
    -moz-transition-duration: 2s;
    -ms-transition-duration: 2s;
    -o-transition-duration: 2s;
    transition-duration: 2s;
}

.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;
}

.wp-block-separator.big {
    left: -20px;
    position: relative;
    width: calc(100% + 40px);
    border: 1px dashed rgba(0,0,0,0.2);
    margin-top: 50px;
    margin-bottom: 0px;
}


/* HEADER */

.nav-link {
    font-family: 'Lora', serif;
    color: #4A4A4A;
    font-size: 13px;
    border-bottom: 2px solid transparent;
    margin: 0 10px;
    transition-duration: 0.5s;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-transform: uppercase;
}

.nav-link:hover {
    color: #3b8ee2;
}

li.active .nav-link {
    color: #3b8ee2;
}

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

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

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

    #content .container {
        padding: 0 25px;
    }
}

/* TYPO */

blockquote {
    border-left: 2px solid #3b8ee2;;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 5px;
}

/* BREADCRUMBS */

.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: #3b8ee2;
}

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

    .breadcrumbs i {
        color: #555555;
    }
}


.docu-logo img {
    margin-top: -10px;
}

@media screen and (max-width: 768px) {
    .credits {
        text-align: center !important;
    }

    .docu-logo {
        text-align: center !important;
    }
}

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

    .dropdown-toggle {
        position: relative;
        z-index: 2;
    }

    .dropdown-menu.show {
        top: -10px;
        z-index: 1;
        width: calc(100% + 10px);
        padding-top: 50px;
        left: -5px;
        border-radius: 0;
        border-color: whitesmoke;

        background: #f7f7f7;

        -webkit-box-shadow: 0px 1px 2px 0px rgba(117,117,117,0.25);
        -moz-box-shadow: 0px 1px 2px 0px rgba(117,117,117,0.25);
        box-shadow: 0px 1px 2px 0px rgba(117,117,117,0.25);

        font-size: 13px;
    }

    .dropdown-item {
        padding: 5px 17px;
        font-size: 11px;
    }
}

.navbar-toggler:focus {
    outline: none !important;
}

@media screen and (max-width: 1200px) {
    #main-nav {
        padding-top: 50px;
    }

    .navbar-toggler {
        z-index: 1001;
    }

    .navbar-toggler:not(.collapsed) .fa {
        color: #4A4A4A !important;
    }

    #main-nav a {
        color: #4A4A4A !important;
        padding-left: 15px;
        font-size: 12px;
        border: none !important;
    }

    #main-nav .nav-item .dropdown-item {
        margin-bottom: 10px;
    }
}


.child-list ul {
    padding: 0px;
}

.child-list ul li {
    list-style: none;
    display: block;
    box-sizing: border-box;
}

.child-list ul li a {
    font-family: 'Lora', serif;
    display: block;
    width: 100%;
    padding: 20px;
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 20px;
    color: #1f1f1f;
    font-size: 16px;
}


.bio-image img {
    max-width: 200px;
}



.niep-logo {
    width: 60%;
}

.trailer-button a {
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 50px solid #e2d13a;
    font-size: 0px;
    position: relative;
    top: -175px;
    left: 50%;
    margin-left: -25px;
}

.partner-flag img {
    height: 80px;
    margin-left: 3px;
}

footer {
    display: none;
}



/* new styles fot new YE */

a.back {
    color: #3b8ee2;
}

a.back:hover {
    color: #3b8ee2;
    text-decoration: none;
}


.tutors-list {
    padding-bottom: 40px;
}

.tutors-list .tutor-box {
    padding: 40px 0;
}

.tutors-list .tutor-box .tutor-image img {
    height: 200px;
    width: auto;
    display: block;
    margin: 10px auto;
}

.tutors-list .tutor-box a {
    font-family: 'Lora', serif;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    color: #4A4A4A;
}

.tutors-list .tutor-box a:hover {
    color: #3b8ee2;
    text-decoration: none;
}

.tutors-list .tutor-box a:after {
    content: " >";
}

@media screen and (max-width: 768px) {
    .tutors-list .tutor-image {
        display: none;
    }

    .tutors-list .tutor-box {
        text-align: left !important;
        padding: 5px 0 !important;

    }

    .tutors-list .tutor-box a {
        text-transform: none;
        font-weight: normal;
        font-size: 17px;
    }
}

.float-box {
    width: 220px;
    position: absolute;
    right: -100px;
    top: 270px;
}

.tutor-page {
    padding-bottom: 80px;
}



.tutor-page .tutor-image img {
    height: 200px;
    width: auto;
    margin: 0 auto;
    display: block;
}

.tutor-page .tutor-bio {
    margin-top: 155px;
}

.tutor-page .tutor-bio h2 {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    margin-bottom: 80px;
}

@media screen and (max-width: 768px) {
    .float-box {
        display: none;
    }

    .tutor-page .tutor-bio {
        margin-top: 60px;
    }

    .tutor-page .tutor-image img {
        display: initial;
    }
}

.projects-list {
    padding-top: 60px;
    padding-bottom: 80px;
}

.projects-list h4 {
    font-size: 16px;
    margin-bottom: 30px;
    font-weight: bold;
    letter-spacing: 1px;
}

.projects-list h4 span {
    color: #fe662c;
}

.projects-list ul {
    padding: 0px;
}

.projects-list ul li {
    list-style: none;
    padding: 8px 0;
    font-size: 14px;
    line-height: 22px;
}

.projects-list ul li span {
    text-transform: uppercase;
    letter-spacing: 1px;
}

.projects-list ul li a,
.projects-list ul li a:hover {
    color: #4A4A4A;
    text-decoration: none;
}

.current-edition {
    padding-top: 40px;
    padding-bottom: 40px;
}

@media screen and (min-width: 1000px) {
    .current-edition {
        padding-top: 40px;
        padding-bottom: 250px;
    }
}

.current-edition h4 {
    margin-top: 60px;
    margin-bottom: 80px;
}

.current-edition h4,
.edition-section h4  {
    color: #fe662c;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: bold;
}

.current-edition h4 span,
.edition-section h4 span {
    font-size: 32px;
}

.edition-section > b {
    margin-top: 80px;
    margin-bottom: 30px;
    display: block;
    letter-spacing: 1px;
}

.edition-section .projects-list {
    padding: 0 !important;
}

.edition-box {
    padding-top: 70px;
    padding-bottom: 70px;
}

.edition-box img {
    margin-bottom: 40px;
}

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

.custom-footer {
    padding-bottom: 40px;
}

.edition-teaser img {
    width: 80%;
    margin: 0 auto;
    display: block;
}

.edition-teaser h4  {
    color: #fe662c;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: bold;
    margin-top: 80px;
    margin-bottom: 60px;
}

.edition-teaser h4 span {
    font-size: 32px;
}

body.page-template-editions-view,
body.page-template-gallery-view {
    background: #fcf6f1;
}

.previous-boxes {
    padding: 40px 50px 70px;
}

.previous-boxes a img {
    width: 100%;
    margin: 0 auto;
}

.page-id-1550 h3 {
    font-size: 16px;
    margin-bottom: 30px;
    font-weight: bold;
    letter-spacing: 1px;
}

@media screen and (min-width: 768px) {
    .idea-teaser {
        margin-top: -200px;
    }
}


@media screen and (min-width: 768px) {
    .idea-teaser .row {
        position: absolute;
        top: 16vh;
        width: 800px;
        margin-left: 20%;
        right: 50px;
    }
}

@media screen and (min-width: 1000px) {
    .idea-teaser .row {
        position: absolute;
        top: 37vh;
        width: 1000px;
        margin-left: 50%;
        left: -500px;
    }
}


.idea-teaser p {
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 28px;
}


body.page-template-idea-view {
    background: #fcf6f1;
}


.page-template-idea-view .content-section {
    padding-top: 90px;
    padding-bottom: 90px;
    position: relative;
}

.page-template-idea-view .content-section img.illu {
    width: 85%;
    margin: 0 auto;
    margin-bottom: 40px;
}

.page-template-idea-view .content-section h3 {
    color: #fe662c;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: bold;
    margin-bottom: 70px;
}

.page-template-idea-view .content-section p {
    font-size: 14px;
    line-height: 24px;
}

.page-template-idea-view .content-section blockquote,
.page-template-idea-view .content-section blockquote p {
    font-size: 18px !important;
    padding: 0 !important;
    border: none !important;
    line-height: 27px !important;
}

.page-template-idea-view .floating-illu-1 {
    position: absolute;
    top: -30px;
    left: 10px;
    width: 60px;
}

.page-template-idea-view .floating-illu-2 {
    position: absolute;
    width: 150px;
    bottom: -150px;
    right: 15%;
}

.page-template-idea-view .floating-illu-3 {
    position: absolute;
    width: 100px;
    right: 0;
    top: 30px;
}

.project-page .project-description {

}

.project-page .project-description h4 {
    margin-top: 10px;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    font-size: 20px;
}


@media screen and (min-width: 1000px) {
    .project-page .project-description {
        padding-right: 60px;
        border-right: 1px solid #eee;
    }
}

.project-page .project-description h4 span {
    display: block;
    font-size: 16px;
    text-transform: none;
    margin-top: 5px;
    letter-spacing: 0;
    font-weight: normal;
}

.project-page .project-description .wp-block-image {
    margin-top: 10px;
}

.project-page .author-bio {
    margin-top: 33px;
}

.project-page .author-bio h2,
.project-page .author-bio h3 {
    color: #fe662c;
    font-size: 18px;
    letter-spacing: 1px;
    font-weight: bold;
    text-transform: uppercase;
}


.project-page .project-description blockquote,
.project-page .project-description blockquote p {
    padding: 0 !important;
    border: none !important;
    line-height: 27px !important;
    margin-bottom: 50px;
}

.project-page .author-bio p,
.project-page .project-description p {
    margin: 30px 0;
}

/* contact */

@media screen and (max-width: 768px) {
    .wp-image-1805 {
        display: none;
    }
}

.page-id-12 .wp-image-92 {
    margin-left: -10px;
    height: 120px;
}


.page-id-12 .wp-image-495 {
    height: 60px;
    margin-top: 40px;
    margin-left: -12px;
}

.page-id-12 .wp-image-493 {
    height: 80px;
    margin-top: 30px;
    margin-left: -20px;
}

/* partners */
@media screen and (max-width: 768px) {
    .page-id-1550 .wp-block-column:not(.last-column) {
        border-bottom: 1px solid #d1d1d1;
    }

    .page-id-1550 .wp-block-column {
        margin-bottom: 30px;
        padding-bottom: 50px;
        margin-top: 20px;
    }
}

.to-top {
    width: 50px;
    height: 50px;
    display: block;

    background: white;
    font-size: 20px;
    text-align: center;
    line-height: 43px;
    color: #fe662c;
    border-radius: 50%;
    float: right;
    text-decoration: none;
}

#gallery-1 img {
    border: 10px solid transparent !important;
}

a.play {
    position: relative;
    display: block;
}

a.play:before {
    content: "";
}

a.play:after {
    content: "";
    width: 100%;
    background: url("../images/play-layer.png");
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 100%;
    background-position: center center;
}