body {
    background-color: #F9EDDF;
    margin: 0;
}

@font-face {
    font-family: type;
    src: url(./webfont/typrighter-B.otf);
}

.more-info-holder {
	background-image: url(./img/BG_pattern.jpg);
    background-position: center;
    background-size: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    opacity: 0;
}

.more-info-content-container {
    padding: 0;
    margin: auto;
    position: relative;
    width: 100%;
    max-width: 640px;
    height: 100vh;
}

.share-content-container {
    background-image: url(./img/sp_carrier.png);
    background-position: top;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 0;
    margin: auto;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    max-width: 600px;
    max-height: 320px;
    z-index: 1002;
}

.share-content-inner {
    margin: 6%;
    position: relative;
    max-width: 600px;
    max-height: 320px;
    z-index: 1002;
}

.blackout {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
}

.close-button {
    background-image: url(./img/close_btn.png);
    width: 38px;
    height: 30px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}

.close-button-sh {
    background-image: url(./img/close_btn.png);
    width: 38px;
    height: 30px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    /* position: absolute;
    right: 10px;
    top: 10px; */
    float: right;
    cursor: pointer;
}

.share-text {
    /*position: absolute;
    left: 50%;
    top: 80px;
    transform: translate(-50%, 0);
    width: 100%;
    */
    text-align: center;
    margin: auto;
    padding: 5% 0;
    font-weight: bold;
    font-size: 12pt;
    font-family: type;
    clear: both;
}

.share-buttons-holder {
    margin: auto;
    text-align: center;
}

.share-button {
    width: 30%;
    max-width: 200px;
    margin: 5% 5%;
    display: inline;
    cursor: pointer;
}

@media screen and (max-width: 499px) {
    .share-text {
        padding: 3% 0;
    }
}

@media screen and (max-width: 410px) {
    .share-text {
        font-size: 10pt;
    }
}

@media screen and (max-width: 340px) {
    .close-button-sh {
        width: 32px;
        height: 25px;
    }

    .share-text {
        padding: 2% 0;
        font-size: 9pt;
    }

    .share-button {
        margin: 4% 5%;
        max-width: 180px;
    }
}

@media screen and (max-width: 260px) {
    .close-button-sh {
        width: 26px;
        height: 20px;
    }

    .share-text {
        font-size: 8pt;
    }
}

@media screen and (max-width: 220px) {
    .share-text {
        font-size: 7pt;
    }
}

.more-info-title {
    background-image: url(./img/moreinfo_title.png);
    width: 92px;
    height: 30px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: 50%;
    top: 60px;
    transform: translate(-50%, 0);
}

.more-info-content {
    padding: 0;
    margin: auto;
    width: 90vw;
    max-width: 640px;
    height: calc(100vh - 170px);
    position: fixed;
    left: 50%;
    top: 110px;
    transform: translate(-50%, 0);
    overflow-y: auto;
    color: black;
    font-weight: bold;
    font-size: 12pt;
    font-family: type;
    z-index: 1001;
}

.show {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.4s;
}

.fade-out {
    visibility: visible;
    opacity: 0;
    transition: opacity 0.4s;
}

.hide {
    visibility: hidden;
}

.rotate-device-bg {
	position:fixed;
	width:100%;
	height:100%;
	background-color: #F9EDDF;
	z-index:10001;	
	top:0;
	left:0;
	display: none;
}
.rotate-device {
	position:fixed;
	width:100%;
	height:100%;
	background-image:url('img/rotate_device.png');
	background-position: center top;	
	background-repeat:no-repeat;
	background-size:contain;
	z-index:10002;	
	top:0;
	left:0;
	display: none;
}

@media only screen and (min-device-width: 100px) 
                   and (max-device-width: 800px) 
                   and (orientation: landscape) {

					.rotate-device-bg {
						display: block;
					}
					.rotate-device {
						display: block;
					}
}