@font-face {
    font-family: 'cb-icons';
    src: url('../font/cb-icons.eot?53198465');
    src: url('../font/cb-icons.eot?53198465#iefix') format('embedded-opentype'),
    url('../font/cb-icons.woff2?53198465') format('woff2'),
    url('../font/cb-icons.woff?53198465') format('woff'),
    url('../font/cb-icons.ttf?53198465') format('truetype'),
    url('../font/cb-icons.svg?53198465#cb-icons') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="cb-icon-"]:before, [class*=" cb-icon-"]:before {
    font-family: "cb-icons";
    font-style: normal;
    font-weight: normal;
    speak: never;

    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */

    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;

    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;

    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    margin-left: .2em;

    /* you can be more comfortable with increased icons size */
    /* font-size: 120%; */

    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Uncomment for 3D effect */
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.cb-icon-calculator:before { content: '\e80a'; } /* '' */
.cb-icon-envelope:before { content: '\e80b'; } /* '' */
.cb-icon-link:before { content: '\e80c'; } /* '' */
.cb-icon-print:before { content: '\e80d'; } /* '' */
.cb-icon-like:before { content: '\e80e'; } /* '' */

.formbox,
.formbox * {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: none;
    font-size: 16px;
}

.formbox-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}
.formbox {
    display: flex;
    flex-direction: column;
    grid-gap: 1em;
    max-width: 100%;
    padding: 1em;
    margin: 1em 0;
    border: none;
    border-radius: 4px;
    /*box-shadow: 0 0.5em 1em rgba(56, 56, 56, 0.47);*/
}

.formbox hr {
    width: 100%;
    height: 2px;
    margin: 8px 0;
    background-color: #f5f5f5;
}

.formbox__container {
    display: flex;
    grid-gap: 0.5em;
}

@media screen and (max-width: 776px) {
    .formbox__container {
        flex-direction: column;
    }
}

.formbox__container.has-result .formbox-title {
    padding: 0;
}

.formbox__container.has-result.is-hidden {
    display: none;
}

.formbox__title {
    flex: 2 0 0;
    padding-top: 0.375em;
    font-weight: 600;
    font-size: 1.125em;
}

.formbox__body {
    flex: 3 0 0;
}

.formbox__body.has-group {
    display: flex;
    grid-gap: 0.5em;
}

@media screen and (max-width: 776px) {
    .formbox__body.has-group {
        flex-direction: column;
    }
}

.formbox__body.has-group .formbox__field {
    flex: 1 0 0;
}

.formbox__field input[type=radio],
.formbox__field input[type=checkbox] {
    margin-right: 8px;
}

.formbox__field input[type=radio],
.formbox__field input[type=checkbox],
.formbox__field label {
    cursor: pointer;
}

input.formbox__field-text,
textarea.formbox__field-textarea,
input[type="number"].formbox__field-input, select.formbox__field-select, input[type="text"].formbox__field-result, textarea.formbox__field-result {
    width: 100%;
    max-width: 100%;
    height: 2.5em !important;
    line-height: 1.5 !important;
    padding: calc(.5em - 1px) calc(0.75em - 1px);
    font-size: 1em;
    border: 1px solid #dbdbdb;
    border-radius: 4px;
}

textarea.formbox__field-textarea,
textarea.formbox__field-result {
    height: 10em !important;
}


.formbox__htmlBlock-result {
    word-break: break-all;
}

.formbox__field-addon {
    height: 2.5em;
    line-height: 1.5;
    padding: calc(.5em - 1px) calc(1em - 1px);
    font-size: 1em;
    border: 1px solid #dbdbdb;
    background: #f5f5f5;
    white-space: nowrap;
}

.formbox__field-lable {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.formbox__field-lable:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875em;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.formbox__field.has-addon {
    display: flex;
}

.formbox__field.has-addon.is-right .formbox__field-result,
.formbox__field.has-addon.is-right .formbox__field-input {
    border-radius: 4px 0 0 4px;
}

.formbox__field.has-addon.is-right .formbox__field-addon {
    order: 1;
    border-radius: 0 4px 4px 0;
    border-left: none;
}

.formbox__field.has-addon.is-left .formbox__field-result,
.formbox__field.has-addon.is-left .formbox__field-input {
    border-radius: 0 4px 4px 0;
}

.formbox__field.has-addon.is-left .formbox__field-addon {
    border-radius: 4px 0 0 4px;
    border-right: none;
}

.formbox__btn {
    display: flex;
    grid-gap: 0.5em;
}

.formbox__btn input[type=submit],
.formbox__btn input[type=reset],
.formbox__btn button {
    padding: 0.5em 1em;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid transparent;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    font-size: 1em;
    font-weight: 500;
}

.formbox__btn-calc {
    color: white;
    background: darkgreen;
}

.formbox__btn-reset {
    color: white;
    background: #383838;
}

@media screen and (max-width: 776px) {
    .formbox__btn {
        text-align: center;
    }
}