/* ===== Alerts (SetRents UI) ===== */
.sr-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-left-width: 4px;
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 10px 22px rgba(11, 31, 85, .06);
    max-width: 920px;
    margin: 10px auto;
    transition: transform .18s ease, opacity .18s ease;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
}

.sr-alert.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.sr-alert__icon {
    flex: 0 0 28px;
    height: 28px;
    width: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
}

.sr-alert__body {
    color: #0A0F1F;
    line-height: 1.4;
}

.sr-alert__body strong {
    display: block;
    color: #0B1F55;
    margin-bottom: 2px;
}

.sr-alert__close {
    margin-left: auto;
    border: 0;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #334971;
    padding: 2px 6px;
    border-radius: 8px;
}

.sr-alert__close:hover {
    background: #f5f7fb;
    color: #0B1F55;
}

/* Variants */
.sr-alert--success {
    border-left-color: #22c55e;
}

.sr-alert--success .sr-alert__icon {
    background: #ecfdf5;
    color: #15803d;
    border: 1px solid #d1fae5;
}

.sr-alert--error {
    border-left-color: #ef4444;
}

.sr-alert--error .sr-alert__icon {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fee2e2;
}

.sr-alert--info {
    border-left-color: #2B56FF;
}

.sr-alert--info .sr-alert__icon {
    background: #eef2ff;
    color: #2B56FF;
    border: 1px solid #dbe4ff;
}

/* Responsive */
@media (max-width:640px) {
    .sr-alert {
        border-radius: 12px;
        padding: 10px 12px;
    }
}

@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700");

/* RESET RULES
–––––––––––––––––––––––––––––––––––––––––––––––––– */
:root {
    --bodyColor: #292a2b;
    --borderFormEls: hsl(0, 0%, 10%);
    --bgFormEls: #f5f7fb;
    --bgFormElsFocus: hsl(0, 0%, 100%);
}

a {
    color: inherit;
}

input,
select,
textarea,
button {
    font-family: inherit;
    font-size: 100%;
}

button,
label {
    cursor: pointer;
}

select {
    appearance: none;
}

/* Remove native arrow on IE */
select::-ms-expand {
    display: none;
}

/*Remove dotted outline from selected option on Firefox*/
/*https://stackoverflow.com/questions/3773430/remove-outline-from-select-box-in-ff/18853002#18853002*/
/*We use !important to override the color set for the select on line 99*/
select:-moz-focusring {
    color: transparent !important;
    text-shadow: 0 0 0 var(--white);
}

textarea {
    resize: none;
}

ul {
    list-style: none;
}


/* FORM ELEMENTS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.my-form h1 {
    margin-bottom: 1.5rem;
}

.my-form ul {
    padding-left: 0;
    position: relative;
}

.my-form li,
.my-form .grid>*:not(:last-child) {
    margin-bottom: 1.5rem;
}

.my-form select,
.my-form input,
.my-form textarea {
    width: 100%;
    line-height: 1.5;
    padding: 15px 10px;
    border: 1px solid var(--borderFormEls);
    background: var(--bgFormEls);
    transition: background-color 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25),
        transform 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25);
}

.my-form textarea {
    height: 170px;
}

.my-form ::placeholder {
    color: inherit;
    /*Fix opacity issue on Firefox*/
    opacity: 1;
}

.my-form select:focus,
.my-form input:focus,
.my-form textarea:focus,
.my-form input[type="checkbox"]:focus+label {
    background: var(--bgFormElsFocus);
}

.my-form button {
    height: 3rem;
}

.my-form select:focus,
.my-form input:focus,
.my-form textarea:focus {
    transform: scale(1.02);
}

.my-form *:required,
.my-form select {
    background-repeat: no-repeat;
    background-position: center right 12px;
    background-size: 15px 15px;
}

.my-form *:required {
    background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/asterisk.svg);
}

.my-form select {
    background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/down.svg);
}

.my-form *:disabled {
    cursor: default;
    filter: blur(2px);
}


/* FORM BTNS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.my-form .required-msg {
    display: none;
    background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/162656/asterisk.svg) no-repeat center left / 15px 15px;
    padding-left: 20px;
}

.my-form .btn-grid {
    position: relative;
    overflow: hidden;
    transition: filter 0.2s;
}

.my-form button {
    font-weight: bold;
}

.my-form button>* {
    display: inline-block;
    width: 100%;
    transition: transform 0.4s ease-in-out;
}

.my-form button .back {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-110%, -50%);
}

.my-form button:enabled:hover .back,
.my-form button:focus .back {
    transform: translate(0%, -50%);
}

.my-form button:enabled:hover .front,
.my-form button:focus .front {
    transform: translateX(110%);
}


/* CUSTOM CHECKBOX
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.my-form input[type="checkbox"] {
    height: fit-content;
    width: fit-content;
    margin-top: 0.4rem;
    margin-right: 0.8rem;
    ;
}

.my-form input[type="checkbox"]+label {
    display: inline-block;
    transition: background 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25);
}

.my-form input[type="checkbox"]+label::before,
.my-form input[type="checkbox"]+label::after {
    content: '';
    position: absolute;
}

.my-form input[type="checkbox"]+label::before {
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--white);
}

.my-form input[type="checkbox"]:checked+label::before {
    background: var(--red);
}

.my-form input[type="checkbox"]:checked+label::after {
    left: 7px;
    top: 7px;
    width: 6px;
    height: 14px;
    border-bottom: 2px solid var(--white);
    border-right: 2px solid var(--white);
    transform: rotate(45deg);
}

.my-form .grid-2 {
    gap: 0;
}

/* MQ
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media screen and (min-width: 600px) {
    .my-form .grid {
        display: grid;
        grid-gap: 1.5rem;
    }

    .my-form .grid-2 {
        grid-template-columns: 1fr 1fr;
    }

    .my-form .grid-3 {
        grid-template-columns: auto auto auto;
        align-items: center;
    }

    .my-form .grid>*:not(:last-child) {
        margin-bottom: 0;
    }

    .my-form .required-msg {
        display: block;
    }
}

@media screen and (min-width: 541px) {
    .my-form input[type="checkbox"]+label::before {
        top: 50%;
        transform: translateY(-50%);
    }

    .my-form input[type="checkbox"]:checked+label::after {
        top: 3px;
    }
}

.contact-details {
    border: 1px solid;
    border-radius: 12px;
    padding: 0 11px;
    margin-top: 0;
    margin-left: 16px;
}

@media screen and (max-width:820px) {
    .contact-details {
        margin-top: 16px;
        margin-left: 0;
    }
}

.box-social {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
}

.box-social .item {
    width: 44px;
    height: 44px;
    border: 1px solid #e4e4e4;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
}

.box-social .item:hover {
    background-color: var(--navy);
    color: #ffffff;
}

.box-social .item img {
    border-radius: 8px;
}

.box-social .item:hover img {
    cursor: pointer;
}