﻿/* medium logo */
.iMainLogo {
    width: 16.9vw;
    max-width: 640px;
}

/* reset padding */
.dvSection.tCharDetails {
    padding: 0;
}

.dvCharDetails,
.dvCharImg,
.dvCharInfo,
.dvCharInfoCore,
.dvCharName {
    position: relative;
}

.dvCharDetails .dvCharInfo {
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.5s, visibility 0.5s;
    -moz-transition: opacity 0.5s, visibility 0.5s;
    -o-transition: opacity 0.5s, visibility 0.5s;
    transition: opacity 0.5s, visibility 0.5s;
}

.dvCharDetails.infoOpen .dvCharInfo {
    opacity: 1;
    visibility: visible;
}

.dvCharShip {
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);

    width: 23.96%;
    min-width: 290px;
}

.dvCharShip .iCharShip {
    position: relative;
}

.dvCharImg .dvCharName {
    position: absolute;
    bottom: 10px;
    left: 50%;

    width: 32%;
    min-width: 430px;
    max-width: 720px;

    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

/* char name subsection */
.dvCharName .dvCharInfoBg {
    opacity: 0.7;
}

.dvCharName .hSectionTitle {
    margin: 0;
    padding: 0 10%;

    background-image: url('./../Img/AddBtnBg.png');
    background-position: right center;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

/* hover styles for overlay (as it captures hover) */
.dvCharName a.overlay {
    z-index: 1;
}

.dvCharName a.overlay:hover ~ .dvCharNameInner .hSectionTitle {
    background-image: url('./../Img/AddBtnBgHover.png');
}

.dvCharNameInner {
    position: relative;
    padding: 5px;
}

/* character info */
.dvCharContent {
    position: absolute;
    top: 0;

    width: 100%;
    padding: 0 50px;
    box-sizing: border-box;
}

.dvCharContent .dvCharInfoBg {
    opacity: 0.85;
}

.iLogoSpacer {
    position: static;
    visibility: hidden;
}

/* character info container */
.dvCharInfo {
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    padding: 20px 15px;
    box-sizing: border-box;
    margin-top: 20px;

    z-index: 3;
}

.dvCharInfo .dvCharInfoBg {
    box-sizing: border-box;
}

.dvCharInfo,
.dvCharInfo .hSectionTitle {
    color: #ffffff;
}

.dvCharInfo .hSectionTitle {
    margin: 0;
}

.dvCharInfo .dvDesc {
    width: auto;
    min-width: initial;
    margin-bottom: 25px;
    padding: 0 45px;
    margin-top: 15px;
}

.dvCharInfo .dvDesc p + p {
    margin-top: 15px;
}

.dvCharInfo .hActionBtn.close {
    position: absolute;
    top: 20px;
    right: 15px;
}

.dvCharInfoBg {
    border-radius: 15px;
    background-color: #000;
}

/* character powerups */
.dvCharInfo .powerupList {
    margin-top: 15px;
}

/* responsive list override (6-column layout) */
.powerupList .dvRespListItem {
    vertical-align: top;
    width: 16.66%;
}

.powerupList .hSectionTitle {
    text-align: center;
    margin: 5px 0 0;
}

/* charlist section override */
.dvSection.tCharList {
    padding-top: 20px;
    padding-bottom: 20px;
}

.dvSection.tCharList .charList {
    margin-top: 0;
}

/* charlist size override - 12-column layout */
.charList .dvRespListItem {
    width: 8.33%;
}

/* Character list proprotional spacings */
.charList .dvRespListInner {
    margin: -0.2222%;
}

.charList .dvRespListItem {
    padding: 0.2222%;
}

@media screen and (min-width: 2560px) {
    /* adjust border radius on char info bg */
    .dvCharInfoBg {
        border-radius: 20px;
    }
}

@media screen and (min-width: 1281px) {
    /* resp list centering */
    .charList.items-11,
    .charList.items-10,
    .charList.items-9,
    .charList.items-8,
    .charList.items-7,
    .charList.items-6,
    .charList.items-5,
    .charList.items-4,
    .charList.items-3,
    .charList.items-2,
    .charList.items-1 {
        text-align: center;
    }
}

@media screen and (min-width: 769px) and (max-width: 1280px) {
    /* 8-item layout for character list */
    .charList .dvRespListItem {
        width: 12.5%;
    }

    /* adjust proportional spacings */
    .charList .dvRespListInner {
        margin: -0.3611%;
    }

    .charList .dvRespListItem {
        padding: 0.3611%;
    }

    /* resp list centering */
    .charList.items-7,
    .charList.items-6,
    .charList.items-5,
    .charList.items-4,
    .charList.items-3,
    .charList.items-2,
    .charList.items-1 {
        text-align: center;
    }
}

@media screen and (max-width: 1024px) {
    /* page measurements medium */
    .dvCharContent {
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media screen and (max-width: 1200px) {
    /* lock gas station background height */
    .dvCharImg {
        height: 450px;
        overflow: hidden;
    }

    .dvCharImg .iCharBg {
        position: absolute;
        left: 50%;
        width: auto;
        height: 100%;

        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

@media screen and (min-width: 769px) {
    /* resp list centering */
    .powerupList.items-5,
    .powerupList.items-4,
    .powerupList.items-3,
    .powerupList.items-2,
    .powerupList.items-1 {
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    /* compensate for the smaller close button */
    .dvCharInfo .dvDesc {
        padding: 0 30px;
    }

    /* responsive list override (5-column layout) */
    .powerupList .dvRespListItem {
        width: 20%;
    }

    /* 5-item layout for character list */
    .charList .dvRespListItem {
        width: 20%;
    }

    /* adjust proportional spacings */
    .charList .dvRespListInner {
        margin: -0.5%;
    }

    .charList .dvRespListItem {
        padding: 0.5%;
    }

    /* resp list centering */
    .charList.items-4,
    .charList.items-3,
    .charList.items-2,
    .charList.items-1 {
        text-align: center;
    }

    /* adjust border radius on char info bg */
    .dvCharInfoBg {
        border-radius: 10px;
    }
}
@media screen and (min-width: 2561px) {.gs1 {content: url('../Img/BgGasStation3840.jpg') !important;}}
@media screen and (max-width: 2560px) {.gs1 {content: url('../Img/BgGasStation2560.jpg');}}
@media screen and (max-width: 1919px) {.gs1 {content: url('../Img/BgGasStation1920.jpg');}}
@media screen and (min-width: 641px) and (max-width: 768px) {
    /* resp list centering */
    .powerupList.items-4,
    .powerupList.items-3,
    .powerupList.items-2,
    .powerupList.items-1 {
        text-align: center;
    }
}

@media screen and (max-width: 640px) {
    /* responsive list override (4-column layout) */
    .powerupList .dvRespListItem {
        width: 25%;
    }

    /* resp list centering */
    .powerupList.items-3,
    .powerupList.items-2,
    .powerupList.items-1 {
        text-align: center;
    }
}
/* extra small (320px - 479px) */
@media screen and (max-width: 479px) {
    .dvCharImg .dvCharName {
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        transform: none;
        left: 25px;
        right: 25px;
        width: auto;
        max-width: auto;
        min-width: auto;
    }

    .dvCharInfo .dvDesc {
        padding: 0 15px;
    }
}