:root {
    --sg-main-color: #439CEF;
}

body {
    font-family: 'Poppins';
    font-size: 14px;
}

.form-control {
    font-size: inherit;
    padding: 8px 15px;
}

.btn {
    font-size: inherit;
}
.btn.btn-primary {
    background-color: var(--sg-main-color);
    border-color: var(--sg-main-color);
}
.text-primary {
    color: var(--sg-main-color);
}

.error-message {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    padding: 5px 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 12px;
    margin-top: 5px;
}

input.error, select.error, textarea.error {
    /* border: 2px solid #ab1e1e; */
    border-color: #ab1e1e;
}

.sg-installation-wrapper {
    position: relative;
    padding: 50px 15px;
}

.sg-installation-form {
    display: block;
    position: relative;
    max-width: 1000px;
    padding: 50px;
    border: 1px solid #e3e3e3;
    background-color: #fafafa;
    margin: 0 auto;
}
.sg-installation-form fieldset.step-welcome {
    text-align: center;
}
.sg-installation-form fieldset .form-group {
    display: block;
    margin-bottom: 15px;
}
.sg-installation-form fieldset legend {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e3e3e3;
}
.sg-installation-form fieldset .ctas {
    display: block;
    border-top: 1px solid #e3e3e3;
    padding-top: 15px;
    margin-top: 50px;
}

.sg-installation-form .theme-cards {
    display: flex;
    flex-wrap: wrap;
}
.sg-installation-form .theme-cards > .theme-card {
    position: relative;
    flex: 0 0 calc(calc(100% / 3) - 20px);
    max-width: calc(calc(100% / 3) - 20px);
    border: 5px solid #cbcbcb;
    margin: 10px;
    overflow: hidden;
    transition: all 0.35s;
    cursor: pointer;
}
.sg-installation-form .theme-cards > .theme-card .thumb {
    position: relative;
    display: block;
    padding-top: 100%;
    background-color: #e3e3e3;
}
.sg-installation-form .theme-cards > .theme-card.md .thumb {
    padding-top: 65.5%;
}
.sg-installation-form .theme-cards > .theme-card.sm .thumb {
    padding-top: 35%;
}
.sg-installation-form .theme-cards > .theme-card .details {
    position: relative;
    padding: 15px;
    font-size: 12px;
}
.sg-installation-form .theme-cards > .theme-card .details > h4 {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}
.sg-installation-form .theme-cards > .theme-card input {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
}
.sg-installation-form .theme-cards > .theme-card.selected {
    border-color: #439CEF;
}

.sg-installation-form .theme-colors {
    display: flex;
    flex-wrap: wrap;
}
.sg-installation-form .theme-colors > .color-item {
    position: relative;
    flex: 0 0 calc(calc(100% / 4) - 10px);
    max-width: calc(calc(100% / 4) - 10px);
    margin: 5px;
    padding: 15px;
    border: 1px solid transparent;
    text-align: center;
    overflow: hidden;
    transition: all 0.35s;
    cursor: pointer;
}
.sg-installation-form .theme-colors > .color-item .thumb {
    position: relative;
    display: flex;
    justify-content: center;
}
.sg-installation-form .theme-colors > .color-item .thumb > span {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 -15px;
    opacity: 0.85;
}
.sg-installation-form .theme-colors > .color-item .details {
    position: relative;
    padding: 15px;
    font-size: 12px;
}
.sg-installation-form .theme-colors > .color-item .details > h4 {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}
.sg-installation-form .theme-colors > .color-item input {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    opacity: 0;
}
.sg-installation-form .theme-colors > .color-item .selected-mark {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    background-color: var(--sg-main-color);
    color: #fff;
    padding: 5px 15px;
    line-height: 1em;
    border-radius: 5px;
    letter-spacing: 2px;
}
.sg-installation-form .theme-colors > .color-item.selected {
    border-color: #e3e3e3;
    background-color: #fff;
}
.sg-installation-form .theme-colors > .color-item:not(.selected) .selected-mark {
    opacity: 0;
}