#tab2.tab, #tab3.tab, #tab4.tab {
    display: none;
}



.tab {
    display: flex;
    flex-flow: row wrap;
    padding-bottom:25rem;
}

.tab.active {
    display: flex;
    flex-flow: row wrap;
    padding-bottom:25rem;
}

.tab a {
    padding: 0 3px;
    margin-top:0.625rem;
}

.tabs img {
    max-width: 100%;
}

.tab a {
    /*flex: 33.33333%;
    max-width: 33.33333%;*/
    display: block;
    perspective: 1000px;
}

.tab a:hover,
.tab a:active {
    -webkit-animation: shake .82s cubic-bezier(.36, .07, .19, .97) both;
    animation: shake .82s cubic-bezier(.36, .07, .19, .97) both;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    perspective: 1000px
}

@media only screen and (max-width: 500px) {
    .tab-links a {
        padding: 5px 0;
        border-width: 2px 1px;
    }
    .tab-links a span {
        font-size: 5.5px;
        height: auto;
    }
    .tab-links a span img {
        width: 65%;
    }
}

.custom-model-main {
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    opacity: 0;
    -webkit-transition: opacity 0.15s linear, z-index 0.15;
    -o-transition: opacity 0.15s linear, z-index 0.15;
    transition: opacity 0.15s linear, z-index 0.15;
    z-index: -1;
}

.model-open {
    z-index: 99999;
    opacity: 1;
}

.custom-model-inner {
    -webkit-transition: -webkit-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: -webkit-transform 0.3s ease-out;
    -o-transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
    display: inline-block;
    vertical-align: middle;
    width: 90%;
}

.custom-model-wrap {
    display: block;
    width: 100%;
    position: relative;
    color: #fff;
    background-color: #000;
    border: 1px solid rgb(255, 231, 17);
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    background-clip: padding-box;
    outline: 0;
    text-align: left;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
}

.model-open .custom-model-inner {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    transform: translate(0, 0);
    position: relative;
    z-index: 999;
}

.model-open .bg-overlay {
    background: rgba(0, 0, 0, 0.6);
    z-index: 99;
}

.bg-overlay {
    background: rgba(0, 0, 0, 0);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    z-index: 0;
    -webkit-transition: background 0.15s linear;
    -o-transition: background 0.15s linear;
    transition: background 0.15s linear;
}

.close-btn {
    position: absolute;
    right: 0;
    top: -30px;
    cursor: pointer;
    z-index: 99;
    font-size: 30px;
    color: #fff;
}

@media screen and (min-width:800px) {
    .custom-model-main:before {
        content: "";
        display: inline-block;
        height: auto;
        vertical-align: middle;
        margin-right: -0px;
        height: 100%;
    }
}

@media screen and (max-width:799px) {
    .custom-model-inner {
        margin-top: 40%;
    }
}

.btn.primary {
    border-color: #25729a;
    background-color: #3093c7;
    background-image: -webkit-linear-gradient(top, #3093c7, #1c5a85);
    background-image: linear-gradient(to bottom, #3093c7, #1c5a85);
    color: #fff;
}

.btn.share {
    border-color: #34740e;
    background-color: #4ba614;
    background-image: -webkit-linear-gradient(top, #4ba614, #008c00);
    background-image: linear-gradient(to bottom, #4ba614, #008c00);
    color: #fff;
}

@-webkit-keyframes grow {
    from {
        -webkit-transform: scale(1);
    }
    to {
        -webkit-transform: scale(1.1);
    }
}

@keyframes grow {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

.carousel-indicators {
    margin-bottom: 5px;
}

.carousel-indicators li {
    border-radius: 50%;
    width: 8px;
    height: 8px;
    background-color: #eee;
}

.row-bottom.btn-share {
    padding: 7px 15px 15px 15px;
    margin-top: -85px!important;
    position: relative;
}

@media screen and (max-width: 992px) {
    .row-bottom.btn-share {
        margin-top: -65px!important;
    }
}

@media screen and (max-width: 800px) {
    .row-bottom.btn-share {
        margin-top: -55px!important;
    }
    #section-member-panel.commission {
        margin-top: 30px;
        margin-bottom: 45px;
    }
}

@media screen and (max-width: 640px) {
    .row-bottom.btn-share {
        margin-top: -85px!important;
    }
}

@media screen and (max-width: 540px) {
    .row-bottom.btn-share {
        margin-top: -35px!important;
    }
}

@media screen and (max-width: 480px) {
    .row-bottom.btn-share {
        margin-top: -60px!important;
    }
}

@media screen and (max-width: 414px) {
    .row-bottom.btn-share {
        margin-top: -30px!important;
    }
    #section-member-panel.commission {
        margin-top: 30px;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 320px) {
    .row-bottom.btn-share {
        margin-top: -25px!important;
    }
}

.vippromo-wrap {
    position: relative;
}

.vippromo-text {
    position: absolute;
    top: 35%;
    left: 15%;
    width: 70%;
    height: 50px;
    text-align: center;
}

.vippromo-text p {
    color: #d9b86b;
    font-weight: 500;
    font-size: 100%;
    font-family: a Atmospheric Regular, sans-serif;
    margin-bottom: 5px;
}

.vippromo-text p.state {
    color: #e5e1a1;
    font-weight: 700;
    font-size: 2.2vw;
    font-family: a Atmospheric Regular, sans-serif;
    margin-top: 10px;
}

.vippromo-infobtn {
    position: absolute;
    top: 60%;
    left: 30%;
    width: 40%;
    height: auto;
}

@media only screen and (max-width:1024px) {
    .vippromo-text p {
        font-size: 1.6vw;
    }
    .vippromo-text p.state {
        font-size: 2.8vw;
        margin-top: 5px;
    }
}

@media only screen and (max-width:414px) {
    .vippromo-text p {
        line-height: 1;
    }
}

@media only screen and (max-width:393px) {
    .vippromo-text p {
        line-height: 1;
    }
}

@media only screen and (max-width:360px) {
    .vippromo-text p {
        line-height: 1;
    }
}

@media only screen and (max-width:320px) {
    .vippromo-text p {
        line-height: 1;
    }
}

@media only screen and (max-width:280px) {
    .vippromo-text p {
        line-height: 1;
    }
}