*::-webkit-input-placeholder {
    color: #999;
    opacity: 1;
}

*:-moz-placeholder {
    color: #999;
    opacity: 1;
}

*::-moz-placeholder {
    color: #999;
    opacity: 1;
}

*:-ms-input-placeholder {
    color: #999;
    opacity: 1;
}

:-moz-ui-invalid:not(output) {
    box-shadow: 0 0 0 red;
}

body {
    margin: 0 auto;
    padding: 0;
    background: #ddd;
}

.hidden {
    display: none;
}

.popup-form {
    background: white;
    margin: 40px auto;
    padding: 30px 40px 30px;
    text-align: left;
    max-width: 400px;
    position: relative;
    border-radius: 6px;
    *border: 4px solid blue;
}
#gc-board .popup-form {
    background: white;
    margin: 40px auto;
    padding: 20px 30px 10px;
    text-align: left;
    max-width: 100%;
    position: relative;
    border-radius: 10px;
    border: none;
}
.button-center {
    float: none;
	margin: auto;
	width: 160px;
}

.popup-form button.button {
    margin: 10px auto 6px;
    padding: 10px 35px;
    background-color: #fc0;
    border-radius: 2px;
    font-size: 16px;
    transition: background-color 0.25s ease 0s;
    border: none;
    color: #111;
    font-weight: bold;
    text-transform: uppercase;
}

.popup-form button.button:hover {
    background-color: #ffd83d;
}

p.zakaz {
    margin: 10px 0;
    padding: 0;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    color: #007AFC;
    text-transform: uppercase;
	font: 100%/1 Nerislight;
}
#gc-board .popup-form label, .popup-form input {
    width: 200px;
	float: left;

}
.popup-form label, .popup-form input {
    display: block;
    width: 100%;
    font-weight: normal;
	margin-bottom:10px;
}

.popup-form label span {
    margin-bottom: 12px;
    color: teal;
    font-size: 16px;
}

.popup-form input {
    padding: 6px 12px;
    color: #999;
    border: 1px solid #eee;
	border-radius: 4px;
}

.success {
    display: none;
    position: absolute;
    margin: 2px;
    padding: 0 30px;
    top: 0;
    left: 0;
    width: 98%;
    height: 98%;
    text-align: center;
    background-color: #FFF;
    text-transform: uppercase;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    z-index: 2;
}

.success.visible {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 314px;
}

.success.visible p {
    margin: 0;
    padding: 0;
}

.success.visible p span.sencs {
    font-weight: bold;
    font-size: 16px;
}