@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Light.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
}

.container {
    width: 560px;
    box-sizing: border-box;
    margin: 50px auto;
    padding: 40px 45px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3);
}

h1 {
    color: #02175a;
    font-size: 36px;
    line-height: 1.23;
    text-align: center;
    margin: 0 0 11px;
}

h2 {
    color: #02175a;
    font-size: 20px;
    line-height: 1.23;
    text-align: center;
    margin: 0 0 11px;
}

h3 {
    color: #02175a;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    margin: 0 0 11px;
}

input, button {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 25px;
    outline: none;
    font-weight: 300;
}

.radio_container, input:not([type="radio"]) {
    margin-bottom: 25px;
}

.radio_container label {
    font-size: 15px;
    line-height: 1.55;
    font-weight: 300;
    color: #151b3b;
    width: 100%;
    display: block;
    margin: 3px 0 10px 0;
    cursor: pointer;
}

p {
    font-size: 20px;
    line-height: 1.55;
    font-weight: 300;
    color: #151b3b;
    margin: 0 0 5px;
}

input:not([type="radio"]), button[type='submit'] {
    color: #000000;
    font-size: 16px;
    line-height: 1.33;
    height: 60px;
    background-color: transparent;
    padding: 0 20px;
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border: 1px solid #c9c9c9;
    -webkit-appearance: none;
}

input[type="radio"] {
    outline: none;
    position: absolute;
    z-index: -1;
    opacity: 0;
}

input[type="radio"] ~ div {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    height: 20px;
    width: 20px;
    border-color: #000;
    border-style: solid;
    border-width: 2px;
    box-sizing: border-box;
    border-radius: 50%;
    margin-right: 10px;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    opacity: .6;
}

input[type="radio"] ~ div::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    opacity: 0;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

input[type="radio"]:checked ~ div {
    opacity: 1;
}

input[type="radio"]:checked ~ div::after {
    opacity: 1;
}

button[type="submit"] {
    color: #ffffff;
    border:none;
    background-color: #0bd688;
    text-transform: uppercase;
    height: 54px;
    margin-bottom: 0;
    font-weight: 600;
}

button[type="submit"], input[type="radio"] {
    cursor: pointer;
}

/* SUCCESS */
.success {
    background-color: #0bd688;
    padding: 20px;
    color: #ffffff;
}

/* ERROR */
.error {
    background-color: #F95D51;
    padding: 20px;
    color: #ffffff;
/*    text-align: center;
    margin-bottom: 20px;
    display: none;
*/
}


.text_centered{
    color: #02175a;
    font-size: 16px;
    line-height: 1;
    text-align: center;
    margin: 0 0 11px;
    justify-content: center;
}