body{
    background-color: #ffbd2a;
}

#page-mast h1{
    display: none;
}

#region-main
{
    padding: 0;
}

#page
{
    margin-top: 0px;
}

#page-header {
    padding: 0;
}

#moodle-footer
{
    display: none;
}

#page.container-fluid, #region-main-box
{
    padding: 0;
}

#navigation{
    position: absolute;
}

div.avatar-gui-left{
    /*height: 100vh;*/
    background-color: #cef0e2;
}

div.avatar-gui-left .row{
    text-align: center;
    padding-top: 1em;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,1);
    background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%, rgba(206,240,226,1) 82%, rgba(206,240,226,1) 92%, rgba(206,240,226,1) 100%);
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(255,255,255,1)), color-stop(82%, rgba(206,240,226,1)), color-stop(92%, rgba(206,240,226,1)), color-stop(100%, rgba(206,240,226,1)));
    background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%, rgba(206,240,226,1) 82%, rgba(206,240,226,1) 92%, rgba(206,240,226,1) 100%);
    background: -o-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%, rgba(206,240,226,1) 82%, rgba(206,240,226,1) 92%, rgba(206,240,226,1) 100%);
    background: -ms-radial-gradient(center, ellipse cover, rgba(255,255,255,1) 0%, rgba(206,240,226,1) 82%, rgba(206,240,226,1) 92%, rgba(206,240,226,1) 100%);
    background: radial-gradient(ellipse at center, rgba(255,255,255,1) 0%, rgba(206,240,226,1) 82%, rgba(206,240,226,1) 92%, rgba(206,240,226,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#cef0e2', GradientType=1 );
    position: relative;
    /*height: 90vh;*/
    margin-bottom: -1vh;
}

div.avatar-gui-right
{
    background: #ffbd2a;
    /*height: 100vh;*/
}

.avatar-main{
    font-family: "Roboto",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

.container-a{
    margin: 0px auto;
    max-width: 768px;
    width: 80%;
}

.avatar-inventory-logo
{
    top: 4em;
    width: 49.9%;
    left: 25%;
    margin: 0 auto;
    max-width: 400px;
}

.avatar-inventory-logo img{
    width: 100%;
}

.avatar-badge-items
{
    background: #fff;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    margin: 0.5em 1px;
    padding: 1em;
    display: flex;
    -webkit-box-shadow: 0px 4px 3px -1px rgba(0,0,0,0.36);
    -moz-box-shadow: 0px 4px 3px -1px rgba(0,0,0,0.36);
    box-shadow: 0px 4px 3px -1px rgba(0,0,0,0.36);
}

.avatar-badge-items:hover{
    background: #f8e999;
    cursor: pointer;
}

.avatar-badge-items img{
    height: 60px;
}

.avatar-badge-items-info{
    float: right;
    text-align: left;
    font-size: 0.7em;
    line-height: 1em;
    color: #211f20;
    margin-left: 1em;
}

.avatar-badge-items-desc{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 1.2em;
    max-height: 3.4em;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    min-height: 3.4em;
}

/*.avatar-badge-items-desc:hover{
    position: absolute;
    overflow: visible;
    max-height: none;
}*/

.avatar-badge-items-name
{
    font-weight: bold;
    color: #3c4759;
    margin-bottom: 0.5em;
}

.avatar-badge-items-disabled{
    opacity: 0.4;
}

.avatar-badge-items-disabled:hover{
    background:#fff;
    cursor: not-allowed;
}

.avatar-badge-items-selected{
    background: #ffe248;
}

.avatar-svg-box{
    /*position: absolute;*/
    bottom: 2em;
    left: 30%;
    width: 40%;
    max-width: 350px;
    margin: 0 auto;
    padding-top: 2em;
}

.avatar-svg-box object{
    bottom: 0px;
    margin-bottom: -6px;
}

.avatar-preview-attr{
    width: 120px;
    text-align: center;
    margin: 10px;
    position: absolute;
    float: left;
    clear: left;
}

.avatar-preview-attr-bottom
{
    position: absolute;
    bottom: 7vh;
}

.avatar-preview-attr-top{
    top: 9em;
}

.avatar-preview-attr.right
{
    right: 0px;
    float: right;
    clear: right;
}

.avatar-preview-items img{
    height: 80px;
    background: #909090;
    padding: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.avatar-preview-items-info
{
    padding-top: 0.5em;
    text-align: center;
    font-size: 0.9em;
    color: #211f20;
}

.avatar-preview-items-name
{
    font-weight: bold;
    color: #3c4759;
    margin-bottom: 0.1em;
}

.avatar-preview-items-desc{

    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 16px;     /* fallback */
    max-height: 32px;      /* fallback */
    -webkit-line-clamp: 2; /* number of lines to show */
    -webkit-box-orient: vertical;
}

svg {width: 100%; height: auto;}

.avatar-submit{
    position: fixed;
    z-index: 19;
    /* bottom: 3px; */
    /* width: 80%; */
    left: 5%;
    top: 5em;;
    color: #3e4d53;
}

.avatar-submit input{
    border-color: #ffcf11;
    padding: .5em 1.2em .3em 2.6em;
    width: auto;
    color: #3e4d53;
    font-weight: 600;
    text-transform: uppercase;
    font-family: BebasNeue !important;
    background: url(../pix/back.png) .5em center no-repeat #ffcf11;
    -webkit-border-radius: 1em!important;
    -moz-border-radius: 1em !important;
    border-radius: 1em !important;
    z-index: 100;

}

.avatar-submit input:hover{
    background: url(../pix/back.png) .5em center no-repeat #ffcf11;
    background-color: #E2F6EE;
    color: #3e4d53;
}


.avatar-badge-items-price{
    position: absolute;
    bottom: 1.1em;
    z-index: 10;
    padding-left: .5em;
}

.avatar-badge-items-price .buyitem {
    border: 0px;
    -webkit-border-radius: 1em;
    -moz-border-radius: 1em;
    border-radius: 1em;
    background: url(/theme/image.php/inventorium/theme/1516254960/coin-small) no-repeat 3px center #3e4d52;
    -webkit-background-size: 20px;
    background-size: 1em;
    font-weight: 600;
    padding: 0px .7em 0px 1.7em;
    width: 75px;
    text-align: left;
    font-size: .9em;
}

/*
Switching between select-slider and tab-slider
*/
@media screen and (orientation:portrait) {
}

@media screen and (max-width:767px) and (orientation:portrait) {
    body{
        background-color: #CEF0E2;
    }

    #page-mast h1{
        display: none;
    }

    #mr-nav
    {
        background: none;
    }

    body{
        font-size: 1rem;
    }

    div.avatar-gui-left .row{
        margin: 0 -15px;
        /*height: 100vw;*/
    }

    .avatar-svg-box{
        left:30%;
        width: 79.9%;
    }

    div.avatar-gui-right
    {
        min-height: 44vh;
    }


    div.avatar-gui-right{
        display: flex;
        height: auto;
        padding-top: 0;
    }

    div.avatar-gui-left
    {
        margin-top: 2.8em;
    }

    .avatar-inventory-logo {
        top: 1em;
    }

    .avatar-preview-items img{
        height: 13vw;
        background: #909090;
        padding: 5px;
    }

    .avatar-submit{
        position: fixed;
        z-index: 100;
        bottom: 1em;
        right: 1em;
        top: auto;
    }

    .avatar-preview-attr{
        width: 25vw;
        margin: 1.5vw;
    }

    .avatar-preview-attr-top {
        top: 3.5em;
    }

    .avatar-preview-attr-bottom
    {
        bottom: 5vh;
    }

    .avatar-badge-items-info{
        margin-left: 1em;
    }

    .avatar-badge-items-name{
        margin-bottom: 0.15em;
    }

    .avatar-badge-items
    {
        padding: 0.5em;
        margin: 0.25em 0;
    }

    .col-xs-6
    {
        padding: 5px;
    }

    .slider-container>div .row
    {
        margin-left: 0px;
        margin-right: 0px;
    }
}


@media screen and (max-width:568px) {
    .avatar-badge-items img {
        height: 10vw;
    }

    .avatar-badge-items-price .buyitem{
        width: 11vw;
    }

    .avatar-preview-items-desc{

        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        line-height: 16px;     /* fallback */
        max-height: 32px;      /* fallback */
        -webkit-line-clamp: 2; /* number of lines to show */
        -webkit-box-orient: vertical;
    }
}

@media screen and (max-width:767px) and (orientation:landscape) {
    body{
        background-color: #CEF0E2;
    }

    div.avatar-gui-left .row{
        margin: 0 auto;
        /*height: 80vh;*/
        width: 60vw;
        margin-top: 3em;
    }

    .avatar-preview-attr {
        width: 80px;
        font-size: .8em;
    }

    .avatar-svg-box {
        width: 79.9%;
        padding-top: 1px;
    }

    .avatar-preview-attr-bottom {
        bottom: 0;
    }

    .avatar-preview-items img {
        height: 40px;
        padding: 8px;
    }

    .avatar-badge-items-price .buyitem{
        width: 75px;
    }

    .avatar-inventory-logo {
        width: 35.9%;
    }

    .avatar-badge-items-info {
        font-size: 0.8em;
    }
}

@media screen and (max-width:992px) and (min-width:768px) {
    div.avatar-gui-left
    {
    }


}

@media screen and (min-width:769px){
    .avatar-svg-box{
        bottom: -1em;
    }

    .avatar-gui-right .slider-wrapper{
        height: 73vh;
    }

    div.avatar-gui-right, div.avatar-gui-left{
        /*height: 100vh;*/
    }

    div.avatar-gui-left{
        /*height: 100vw;*/
        /*max-height: 100vh;*/
    }
}


@media screen and (min-width: 767px) and (orientation:portrait){
    div.avatar-gui-left div.row{
        /*height: 100vw;*/
    }

    .avatar-svg-box {
        bottom: 0;
        left: 20%;
        width: 79.9%;
    }
}

@media screen and (min-width: 767px) and (orientation:landscape){
    div.avatar-gui-left div.row{
        /*height: 50vw;*/
        /*min-height: 50vh;*/
        /*max-height: 500px;*/
        margin-top: 3em;
    }

    .avatar-svg-box {
        width: 80%;
    }

    .avatar-preview-attr-bottom {
        bottom: 1vh;
    }

}

@media screen and (min-width: 1024px) and (orientation:landscape){
    .avatar-submit{
        left: 10%;
    }
}

@media screen and (min-device-width: 767px) and (max-device-width: 1023px) and (orientation:portrait){
    div.avatar-gui-left .row{
        /*height: 100vw;*/
        padding-top: 4em;
    }

    .avatar-svg-box {
        width: 79.9%;
    }

    .avatar-preview-attr.avatar-preview-attr-bottom{
        bottom: 1.5em;
    }

    .avatar-badge-items img {
        height: 4vw;
    }

    .avatar-badge-items-price .buyitem{
        width:6.5vw;
    }
}
@media screen and (min-height:1024px) and (min-width:1024px) and (orientation:portrait){
    div.avatar-gui-left div.row{
        /*height: 60vh;*/
        padding-top: 4em;
        /*max-height: 650px;*/
    }

    .avatar-svg-box {
        width: 79.9%;
    }

    div.avatar-gui-left{
        /*max-height: 100vh;*/
    }

    .avatar-preview-attr{
        width: 15vw;
    }

    .avatar-preview-attr-top{
        margin: 5vh 1vw;
        margin-bottom: 0;
    }

    .avatar-preview-attr-bottom{
        margin-top: 0;
        bottom: 1.5em;
    }

    .avatar-preview-attr img{
        height: 70px;
    }
}

@media screen and (min-device-width: 1024px) and (max-aspect-ratio:13/9) and (min-aspect-ratio:1){
    .avatar-svg-box {
        bottom: 2em;
        left: 20%;
        width: 59.9%;
    }
}

.avatar-gui-right .slider-wrapper{
    overflow-y: scroll;
    height: auto;
    padding-bottom: 3em;
}

.avatar-gui-right .slider-wrapper::-webkit-scrollbar-track
{
    /*-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);*/
    border-radius: 10px;
    background: none;
    margin-right: 10px;
}

.avatar-gui-right .slider-wrapper::-webkit-scrollbar
{
    width: 8px;
    background: none;
}

.avatar-gui-right .slider-wrapper::-webkit-scrollbar-thumb
{
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}
.avatar-preview-attr-bottom.submit{
    width: 100%;
    padding: 0 140px;
    box-sizing: border-box;
    margin: 0;
}

.container{
    /*border: 1px solid #909090;*/
}

.slide-navbar > li{
    font-family: BebasNeue;
    letter-spacing: .05em;
}

/* Avatar inventory contrast issue */
.linksgrouped > ul > li > a {
    color:#662200 !important;
}

#page-footer > .purgecaches > a {
    color: #662200;
}

#page-local-avatarinventory-index > div > a {
    color: #662200;
}