body{
    padding-top: 10px;
    background-image: url(../img/bg.png);
}

@media (min-width: 5em) { 
	.wrap{
		width:360px;
	}
    .btn-body{
        position: absolute;
        bottom: 50px;
        right: -28px;
    }
    .body-input-body{
        margin:auto 0;
        padding:0;
    }
}

@media (min-width: 34em) { 
	.wrap{
		width:580px;
	}
    .btn-body{
        position: absolute;
        bottom: 50px;
        right: -33px;
    }

}
/*
@media (min-width: 48em) {
	body{
		background-color:green;
	}
}
*/
@media (min-width: 62em) {
	.wrap{
		width:610px;
	}

    .btn-body{
        position: absolute;
        bottom: 50px;
        right: -34px;
    }

}
/*
@media (min-width: 75em) {
	body{
		background-color:blue;
	}
}
*/

.wrap{
    margin: 0 auto 0 auto;
	padding:0;
    min-height: 300px;
    border-radius: 12px;
    background-color: #000;
    box-shadow: 1px 2px 8px #000;
	border: solid 1px #000;
	color: #f5f5f5;
	position: relative;
}

.head-toolbar{
	margin-top:22px;
	padding:0 10px;
}
#editor_toolbar{
	color:#999;
	font-size:12px;
}

.body-input{
    z-index:-1;
	margin:5px 0;
}

.body-input-body{
    margin:auto 0;
    padding:0 5px;
}
.body-input-body .text{
	resize: none;
	min-height: 460px;
	background-color:#fffef8;
	background-image:url(../img/input-row.png);
	padding: 0;
	line-height:30px;
	font-size: 14px;
	/*#e6e6e6*/
	margin: 0;
    border: 0;/*1px solid rgba(34,36,38,.15);*/
    outline: 0;    
    border-bottom-left-radius:.28571429rem;
    border-bottom-right-radius:.28571429rem;
    box-shadow: 0 0 0 0 transparent inset;
    width: 100%;
	color:#000;
}
.body-input-body .text p{
    line-height:30px;
	margin:0;
	padding:0 5px 0 8px;
    text-indent: 28px;
}
.body-input-body label{
    font-size: 12px;
    font-weight: 700;
	color:#fff;
	margin: 5px 0;
    display: block;
	text-align: right;
}
.body-input-body-head{
    height:64px;border-top-left-radius:.28571429rem;border-top-right-radius:.28571429rem;
    background-color: #fffef8;background-image: url(../img/input-head.png);
}

.btn-body {
   z-index:1;
}
.btn-body .btn-ok,.btn-cancel{
	width:44px;
	height:28px;
	border:none;
	outline: none;
	display: block;
}

.btn-body .btn-ok{
	background: url(../img/ribbons.png) 44px 0;
}
.ui.button.btn-ok:hover, .ui.button.btn-ok:focus {
    background-color: transparent;
    background-image: url(../img/ribbons.png);
    box-shadow:0 0 black;
}
 
.btn-body .btn-cancel{
    margin-top: 10px;
	background: url(../img/ribbons.png) 44px 35px;
	height:30px;
}

.msg-body{
    position: fixed;
    right: 30px;
    bottom: 38px;
    z-index: 999;
}

#note{
    word-wrap: break-word;
}

.memoa{ 
    position: absolute;
    right: 15px;
    top: 15px;
    font-size:16px;
} 
.anim-inout{ 
    -webkit-animation: twinkling 2s infinite ease-in-out alternate;
} 
@-webkit-keyframes twinkling{ 
    to { 
        transform: scale(1.2); 
        opacity: 0.5; 
    }
}
@keyframes twinkling{ 
    to { 
        transform: scale(1.2); 
        opacity: 0.5; 
    }
}