.incubator {
    display: block;
    width: 100%;
}

.category-list {
    margin-bottom: 10px;
}

.balance-bar {
    display: flex;
}

.balance-bar .bar-fr .menu-balance span {
    background: url(../img/icons/inv-fragment.png) no-repeat left;
    padding-left: 44px;
}

.balance-bar .bar-oa .menu-balance span {
    background: url(../img/icons/points.svg) no-repeat left;
    /* padding-left: 44px; */
}

.balance-bar .bar-aw-mod .menu-balance span {
    background: url(../img/incubator/battery-1.png) no-repeat left -8px;
    background-size: 60px;
    padding-left: 68px;
}

.balance-bar .bar-aw-mod {
    cursor: pointer;
    position: relative;
}

.balance-bar .bar-aw-mod:hover {
    background-color: #efefef;
    border-radius: 5px;
}

.award-modules {
    position: absolute;
    top: 100%;
    left: 25px;
    margin-top: 15px;
    width: max-content;
}

.award-modules .mod-header {
    text-align: center;
}

.mod-list-box {
    position: absolute;
    width: 100%;
    top: 0;
    left: -3px;
    display: none;
}

.award-modules.pressed .mod-list-box {
    display: block;
}

.balance-bar .menu-balance {
    padding: 0 15px;
    border-bottom: 0;
}

.balance-bar .bar-aw-mod .menu-balance {
    padding: 0 10px 0 5px;
}

.modules {
    display: flex;
    margin-bottom: 40px;
}

.parts {
    display: flex;
    width: 100%;
}

.parts-left {
    width: 25%;
}

.parts-center { 
    flex: 1;
    margin: 0 30px;
}

.parts-right {
    width: 25%;
}

.module, .main-module, .module-add {
    justify-content: center;
    justify-items: center;
    align-items: center;
    align-content: center;
    text-align: center;
    margin: 20px 0 30px 0;
    position: relative;
}

.incubator .module.locked::after {
    background: url(../img/icons/locked_small.svg) no-repeat center;
    width: 16px;
    height: 16px;
    content: '';
    display: block;
    position: absolute;
    top: 44px;
    right: 10px;
}

.module .title, .module-add .title {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: normal;
}

.module-add .module .title {
    font-size: 12px;
    margin-bottom: 5px;
    height: 30px;
}

.module .content, .module-add .content {
    background: #ededed;
    padding: 10px 20px;
    height: 238px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px dashed #9e9e9e;
    border-radius: 6px;
    flex-wrap: wrap;
}

.module-add-list {
    width: 100%;
    display: flex;
    margin-bottom: 10px;
}

.module-add .content {
    padding: 10px 10px;
    display: block;
}

.module-add .module {
    width: calc(33.333% - 10px);
    margin: 0 5px;
}

.module-add .module .content {
    height: 180px;
    min-width: 155px;
    padding: 10px 10px;
    display: flex;
}

.main-module .content {
    height: 540px;
}

.content .item {
    height: 170px;
    margin-bottom: 5px;
    cursor: pointer;
    opacity: 0.7; 
}

.module-add .content .item {
    height: 110px;
} 

.item:hover {
    opacity: 1;
}

.item .img {
    width: 128px;
    height: 128px;
    margin: 0 auto;
}

.item .small-img {
    width: 64px;
    height: 64px;
    margin: 0 auto;
}

.item .label {
    text-align: center;
    margin-top: 0;
    font-weight: bold;
}

.module-add .item .label {
    text-align: center;
    margin-top: 0;
    font-weight: normal;
    line-height: normal;
}

.item-empty {
    cursor: pointer;
    opacity: 0.7;    
}

.item-empty .img {
    width: 128px;
    height: 128px;
    margin: 0 auto;
    opacity: 0.5;
}

.item-empty:hover {
    opacity: 1;
}

.item-empty .label {
    text-align: center;
    margin-top: 10px;
    font-weight: normal;
}

.content .desc {
    width: 100%;
    line-height: normal;
    display: flex;
    color: #9e9e9e;
}

.content .desc .stat {
    margin: 0 4px;
}

.module-add .content .desc .stat {
    font-size: 12px;
}

.mod-list {
    position: absolute;
    z-index: 110;
    top: -2px;
    background: #fff;
    padding: 10px 10px 10px 10px;
    border-radius: 3px;
    border: 2px solid #293ca1;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 15%);
    min-width: 544px;
    transition: none;
    /* display: none; */
    overflow-y: auto;
    max-height: 700px;
    overflow-x: hidden;
}

.close-popup {
    position: absolute;
    right: -585px;
    top: -20px;
    left: 544px;
    top: -34px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    background: url(../img/icons/cross.svg) no-repeat center #fff;
    z-index: 200;
    border-radius: 50%;
    border: 2px solid #828596;
    display: none;
}

.close-popup:hover {
    border: 2px solid #f44336;
}

.parts-right .close-popup {
    right: unset;
    left: -35px;
}

.parts-center .close-popup {
    display: none;
}

.award-modules .close-popup {
    right: -570px;
}

.pressed .close-popup {
    display: block;
}

.parts-left .mod-list-box {
    left: 100%;
    margin-left: 15px;
}

.parts-right .mod-list-box {
    right: 100%;
    margin-right: -24px;
}

.egg-ready {
    font-weight: bold;
    text-transform: uppercase;
    color: #4caf50;
    font-size: 13px;
}

.egg-ready.dino-genom {
    color: #ffc107 !important;
}

.parts-left .mod-list::after {    
    left: 0;
    margin-left: -22px;
    border-color: transparent #293ca1 transparent transparent;
}

.parts-right .mod-list::after {    
    right: 0;
    margin-right: -22px;
    border-color: transparent transparent transparent #293ca1;
}

.mod-list-box.popup-type-3, .mod-list-box.popup-type-4 {/* top: unset; */ bottom: -2px;}

.mod-list .mod-item {
    display: flex;
    /* cursor: pointer; */
    border-radius: 3px;
    padding: 4px;
    border: 2px solid transparent;
    position: relative;
    min-height: 200px;
    border-bottom: 1px solid #ededed;
    padding-bottom: 8px;
}

.mod-list .mod-item:last-child {
    border-bottom: none;
}

.mod-list .mod-item.installed {
    border: 2px solid #ff9800;
}

.mod-list .mod-item:hover {
    background: #edededad;
}

.mod-item-level {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
}

.mod-item-level .stars {
    height: 16px;
    background: url(../img/incubator/star.png) repeat left;
    margin: 0 auto;
}

.mod-item-level[data-level="1"] .stars {width: 16px;}
.mod-item-level[data-level="2"] .stars {width: 32px;}
.mod-item-level[data-level="3"] .stars {width: 48px;}
.mod-item-level[data-level="4"] .stars {width: 64px;}
.mod-item-level[data-level="5"] .stars {width: 80px;}

.mod-item-img {
    width: 110px;
    height: 110px;
    margin-right: 15px;
    position: relative;
}

.mod-item-img span {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 100%;
    font-size: 12px;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
    background: #8bc34a2e;
    color: #8bc34a;
    padding: 0 2px;
    border-radius: 2px;
    margin-top: 28px;
}

.installed .mod-item-img span {
    background: #ff990027;
    color: #ff9800;
}

.broken .mod-item-img span {
    background: #e0e0e027;
    color: #383838;
}

.broken img {
    filter: grayscale(100%);
}

.mod-item-content {
    flex: 1;
    text-align: left;
}

.mod-item-name {
    font-weight: bold;
}

.mod-item-price {
    font-size: 12px;
}

.mod-item-price i {
    margin-right: 10px;
    font-style: normal;
}

.mod-item-desc {
    color: #9e9e9e;
    line-height: normal;
    font-size: 12px;
}

.mod-item-stats {
    color: #4caf50;
    line-height: normal;
    font-size: 12px;
    text-transform: uppercase;
    background: #3f51b50d;
    padding: 6px 12px;
    margin: 5px 0 10px;
    border-radius: 4px;
}

.mod-item-stats span {
    display: block;
}

.mod-item-stats span.power {
    color: #ff9800;
    margin-top: 5px;
}

.mod-item-stats span.health {
    color: #293ca1;
    margin-top: 5px;
}

.mod-item-stats span.prop-minus {
    color: #f44336;
}

.mod-item-button {    
    background: #293ca1;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 10px;
    margin-bottom: 5px;
    display: inline-block;
    visibility: hidden;
    cursor: pointer;
    margin-right: 5px;
}

.mod-item .mod-item-button:hover {
    background: #3b4cac;
}

.m-btn-del {
    background: #f44336;
}

.mod-item .mod-item-button.m-btn-del:hover {
    background: #f3554a;
}

.m-btn-study {
    background: #ff9800;
}

.mod-item .mod-item-button.m-btn-study:hover {
    background: #fdb751;
}

.mod-item:hover .mod-item-button {
    visibility: visible;
}

.mod-header {
    background: #ededed;
    font-size: 16px;
    padding: 5px 0;
    margin: 15px 0;
    text-transform: uppercase;
    user-select: none;
}

.mod-list .mod-header:first-child {
    margin-top: 0;
}

.content.pressed {
    background: #dadada;
    border: 2px solid #ff9800;
    z-index: 109;
}

.content.pressed .item-empty {
    opacity: 1;
}

#mod-1 .item-empty .img {background: url('../img/incubator/no-img-1.png') no-repeat center;} 
#mod-2 .item-empty .img {background: url('../img/incubator/no-img-2.png') no-repeat center;} 
#mod-3 .item-empty .img {background: url('../img/incubator/no-img-3.png') no-repeat center;} 
#mod-4 .item-empty .img {background: url('../img/incubator/no-img-4.png') no-repeat center;} 
#mod-5 .item-empty .img {background: url('../img/incubator/no-img-5.png') no-repeat center;} 
#mod-6 .item-empty .img {background: url('../img/incubator/no-img-6.png') no-repeat center;} 

#dlg-overlay {
    opacity: 0.3;
}

.incubator-props-title {
    font-size: 18px;
    text-transform: uppercase;
    background: #95a2e945;
    padding: 6px 0;
    display: flex;
}

.incubator-switch-state {
    width: 250px;
    padding-left: 25px;
}

.incubator-props-title-text {
    flex: 1;
    text-align: center;
}

.incubator-props {
    display: flex;
    margin: 0 0 50px;
    background: #eceef9;
    border: 2px solid #95a2e945;
    padding: 15px 20px;
}

.incubator-props .prop {
    margin-right: 20px;
    display: flex;
}

.incubator-props .prop .img {
    background-size: contain;
    width: 48px;
    height: 48px;
    margin-right: 10px;
}

#prop-power .img {background: url('../img/incubator/prop-power-64.png') no-repeat center;}

.incubator-props .prop .stat-content-title {
    font-style: normal;
    font-size: 12px;
    font-weight: normal;
    text-transform: uppercase;
    display: block;
    line-height: 12px;
    color: #7b7b7b;
}

.incubator-props .prop .stat-content-value {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 20px;
    line-height: normal;
}

.incubator-props .prop.attention .stat-content-value {
    color: #f44336;
}

.slots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.slot {
    padding: 15px;
    width: calc(50% - 20px);
    border: 2px solid #9e9e9e;
    margin: 10px;
    border-radius: 4px;
    opacity: 0.6;
    position: relative;
}

.slot:hover {
    opacity: 1;
}


.slot .egg-img.empty img {
    box-shadow: none;
}

.slot .egg-img img {
    width: 128px;
    height: 128px;
}

.egg-img img.img-ready {
    display: none;
}

.slot.complete .egg-img.egg-ready {
    width: 100%;
    height: 128px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.slot.ready {
    cursor: pointer;
}

.slot.ready:hover img.img-default {
    display: none;
}

.slot.ready:hover img.img-ready {
    display: inline;
}

.slot .egg-title {
    margin-top: 10px;
    color: #9e9e9e;    
    height: 35px;
    line-height: normal;
}

.slot .egg-status .status-bar {
    position: relative;
    height: 22px;
    line-height: 20px;
    margin-top: 10px;
    border-radius: 2px;
    background: #9e9e9e8c;
    overflow: hidden;
}

.slot .egg-status .status-bar-text {
    z-index: 2;
    color: #fff;
    position: relative;
}

.slot .egg-status .status-bar-bg {
    position: absolute;
    left: 0;
    top: 0;
    height: calc(100% + 2px);
    padding: 0px;
    z-index: 1;
}
 
.egg-list::after {
    display: none;
}

.slot-egg-delete {
    position: absolute;
    width: 28px;
    height: 28px;
    left: 100%;
    margin-left: -14px;
    top: -14px;
    cursor: pointer;
    background: url(../img/icons/delete-16.svg) no-repeat center #ffffff;
    border: 2px solid #828596;
    border-radius: 50%;
    display: none;
}

.slot:hover .slot-egg-delete {
    display: block;
}

.slot .slot-egg-delete:hover {
    border: 2px solid #f44336;
}

.slot.complete .slot-egg-delete {
    display: none !important;
}

.dino-genoms {
    display: flex;
    margin: 10px 0 50px;
}

.dino-genoms .table-col {
    width: calc(50% - 10px);
    margin-right: 20px;
}

.dino-genoms .table-col:last-child {
    margin-right: 0;
}

.fav-dinos tr {
    position: relative;
    overflow: hidden;
}
.fav-dinos tr td {
    z-index: 3;
    position: relative;
}
.fav-dinos tr td.bg {
    position: absolute;
    left: 0;
    height: calc(100% + 2px);
    padding: 0px;
    z-index: 1;
}
.fav-dinos tr.total {
    position: relative;
    background-color: #ff1a0917;
}
.fav-dinos tr.total .bg {
    background-color: #f0faf1;
    z-index: 2;
    left: -1px;
    height: calc(100% + 1px);
}
.fav-dinos tr td:first-child {
    text-align: left;
}
span.season {
    color: #9e9e9e;
    margin-left: 20px;
}

.incubator-switch {
    text-align: center;
    margin-bottom: 30px;
}

.incubator-toggle-btn {
    background-image: url(../img/incubator/turn-icon.png);
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f44336;
    width: 120px;
    border-radius: 50%;
    height: 120px;
    line-height: 115px;
    font-size: 25px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 auto;
    cursor: pointer;
}

.incubator-toggle-btn:hover {
    opacity: 0.9;
}

.incubator-toggle-btn.active {
    background-color: #4caf50;
}

.incubator-toggle-btn.wait {
    background-color: #9e9e9e;
    cursor: wait;    
}

.incubator-footer-bar {
    display: flex;
}

.incubator-prop-block {
    flex: 1;
    margin-left: 30px;
} 

.parts-left .content, .parts-right .content {
    min-width: 292px; 
}

.main-module .content, .module-add .module-add-list {
    min-width: 500px; 
    width: 100%;
}

.egg-calc {
    display: flex;
}

.egg-calc div {
    margin-right: 20px;
}

#calc-result {
    font-weight: bold;
    font-size: 25px;
    margin-top: 15px;
}