/* -----------------------------------
--         Submission Page          --
-------------------------------------- */

.acf-field textarea {
    text-align: left;
}

/* Price calculator */
.bpc-calculator {
    margin: 0 0 40px;
    font-size: 23px;
}

/* Image previews */
.acf-image-uploader .bpc-image-preview.image-wrap {
    float: none;
}

.acf-image-uploader .bpc-image-preview.image-wrap img {
    max-width: 250px;
    max-height: 250px;
}

#bpc_submission_form .acf-radio-list li:before {
    display: none;
}

#bpc_submission_form ul.acf-radio-list li {
    display: inline-block;
    margin-right: 15px;
}

#bpc_submission_form ul.acf-radio-list li input[type="radio"] {
    margin: -3px 4px 0 0;
}

#bpc_submission_form .acf-repeater .acf-actions .acf-button.button-primary,
#bpc_submission_form .acf-button.button-secondary {
    background: #fff;
    border: 2px solid #2c435b;
    color: #2c435b;
    line-height: 34px;
}

#bpc_submission_form .acf-repeater .acf-actions .acf-button.button-primary:hover,
#bpc_submission_form .acf-button.button-secondary:hover {
    background: #dae1e8;
}

.acf-form-submit .acf-button.button-secondary {
    vertical-align: top;
    margin-right: 10px;
}

#bpc_submission_form .acf-field[data-name="title"] input[type="text"] {
    text-align: left;
}

@media ( max-width: 768px ) {
    #bpc_submission_form td.acf-fields .acf-field {
        width: 100% !important;
        border-left: 0;
        border-bottom: 1px solid #eee;
    }

    #bpc_submission_form ul.acf-radio-list li {
        display: block;
        margin-bottom: 5px;
    }
}

/* Submission form: Remove image icon and customizations */
#bpc_submission_form .acf-repeater .acf-row-handle.remove {
    background: none;
    border: none;
    width: 0;
    padding: 0;
}

#bpc_submission_form .acf-repeater .acf-row:first-child .acf-row-handle.remove {
    display: none !important;
}

#bpc_submission_form .acf-repeater .acf-row-handle .acf-icon.-minus {
    top: 0;
    right: 0;
    margin: 10px 10px 0 0;
    display: block;

    width: auto;
    height: auto;
    white-space: nowrap;
    border: none;

    background: rgba(44, 67, 91, 0.1);
    color: #2c435b;
    border-radius: 4px;
    padding: 5px;

    transition: all 0.16s linear;
}

#bpc_submission_form .acf-repeater .acf-row-handle .acf-icon.-minus:hover {
    background: #ff0707;
    color: #fff;
}

#bpc_submission_form .acf-repeater .acf-row-handle .acf-icon.-minus::after {
    content: 'Remove Photo';
    font-size: 12px;
    margin-left: 5px;
}

#bpc_submission_form .acf-repeater .acf-row-handle .acf-icon.-minus::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 14px;
    content: "\f1f8"; /* Trash icon */
}

#bpc_submission_form .acf-repeater .acf-row-handle .acf-icon.-plus,
#bpc_submission_form .acf-repeater .acf-row-handle .acf-icon.-duplicate {
    display: none !important;
}

/* -----------------------------------
--          Checkout Form           --
-------------------------------------- */
.bp-contest-checkout_wrapper .billing-heading {
    margin-bottom: 15px !important;
}

.bp-contest-checkout_wrapper .email-heading {
    margin-top: 5px !important;
}

.bp-contest-checkout_wrapper .order-details-heading {
    margin-bottom: 15px !important;
}

.bp-contest-checkout_wrapper .additional-photo-quantity-field {
    display: none;
}

.bp-contest-checkout_wrapper .payment-method-field .gfield_radio li input {
    float: left;
}

.bp-contest-checkout_wrapper .payment-method-field .gfield_radio li label {
    margin: 0 0 0 4px;
}

.bp-contest-checkout_wrapper .first-photo-price-field label,
.bp-contest-checkout_wrapper .additional-photo-price-field label,
.bp-contest-checkout_wrapper .total-field label,
.bp-contest-checkout_wrapper .payment-method-field label {
    margin-bottom: 0 !important;
}

.bp-contest-checkout_wrapper .first-photo-price-field,
.bp-contest-checkout_wrapper .additional-photo-price-field,
.bp-contest-checkout_wrapper .total-field {
    margin-bottom: 20px !important;
}

.bp-contest-checkout_wrapper .gform_button {
    line-height: 1;
}

.bp-contest-checkout_wrapper .ginput_container_address input {
    margin-bottom: 5px;
}

.bp-contest-checkout_wrapper .ginput_container_address label {
    margin: 1px 0 20px 1px !important;
}

.bp-contest-checkout_wrapper ul li.gfield.bpc-newsletter {
    margin-top: -30px !important;
    margin-left: 12px !important;
    margin-bottom: 22px !important;
}

.gform_wrapper.bp-contest-checkout_wrapper .gfield_description {
    font-size: 13px;
}


/*
.gfield:not(.checked) .all-access-pass-price {
	display: none;
	opacity: 0.5;
	text-decoration: line-through;
}

.gfield:not(.checked) .all-access-pass-price .ginput_product_price {
	color: inherit !important;
}
*/

/* Payment form: STyles for new gravity form version */
.gfield_price .ginput_product_price_label {
    font-weight: 400 !important;
    margin-right: 0 !important;
}

.gfield_price .ginput_product_price_label::after {
    content: " $";
    margin-left: 5px;
    color: #900;
}

.gfield_price input.ginput_product_price[readonly] {
    border: none;
    padding: 0 !important;
    line-height: 1em;
    color: #900;
    margin: 0 0 0 -3px;
    letter-spacing: -0em !important;
    font-family: inherit !important;
}

/* Payment form */
#field_20_51 {
    margin: -20px 0 0 !important;
}

#field_20_51 label {
    font-weight: 400;
    margin: 0;
}

#field_20_51 .gfield_required {
    margin-left: 1px;
}

#field_20_51 input[type="text"] {
    padding: 5px !important;
    max-width: 180px;
}

#field_20_54 {
    padding: 20px;
    margin-left: -20px !important;
    margin-right: -20px !important;
}

/*
#field_20_54 {
	background: #eeeeee;
}
#field_20_54:not(.checked) {
	background: #2c435b;
	color: #fff;
}
*/

#field_20_54 {
    background: #2c435b;
    color: #fff;
}

/* -------------------------------------------------
-          Notices (success, error, info)         --
- bpc_display_notice( $type, $message, $fa_icon ) --
---------------------------------------------------- */

/*
IMPORTANT:
Replaced with alertBox syntax from the theme. Example:
<div class="bp-contest-alertBox alertBox info-box"> Your profile has been updated! <div class="alert-close"></div></div>
*/
/*
.bpc-notice {
	padding: 20px;
	margin: 0 0 20px;
}

.bpc-notice::after {
	content: '';
	display: table;
	clear: both;
}

.bpc-notice-success {
	background: #2c435b;
	color: #fff;
}

.bpc-notice-success a {
	color: #fff;
	text-decoration: underline;
}

.bpc-notice-error {
	background: #963b3b;
	color: #fff;
}

.bpc-notice-error a {
	color: #fff;
	text-decoration: underline;
}

.bpc-notice-info {
	background: #f8f8f8;
	border: 1px solid #ededed;
}

.bpc-notice-icon,
.bpc-notice-dismiss {
	float: left;
	margin: 0 15px 0 0;
	font-size: 22px;
	line-height: 1;
}

.bpc-notice-dismiss {
	margin: 0 0 0 15px;
	float: right;
}

.bpc-notice-dismiss a {
	text-decoration: none;
}

.bpc-notice-dismiss a:hover {
	color: inherit;
	opacity: 0.75;
}

.bpc-notice-content > :first-child {
	margin-top: 0;
}

.bpc-notice-content > :last-child {
	margin-bottom: 0;
}
*/

/* Extra icons for alertBox notices */
.bp-contest-alertBox[data-icon="lock"]::before {
    content: "\f023";
}

.bp-contest-alertBox[data-icon="check-square"]::before {
    content: "\f14a";
}

.bp-contest-alertBox[data-icon="exclamation-circle"]::before {
    content: "\f06a";
}


/* -----------------------------------
-     Voting Rounds (Shared)        --
-------------------------------------- */
/* Zoom icon */
.photo-list .photo-inner {
    position: relative;
    display: inline-block;
    vertical-align: bottom;
}

.photo-list .photo .full-image {
    position: absolute;
    bottom: 20px;
    right: 20px;

    font-size: 30px;
    width: 1.5em;
    height: 1.5em;
    line-height: 1.5;

    background: #fff;
    border-radius: 100%;
    color: #2c435b;
    opacity: 0.5;
    transition: opacity 0.16s;
    text-align: center;
}

.photo-list .photo .full-image:hover {
    opacity: 1;
}

/* Title */
.photo-title {
    text-transform: uppercase;
}

h2.photo-title {
    font-size: 36px;
}

h3.photo-title {
    font-size: 24px;
}

h2.photo-title.photo-title-small {
    font-size: 18px;
}

.round-1 .photo-title {
    margin: 20px 0;
}

.round-2 .photo-title {
    margin: 0 0 20px;
}

.round-2a h3.photo-title,
.round-4 h3.photo-title,
.round-5 h3.photo-title {
    margin: 0 0 2px;

    font-family: "tgn-soft-round", sans-serif;
    font-size: 17px;
}

/* Titles with "cream" background (it just looks gray to me, lol) */
.round-4 h3.photo-title,
.round-5 h3.photo-title {
    background: #d8dde2;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 0;
    text-align: center;
    letter-spacing: 0.03em;
}

/* Labels */
.photo-list .field-label {
    font-weight: 700;
}

/* Comment */
.photo-list .comment textarea {
    display: block;
    width: 100%;
    text-align: left;
    padding: 5px 8px;
    font-size: 16px;
    line-height: 1.35;
    letter-spacing: 0.02em;
    margin: 0;
}

/* Ignore Rated Photos checkbox */
.filter-ignore-rated {
    text-align: center;
    margin: 4px 0 0;
}

.filter-ignore-rated label {
    font-size: 11px;
    font-weight: 400;
}

.filter-ignore-rated input[type="checkbox"] {
    position: relative;
    top: 1px;
}

/* Email signup form */
#contest-signup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 10000; /* above main menu */
    background: rgba(0, 0, 0, 0);
    transition: background 0.5s linear;
}

#contest-signup-overlay.visible {
    background: rgba(0, 0, 0, 0.3);
}

#contest-signup {
    position: fixed;
    z-index: 10010; /* above main menu + 10 */
    top: 50%;
    left: 50%;
    width: 96%;
    max-width: 500px;
    transform: translate(-50%, -50%);

    max-height: 96vh;
    overflow: auto;

    background: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.75);
    padding: 15px 25px;
}

#contest-signup .contest-signup-close {
    display: inline-block;
    float: right;
    color: #3d5268;
    margin-bottom: 5px;
    padding: 10px;
    margin: -10px -10px 0;
    font-size: 18px;
}

#contest-signup .contest-signup-inner {
    clear: both;
}

.contest-signup-content.footer-content {
    text-align: center;
    font-size: 11px;
}

.contest-signup-form .gform_confirmation_wrapper {
    margin: 20px 0;
}

#field_17_3,
#field_21_3 {
    text-align: center;
}

#field_17_3 label,
#field_21_3 label {
    font-weight: 400 !important;
    display: inline !important;
}

#field_17_3 input,
#field_21_3 input {
    position: relative;
    top: 2px;
}

#gform_17 .gform_footer input.button-primary,
#gform_21 .gform_footer input.button-primary {
    width: auto;
}

/* Contest payment form */
.bp-contest-checkout_wrapper input[type="radio"],
.bp-contest-checkout_wrapper input[type="checkbox"] {
    width: auto;
    height: auto;
    margin: 0 6px 0 0;
    padding: 0;
    line-height: 1;
}

.bp-contest-checkout_wrapper input[type="radio"] label,
.bp-contest-checkout_wrapper input[type="checkbox"] label {
    vertical-align: top;
}

.bp-contest-checkout_wrapper ul li.gfield {
    margin: 10px 0 20px !important;
}

.bp-contest-checkout_wrapper ul li.field_description_below div.ginput_container_checkbox,
.bp-contest-checkout_wrapper .gform_wrapper ul li.field_description_below div.ginput_container_radio {
    margin-top: 0 !important;
}

.bp-contest-checkout_wrapper .gsection .gsection_description {
    margin: 10px 0;
}

.bp-contest-checkout_wrapper li.gfield.field_description_below + li.gsection {
    margin-top: 40px !important;
}

.bp-contest-checkout_wrapper ul li.field_description_below div.ginput_container_checkbox,
.bp-contest-checkout_wrapper ul li.field_description_below div.ginput_container_radio {
    margin-top: 0 !important;
}

/* My Feedback page */
.bpc-my-feedback .photo {
    margin: 0 0 40px;
}

.bpc-my-feedback .photo-title {
    margin-bottom: 5px;
}

.bpc-my-feedback .comments {
    margin-top: 10px;
}

.bpc-my-feedback .comment-heading {
    font-size: 14px;
    margin-bottom: 4px;
}

.bpc-my-feedback .comments-info {
    font-style: italic;
    opacity: 0.5;
}

.bpc-my-feedback .comment-group {
    overflow: hidden;
    margin: 10px 0;
}

@media ( min-width: 750px ) {
    .bpc-my-feedback .photo-image {
        float: left;
        width: 250px;
        margin-right: 25px;
    }

    .bpc-my-feedback .photo-details {
    }

    .bpc-my-feedback .photo::after {
        content: '';
        display: table;
        clear: both;
    }

    /* Formatted comments in my feedback layout */
    .bpc-my-feedback .comment .date {
        float: left;
        min-width: 100px;

        color: #5A6672;
        letter-spacing: 0.030em;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 11px;
    }

    .bpc-my-feedback .comment .sep {
        display: none;
    }

    .bpc-my-feedback .comment .message {
        display: block;
        overflow: hidden;
        margin: 0 0 10px;
    }
}

/* Extra spacing between repeaters on the order form image repeater field */
.acf-field-repeater.acf-field-5f40755d9a0fa .-block > table > tbody > tr:not(:first-child) > td {
    border-top: 30px solid #f4f4f4 !important;
}

.acf-field-repeater.acf-field-5f40755d9a0fa .-block > table > tbody > tr > td.acf-fields {
    box-shadow: inset 0 1px #ccd0d4, inset 0 -1px #ccd0d4;
    width: 100%;
}

.acf-field-repeater.acf-field-5f40755d9a0fa .-block > table > tbody > tr:first-child > td.acf-fields {
    box-shadow: inset 0 -1px #ccd0d4;
}

.acf-field-repeater.acf-field-5f40755d9a0fa .-block > table > tbody > tr:nth-last-child(2) > td.acf-fields {
    box-shadow: inset 0 1px #ccd0d4;
}

/* Remove Photos Label */

.acf-field-5f40755d9a0fa > .acf-label > label {
    display: none !important;
}

/* Remove Model Release Form */
.acf-field-5f7ffc2ad0b40 {
    display: none !important;
}

/* Voting Rounds - Selecting Categories Edit */
.bpc-categories-title {
    font-size: 24px;
    text-align: center;
}

.bpc-categories-list {
    text-align: center;
}

.bpc-categories-list .bpc-category {
    padding: 0 20px !important;
    font-size: 13px !important;
    margin-right: 8px;
}

.bpc-categories-list .bpc-category:last-child {
    margin-right: 0;
}
#bpc_submission_form .acf-repeater .acf-row-handle.remove{
    display: block;
}