﻿@-webkit-keyframes scale-fade{
    0%{opacity:0;-webkit-transform:scale(.8) rotateX(-40deg);transform:scale(.8) rotateX(-40deg)}
    50%{opacity:1}70%{-webkit-transform:scale(1.05) rotateX(0);transform:scale(1.05) rotateX(0)}
    100%{-webkit-transform:scale(1) rotateX(0);transform:scale(1) rotateX(0)}
}
@keyframes scale-fade{
    0%{opacity:0;-webkit-transform:scale(.8) rotateX(-40deg);transform:scale(.8) rotateX(-40deg)}
    50%{opacity:1}70%{-webkit-transform:scale(1.05) rotateX(0);transform:scale(1.05) rotateX(0)}
    100%{-webkit-transform:scale(1) rotateX(0);transform:scale(1) rotateX(0)}
}

.msc-confirm--animate {
    -webkit-transform-origin: bottom center;
    -ms-transform-origin: bottom center;
    transform-origin: bottom center;
    -webkit-animation: scale-fade 300ms forwards cubic-bezier(.8, .02, .45, -1.09);
    animation: scale-fade 300ms forwards cubic-bezier(.8, .02, .45, .91);
}

.msc-confirm {
    display: none;
    color: #252525;
    -webkit-font-smoothing: antialiased;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9997;
}
.msc-overlay {
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0.3;
    left: 0;
    background-color: #fff;
    z-index: 9997;
}

.msc-confirm button {
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in;
}

.msc-confirm button:focus {
    outline: none;
}

.msc-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    font-size: 1.2em;
    text-align: center;
    vertical-align: middle;
}
.msc-close:hover {
    background: #eee;
}

.msc-content {
    position: relative;
    z-index: 9999;
    background: #66c0b6;
    opacity: 1.0;
    max-width: 480px;
    margin: 15% auto;
    padding: 30px 0px 0px 0px;
    text-align: center;
    -moz-box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.2);
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.msc-alert {
    position: relative;
    z-index: 9999;
    background: #C3191A;
    opacity: 1.0;
    max-width: 480px;
    margin: 15% auto;
    padding: 30px 0px 0px 0px;
    text-align: center;
    -moz-box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.2);
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}
.msc-warning {
    position: relative;
    z-index:9999;
    background: #f8ce01;
    opacity: 1.0;
    max-width: 480px;
    margin: 15% auto;
    padding: 30px 0px 0px 0px;
    text-align: center;
    -moz-box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.2);
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border:1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

@media (max-width: 600px) {
  .msc-content, .msc-warning ,.msc-alert {
    padding: 10px 0;
  }
}

.msc-title {
    font-size: 2.3em;
    padding-bottom:15px;
    color:#FFF;
}
.msc-body {
    font-size: 1.6em;
    padding: 1em;
    color: #252525;
    background: #FFF;
}
.msc-body p {
    margin: 10px 0 10px 0;
    color: #222222;
    background: #FFF;
}
.msc-action {
    font-size: 1.6em;
    padding: 1em;
    color: #252525;
    background: #FFF;
}
.msc-input {
    box-sizing: border-box;
    width: 100%;
    height: 38px;
    font-size: 14px;
    text-align: center;
    letter-spacing: 0.02em;
    font-weight: 400;
    font-style: normal;
    font-family: "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Verdana,sans-serif;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    padding: 0 15px;
}

.msc-input:focus {
    outline: none;
    border-color: #66c0b6;
}


.msc-action button {
    border: 1px solid #fff;
    padding: 8px 10px;
    border-radius: 5px;
    min-width: 100px;
    font-size:0.8em;
    color:#FFFFFF;
}
.msc-action button:focus {
    outline: none;
}
.msc-ok {
    margin-right: 10px;
}
button.msc-ok {
    background: #66c0b6;
}
button.msc-cancel {
    background: #C3191A;
}
button.msc-ok:hover, button.msc-ok:focus {
    border: 1px solid #00BBA6;
    color: #fff;
}
button.msc-cancel:hover, button.msc-cancel:focus {
    border: 1px solid #66c0b6;
    color: #fff;
}

.msc-sub{
    white-space: pre-line;
}

