@charset "UTF-8";

.cl-demo {
    max-width: 400px;
    padding: 25px;
    margin: 45px auto;
    background-color: #F5F5F5;
    border: 1px solid #E3E3E3;
    border-radius: 4px;
    text-align: center;
}
/* เจแ?เศเหเศ เฬเฮเฤเภเหแ?เอเฮเรเฮ เฮเสเอเภ */
.cl-modal-header h2 {
    color: #000;  
    font-size: 20px;
    font-weight: normal;
    line-height: 1;    
    margin: 0;
}
/* เสเอเฮเฯเสเภ เวเภเสแ?แ?แ?เศแ? เฮเสเอเภ */
.cl-modal .cl-btn-close {
    color: #aaa;
    cursor: pointer;
    font-size: 20px;
    text-decoration: none;
    position: absolute;
    right: 5px;
    top: 3px;
}
.cl-modal .cl-btn-close:hover {
    color: red;
}
/* แ?เหเฮเษ เวเภแ?เลเฬเอเลเอเศแ? */
.cl-modal-wrap:before {
    content: "";
    display: block;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 101;
}
.cl-modal-overlay {
    bottom: 0;
    display: block;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 102;
}
/* เภเสแ?เศเยเภแ?เศแ? แ?เหเฮแ? เวเภแ?เลเฬเอเลเอเศแ? เศ เฬเฮเฤเภเหแ?เอเฮเรเฮ เมเหเฮเสเภ */
/* .modal-open:checked ~ .modal-wrap:before,
.modal-open:checked ~ .modal-wrap .modal-overlay {
    display: block;
}
.modal-open:checked ~ .modal-wrap .modal-dialog {
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    top: 20%;
} */
/* แ?เหเลเฬเลเอแ?แ? เฬเฮเฤเภเหแ?เอเฮเรเฮ เฮเสเอเภ */
.cl-modal-dialog {
	border-width: 1px;
	border-style: solid;
    background: #fefefe;
    position: fixed;
    left: 50%;
    top: 40%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    -webkit-transition: -webkit-transform 0.4s ease-out;
    -moz-transition: -moz-transform 0.4s ease-out;
    -o-transition: -o-transform 0.4s ease-out;
    transition: transform 0.4s ease-out;
    width: 300px;
    height: 300px;
    z-index: 103;
}
.cl-modal-body {
  padding: 10px; font-size: 12px; line-height: 1.2em
}
.cl-modal-body p {
    margin: 0; padding: 0
}
.cl-modal-header,
.cl-modal-footer {
    padding: 5px 10px;
}
.cl-modal-header {
	background: #eee;
    border-bottom: #eaeaea solid 1px;
}
.cl-modal-header h2 {
    font-size: 16px;
    margin: 0; padding: 0
}
.cl-modal-footer {
    border-top: #eaeaea solid 1px;
    text-align: left; font-size: 12px; line-height: 1.2em
}
/* เสเอเฮเฯเสเศ */
.cl-btn {
    background: #fff;
    border: #555 solid 1px;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    padding: 8px 15px;
    text-decoration: none;
    text-align: center;
    min-width: 60px;
    position: relative;
}
.cl-btn:hover, .cl-btn:focus {
    background: #f2f2f2;
}
.cl-btn-primary {
    background: #428bca;
    border-color: #357ebd;
    color: #fff;
}
.cl-btn-primary:hover{
    background: #66A1D3;
}
/* เเวเฬเลเอเลเอเศเล แ?เฮเอเภ เสเอเฮเฯเสเศ เฯแ?เศ เอเภเยเลเฤเลเอเศเศ */
.cl-btn-form:hover{
    background: #f2f2f2;
}