File: D:/HostingSpaces/SBogers10/honger.komma.pro/resources/assets/sass/site/partials/_applyCtaBlock.scss
/* ==========================================================================
Black centered apply cta block
========================================================================== */
.apply-cta-block {
position: relative;
width: column(10, 12);
margin: auto;
padding: column(1);
background: $black;
color: #fff;
font-size: 0.9rem;
font-weight: medium();
line-height: 1.6;
white-space: normal;
overflow: hidden;
@include respond-to-width($lgGridBreakpoint) {
width: 100%;
}
}
.apply-cta-block__burger {
position: absolute;
left: -10%;
bottom: 40px;
width: 35%;
svg {
width: 100%;
}
}
.apply-cta-block__title {
margin: 0 0 40px;
color: #fff;
font-size: 2.6rem;
font-weight: black();
line-height: 0.875;
text-transform: uppercase;
}
.apply-cta-block__inner {
@include flex(space-between, flex-start);
@include respond-to-width($lgGridBreakpoint) {
padding: 0 column(.5,12);
}
@include respond-to-width($xsGridBreakpoint) {
padding: 0;
}
}
.apply-cta-block__content {
width: column(4.5, 10);
}
.apply-cta-block__content-flex {
@include flex(space-between, center);
}
.apply-cta-block__person {
width: 120px;
img {
width: 100%;
border-radius: 50%;
overflow: hidden;
}
}
.apply-cta-block__description {
width: calc(100% - 140px);
a {
color: $brightBlue;
text-decoration: none;
}
}
.apply-cta-block__form {
position: relative;
z-index: 2;
width: column(4.5, 10);
.input-holder {
input, textarea {
color: white;
}
textarea {
overflow: hidden;
background-color: rgba($black, 0.85);
}
label {
color: white;
margin-bottom: 5px;
}
}
input[type="submit"] {
margin-top: 5px;
background-color: $black;
border-color: white;
color: white;
&:hover {
color: $black;
background-color: white;
}
}
}
.apply-cta-block__label {
margin: 0 0 5px;
font-size: 0.8rem;
font-weight: 600;
}
.apply-cta-block__weTransfer {
@include flex(space-between, center);
width: 300px;
margin-bottom: 40px;
padding: 10px 15px;
border: 2px solid white;
border-radius: 4px;
background-color: $black;
color: white;
font-size: 0.7rem;
line-height: 1.1;
font-weight: 600;
text-decoration: none;
transition: color 0.2s, background-color 0.2s;
&:hover {
background-color: white;
color: $black;
}
}
.apply-cta-block__weTransfer-icon {
width: 60px;
svg{
width: 100%;
}
}
.apply-cta-block__weTransfer-label {
width: calc(100% - 75px);
}
@include respond-to-width(950) {
.apply-cta-block__inner {
display: block;
}
.apply-cta-block__content,
.apply-cta-block__form {
width: 100%;
}
.apply-cta-block__burger {
left: auto;
right: -10%;
transform: scaleX(-1);
}
}
@include respond-to-width($xsGridBreakpoint) {
.apply-cta-block__burger {
bottom: 10px;
}
}
.is-light {
&.apply-cta-block__weTransfer {
background-color: white;
color: #1d2433;
border-color: #1d2433;
}
}