/* Old Contest styles */

.header__contest {
    margin-top: 60px;
    margin-bottom: 40px;
}
.header__contest__left {
    margin-bottom: 20px;
}

.title__section {
    margin: 0;
}

.old-contest .wrapper {
    max-width: 1200px;
}

.old-contest__header {
    border-bottom: 1px dotted black;
    border-top: 1px dotted black;
    padding: 1em 0;
}

.old-contest__title {
    margin-bottom: .2em;
}

.old-contest__version {
    font-size: 1em;
    flex-shrink: 0;
}

.old-contest__header .old-contest__version {
    display: none;
}

.old-contest__note {
    font-size: .8em;
    margin-top: 0;
}

.old-contest__note em {
    color: #727176;
}

.old-contest__version__item {
    align-items: center;
    background: #cdcdcd;
    border: .12em solid #cdcdcd;
    border-radius: 50%;
    color: white;
    display: inline-flex;
    font-weight: 700;
    height: 1.5em;
    justify-content: center;
    margin-right: .3em;
    position: relative;
    text-decoration: none;
    width: 1.5em;
    z-index: 1;
}

.old-contest__version__item .number {
    position: relative;
    z-index: 2;
}

.old-contest__version__item::after {
    border-top: .1em solid #cdcdcd;
    bottom: auto;
    content: '';
    height: 1px;
    left: calc(100% + 1px);
    line-height: 0;
    margin: auto;
    position: absolute;
    top: auto;
    width: .7em;
    z-index: 1;
}

.old-contest__version__item:last-of-type {
    margin-right: 0;
}

.old-contest__version__item:last-of-type::after {
    display: none;
}

.old-contest__version__item_active {
    background: #f59600;
    border-color: #f59600;
}

.old-contest__works {
    margin-top: 1em;
}

.old-contest__works__header {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.old-contest__works__header__title {
    color: #f59600;
    font-size: 1.2em;
    margin: 0;
    padding: 0 1em 0 0;
    text-transform: uppercase;
}

.old-contest__works__list {
    display: flex;
    flex-flow: column;
    margin-top: 1em;
}

.old-contest__work {
    background: white;
    border-radius: 5px;
    box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, .2);
    display: flex;
    flex-flow: column;
    margin-bottom: 1em;
}

.old-contest__work__picture {
    background: black;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    height: 180px;
    margin: 0;
    padding: 0;
    width: 100%;
    z-index: 1;
}

.old-contest__work__picture__link {
    display: block;
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
    z-index: 1;
}

.old-contest__work__picture__img {
    bottom: 0;
    height: auto;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 1;
}

.old-contest__work__category {
    background: #f59600;
    color: #fff;
    font-size: .7em;
    font-weight: 700;
    margin: 0;
    padding: .5em 1em;
    text-transform: uppercase;
}

.old-contest__work__details {
    padding: 1.5em 1em;
}

.old-contest__work__competitor {
    color: #f59600;
    font-size: .9em;
    font-weight: 700;
}

.old-contest__work__title {
    font-size: 1em;
    font-weight: 700;
    margin: .2em 0;
}

.old-contest__work__year,
.old-contest__work__technique,
.old-contest__work__dimensions {
    font-size: .9em;
}

.oldc__rrss {
    margin-top: 10px;
}
.oldc__rrss__icon {
    width: 22px;
    margin-right: 3px;
}

.oldc__card__semblanza {
    padding: 0;
    font-size: 14px;
    width: 240px;
    margin: auto;
    margin-top: 6px;
}
.oldc__card__bar {
    position: relative;
    border-bottom: 1px solid #ccc;
    width: 100%;
    height: 20px;
    background-color: #ebe8e8;
    border-radius: 10px;
    cursor: pointer;
}
.oldc__card__bar span {
    
}
.oldc__card__bar span::before {
    position: absolute;
    top: 10px;
    right: 20px;
    content: "";
    width: 10px;
    height: 2px;
    background-color: #000;
    transform: rotate(45deg);
    transition: all .5s ease-in-out;
}
.oldc__card__bar span::after {
    position: absolute;
    top: 10px;
    right: 14px;
    content: "";
    width: 10px;
    height: 2px;
    background-color: #000;
    transform: rotate(135deg);
    transition: all .5s ease-in-out;
}
.oldc__card__txt {
    display: none;
    animation: fade_in_show 0.5s
}
@keyframes fade_in_show {
     from {opacity: 0;}
     to {opacity: 1;}
}
.oldc__card__semblanza.open {
    border: 1px solid #e1dede;
    border-radius: 10px;
}
.oldc__card__semblanza.open .oldc__card__txt {
    display: block;
}
.oldc__card__semblanza.open span::before {
    transform: rotate(135deg);
}
.oldc__card__semblanza.open span::after {
    transform: rotate(45deg);
}
.oldc__card__txt {
    padding: 10px 16px;
    margin: 0;
}

.featured-works-btn,
.all-competitors-btn {
    margin: 1em auto;
    max-width: 374px;
}

.all-competitors-btn {
    margin-bottom: 2em;
}

.all-competitors__category__title {
    color: #333;
    font-size: 1.2em;
}

.all-competitors__list {
    display: flex;
    flex-flow: column;
}

.all-competitors__competitors {
    list-style: none;
    padding: 0;
}

.all-competitors__competitor {
    font-size: .9em;
}

.old-contest__subheader {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 30px;
}
.old-contest__subheader__left {
    margin-bottom: 20px;
}
h2.old-contest__subtitle {
    color: #f59600;
    margin: 0;
}
.old-contest__filter {
    background-color: #F8F8F8;
    border: 1px solid #000000;
    border-radius: 4px;
    padding: 3px;
    outline: none;
}
.oldc__picture {
    background-position: center;
    background-size: cover;
    background-image: url('https://s3.us-east-2.amazonaws.com/abiertolumen/static/works/thumbnails/ec235f305f9811e996230242ac130003_medium.jpg');
    width: 100%;
    height: 100%;
}
.oldc__picture__content {
    border: 4px solid #E1E1E1;
    padding: 6px;
    width: 260px;
    height: 340px;
    margin: auto;
}
.oldc__winners__item {
    margin-bottom: 50px;
}
.oldc__winners__cat {
    color: #f59600;
    font-weight: normal;
    text-align: center;
    margin: 6px;
}
.oldc__card {
    width: 240px;
    border: 1px solid #F5F5F5;
    border-radius: 10px;
    padding: 10px;
    -webkit-box-shadow: 2px 3px 6px -6px black;
    -moz-box-shadow: 2px 3px 6px -6px black;
    box-shadow: 2px 3px 6px -6px black;
    margin: auto;
    font-size: 14px;
    background-color: #fff;
}
.oldc__card p {
    margin: 0;
}
.oldc__card .subcategory {
    color: #000;
    font-weight: bold;
    font-size: 16px;
    text-align: left;
}

.oldc__honor {
    padding-bottom: 30px;
}
.oldc__honor__item {
    margin-bottom: 30px;
}
.oldc__honor__cat {
    color: #f59600;
    font-weight: normal;
    text-align: center;
    margin: 0;
    margin-top: 6px;
    margin-bottom: 6px;
}
.oldc__honor__card {
    width: 240px;
    border: 1px solid #F5F5F5;
    border-radius: 10px;
    padding: 10px 15px;
    -webkit-box-shadow: 2px 3px 6px -6px black;
    -moz-box-shadow: 2px 3px 6px -6px black;
    box-shadow: 2px 3px 6px -6px black;
    margin: auto;
    font-size: 14px;
    background-color: #fff;

}
.oldc__honor__card p {
    margin: 0;
}
.oldc__honor__card .subcategory {
    color: #000;
    font-weight: bold;
    font-size: 16px;
}

.old-contest__subtitle.honor {
    margin-bottom: 30px;
}

.oldc__edicion {
    padding-top: 60px;
}
.oldc__edicion.bg {
    background-color: #f2f2f2;
}

@media screen and (min-width: 360px) {
    .header__contest {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .header__contest__right {
        text-align: right;
    }
}


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

    .old-contest__work__picture {
        height: 240px;
    }

    .oldc__honor__winners {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .oldc__honor__item {
        margin-left: 15px;
        margin-right: 15px;
    }

}

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

    .old-contest__header {
        align-items: center;
        display: flex;
        justify-content: space-between;
        margin-top: .5em;
        padding: 1.5em 0;
        width: 100%;
    }

    .old-contest__header__instructions {
        width: 60%;
    }

    .old-contest__version {
        font-size: 2em;
    }

    .old-contest__version__item {
        margin-right: .6em;
    }

    .old-contest__header .old-contest__version {
        display: flex;
    }

    .old-contest__works__header {
        justify-content: center;
    }

    .old-contest__note {
        text-align: center;
    }

    .old-contest__works .old-contest__version {
        display: none;
    }

    .old-contest__works__title .number {
        display: inline-block;
        margin-right: .3em;
    }

    .old-contest__version__item::after {
        left: calc(100% + 3px);
    }

    .old-contest__works__list {
        flex-flow: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .old-contest__work {
        width: 44%;
    }

    .old-contest__work__picture {
        height: 168px;
    }

    .all-competitors__list {
        flex-flow: row;
        flex-wrap: wrap;
        justify-content: space-around;
        margin-top: 1em;
    }

    .all-competitors__category {
        width: 40%;
    }

}

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

    .old-contest__subheader {
        flex-direction: row;
        justify-content: space-between;
    }

    .old-contest__work {
        width: 32%;
    }

    .oldc__winners {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .oldc__honor__winners {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .oldc__honor__item {
        margin: 0;
        margin-bottom: 60px;
    }

}

@media screen and (min-width: 1000px) {
    .oldc__winners {
        justify-content: space-between;
    }
    .oldc__winners__item {
        display: flex;
        align-items: center;
    }
    .oldc__winners__info {
        margin-left: 10px;
        margin-right: 10px;
        width: 260px;
    }
    .oldc__card {
        width: 220px;
    }
    .oldc__winners__cat {
        text-align: left;
    }
    .oldc__card {
        font-size: 14px;
        margin: 0;
        padding: 16px;
    }
    .oldc__honor__card {
        font-size: 14px;
        padding: 16px;
    }
    .oldc__card__semblanza {
        width: 220px;
        margin: 0;
        margin-top: 6px
    }
    .oldc__card__semblanza.honor {
        width: 240px;
        margin: auto;
        margin-top: 6px;
    }
}

@media screen and (min-width: 1200px) {
    .oldc__honor__cat {
        font-size: 18px;
    }
    .oldc__honor__card .subcategory {
        font-size: 15px;
    }
    .header__contest__left {
        margin-bottom: 0;
    }
}

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

    .old-contest__works__list {
        margin-top: 2em;
    }

    .old-contest__work {
        width: 28%;
    }

    .old-contest__work__picture {
        height: 228px;
    }

    .old-contest__works__header__title {
        font-size: 1.5em;
        margin-top: 1em;
    }

}

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

    .all-competitors__category {
        width: 18%;
    }

}

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

    .old-contest__work {
        width: 18%;
    }

    .old-contest__work__picture {
        height: 215px;
    }

}