﻿.positionGroupListCard {
    padding: 0;
    overflow: hidden;
    position: relative;
}

    .positionGroupListCard > .positionGroupListCard__col:nth-of-type(2n) {
        float: left;
    }

.positionGroupListCard__col {
    width: 50%;
    padding-top: 50%;
    position: relative;
}

.positionGroupListCard__col__content {
    position: absolute;
    top: -1px;
    bottom: 0;
    left: -1px;
    right: 0;
}

.positionGroupListCard__col__content--image {
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    width: 100%;
    height: 100%;
}

.positionGroupListCard__col__content--image--overlay {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.positionGroupListCard__nameContainer {
    position: relative;
    width: 100%;
    height: 100%;
}

.positionGroupListCard__nameContainer__name {
    position: absolute;
    top: 20%;
    height: 90px;
    width: 80%;
    left: 10%;
    text-align: center;
    color: #444;
    font-size: 30px;
    line-height: 30px;
    font-weight: bold;
    overflow: hidden;
    word-break: break-word;
    word-wrap: break-word;
}

.positionGroupListCard__nameContainer__btn {
    position: absolute;
    bottom: 15%;
    height: 50px;
    width: 100%;
    left: 0;
    cursor: pointer;
}

.positionGroupListCard__nameContainer__btn__table {
    width: 80%;
    height: 100%;
    display: table;
    margin: 0 auto;
    border: 1px solid #444;
    -ms-border-radius: 50px;
    border-radius: 50px;
    background-color: #444;
}

.positionGroupListCard__nameContainer__btn__table__cell {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    color: #fff;
}

.positionGroupListCard__drag {
    position: absolute;
    top: 0;
    bottom: 0;
}

.positionGroupListCard__drag--left {
    left: 0;
    right: 50%;
}

.positionGroupListCard__drag--right {
    right: 0;
    left: 50%;
}

.positionGroupListCard__drag--noDisplay {
    display: none;
}

.positionGroupListCard__drag__container {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgba(104,104,104, 0.5);
}

.positionGroupListCard__drag__text {
    position: absolute;
    top: 50%;
    height: 90px;
    width: 80%;
    left: 10%;
    text-align: center;
    color: #444;
    font-size: 30px;
    font-weight: bold;
    overflow: hidden;
    word-break: break-word;
    word-wrap: break-word;
}

.iconPlaceHolder {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.iconPlaceHolder__iconContainer {
    width: 6vw;
    height: 6vw;
    border-radius: 50%;
    overflow: hidden;
}

.iconPlaceHolder__iconContainer__icon {
    height: 100%;
    background-size: cover;
}

.cardContainer {
    overflow: hidden;
}

    .cardContainer > .cardContainer__card:nth-of-type(4n+1) > .positionGroupListCard > .positionGroupListCard__col:first-of-type,
    .cardContainer > .cardContainer__card:nth-of-type(4n+2) > .positionGroupListCard > .positionGroupListCard__col:first-of-type {
        float: left;
    }

    .cardContainer > .cardContainer__card:nth-of-type(4n+3) > .positionGroupListCard > .positionGroupListCard__col:first-of-type,
    .cardContainer > .cardContainer__card:nth-of-type(4n+4) > .positionGroupListCard > .positionGroupListCard__col:first-of-type {
        float: right;
    }

@media(min-width: 1250px) and (max-width: 1399px) {
    .systemCardContainer .positionGroupListCard__nameContainer__name {
        font-size: 1.72vw;
        line-height: 29px;
    }
}

@media(min-width: 1400px) and (max-width: 1919px) {
    .systemCardContainer .positionGroupListCard__nameContainer__name {
        font-size: 1.7857143vw;
        line-height: 34px;
    }
}

@media(max-width: 1249px) and (min-width: 768px) {
    .systemCardContainer .positionGroupListCard__nameContainer__name {
        font-size: 1.72vw;
        line-height: 2.4vw;
    }
}

@media (max-width: 767px) {
    .cardContainer > .cardContainer__card:nth-of-type(2n+1) > .positionGroupListCard > .positionGroupListCard__col:first-of-type {
        float: left;
    }

    .cardContainer > .cardContainer__card:nth-of-type(2n+2) > .positionGroupListCard > .positionGroupListCard__col:first-of-type {
        float: right;
    }

    .iconPlaceHolder__iconContainer {
        width: 16.25vw;
        height: 16.25vw;
        min-width: 52px;
        min-height: 52px;
        max-width: 100px;
        max-height: 100px;
    }

    .positionGroupListCard__nameContainer__name {
        top: 15%;
        font-size: 7.2vw;
        line-height: 7.4vw;
    }

    .systemCardContainer .positionGroupListCard__nameContainer__name {
        font-size: 4.1vw;
        line-height: 4.3vw;
    }

    .positionGroupListCard__nameContainer__btn {
        height: 45px;
        bottom: 12%;
    }
}
