File: /var/www/linde-elearning/styles/layout/_form.scss
.form {
max-width: 740px;
margin: auto;
background-color: var(--color-white);
padding: 50px;
border-radius: 10px;
position: relative;
&__title {
text-align: center;
font-size: 30px;
line-height: calc(48 / 30);
margin: 0 auto 10px auto;
max-width: 500px;
}
&__subtitle {
text-align: center;
margin-bottom: 45px;
font-size: 18px;
}
&__wrap {
display: flex;
flex-direction: row;
width: 100%;
flex-wrap: wrap;
}
&__group {
width: 100%;
position: relative;
margin-bottom: 30px;
padding-right: 20px;
flex-basis: 50%;
&:nth-child(2n) {
padding-right: 0;
}
label {
display: block;
color: #00a0e1;
margin-bottom: 5px;
font-size: 14px;
font-weight: 400;
text-align: left;
}
input,
select {
transition: all 0.2s ease-in-out;
background: #d9e6ef;
padding: 10px 15px;
font-size: 16px;
line-height: calc(24 / 16);
color: var(--color-2);
width: 100%;
border: 1px solid transparent;
height: 45px;
border-radius: 5px;
&:focus {
border: 1px solid #4cbcea;
outline: none;
}
}
&-checkbox {
display: flex;
align-items: center;
label {
cursor: pointer;
font-size: 16px;
color: var(--color-2);
padding-left: 10px;
a {
color: #4cbcea;
}
}
input {
width: auto;
cursor: pointer;
height: 15px;
}
}
textarea {
border-radius: 5px;
width: 100%;
background: #d9e6ef;
padding: 10px 15px;
border: 1px solid transparent;
font-size: 16px;
line-height: calc(25 / 16);
color: var(--color-2);
max-height: 135px;
}
#status option:first-of-type,
#country option:first-of-type {
display: none;
}
}
.btn-form {
border: none;
color: #f3f3f3;
cursor: pointer;
border-radius: 10px;
text-align: center;
display: inline-flex;
-ms-flex-align: center;
align-items: center;
-ms-flex-pack: center;
justify-content: center;
line-height: 1;
font-weight: 400;
transition: all 0.2s ease-in-out;
padding: 15px 40px;
position: relative;
text-decoration: none;
font-size: 18px;
&--gradient {
background: linear-gradient(90deg, #005691, #00a0e1 100%, #4cbcea 0);
color: #f3f3f3;
box-shadow: none;
}
}
.full-width {
width: 100%;
flex-basis: 100%;
padding-right: 0;
}
}