:root {
    --clr-highlight: hsl(16, 82%, 52%);
}

/*
 * Gorm elements
*/
.formwrap {
    width: 100%;
    margin-bottom: 2rem;
}

.formwrap.cols {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.formwrap.cols ::after,
.formwrap.cols ::before{
    display: none !important;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"] {
    height: auto;
    padding: .75rem;
    border-radius: .75rem;
}

input[type="checkbox"],
input[type="radio"]{
    display: inline-block;
    width: 1.2rem !important;
    height: 1.2rem !important;
    margin: 0;
    border-radius: .25rem;
    background-color: red;
    /*float: left;*/
}

select {
    height: auto;
    margin: 0;
    padding: .75rem;
    border-radius: .75rem;
    background-position: right .3rem center;
}

textarea {
    height: 150px;
    margin: 0;
    padding: .75rem;
    border-radius: .75rem;
}

input[type="reset"],
input[type="submit"],
button {
    height: auto;
    margin: 0;
    padding: .75rem 1.5rem;
    border: none;
    border-radius: .75rem;
    background-color: var(--clr-highlight);
    line-height: 1;
    color: #ffffff;
}

label {
    font-size: 1rem;
}

input:not([type="file"]):not([type="submit"]):not(:placeholder-shown):invalid,
select:invalid {
    border: solid 3px pink;
}

input:not([type="file"]):not([type="submit"]):not(:placeholder-shown):valid,
select:valid {
    border: solid 3px lightgreen;
}


/*
 * Auth forms
*/
.login {
    width: min(1200px, 100% - 2rem);
    margin: 4rem auto;
}

.login__forms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.form {
    margin: 0;
    padding: 2rem;
    border-radius: 1rem;
    background: linear-gradient(252.87deg,#e0effd 10.94%,#78caf9 89.39%);
}

/*
 * Intake form
*/
.intake {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    width: min(1200px, 100% - 2rem);
    margin: 4rem auto;
}

.intake__form {
    margin: 0;
    position: relative;
}

.list-item {
    margin: 0 0 .5rem 0;
    display: flex;
    gap: .5rem;
    align-items: center;
}

i {
    position: relative;
    color: hsl(202, 100%, 50%);
    float: right;

}

i > p {
    position: absolute;
    display: none;
    right: 0px;
}

.list-item i p {
    right: auto;
    left: 0px;
}

i:hover > p {
    display: block;
    width: 500px;
    padding: .5rem;
    color: #444444;
    font-weight: normal;
    font-size: 1rem;
    background-color: #fff;
    border: solid 1px #efefef;
    border-radius: .5rem;
    z-index: 4;
}

.floater {
    position: absolute;
    right: -320px;
    translate: 0 -60%;
    width: 300px;
    text-align: center;
    font-size: 1rem;
    overflow-x: hidden;
}

.floater.cameras {
    translate: 0 -110%;
}

.logout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}


.service__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(1200px, 100% - 2rem);
    margin: 4rem auto;
    border-bottom: solid 1px orange;
}

.service__nav ul {
    list-style: none;
    margin: 0;
    display: flex;
    gap: .5rem;

}

.service__nav ul li {
    padding: .5rem 1rem;
    border: solid 1px var(--clr-highlight);
    border-width: 1px 1px 0 1px;
    border-radius: 5px 5px 0 0;
}

.service__nav ul li.active {
    background-color: var(--clr-highlight);
    color: #ffffff;
}

.service__nav ul li.active a {
    color: inherit;
}


.manuals__list {
    width: min(1200px, 100% - 2rem);
    margin: 0 auto 8rem auto;
}

.anchors__container {
    text-align: center;
    margin-bottom: 6rem;
}

.anchors {
    display: inline-flex;
    padding: .5rem;
    margin: 0 auto;
    gap: 2rem;
    border-radius: 1000px;
    background-color: rgba(255,216,173,.4);
    list-style: none;
}

.anchors li {
    padding: 1rem 2rem;
    border-radius: 1000px;
}

.anchors li:hover {
    background-color: #ffd8ad;
}

.anchors li a {

}

.part {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.part__manual {
    border-radius: 1rem;
    background-color: #efefef;
}

.part__manual a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.part__manual i {
    display: inline-block;
    font-size: 4rem;
    color: #002a5c;
}

.part__video {
    border-radius: 1rem;
    overflow: hidden;
}


.title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5rem 0;
}

.title h3 {
    margin: 0;
}

.title select {
    /*width: 25%;*/
}

.title .nav_controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.title .nav_controls select {
    min-width: 250px;
    /*padding-right: 3rem;*/
}
