/* cabin-condensed-regular - latin */
@font-face {
    font-family: 'Cabin Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('font/cabin-condensed-v13-latin-regular.eot'); /* IE9 Compat Modes */
    src: local('Cabin Condensed'), local('CabinCondensed-Regular'),
        url('font/cabin-condensed-v13-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('font/cabin-condensed-v13-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
        url('font/cabin-condensed-v13-latin-regular.woff') format('woff'), /* Modern Browsers */
        url('font/cabin-condensed-v13-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
        url('font/cabin-condensed-v13-latin-regular.svg#CabinCondensed') format('svg');/* Legacy iOS */
    font-display: swap
}
/* cabin-condensed-600 - latin */
@font-face {
    font-family: 'Cabin Condensed';
    font-style: normal;
    font-weight: 600;
    src: url('font/cabin-condensed-v13-latin-600.eot'); /* IE9 Compat Modes */
    src: local('Cabin Condensed SemiBold'), local('CabinCondensed-SemiBold'),
        url('font/cabin-condensed-v13-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('font/cabin-condensed-v13-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
        url('font/cabin-condensed-v13-latin-600.woff') format('woff'), /* Modern Browsers */
        url('font/cabin-condensed-v13-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
        url('font/cabin-condensed-v13-latin-600.svg#CabinCondensed') format('svg'); /* Legacy iOS */
    font-display: swap
}
/* cabin-condensed-500 - latin */
@font-face {
    font-family: 'Cabin Condensed';
    font-style: normal;
    font-weight: 500;
    src: url('font/cabin-condensed-v13-latin-500.eot'); /* IE9 Compat Modes */
    src: local('Cabin Condensed Medium'), local('CabinCondensed-Medium'),
        url('font/cabin-condensed-v13-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('font/cabin-condensed-v13-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
        url('font/cabin-condensed-v13-latin-500.woff') format('woff'), /* Modern Browsers */
        url('font/cabin-condensed-v13-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
        url('font/cabin-condensed-v13-latin-500.svg#CabinCondensed') format('svg'); /* Legacy iOS */
    font-display: swap
}
/* cabin-condensed-700 - latin */
@font-face {
    font-family: 'Cabin Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('font/cabin-condensed-v13-latin-700.eot'); /* IE9 Compat Modes */
    src: local('Cabin Condensed Bold'), local('CabinCondensed-Bold'),
        url('font/cabin-condensed-v13-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('font/cabin-condensed-v13-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
        url('font/cabin-condensed-v13-latin-700.woff') format('woff'), /* Modern Browsers */
        url('font/cabin-condensed-v13-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
        url('font/cabin-condensed-v13-latin-700.svg#CabinCondensed') format('svg'); /* Legacy iOS */
    font-display: swap
}


:root{
    --nav-orange-inactive: #a84c00;
    --nav-orange-active:#da6425;
    --text-inactive:#e9d9c8;
    --text-active:#fff9ea;
    --text-title: #cea985;
    --text-neutral: white;
    --text-neutral2: black;
    --title:#cea985;
    --red-bg:#290a0a;
    --nav-blue-inactive:#2a5f67;
    --nav-blue-active:#3b818c;
    --nav-blue-bg:#030d10;
    --nav-green-active:#809009;
    --nav-green-inactive:#66710a;
    --item-yellow:#db9400;
    --item-yellow-active:#ffbe33;
    --nav-bg-o:#220901;
    --nav-bg-b:#030d10;
    --nav-bg-g:#555f06;

    
}


html, body{
    /*height:100%;*/
    width: 100%;
    font-family: 'Cabin Condensed';
    background: url(img/bg-pattern.png);
    background-color: var(--red-bg);
}

a:hover {
    text-decoration: none;
    color: var(--nav-orange-active);
}
a {
    color: var(--text-title);
}

.recipe-wraper, .ingredient-wraper{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left:auto;
    margin-right: auto;
    justify-content: center;

}

.recipe-wraper a, .ingredient-wraper a{
    text-decoration:none !important;
}

.recipe-wraper a:hover .recipe-item, .unlock-item-a-wrapper a:hover .unlock-item-single, .unlock-item-d-wrapper a:hover .unlock-item-single{
    background-color: var(--item-yellow-active) ;
}

.item-bottom{
    color: var(--text-neutral2);
}




#item-requires, #item-ing, #item-unlock,#item-ainfo{
    margin: 12px 2px 6px 2px;
    text-align: center;
    color: var(--text-neutral);
    font-weight: 400;
    font-size: 18px;
    border-top: 4px solid var(--nav-orange-active);
}

.ainfo-wraper{
    color: var(--text-neutral);
}

.unlock-item-single{
    display: flex;
    align-items: center;
    height: 36px;
    width: max-content;
    max-width:100%;
    background-color: var(--item-yellow);
    border-bottom-left-radius: 7px;
    border-top-right-radius: 7px;
    padding: 2px 4px 0px 2px;
    padding-bottom: 0px;
    border: 1px solid black;
}

.unlock-item-single-img{
    height:26px;
    padding-right:4px;
}

.unlock-item-a-wrapper a, .unlock-item-d-wrapper a{
    margin: 4px;
    color: var(--text-neutral2);
    text-decoration:none;

}

.unlock-item-a-wrapper, .unlock-item-d-wrapper{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}

#analyse, #discover{
    color:var(--text-neutral);
}

.recipe-item{
    display:flex;
    flex-direction: column;
    width: 154px;
    margin: 3px;
    background-color: var(--item-yellow);
    border-bottom-left-radius: 7px;
    border-top-right-radius: 7px;
    padding: 2px;
    border:1px solid black;
}

.item-top{
    display: flex;
    flex-direction: row;
    align-self: center;
    width: 100%;
    height: auto;
    background: url(img/bg-pattern.png);
    background-color: var(--red-bg);
    color:var(--text-neutral);
    border-bottom-left-radius: 7px;
    border-top-right-radius: 7px;
    background-size:9px;

}

.item-top-inner{
    max-height: inherit;
    display: flex;
    flex-direction: row;
    width:100%;
    
}

.item-top-inner img{
    height: 50px;
    width: 50px;
    padding: 4px;
    margin-right: 1px;
}

.item-inner-multi{
    font-size: 25px;
}

.item-inner-quantity{
    font-size: 48px;
}

.recipe-number-wraper{
    line-height: 1.0;
    margin-left:auto;
    padding: 1px;

}

.item-bottom{
    font-size: 16px;
    padding-left:2px;
    font-weight: 400;

}

.item-info{
    display: flex;
    flex-wrap:wrap;
    flex-direction: row;
}
.item-info-img{
    display: flex;

    justify-content: center;
}

.item-info-text{
    display: flex;
    flex-direction: column;
    color:var(--text-neutral);
    
}

.description-name{
    font-size:25px;
    color:var(--text-title);
}

.description-text{
    font-size:18px;
}

.item-info-bars{
    display: flex;
    color:var(--text-neutral);
    justify-content: center;
}

.stats-bar{
    display:flex;
    flex-direction: column;
}

#bar{
    display: flex;
    align-items: center;
    height:17px;
    width:180px;
    border-left:4px solid var(--nav-orange-active);
    border-right:4px solid var(--nav-orange-active);
    background-color: black;
    margin:2px
}

#bar-right-border, #bar-left-border{
    height: 85%;
    border-right:3px solid var(--item-yellow);
}

.main-bar-label{
    font-size: 14px;
    line-height: 1.0;
    margin-left: 4px;
}

#main-bar{
    height: 70%;
    background:url('img/bar2.png');
    width: 70%;
}

.ingredient-item{
    display:flex;
    align-content: center;
    padding-left: 5px;
    width:210px;
    height:30px;
    font-size:18px;
    font-weight: 400;
    color: var(--text-inactive);
    background-color: var(--nav-orange-inactive);
    margin:3px;
    border-radius: 2px;
    border-top-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border:1px solid black;
    overflow: hidden;
}

.item-selector-wraper{
    display:flex;
    flex-direction: column;
}

.item-selector{
    align-content: center;
    align-items:center;
    padding-left: 5px;
    display:flex;
    height:25px;
    width: 95%;
    font-size:17px;
    font-weight: 400;
    margin:5px;
    border-radius: 2px;
    border-top-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border:1px solid black;
}

.current-o{
    background-color: var(--nav-orange-active) !important;
    color: var(--text-active) !important;
}

.current-b{
    background-color: var(--nav-blue-active) !important;
    color: var(--text-active) !important;
}

.current-g{
    background-color: var(--nav-green-active) !important;
    color: var(--text-active) !important;
}

.item-selector img{
    margin:0px 4px 0px 0px;
}

.crafting-nav{
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap:wrap;
}

.nav-item-img{
    width:60px;
}


.crafting-nav a {
    margin: 2px;
}


.item-container{
    align-items: center;
    max-width: 128px;
}

.content{
    display: flex;
    flex-wrap: wrap;
}

.main-item {
    justify-content: space-around !important;
}
    
.content a:hover{
    text-decoration:none !important;
}
    
.content a:hover span{

    color:#de9e5b;
}
.item-container span {
    flex-direction: column;
    display: flex;
    justify-content: flex-end;
    padding: 5px;
    height: 60px;
    overflow: hidden;
    text-align: center;
    color: var(--text-active);
}

.item-icon-container {
    background: url(loicons/iconbg.png) center;
    background-size: contain;
}

.item-icon-container{
  transition: transform .15s;
}

.item-icon-container:hover{
     transform: scale(1.10);
}

#item-icon {
    height: 128px;
    width: 128px;
}


.nav-current{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.nav-arrow{
    height: 16px;
    margin-left: 6px;
}

.wb-icon{
    align-self: center;
    height: 20px;
}

.nav-top-o{
    background-color: var(--nav-bg-o);
    border: 2px solid black;
    border-radius:5px;
}

.nav-top-b{
    background-color: var(--nav-bg-b);
    border: 2px solid black;
    border-radius:5px;
}
.nav-top-g{
    background-color: var(--nav-bg-b);
    border: 2px solid black;
    border-radius:5px;
}




.nav-all{
    background-color: var(--nav-bg-g);
    border: 2px solid black;
    border-radius:5px;
    
}

.nav-o{
    background-color: var(--nav-orange-inactive);
    color:var(--text-active);
}

.nav-b{
    background-color: var(--nav-blue-inactive);
    color:var(--text-active);
}

.nav-g{
    background-color: var(--nav-green-inactive);
    color:var(--text-active);
}

.tier{
    margin-top: 10px;
    float: right;
    text-align: center;
    color: black;
    background-color: beige;
    min-width: 24px;
    border-radius: 6px;
    height: 19px;
    font-size: 18px;
    font-weight: bold;
    line-height: 21px;
}


.item-selector-wrapper a {
    text-decoration: none !important;
}

.item-selector-wrapper a:hover .nav-o{
    color:var(--text-active);
    background-color: var(--nav-orange-active);
}

.item-selector-wrapper a:hover .nav-b{
    color:var(--text-inactive);
    background-color: var(--nav-blue-active);
}

.ingredient-wraper a:hover .nav-o{
    color:var(--text-active);
    background-color: var(--nav-orange-active);
}

.ingredient-wraper a:hover .nav-b{
    color:var(--text-inactive);
    background-color: var(--nav-blue-active);
}

.ingredient-wraper a:hover .nav-g{
    color:var(--text-inactive);
    background-color: var(--nav-green-active);
}

.item-selector-wrapper a:hover .nav-g{
    color:var(--text-active);
    background-color: var(--nav-green-active);
}

.efects{
    display:flex;
    flex-direction:row;
    align-items: center;
    margin-top:4px;
}

.efects img{
    margin-right:4px;
    height:28px;
}
.efect-name{
    font-size:18px;
}

#plus{
    height:10px;
    margin-right:1px;
}

#cCategory{
    text-align:center;
    font-size:26px;
    color:var(--text-inactive);
}



@media only screen and (max-width: 768px) {
    .item-selector-wrapper{
        width:100%;
    }
    
    .crafting-nav{
        flex-wrap:nowrap;
        overflow: scroll;
        justify-content:left;
    }
}


/*MOODAL IMG*/

.img-wrapper{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;

}

.container-modal-img{
    position: relative;
    width: fit-content;
    height: 125px;

}

.modal-img{
    height: inherit;
}

.img-overlay{
    cursor: pointer;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .3s ease;
    background-color: #000;
    border-radius: 5px;
}

.container-modal-img:hover .img-overlay {
    opacity: 0.8;
}
.img-text{
    color: white;
    font-weight: 700;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}



.element-animation{
    visibility: visible;
    animation: animationFrames ease-out 0.5s;
    animation-iteration-count: 1;
    transform-origin: 50% 50%;
    -webkit-animation: animationFrames ease-out 0.5s;
    -webkit-animation-iteration-count: 1;
    -webkit-transform-origin: 50% 50%;
    -moz-animation: animationFrames ease-out 0.5s;
    -moz-animation-iteration-count: 1;
    -moz-transform-origin: 50% 50%;
    -o-animation: animationFrames ease-out 0.5s;
    -o-animation-iteration-count: 1;
    -o-transform-origin: 50% 50%;
    -ms-animation: animationFrames ease-out 0.5s;
    -ms-animation-iteration-count: 1;
    -ms-transform-origin: 50% 50%;
}

@keyframes animationFrames{
    0% {
        opacity:0;
        transform:  translate(-100px,0px)  ;
    }
    100% {
        opacity:1;
        transform:  translate(0px,0px)  ;
    }
}

@-moz-keyframes animationFrames{
    0% {
        opacity:0;
        -moz-transform:  translate(-100px,0px)  ;
    }
    100% {
        opacity:1;
        -moz-transform:  translate(0px,0px)  ;
    }
}

@-webkit-keyframes animationFrames {
    0% {
        opacity:0;
        -webkit-transform:  translate(-100px,0px)  ;
    }
    100% {
        opacity:1;
        -webkit-transform:  translate(0px,0px)  ;
    }
}

@-o-keyframes animationFrames {
    0% {
        opacity:0;
        -o-transform:  translate(-100px,0px)  ;
    }
    100% {
        opacity:1;
        -o-transform:  translate(0px,0px)  ;
    }
}

@-ms-keyframes animationFrames {
    0% {
        opacity:0;
        -ms-transform:  translate(-100px,0px)  ;
    }
    100% {
        opacity:1;
        -ms-transform:  translate(0px,0px)  ;
    }
}

.hidden{
    visibility: hidden !important;
}
