body {
    color: #fff;
    font-family: 'Rubik', sans-serif;
}

.modal {
    color: #000;
    font-family: 'Rubik', sans-serif;
}

#builder_container {
    width: 1920px;
    height: 1080px;
    padding: 22px 40px;
    background: linear-gradient(to bottom, #0d2646 192px, #dcdcdc 190px);
}

.type_container {
    height: 150px;
    width: 290px !important;
    cursor: pointer;
    margin-right: 20px;
    float: left;
}

.type_container_right {
    margin-right: 0px;
}

#element_types_container {
    height: 150px;
    margin-bottom: 40px;
}


#interface_container {
    height: 846px;
    width: 1840px;
}


#elements_container {
    background-color: #2b2a2a;
    height: 180px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

#figure_compositons_container {
    width: 864px;
    height: 608px;

}

#accessories_container {
    width: 864px;
    height: 238px;

}

#figure_composition_back {
    position: relative;
    width: 422px;
    height: 600px;
    display: flex;
    justify-content: center;
}

#save_minifigure {
    height: 256px;
    width: 256px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('../img/frontend/controllers/done.png');
}

#save_minifigure.inactive {
    background-image: url('../img/frontend/controllers/done-inactive.png');
    cursor: default;
}

#cancel_minifigure {
    height: 128px;
    width: 256px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url('../img/frontend/controllers/cancel.png');
    margin-top: 20px;
}

.build_image {
    cursor: pointer;
    margin-bottom: 130px;
    margin-top: 150px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.flag_image {
    cursor: pointer;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

#figure_container {
    height: 650px;
    background-color: #3b3939;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    padding: 10px;
    margin-left: 20px;
    width: 940px;
}

#price_container {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    text-align: center;
    height: 104px;
    font-size: 54px;
    color: #0d2646;
    margin-top: 17px;
}

.waviy {
    position: relative;
  }
  .waviy span {
    position: relative;
    display: inline-block;
    font-size: 40px;
    color: #000;
    text-transform: uppercase;
    animation: flip 3s infinite;
    font-weight: bold;
    animation-delay: calc(.3s * var(--i))
  }
  @keyframes flip {
    0%,80% {
      transform: rotateY(360deg)
    }
  }

#minifigure_code_container {
    text-align: center;
}

#figure_accessory_1 img {
    max-width: 100px;
    height: auto;
    max-height: 400px;
}

#figure_accessory_2 img {
    max-width: 100px;
    max-height: 400px;
}

@keyframes customFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes customFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.owl-carousel .owl-item.fadeIn {
    animation: customFadeIn 1s forwards;
}

.owl-carousel .owl-item.fadeOut {
    animation: customFadeOut 1s forwards;
}

.owl-carousel .owl-stage {
    transition: transform 1s ease-in-out;
}

.element_item_container {
    width: 212px;
    height: 168px;
    margin-left: 0px;
    margin-right: 2px;
    margin-bottom: 2px;
    text-align: center;
    background-color: #fff;
    padding: 5px;
    float: left;
}

.element_item_pager {
    width: 212px;
    height: 168px;
    margin-left: 0px;
    margin-right: 2px;
    margin-bottom: 2px;
    text-align: center;
    background-color: #fff;
    padding: 5px;
    float: left;
}

.element_item_container_placeholder {
    width: 212px;
    height: 168px;
    margin-left: 0px;
    margin-right: 2px;
    margin-bottom: 2px;
    text-align: center;
    background-color: #fff;
    padding: 5px;
    float: left;
}

.element_image {
    max-width: 70px;
    max-height: 150px;
}

#preview_container {
    margin-right: 40px;
    width: 864px;
    height: 846px;
    float: left;
    background-image: url('../img/frontend/preview/bg.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#element_items_container {
    height: 846px;
    width: 640px;
    float: left;
}

#controllers_container {
    height: 846px;
    width: 256px;
    float: left;
    margin-left: 40px;
}

.language_switcher_image {
    height: 62px;
    margin: 10px;
    width: 92px;
}

.language_switcher_container {
    margin-top: 30px;
}

#preview_figures_container {
    height: 100%;
}

#accessory_item_container_1 {
    width: 422px;
    height: 238px;
    margin-right: 20px;
    float: left;
}

#accessory_item_container_2 {
    width: 422px;
    height: 238px;
    float: left;
}

.accessory_image {
    max-width: 422px;
    max-height: 238px;
}

.modal-header.no-border {
    border-bottom: none;
}

#figure_composition_front {
    position: relative;
    width: 422px;
    height: 600px;
}

#figure_composition_back {
    position: relative;
    width: 422px;
    height: 600px;
}

.minifigure_part {
    position: absolute;
    width: 422px;
    height: 600px;
    background-size: cover;
    background-repeat: no-repeat;
    top: 0;
}

#figure_hair {
    z-index: 4;
}

#figure_head {
    z-index: 3;
}

#figure_torso {
    z-index: 2;
}

#figure_legs {
    z-index: 1;
}

#figure_hair_b {
    z-index: 8;
}

#figure_head_b {
    z-index: 7;
}

#figure_torso_b {
    z-index: 6;
}

#figure_legs_b {
    z-index: 5;
}

#face_swap_image_container {
    z-index: 9;
    position: absolute;
    width: 86px;
    height: 60px;
    top: 380px;
    left: 418px;
}

#elements_text_container {
    min-height: 60px;
    border: 3px solid #0d2646;
    color: #0d2646;
    background-color: #fff;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    bottom: 20px;
    padding: 10px;
    text-align: center;
    font-size: 18px;
    position: absolute;
    width: 256px;
}
