.ip-warp {
    
}

.infoPage {
    box-shadow: 0 0 5px #000;
    opacity: 0;
}

.ip-wrap.hide {
    display: none;
}

.infoPage.min {
    width: 350px;
}

.infoPage .header {
    position: absolute;
    width: 100%;
    box-shadow: 0 5px 5px -5px #000;
}

.infoPage.min .header {
    text-align: right;
    width: 350px;
}

.infoPage .label {
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 30px;
    font-size: 150%;
    padding-left: 30px;
    text-align: left;
    overflow: hidden;
    box-sizing: border-box;
}

.infoPage.min .label {
    line-height: 30px;
    margin-bottom: 5px;
}

.infoPage .selector {
    position: relative;
    float: right;
    width: 204px;
    height: 40px;
    margin: 5px;
    text-align: center;
}

.infoPage .selector.disabled .text,
.infoPage .selector.disabled .photo,
.infoPage .selector.disabled .plat {
    opacity: 0.5;
    cursor: default;
}

.infoPage.min .selector {
    display: inline-block;
    width: 250px;
    float: none;
}

.infoPage .sel-wrap {
    width: 160px;
    height: 100%;
    border-radius: 15px;
    box-shadow: 0 0 5px #000 inset;
}

.infoPage .selector .btn {
    display: inline-block;
    position: relative;
    z-index: 1;
    width: 45%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.infoPage .selector .close {
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    margin: 3px;
    float: right;
    border-radius: 12px;
    box-shadow: 0 0 5px #000;
    font-size: 170%;
    cursor: pointer;
}

.infoPage .selector .text {
    background-image: url(../src/icons/txtb.png); 
    background-size: 30px;
}

.infoPage .selector .photo {
    background-image: url(../src/icons/phob.png); 
    background-size: 40px;
}

.infoPage .selector .plat {
    position: absolute;
    left: 0;
    top: 0;
    margin: 2px;
    width: 80px;
    height: 36px;
    background-color: #a12929;
    border-radius: 13px;
    box-shadow:
        0 5px 15px -5px rgba(255, 255, 255, 0.6) inset,
        0 -5px 15px -5px rgba(0, 0, 0, 0.6) inset;
    transition: left 0.3s;
}

.infoPage[data-info-type="photo"] .plat {
    left: 76px;
}

.infoPage[data-info-type="text"] .btn.text {
    background-image: url(../src/icons/txtw.png);
}

.infoPage[data-info-type="photo"] .btn.photo {
    background-image: url(../src/icons/phow.png);
}

.infoPage .content {
    display: none;
    height: calc(100% - 110px);
    margin-top: 50px;
    padding: 30px;
    box-sizing: border-box;
    font-size: 120%;
    text-indent: 30px;
    overflow-y: scroll;
}

.infoPage.min .content {
    margin-top: 90px;
    height: calc(100% - 150px);
}

.infoPage .content figure {
    margin: 0;
    width: 100%;
    text-align: center;
    text-indent: 0;
    margin-bottom: 30px;
}

.infoPage .content figure img {
    width: 90%;
}

.infoPage[data-info-type="text"] .content.text {
    display: block;
}

.infoPage[data-info-type="photo"] .content.photo {
    display: block;
}