/**************/
/* ImageTitle */
/**************/

:root {
    --imagetitle-bg-color: #555555;
    --imagetitle-text-color: #ffffff;
    --imagetitle-font-size: 2rem;
    --imagetitle-font-family: inherit;
}

.photodashboard-image-title {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 400px;
    background-color: var(--imagetitle-bg-color);
}

.photodashboard-image-title .image-title-photo {
    flex: 1;
    width: 50%;
    overflow: hidden;
    position: relative;
}

.photodashboard-image-title .image-title-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
}

.photodashboard-image-title .image-title-panel {
    flex: 1;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photodashboard-image-title .image-title-title {
    color: var(--imagetitle-text-color);
    font-size: var(--imagetitle-font-size);
    font-family: var(--imagetitle-font-family);
    text-align: center;
    text-transform: uppercase;
    margin: 40px;
    display: inline-block;
}

.photodashboard-image-title span.boldError {
    font-weight: bold;
}

.photodashboard-image-title span.spanError {
    color: red;
}

@media (max-width: 767px) {
    .photodashboard-image-title {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .photodashboard-image-title .image-title-photo {
        height: 250px;
        width: 100%;
    }

    .photodashboard-image-title .image-title-panel {
        flex: 0;
        width: 100%;
    }
}
