/* General styles for the modal */
.share_photo{
    width: 240px;
}
/* 
Styles for the html/body for special modal where we want 3d effects
Note that we need a container wrapping all content on the page for the 
perspective effects (not including the modals and the overlay).
*/
.md-perspective,
.md-perspective body {
	height: 100%;
	overflow: hidden;
}

.md-perspective body  {
	background: #222;
	-webkit-perspective: 600px;
	-moz-perspective: 600px;
	perspective: 600px;
}

.md-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 50%;
	max-width: 600px;
	min-width: 320px;
	height: auto;
	z-index: 99999;
	visibility: hidden;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	z-index: 999999;
}

.md-show {
	visibility: visible;
}

.md-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 99999;
	opacity: 0;
	background: rgba(255,255,255,0.8);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show ~ .md-overlay {
	opacity: 1;
	visibility: visible;
}

/* Content styles */
.md-content {
	color: #000;
	background: #fff;
	position: relative;
	margin: 0 auto;
	background:-moz-repeating-linear-gradient(-45deg,#fff600, #bd9c00,#fff600);/* For Firefox */
	background: -webkit-linear-gradient(-45deg,#fff600, #bd9c00,#fff600); /* For Safari */
    background: -o-linear-gradient(-45deg,#fff600, #bd9c00,#fff600); /* For Opera */
	padding: 13px;
}
.modelbg{
	background-color: white;
}
.md-content button {
	display: block;
	margin: 0 auto;
	font-size: 0.8em;
	cursor: pointer;
}
.likeBtn_one{
	width: 100%;
	border-top: 1px solid #d4d4d4;
	height: 37px;
	text-align: center;
	padding: 15px 0px 0px 0px;
}
.likeBtn_one span{
	font-size: 12.5px;
	font-weight: bold;
	font-family: Meiryo;
}
.md-close{
	cursor: pointer;
    position: absolute;
    right: -30px;
    top: -30px;
    width: 68px;
}
.md-close:hover{
	position: absolute;
	right: -30px;
	top: -30px;
	width: 68px;
}
.complete_lbl{
	position: absolute; 
	left: 15px;
    top: 14px;
    width: 140px;
}
/* Effect 3: Slide from the bottom */
.md-effect-3 .md-content {
	-webkit-transform: translateY(20%);
	-moz-transform: translateY(20%);
	-ms-transform: translateY(20%);
	transform: translateY(20%);
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.md-show.md-effect-3 .md-content {
	-webkit-transform: translateY(0);
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
	opacity: 1;
}


@media screen and (max-width: 32em) {
	body { font-size: 75%; }
}

@media screen and (max-width: 767px) {
    .complete_lbl{
        position: absolute; 
        left: .10rem;
        top: .10rem;
        width: 1.4rem;
    }
	.thank-you-previewbox-cover{
        display: none;
        position: fixed;
        background: rgba(255,255,255,0.8);
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 100000;
    }

    .thank-you-previewbox-cover .complete{
        position: fixed;
        top: 50%;
        left: 50%;
        width: 50%;
        max-width: 550px;
        min-width: 550px;
        min-height: 480px;
        z-index: 9999999;

        width: 50%;

        -webkit-transform: translateX(-50%) translateY(-50%);
        -moz-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);

        padding: 15px;
        /*background: rgb(240, 240, 240);*/

        box-shadow: 0px 0px 3px silver;

        background:-moz-repeating-linear-gradient(-45deg,#fff600, #bd9c00,#fff600);/* For Firefox */
        background: -webkit-linear-gradient(-45deg,#fff600, #bd9c00,#fff600); /* For Safari */
        background: -o-linear-gradient(-45deg,#fff600, #bd9c00,#fff600);
    }

    .thank-you-previewbox-cover .normal{
        position: fixed;
        top: 50%;
        left: 50%;
        width: 50%;
        max-width: 550px;
        min-width: 550px;
        min-height: 480px;
        z-index: 9999999;

        width: 50%;

        -webkit-transform: translateX(-50%) translateY(-50%);
        -moz-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);

        padding: 15px;
        /*background: rgb(240, 240, 240);*/

        box-shadow: 0px 0px 3px silver;

        background-image: -moz-linear-gradient(top, #49b527 0%, #f4d202 100%);
		background-image: -webkit-linear-gradient(top, #49b527 0%, #f4d202 100%);
		background-image: linear-gradient(to bottom, #49b527 0%, #f4d202 100%);
    }

    .thank-you-previewbox-cover .main-box{
        background: white;
        min-height: 480px;
    }
}

@media screen and (min-width: 768px) {
    
	.thank-you-previewbox-cover{
        display: none;
        position: fixed;
        background: rgba(255,255,255,0.8);
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 100000;
    }

    .thank-you-previewbox-cover .complete{
        position: fixed;
        top: 50%;
        left: 50%;
        width: 50%;
        max-width: 600px;
        min-width: 600px;
        min-height: auto;
        z-index: 2000;

        width: 50%;

        -webkit-transform: translateX(-50%) translateY(-50%);
        -moz-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);

        padding: 15px;
        /*background: rgb(240, 240, 240);*/

        box-shadow: 0px 0px 3px silver;

        background:-moz-repeating-linear-gradient(-45deg,#fff600, #bd9c00,#fff600);/* For Firefox */
        background: -webkit-linear-gradient(-45deg,#fff600, #bd9c00,#fff600); /* For Safari */
        background: -o-linear-gradient(-45deg,#fff600, #bd9c00,#fff600);
    }

    .thank-you-previewbox-cover .normal{
        position: fixed;
        top: 50%;
        left: 50%;
        width: 50%;
        max-width: 600px;
        min-width: 600px;
        min-height: 510px;
        z-index: 2000;

        width: 50%;

        -webkit-transform: translateX(-50%) translateY(-50%);
        -moz-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
        transform: translateX(-50%) translateY(-50%);

        padding: 15px;
        /*background: rgb(240, 240, 240);*/

        box-shadow: 0px 0px 3px silver;

        background-image: -moz-linear-gradient(top, #49b527 0%, #f4d202 100%);
		background-image: -webkit-linear-gradient(top, #49b527 0%, #f4d202 100%);
		background-image: linear-gradient(to bottom, #49b527 0%, #f4d202 100%);
    }

    .thank-you-previewbox-cover .main-box{
        background: white;
        min-height: 510px;
    }
    .aaa{
    	background-color: red;
    }
}

@media screen and (min-width: 768px) and (max-width: 980px) {

    .complete_lbl{
        position: absolute; 
        left: .10rem;
        top: .10rem;
        width: 1.4rem;
    }

}
	