﻿.sy-modal-form {
    position: fixed;
    /*width: 100%;
    height: 100%;*/
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-left: 5px;
    padding-right: 5px;
    background-color: rgba(0,0,0,0.5);
    z-index: 11000;
    display: none;
    /*overflow:hidden;*/
    /*overflow-x:hidden;*/
    overflow-y: auto;
}

.sy-modalform-content {
    width: 100%;
    height: auto;
    top: 10px;
    position: relative;
    border: 1px solid #e3e3e3;
    background-color: #ffffff;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    margin-bottom: 5px;
}

@media (min-width:760px) {
    .sy-modalform-content {
        width: 500px;
        margin: auto;
        top: 30px;
    }
}

.sy-modalform-close {
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    /*float: right;*/
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
}

.sy-modalform-header {
	background-color: #4596ce;
	color: #ffffff;
	padding: 10px;
	/*line-height: 2;*/
	-moz-border-radius: 4px 4px 0px 0px;
	-webkit-border-radius: 4px 4px 0px 0px;
	border-radius: 4px 4px 0px 0px;
	border-bottom: 1px solid #e5e5e5;
	vertical-align: middle;
	min-height: 35px;
	font-weight: bold;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: flex;
	-ms-flex-wrap: nowrap;
	-webkit-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: flex;
	-ms-flex-wrap: nowrap;
	-webkit-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-align-items: center;
	align-items: center;
}

.sy-modalform-body {
    margin-top: 30px;
    border-top: 1px solid #e5e5e5;
    padding: 15px;
}

.sy-modalform-footer {
    padding: 15px;
    border-top: 1px solid #e5e5e5;
}

.sy-modalform-success {
    background-color: #398218;
    color: #ffffff;
}

.sy-modalform-warning {
    background-color: #ffcc00;
    color: #ffffff;
}

.sy-modalform-error {
    background-color: #d9534f;
    color: #ffffff;
}

/*.sy-modalform-error-button button {
    background-color: #D9534F;
}

    .sy-modalform-error-button button:hover {
        background-color: #c44b47;
    }

    .sy-modalform-error-button button:active {
        background-color: #a3403d;
    }

.sy-modalform-success-button button {
    background-color: #398218;
}

    .sy-modalform-success-button button:hover {
        background-color: #367619;
    }

    .sy-modalform-success-button button:active {
        background-color: #306817;
    }*/
