/* List articles */

.list-articles .views-row {
    display: flex;
    width: 100%;
    border-bottom: 1px dotted #c2c2c2;
    padding-bottom: 20px;
    margin-bottom: 0;
    position: relative;
    padding-top: 20px;
}

.list-articles .views-row.past,
.pasts .pics {
    background-color: black;
}

.list-articles .left {
    display: flex;
    width: 30%;
    position: relative;
    justify-content: center;
    margin: 0 20px 0 0;
}

.list-articles .right {
    width: calc(70% - 20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.list-articles.with-counter .right {
    justify-content: flex-start;
}

/*set counter*/
.list-articles.with-counter {
  counter-reset: row-counter;
}

.list-articles.with-counter .right::before {
  counter-increment: row-counter;
  content: counter(row-counter) "";
  font-weight: bold;
  font-size: 50px;
  color: var(--blue);
  line-height: 1em;
  margin-bottom: 25px;
}

.list-articles .location,
.list-articles .date {
    color: #999;
}

.list-articles .views-field-field-article-type {
    position: absolute;
    top: 15px;
    left: 15px;
}

.list-articles .views-field-field-image,
.list-articles .picture {
    width: 100%;
    max-width: 320px;
}

.list-articles .picture {
    display: flex;
    align-items: center;
}

.list-articles .picture a {
    display: block;
    background-color: #c2c2c2;
    width: 100%;
}

.list-articles.team .picture a {
    border-radius: 10px;
    overflow: hidden;
}

.list-articles .postitle {
    font-weight: bold;
}

.list-articles .description,
.list-articles .jobtitle {
    font-size: 15px;
    line-height: 1.6em;
}

.list-articles .picture .empty {
    background-color: white;
    display: block;
}

.list-articles .created-comment {
    border: none;
}

.list-articles .created-comment .comment-count {
    float: none;
    padding-left: 20px;
}

.list-articles .views-row .title {
    padding: 10px 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.5em;
}

.list-articles .views-row .title,
.list-articles .views-row .title a {
    color: #000;
}

.list-articles .views-row.past .title,
.list-articles .views-row.past .title a {
    color: white;
}

.list-articles .views-row .title a:hover {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #eb4735;
    line-height: 1;
}

.list-articles .views-row .views-field-body {
    color: #666;
    padding-bottom: 30px;
}

.team .view-header {
    margin-bottom: 20px;
}

@media only screen and (max-width:991px) {
.list-articles.with-counter .right::before {
    font-size: 35px;
    margin-bottom: 10px;
}
}

@media only screen and (max-width:530px) {
    .list-articles .views-field-field-category {
        display: none;
    }

    .list-articles.with-counter .views-row {
        align-items: flex-start;
    }
}


.list-articles .pasts:not(:has(.views-row)) {
    display: none;
}

.pasts-header {
    margin-bottom: 0;
    cursor: pointer;
}


.pasts-header .text {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 20px;
    padding: 5px 5px 5px 20px;
    background-color: var(--transp_gray);
    color: white;
}

@media only screen and (max-width:520px) {
    .pasts-header .text {
        font-size: 14px;
    }
}

.pasts .pics {
    display: flex;
    padding-bottom: 20px;
    padding: 10px 0;
}

.pasts-header.ui-state-active .pics {
    height: 0;
    padding: 0;
    overflow: hidden;
}

.pasts .pics {
    overflow: hidden;
}

.pasts .pics img {
    width: 80px;
    height: 80px;
    display: block;
    margin-right: 10px;
}

.pasts .pics img:first-child {
    margin-left: 10px;
}

.pasts .pics img:last-child {
    margin-right: 0;
}

@media only screen and (max-width:1199px) {
    .pasts .pics img {
        width: 66px;
        height: 66px;
    }

    .pasts .pics img {
        margin-right: 7px;
    }
}

@media only screen and (max-width:991px) {
    /*.pasts .pics img:nth-child(7),
    .pasts .pics img:nth-child(8),
    .pasts .pics img:nth-child(9)
    {
        display: none;
    }*/
    
}
