.panel {
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

.panel-default {
    border-color: #ddd;
}

.panel-body {
    padding: 15px;
}

.panel-body .row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-direction: column;
}

@media (min-width: 834px) {
    .panel-body .row {
        flex-direction: row;
    }
}

b, strong {
    font-weight: 700;
}

fieldset legend,
.contacts-subheader {
    font-family: "Cormorant";
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #17171D;
    font-size: 30px;
    line-height: 36px;
    text-transform: none;
    margin-bottom: 10px;
}

@media (min-width: 834px) {
    form {
        width: 65%;

    }
}

form fieldset .form-group {
    position: relative;
    margin-top: 20px;
}

form fieldset label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;

    position: absolute;
    top: 0;
    left: 0;
    font-size: 14px;
    line-height: 30px;
    color: rgba(23, 23, 29, 0.46);
}

form fieldset label.active {
    top: -20px;
}

form fieldset input {
    position: relative;
    width: 100%;
    height: 30px;
    line-height: 30px;
    border-bottom: 1px solid rgba(23, 23, 29, 0.47);
}

form fieldset textarea {
    width: 100%;
    height: 60px;
    line-height: 20px;
    border-bottom: 1px solid rgba(23, 23, 29, 0.47);
    resize: none;
}

.buttons {
    display: block;
    width: 100%;
    border: 1px solid #17171D;
    padding: 7px;
    cursor: pointer;
    margin-top: 20px;
}

.btn.btn-primary {
    display: block;
    line-height: 45px;
    text-align: center;
    font-size: 18px;
    color: #ffffff;
    background: #17171D;
    width: 100%;
}

.contacts-layout {
	margin-bottom: 50px;
}

.contacts-layout form {
    margin-top: 40px;
}

@media (min-width: 834px) {
    .contacts-layout {
        display: flex;
        gap: 50px;
        margin-top: 50px;
    }

    .contacts-layout form {
        width: 50%;
        margin-top: 0;
    }

    .customer-service {
        width: 50%;
    }
}

.text-danger {
    color: #842424;
    font-size: 14px;
}