/* ==========================================================================
   Contest detail pages (rules inlined on the original photocontestDetail page)
   ========================================================================== */

.content-padding {
    padding: 10px 20px 0 20px !important;
}

.textNormal {
    font-size: 1rem;
}

/* Banner: resize and fit screen like original page */
.carousel-section .desktop-banner {
    width: 100%;
    height: auto !important;
    display: block;
}

.carousel-section .mobile-banner {
    width: 100%;
    height: auto !important;
    display: none;
}

@media (max-width: 768px) {
    .carousel-section .desktop-banner {
        display: none !important;
    }
    .carousel-section .mobile-banner {
        display: block !important;
        width: 100%;
        height: auto !important;
    }
}

/* Neutralise sony.com sharedApp CSS so the page matches the original */
#s-main-wrapper .container {
    width: auto;
}

#s-main-wrapper .container::before,
#s-main-wrapper .container::after {
    display: none;
}

#s-main-wrapper .workshop-name {
    font-weight: bold;
    line-height: normal;
}

#s-main-wrapper .collapsible {
    font-family: Arial;
    line-height: normal;
}

#s-main-wrapper .workshop-info-desc table {
    border-collapse: separate;
    border-spacing: 0;
}

/* Spacing left by the (login-only) vote block on the original page */
.workshop-container {
    padding-bottom: 30px;
}

/* Submit button at the end of the page */
.submit-section {
    text-align: center;
    margin-top: 30px;
}

#s-main-wrapper .submit-button {
    display: inline-block;
    min-width: 160px;
    padding: 10px 32px;
    border: 1px solid #000;
    border-radius: 4px;
    background-color: #fff;
    color: #000;
    font-family: 'sst-roman', sans-serif;
    font-size: 1rem;
    line-height: normal;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#s-main-wrapper .submit-button:hover,
#s-main-wrapper .submit-button:focus {
    background-color: #000;
    color: #fff;
    text-decoration: none;
}
