.bg-care-support {
    height: 80vh;
    max-height: 850px;
}

.middle-content {
    left: auto;
    top: auto;
    transform: none;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.middle-content h1 {
    font-size: 5.625rem;
    font-weight: lighter;
    line-height: 96px;
    text-align: left !important;
    max-width: 900px;
}

h2 {
    font-size: 72px;
}

h3 {
    font-size: 60px;
    font-weight: 600;
}

h4 {
    font-size: 56px;
    font-weight: 600;
}

h5 {
    font-size: 30px;
    font-weight: 600;
}

h6 {
    font-size: 24px;
    line-height: 34px;
    font-weight: 300;
}
.content-partner-prizes h6 {
    font-weight: 600;
    line-height: 24px;
}

p.banner-text {
    font-size: 24px;
    line-height: 34px;
}

.explore-more {
    display: none;
}

.go-to-categories {
    position: absolute;
    bottom: -50px;
    width: 100px;
    background: #D71635;
}

.go-to-categories .categories {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 170px;
}

.go-to-categories img {
    position: relative;
    top: 30px;
    transition: .3s all ease-out;
}

.go-to-categories:hover img {
    top: 50px;
}

.section-upload {
    background-color: #F0F1F5;
    padding-top: 150px;
}

#photoContestFormOpen {
    top: -750px;
    right: 0;
    padding: 20px;
    background-color: #fff;
    width: 665px;
    margin-left: auto;
    position: absolute;
    box-shadow: 0 0 15px 0 #0000001A;
    border-radius: 5px;
    scroll-margin-top: 50px;
    z-index: 3;
}

.form-group .input-lg {
    height: 44px;
    padding: 8px 16px;
}

.gr-asterisk.form-control-feedback {
    top: -5px;
}

.photo_info {
    font-size: 12px !important;
    line-height: 16px !important;
}

.photo_checkbox.checkbox-label {
    font-size: 14px;
}

.form-control {
    background-color: #F0F1F5 !important;
    border-radius: 5px;
}

.dropzone-wrapper {
    background: #F0F1F5;
}

.partner-prizes-container {
    height: 550px;
    border-radius: 5px;
}

.content-partner-prizes {
    display: flex;
    flex-direction: column-reverse;
    height: 100%;
    justify-content: end;
    overflow: hidden;
}

.partner-prizes-container .wpb_wrapper {
    height: 100%;
}

.content-partner-prizes > div {
    background: #fff;
    padding: 10px 30px;
}

.section-overlay {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    transform: scaleY(0);
    transform-origin: bottom;
    padding: 0 !important;
    transition: .3s transform ease-out, .3s opacity ease-out;
    opacity: 0;
}

.section-overlay::after {
  content: "";
  display: block;
  width: 100%;
  border-bottom: 1px solid #CECECE;
  margin: 0 auto;
  padding-bottom: 30px;
}

.section-content-trigger {
    position: relative;
    cursor: pointer;
    transition: .3s all ease-out;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.section-overlay.show {
    padding: 30px 30px 0 30px !important;
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
}

.section-overlay a {
    text-decoration: none !important;
    border-bottom: 1px solid #d71634;
}

.section-categories {
    background-color: #141414;
    color: #fff;
}

.categories {
    margin-right: 50px;
}

.categories .category,
.accordion-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 56px;
    line-height: 34px;
    padding: 45px 0;
    width: 100%;
    text-align: left;
    color: #717171 !important;
    background: transparent;
    border-bottom: 1px solid #717171;
    transition: .3s all ease-out;
    position: relative;
    font-weight: 600;
}

.accordion-button {
    position: relative;
}

.categories .category.active {
    color: #fff !important;
}

.tab-panels {
    margin-left: 50px;
}

.tab-panel h5,
.tab-panel p {
    padding: 0 30px;
}

button.slick-next.slick-arrow {
    background: url(/grcom/grmkt_resources/images/icons/Group-352.svg) !important;
    width: 95px !important;
    max-height: 95px !important;
}
button.slick-prev.slick-arrow {
    background: url(/grcom/grmkt_resources/images/icons/Group-352.svg) !important;
    width: 95px !important;
    max-height: 95px !important;
    left: auto !important;
    right: -25px;
    top: calc(50% - 48px);
    transform: rotate(180deg);
}

.section-categories a.btn-gr.btn-lg {
    padding: 30px 160px !important;
    font-size: 18px;
}

.item.slick-slide {
    margin-right: 40px;
}

.item.slick-slide .item-image {
    height: 492px;
    overflow: hidden;
    border-radius: 5px;
}

.item.slick-slide:last-child {
    margin-right: 0;
}

.item.slick-slide img {
    display: block;
    object-fit: cover;
    height: 100%;
}

.past-photo-contest-submissions .caption {
    padding: 20px;
    background: #F0F1F5;
    margin-top: 5px;
    font-weight: bold;
    border-radius: 5px;
}

.past-photo-contest-submissions .slick-list {
    overflow: visible;
}

.judge {
    position: relative;
    padding-bottom: 100px;
    overflow: hidden;
    cursor: pointer;
}

.judge .bio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px 25px;
    background-color: #F0F1F5;
    position: absolute;
    min-height: 105px;
    bottom: 0;
    border-radius: 5px;
}

.judge:hover .bio .description {
    transform: scaleY(1);
    height: 100%;
    opacity: 1;
}

.judge:hover .bio .title, 
.judge:hover .bio .designation {
    height: 0;
    transform: scaleY(0);
}

.judge .bio .description {
    transform: scaleY(0);
    transform-origin: bottom;
    height: 0;
    opacity: 0;
    transition: .3s transform ease-out;
}

.judge .bio .title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.judge .bio .designation, 
.judge .bio .description {
    font-size: 16px;
    margin: 0;
}

.judge:hover img {
    filter: blur(2px);
}

.judge img {
    transition: .3s filter ease-out;
}

.gr-agreement {
    padding: 90px 170px;
    border-radius: 12px;
    background-color: #F0F1F5;
}

.category span,
.accordion-button span {
    position: absolute;
    bottom: 20px;
    font-size: 16px;
}

.accordion-button span {
    bottom: -5px;
}

.partner-prizes-container {
    background-size: cover;
    background-position: center;
}

.accordion-item {
    border: none;
}

.accordion-button {
    border-bottom: 1px solid #717171 !important;
}

.accordion-button,
.card-body {
    background-color: #141414 !important;
}

.accordion-button[aria-expanded="true"] {
    border: none !important;
    color: #fff !important;
}

.accordion-button[aria-expanded="true"]::after {width: 2.25rem;
    height: 2.25rem;
    background-size: 2.25rem;
}

.accordion-button::after {
    width: 2.25rem;
    height: 2.25rem;
    background-size: 2.25rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23717171' viewBox='0 0 16 16'%3e%3cpath fill='%23717171' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    transform: rotate(-90deg);
}

.accordion-button[aria-expanded="true"]::after {
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 16 16'%3e%3cpath fill='white' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

.accordion-item .card-body {
    padding: 0;
}

.section-accordion {
    display: none;
}

.collapse.show {
    display: block;
}

.middle-content h1 span {
    text-transform: initial;
}

.section-content-trigger::before,
.section-overlay.show .overlay-close::before {
    font-family: "Font Awesome 5 Free";
    font-size: 16px;
    font-weight: 900;
    content: "\f077";
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    width: 34px;
    height: 34px;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
}

.section-content-trigger::before,
.overlay-close {
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translate(-50%, 0%);
}

.section-overlay.show .overlay-close::before {
    transform: rotate(180deg);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
}

.category .fa-chevron-right:before {
    visibility: hidden;
}

.category.active .fa-chevron-right:before {
    visibility: visible;
}

.section-content-trigger img {
    max-width: 170px;
    object-fit: contain;
}

.section-content-trigger a {
    display: flex;
    height: 100px;
}

.section-photo-contest-update {
    padding: 60px 40px 45px;
    background: #fff;
    border-radius: 16px;
    min-height: 400px;
}

.section-upload h4 {
    font-size: 40px;
}

@media (min-width: 1700px) {
    .container {
        width: 1650px;
        max-width: 1650px;
    }
}

@media screen and (max-width: 1700px) {
    .section-upload {
        padding-top: 0px;
    }

    #photoContestFormOpen {
        position: relative;
        top: -50px;
    }

    .section-upload .vc_col-sm-6 {
        width: 100% !important;
    }

    .middle-content h1 {
        font-size: 4.375rem;
        line-height: 76px;
        max-width: 700px;
    }

    h2 {
        font-size: 60px;
    }

    h3 {
        font-size: 50px;
    }

    .section-upload h4 {
        font-size: 34px;
    }

    h5 {
        font-size: 20px;
    }

    h6 {
        font-size: 20px;
        line-height: 30px;
    }

    .content-partner-prizes h6 {
        font-weight: 600;
        line-height: 24px;
    }

    p.banner-text {
        font-size: 20px;
        line-height: 30px;
    }

    .content-partner-prizes .section-content-trigger a img {
        width: 200px;
    }

    .section-upload .w-50 {
        width: 100% !important;
    }

    .section-categories-content {
        display: none;
    }

    .section-accordion {
        display: block;
    }

    .accordion-button::after {
        transform: rotate(0deg);
    }

    .gr-agreement {
        padding: 45px 90px;
    }
    
    .section-photo-contest-update {
        padding: 50px 30px 35px;
        min-height: 425px;
    }
}

@media screen and (min-width: 786px) and (max-width: 1700px){
    .judge .bio .designation, 
    .judge .bio .description {
        font-size: 12px;
    }

    .judge .bio {
        padding: 15px 15px;
        min-height: 90px;
    }

    .judge .bio .title {
        font-size: 16px;
    }

    .judge {    
        padding-bottom: 90px;
    }
}

@media screen and (max-width: 1200px) {
    .middle-content h1 {
        font-size: 3.125rem;
        line-height: 56px;
        max-width: 500px;
    }

    h2 {
        font-size: 40px;
    }

    h3 {
        font-size: 36px;
    }

    .section-upload h4 {
        font-size: 28px;
    }

    h5 {
        font-size: 20px;
    }

    h6 {
        font-size: 20px;
        line-height: 30px;
    }

    .content-partner-prizes h6 {
        font-weight: 600;
        line-height: 24px;
    }

    p.banner-text {
        font-size: 18px;
        line-height: 26px;
    }

    .bg-care-support {
        height: 50vh;
        min-height: auto;
    }

    .go-to-categories .categories {
        height: 100px;
    }

    .go-to-categories {
        width: 70px;
    }

    .go-to-categories img {
        width: 20px;
        top: 10px;
    }

    .go-to-categories:hover img {
        top: 20px;
    }

    .content-partner-prizes .section-content-trigger a img {
        width: 150px;
    }

    .accordion-button {
        font-size: 36px;
    }

    .w-50 {
        width: 100% !important;
    }

    .gr-agreement {
        padding: 25px 20px;
    }
}

@media screen and (max-width: 992px) {
    .section-photo-contest-update {
        min-height: auto;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .middle-content .text-large {
        font-size: 1.8750rem !important;
        line-height: 36px;
        max-width: 500px;
        padding: 0;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 24px;
    }

    .section-upload h4 {
        font-size: 20px;
    }

    h5 {
        font-size: 18px;
        margin: 0;
    }

    h6 {
        font-size: 16px;
        line-height: 20px;
    }

    .content-partner-prizes h6 {
        font-weight: 600;
        line-height: 24px;
        margin-bottom: 0.1rem;
    }

    p {
        font-size: 16px;
    }

    .section-upload {
        padding-top: 0;
    }

    #photoContestFormOpen {
        position: relative;
        width: 100%;
        top: -30px;
    }

    .bg-care-support {
        height: 333px;
        min-height: auto;
    }

    .go-to-categories {
        display: none;
    }

    .partner-prizes-container {
        height: 350px;
    }

    .content-partner-prizes > div {
        padding: 15px;
    }

    .section-overlay.show {
        padding: 15px 15px 0 15px !important;
    }

    .partner-prizes-container .btn-gr.btn-lg {
        padding: 6px 30px !important;
    }

    .section-overlay a {
        font-size: 12px;
    }

    .section-overlay p {
        font-size: 12px;
        line-height: 16px;
    }

    .section-overlay::after {
        padding-bottom: 15px;
    }

    .section-content-trigger a {
        height: 70px;
    }

    .content-partner-prizes .section-content-trigger a img {
        width: 100px;
    }

    .section-content-trigger::before,
    .section-overlay.show .overlay-close::before {
        width: 24px;
        height: 24px;
    }

    .section-content-trigger::before,
    .overlay-close {
        top: -24px;
    }

    .accordion-button {
        padding: 16px 0;
        font-size: 20px;
    }

    .accordion-button::after,
    .accordion-button[aria-expanded="true"]::after {
        width: 1.25rem;
        height: 1.25rem;
        background-size: 1.25rem;
    }
    .section-categories a.btn-gr.btn-lg {
        padding: 13px 40px !important;
        font-size: 14px;
        display: block;
    }

    .item.slick-slide .item-image {
        height: 250px;
    }

    .past-photo-contest-submissions .caption {
        font-size: 14px;
    }

    .gr-agreement p {
        font-size: 12px;
    }

    .bio::after {
        font-family: "Font Awesome 5 Free";
        font-size: 10px;
        font-weight: 900;
        content: "\f054";
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 10px;
        width: 24px;
        height: 24px;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }

    .judge:hover .bio::after {
        content: "";
    }
}
