#birthday,
#birthday_party {
    position: relative;
}

#birthday #primary {
    margin-top: 20px;
}

#edit_article .disabled {
    pointer-events: none;
    position: relative;
}

#edit_article .disabled::after {
    position: absolute;
    left: -1px;
    right: -1px;
    top: -1px;
    bottom: -1px;
    background-color: rgba(50, 50, 50, 0.2);
    content: "";
    border: none;
}

#birthday .form-group {
    margin: 5px 0;
    clear: both;
    position: relative;
}

#birthday input.form-control,
#birthday .styled-select {
    padding: 6px 8px;
    width: 50%;
    min-width: 50%;
    /*min-width: 200px;*/
    /*width: 33%;*/
}

#birthday .styled-select {
    /*margin-left: 33%;*/
    max-width: 33%;
}

#birthday .styled-select select {
    padding: 0;
}

#birthday label.control-label {
    /*float: left;*/
    padding: 6px 10px 6px 0;
    text-align: left;
    /*width: 33%;*/
    display: inline-block;
}

#birthday div[id^='gdpr_'] label.control-label {
    max-width: calc(100% - 50px);
}

#birthday .steps {
    display: none;
}

#birthday .steps.active {
    display: block;
}

#birthday #form {
    clear: both;
}

#birthday .extra_data {
    border-bottom: 1px solid #EEEEEE;
    clear: both;
    margin: 5px auto 0;
    padding: 0 0 10px;
}

#birthday .extra_data:last-child {
    /*border-bottom: 2px solid #ccc;*/
    margin-bottom: 15px;
}

#birthday .extra_title {
    font-weight: bold;
}

#birthday .theme .extra_title {
    width: calc(100% - 260px);
}

#birthday .extra_description {
    font-size: 12px;
    color: #848494;
}

#birthday .extra_quantity {
    float: right;
}

#birthday .quantity > * {
    position: relative;
    border: 1px solid #F0F0F0;
    float: left;
    font-size: 13px;
    height: 27px;
    line-height: 1em;
    margin: 0;
    max-width: 50px;
    padding: 5px 0;
    text-align: center;
    vertical-align: middle;
    width: 33% !important;
    min-width: 10px !important;
}

#birthday .quantity > button {
    background-color: #F0F0F0;
    cursor: pointer;
}

#birthday .extra_quantity > * {
    max-width: 100px;
}

#birthday .title {
    /*font-family: "Bubblegum Sans", cursive;*/
    /*font-weight: normal;*/
    /*font-size: 22px;*/
    /*background-image: url("/data/images/cloud5.png");*/
    /*background-repeat: no-repeat;*/
    /*background-size: auto 100%;*/
    /*height: 60px;*/
    /*line-height: 45px;*/
    /*margin-top: 20px;*/
    /*margin-bottom: 10px;*/
    /*position: relative;*/
    /*transform-origin: left top 0;*/
}

#birthday .title h4 {
    /*margin-bottom: 0;*/
    float: left;
    /*padding: 7px 0 7px 15px;*/
    padding: 30px 0 0;
}

#birthday .form-group.has-error .title h4 {
    color: #A94442;
}

#birthday [id^="calculated_"] {
    display: none;
}

#birthday div[id^="room_"] {
    width: 30px;
    float: left;
    clear: none;
}

#birthday div[id^="room_"] .control-label,
#birthday div[id^="room_"] .title {
    display: none;
}

#birthday [id^="room_"]:nth-child(2n) {
    padding-right: 5px;
}

#birthday [id^="room_"]:nth-child(3n-1) {
    margin-left: 20px;
}

#birthday [id^="room_"]:nth-child(2n+1) {
    padding-left: 5px;
}

#birthday div[id^="room_"][id$="_title"] {
    /*width: calc(50% - 40px);*/
    width: calc(100% / 3 - 20px * 3);
    margin-left: 10px;
}

/*#birthday div[id^="room_"][id$="_title"] .item_price {*/
/*display: none;*/
/*}*/

#birthday [id^="room"] .extra_data {
    border: none;
    padding-bottom: 0;
    margin-bottom: 5px;
}

#birthday [id^="room"] .extra_description p {
    margin-bottom: 1em;
}

#birthday [id^="room"] .extra_description p:last-child {
    margin-bottom: 0;
}

#birthday [id^="room"] .extra_description ul {
    list-style: disc;
    padding-left: 15px;
    margin-bottom: 1em;
}

#birthday [id^="room"] .extra_description ul > li {
    padding-bottom: 0;
}

#birthday [id^="room"] .extra_title {
    clear: both;
    max-width: calc(100% - 60px);
}

#birthday div[id^="room_"] .bootstrap-switch {
    /*float: right;*/
    /*margin-top: 0 !important;*/
}

#birthday div.hidden[id^="room_"] {
    display: none !important;
    visibility: visible;
    pointer-events: none;
}

#birthday div[id^="room_"] {
    position: relative;
}

#birthday div.occupied[id^="room_"] {
    visibility: visible !important;
     display: block !important;
}

#birthday div.empty[id^="room_"] .extra_data,
#birthday div.occupied[id^="room_"] .extra_data {
    position: relative;
}

#birthday div.empty[id^="room_"] .extra_data::before,
#birthday div.occupied[id^="room_"] .extra_data::before {
    left: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 2;
    margin: auto;
}

#birthday div.empty[id^="room_"][id$="_title"] .extra_data::before,
#birthday div.occupied[id^="room_"][id$="_title"] .extra_data::before {
    color: red;
    content: attr(data-occupied);
    display: block;
    font-size: 40px;
    line-height: 1.2em;
    overflow-wrap: inherit;
    padding: 10px;
    text-align: center;
    text-shadow: 2px 1px rgba(0, 0, 0, 0.6);
    background-color: rgba(50, 50, 50, 0.2);
}

#birthday div.empty[id^="room_"] .extra_data .item_title,
#birthday div.occupied[id^="room_"] .extra_data .item_title,
#birthday div.empty[id^="room_"] .extra_data .item_price,
#birthday div.occupied[id^="room_"] .extra_data .item_price,
#birthday div.empty[id^="room_"] .extra_data .extra_description,
#birthday div.occupied[id^="room_"] .extra_data .extra_description {
    opacity: 0.5;
}

#birthday div.empty[id^="room_"][id$="_title"]::before {
    content: attr(data-empty);
}

#birthday [id^="room_"] .quantity {
    display: none;
}

#birthday [id^="photograph"] .title,
#birthday [id^="bearsfriends"] .title,
#birthday [id^="cooking_day"] .title,
#birthday [id^="cake_on_stick"] .title,
#birthday [id^="silver_coins"] .title,
#birthday [id^="beverages_room_"] label,
#birthday [id^="food_room"] .title,
#birthday [id^="food"] .title,
#birthday [id^="cake_taste"] label {
    display: none;
}

#birthday #title_choose_beverages h2,
#birthday #title_order_extra_beverages h2,
#birthday [id^="title_pizza"] h2,
#birthday [id^="title_room_"] h2 {
    font-size: 25px;
    margin-top: 25px;
}

#summary .delimiter {
    padding: 1px 0;
}

#birthday_party #edit_article .bootstrap-switch {
    height: 20px;
    margin: 6px 0;
    min-width: 20px;
    width: 20px;
}

#birthday_party #edit_article .bootstrap-switch-container {
    height: 100%;
    width: 200%;
}

#birthday_party #edit_article .bootstrap-switch .bootstrap-switch-label {
    width: 0;
}

#birthday_party #edit_article .bootstrap-switch .bootstrap-switch-handle-on,
#birthday_party #edit_article .bootstrap-switch .bootstrap-switch-handle-off {
    width: 50%;
    background-color: #fff;
    color: #fff;
    position: relative;
    border-radius: 3px;
}

#birthday_party #edit_article .bootstrap-switch .bootstrap-switch-handle-on::before {
    bottom: 0;
    color: green;
    font-family: FontAwesome;
    font-size: 17px;
    left: 0;
    overflow: visible;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    content: "\f00c";
}

#birthday_party #edit_article .bootstrap-switch.bootstrap-switch-focused {
    box-shadow: none;
}

#birthday_party #edit_article .bootstrap-switch.bootstrap-switch-off .bootstrap-switch-container {
    margin-left: -100%;
}

#gifts .product-thumb .product-button {
    bottom: 0;
    left: 0;
    margin: auto;
    max-height: 50px;
    max-width: 80%;
    position: absolute;
    right: 0;
    top: 0;
}

#gifts .product-thumb .product-button a {
    display: inline-block;
}

#gifts .product-thumb .product-button a + a {
    margin-top: 10px;
}

#gifts .chosen {
    position: relative;
}

#gifts .chosen::before {
    content: "\f00c";
    font-family: FontAwesome;
    font-size: 55px;
    color: green;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(50, 50, 50, 0.1);
    position: absolute;
    z-index: 10;
    text-align: center;
    padding: 50% 0;
    line-height: 1em;
}

#gifts .chosen .image-overlay {
    display: none !important;
}

#gifts .chosen::after {
    content: "\f00d";
    font-family: FontAwesome;
    font-size: 15px;
    color: black;
    top: 0;
    right: 0;
    position: absolute;
    z-index: 11;
    text-align: right;
    padding: 10px;
    line-height: 1em;
    cursor: pointer;
}

#gifts .friends .column:not(.first) {
    margin-left: 1%;
}

#gifts .friends .remove-element {
    float: right;
}

#gifts .friends .elements div[id^='element']:first-child:last-child .remove-element {
    display: none;
}

#gifts .friends .elements div[id^='element']:first-child:not(:last-child) .remove-element {
    display: block;
}

#gifts #example {
    display: none;
}

#gifts ul {
    margin-bottom: 20px;
}

#gifts .cart img {
    max-height: 60px;
    width: auto;
}

#edit_article .extra_data .box {
    float: left;
}

#edit_article .extra_data .text {
    margin-left: 35px;
}

.checkout-wishlist > div + div {
    margin-right: 15px;
}

.birthday-content {
    width: 910px;
    margin-right: 40px;
    float: left;
}

.birthday-sidebar {
    width: 220px;
    margin: 0;
    float: left;
    padding: 0;
}

.birthday-sidebar .position-relative {
    height: 100%;
}

#birthday_party #results {
    border: none !important;
}

textarea.includes_text {
    border: 1px solid grey;
    resize: none;
}

textarea.includes_text:invalid {
    display: none;
}

.img_cake_taste {
    position: absolute;
    top: -20px;
    right: 0;
}

.img_cake_taste img {
    max-width: 200px;
    height: auto;
}

.img_room {
    text-align: center;
}

.theme .img_room {
    float: right;
    text-align: right;
    max-width: 250px;
    margin-left: 10px;
}

.img_room img {
    max-width: 100%;
}

#birthday div[id^='drink_juice'] .item_price,
#birthday div[id^='food_room'] .item_price,
#birthday div[id^='invitee'] .item_price {
    display: none;
}

#edit_article h2 {
    margin-top: 20px;
    margin-bottom: 0;
    line-height: 1.0em;
    font-size: 20px;
}

#edit_article div[id^="print_number_invitee"] {
    display: block !important;
}

#birthday div[id^='print_number_invitee'] > div > * {
    width: auto;
    float: left;
    padding-right: 0;
}

#birthday div[id^='print_number_invitee'] input.form-control {
    font-family: 'Lato', sans-serif !important;
    font-size: 14px;
    line-height: 22px;
    border: none;
    text-align: left;
    padding: 6px 10px 6px 0;
    color: #5C5C5C;
    margin: 0;
    pointer-events: none;
    box-shadow: none !important;
}

#birthday .modal .contact .form-group > label.control-label {
    left: 8px;
    right: 8px;
    top: 6px;
    bottom: 6px;
    padding: 0 !important;
}

.mce-branding-powered-by {
    display: none;
}

#wishlist_message.modal.wide {
    width: 1100px;
    max-width: 90%;
    margin-left: -550px;
    bottom: 5%;
}

#wishlist_message.modal .modal-body {
    height: calc(90vh - 50px - 70px);
}

#order_extra_animator > div > div, #order_extra_animator > div > label {
    margin-bottom: 0 !important;
}

#title6_order_extra_animator > div {
    margin-top: 0 !important;
}

#birthday_banner {
    margin-bottom: 30px;
}

@media screen and (max-width: 476px) {

    .birthday-sidebar {
        width: 100%;
        margin-top: 20px;
        height: auto;
    }

    .birthday-content {
        width: 100%;
    }

    #birthday div[id^="room_"][id$="_title"] {
        width: calc(100% - 40px);
    }

    #birthday .mt-step-col {
        width: 100% !important;
        display: none;
    }

    #birthday .mt-step-col.active {
        display: block;
    }

    #birthday input.form-control, #birthday .styled-select {
        width: 100%;
        max-width: 100%;
    }

    #wishlist_message.modal.wide {
        width: 90%;
        margin-left: 0;
    }

    #birthday #form {
        overflow-y: visible;
        overflow-x: visible;
    }

    #step_8 {
        margin: 0 -30px;
        overflow: visible;
    }

    #birthday .form-group[data-type='YESNO'] label.control-label {
        float: right;
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
    }

}
