.theme-project-header {
    margin-bottom: 30px;
    background-image: url('../../images/projects/diamonds/project-bg-diamonds.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 30px;
}

.theme-project-header  .theme-grid-row {
    margin: 0 auto;
    max-width: 1360px;
    align-items: center;
}

.theme-project-header > .theme-grid-row > .theme-grid-col {
    flex: 0 0 50%;
    max-width: 50%;
}

.theme-project-header > .theme-grid-row > .theme-grid-col:first-child {
    background-image: url('../../images/projects/diamonds/project-bg-diamond.png');
    background-repeat: no-repeat;
    background-position: center;
    height: 320px;
}

@media only screen and (max-width: 1100px) {
    .theme-project-header >.theme-grid-row >.theme-grid-col:first-child {
        display: none;
    }
}

.theme-project-sponsors {
    margin-bottom: 20px !important;
    justify-content: flex-start;
    align-items: center;
}

.theme-project-sponsors img {
    display: block;
    width: auto;
    height: 38px;
}

.theme-project-sponsors .theme-grid-col {
    margin-right: 30px;
} 

.theme-project-title {
    font-size: 60px;
    line-height: 60px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Source Sans Pro', sans-serif;
}

@media only screen and (max-width: 1100px) {
    .theme-project-header > .theme-grid-row > .theme-grid-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .theme-project-sponsors {
        justify-content: center;
    }

    .theme-project-sponsors .theme-grid-col {
        margin-right: 15px;
        margin-left: 15px;
        margin-bottom: 15px;
    }

    .theme-project-sponsors img {
        height: 30px;
    }

    .theme-project-title {
        font-size: 50px;
        line-height: 50px;
        text-align: center;
        justify-content: center;
    }
}

@media only screen and (max-width: 768px) {
    .theme-project-title {
        font-size: 40px;
        line-height: 40px;
    }
}


@media only screen and (max-width: 560px) {
    .theme-project-title {
        font-size: 35px;
        line-height: 35px;
    }
  
}

/* Content */

.theme-post-title, .theme-post-description, 
.project-label, .project-value, .theme-card-diamonds .theme-card-text {
    font-family: 'Roboto Slab', serif;
    font-weight: normal;
}

.project-label {
    font-size: 20px;
}

.project-value {
    font-size: 22px;
}

.theme-post-description, .project-value, .theme-card-diamonds .theme-card-text {
    font-weight: 600;
}

.diamond-description {
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    padding: 30px;
}

.diamond-description .theme-grid-col:not(:first-child) {
    margin-left: 50px;
}

.theme-card-diamonds .theme-card-image, .theme-card-diamonds .theme-card-text {
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
}

.diamond-thumbnail, .theme-card-diamonds .theme-card-image a  {
    width:220px;
    height:220px;
    border: 2px solid #cccccc;
    overflow: hidden;
    border-radius: 50% !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.theme-card-diamonds .theme-card-image a {
    width:160px;
    height:160px;
    padding: 0;
    min-width: auto;
}

@media only screen and (max-width: 1024px) {
    .project-thumbnail {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
  
    .diamond-description {
        justify-content: center;
        text-align: center;
    }
  
    .diamond-description .theme-grid-col {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
  
    .diamond-description .theme-grid-col:not(:first-child) {
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 10px;
        width: 100%;
    }
  
    .diamond-thumbnail {
        width:180px;
        height:180px;
    }
}

.theme-diamonds-row {
    max-width: 670px;
    margin: 0 auto var(--theme-margin);
    justify-content: space-between;
}

.theme-card-diamonds {
    flex: 0 0 calc(50% - var(--theme-margin));
    max-width: 50%;
    padding-bottom: var( --theme-padding );
}

@media only screen and (max-width: 560px) {
    .theme-card-diamonds {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.theme-card-diamonds .theme-card-items {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.project-single-readmore {
  width: 100%;
}

.project-single-readmore .wpdmi-columns {
  width: inherit;
  padding: 10px;
}

.project-single-readmore .card-article {
  padding: 0;
}

.project-single-readmore .wpdmi-columns-title:before {
  left: 0;
  right: 0;
}

.post-template-diamonds .sidebar {
  display: flex!important;
  flex-direction: row;
  flex: 0 0 33%;
}