/**
 * jQuery Really Simple Dialog plugin 1.0
 *
 * Copyright (c) 2017 NTD3004 (https://github.com/NTD3004/JQuery-Really-Simple-Dialog)
 *
 * Samples and instructions at: 
 * https://github.com/NTD3004/JQuery-Really-Simple-Dialog
 *
 * This script is free software: you can redistribute it and/or modify it 
 * under the terms of the GNU General Public License as published by the Free 
 * Software Foundation, either version 3 of the License, or (at your option)
 * any later version.
 */

.simple-dialog {
	position: fixed;
    top:   0;
    left:  0;
    right: 0;
    z-index: 5000;
    width: 100%;
    min-height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.1);
    display: none;
}

.simple-dialog.active {
	height: 100%;
    display: block;
} 

.simple-dialog a {
	cursor: pointer;
}

.simple-dialog-content {
	background-color: #fff;
    margin: 0 auto;
    top: 30%;
    left: 50%;
    position: absolute;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    width: 480px;
    border-top: 5px solid #5a9ed8;
    box-shadow: 0 0 10px rgba(0,0,0,.2);
}

.simple-dialog-header, .simple-dialog-footer {
	padding: 15px;
    position: relative;
    text-align: center;
}

.simple-dialog-body {
	padding: 20px 25px 0;
}

.simple-dialog-header .title {
	margin: 0;
	padding: 0;
}

.simple-dialog-close {
	color: #999999;
    position: absolute;
    top: 15px;
    right: 10px;
    font-size: 30px;
    margin-top: -5px;
    display: inline-block;
    font-size: 24px;
    line-height: 1;
    text-decoration: none;
    -webkit-font-smoothing: antialiased;
    float: right;
}

.simple-dialog-close:before {
	content: "\00d7"; // here is your X(cross) sign.
	color: #fff;
	font-weight: bold;
	font-family: Arial, sans-serif;
}

.simple-dialog-button {
	display: block;
    width: 100px;
    margin: 15px auto;
    color: #fff;
    background-color: rgb(68 128 193);
    position: relative;
    display: inline-block;
    padding: 9px 20px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: top;
    border-radius: 3px;
}

.simple-dialog-button.accept {
	background-color: rgb(68 128 193);
    margin-left: 20px;
}

.simple-dialog-button.cancel {
	background-color: rgb(134, 142, 150);
}

@media screen and (max-width: 550px) {
    .simple-dialog-content{ width: calc(100% - 40px); }
}