.cf:before,
.cf:after {
    content: "";
    display: table;
}

.cf:after {
    clear: both;
}

.cf {
    zoom: 1;
}


/*-------------------------------------*/

.keres {
    margin-bottom: 0px;
    margin-top: 10px;
    padding-right: 20px;
    position: relative;
    float: right;
}

.labkeres {
    margin-top: 0px;
    padding-right: 0px;
    float: none;
}

.form-wrapper {
    width: 490px;
    margin: 0px 0px 0px 0px;
    float: right;
    clear: both;
}

.form-wrapper input {
    width: 430px;
    padding: 7px 10px;
    margin: 0px 0px;
    float: left;
    border: 0;
    font-size: 11pt;
    background: #dee5e6;
    -moz-border-radius: 3px 0 0 3px;
    -webkit-border-radius: 3px 0 0 3px;
    border-radius: 3px 0 0 3px;
}

.form-wrapper input:focus {
    outline: 0;
    background: #fff;
    -moz-box-shadow: 0 0 2px rgba(0, 0, 0, .8) inset;
    -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, .8) inset;
    box-shadow: 0 0 2px rgba(0, 0, 0, .8) inset;
}

.form-wrapper input::-webkit-input-placeholder {
    color: #999;
    font-weight: normal;
    font-style: italic;
}

.form-wrapper input:-moz-placeholder {
    color: #999;
    font-weight: normal;
    font-style: italic;
}

.form-wrapper input:-ms-input-placeholder {
    color: #999;
    font-weight: normal;
    font-style: italic;
}

.form-wrapper button {
    overflow: visible;
    position: relative;
    float: right;
    border: 0;
    padding: 0;
    cursor: pointer;
    height: 30px;
    width: 40px;
    color: #fff;
    font-size: 12pt;
    text-transform: uppercase;
    background-color: #16395e;
    -moz-border-radius: 0 3px 3px 0;
    -webkit-border-radius: 0 3px 3px 0;
    border-radius: 0 3px 3px 0;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .3);
}

.labkeres button {
    background-color: orange;
}

.form-wrapper button:hover {
    background: red;
}

.form-wrapper button:active,
.form-wrapper button:focus {
    background: red;
}

.form-wrapper button:before {
    content: '';
    position: absolute;
    border-width: 8px 8px 8px 0;
    border-style: solid solid solid none;
    border-color: transparent #16395e transparent;
    top: 8px;
    left: -6px;
}

.labkeres button:before {
    border-color: transparent orange transparent;
}

.form-wrapper button:hover:before {
    border-right-color: red;
}

.form-wrapper button:focus:before {
    border-right-color: red;
}

.form-wrapper button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

@media screen and (max-width: 768px) {
    .form-wrapper {
        width: 400px;
        position: relative;
        float: none;
        margin: 0px auto;
    }
    .form-wrapper input {
        width: 340px;
    }
}

@media screen and (max-width: 480px) {
    .keres {
        width: 100%;
        margin: 8px 0px;
        padding: 0px;
        text-align: center;
    }
    .form-wrapper {
        width: 300px;
        position: relative;
        float: none;
        margin: 0px auto;
    }
    .form-wrapper input {
        width: 240px;
    }
}

@media screen and (max-width: 320px) {
    .form-wrapper {
        width: 200px;
    }
    .form-wrapper input {
        width: 140px;
    }
}