.slider { height: 440px; background: url('/modules/teambuilding/images/slider.jpg') no-repeat; background-size: cover; display: flex; align-items: center; justify-content: center; }
.slider h1 { font-size: 32px; }
.slider p { width: 60%; margin: 30px auto 0; color: #ccc; }
.slider button { margin-top: 40px; }
.block1 p { color: #807d79; }
p.short { max-width: 70%; margin-left: auto; margin-right: auto; }
.block1 .container { padding: 0px 0; }
.block1 .flex { margin-top: 50px; padding: 50px 0 0; border-top: 1px solid #414141; display: flex; }
.block1 .flex > div { width: 50%; padding: 0 10%; }
.block1 .icon { height: 60px; line-height: 50px; }
.block2 { background: #212121; }
.block2 .container { display: flex; justify-content: center; align-items: center; padding-top: 10px; }
.block3 .container { border-bottom: 1px solid #414141; }
.block3 .container > div { display: flex; text-align: left; padding: 30px 0; justify-content: flex-start; text-align: left; }
.block3 .container > div > div:nth-child(1) { width: 660px; min-width: 660px; }
.block3 .container > div > div:nth-child(2) { padding-left: 60px; }
.block3 img { max-width: 100%; }
.block3 h2 { color: white; font-size: 36px; max-width: 80%; display: table; }
.block3 button { margin: 40px 0 0; }
.block3 p, .form p { max-width: 80%; color: #86847e; margin: 20px 0; font-weight: 500; font-size: 16px; }
.form p { margin: 20px auto; max-width: 60%; }
form { width: 85%; margin: 60px auto; display: flex; flex-wrap: wrap; justify-content: space-between; }
form .floating { width: 290px !important; margin-bottom: 20px; }
form .select-box-wrapper { width: 290px !important; margin: 0 0 20px; }
form textarea { padding: 25px; height: 120px; resize: none; margin-bottom: 20px; }
.floating { position: relative; text-align: left; }
.floating input, .floating select { padding: 0px 25px 0 !important; }
.floating input::placeholder { color: rgba(0, 0, 0, 0); }
.floating label { display: block; position: relative; max-height: 0; font-weight: 500; pointer-events: none; }
.floating label:before { color: #222; content: attr(data-content); display: inline-block; transform-origin: 0 0; transition: all 0.08s ease; left: 0px; padding: 0px 25px; position: relative; }
.floating input:focus + label::after { transform: scale3d(1, 1, 1); opacity: 1; }
.floating input:placeholder-shown + label::before { font-size: 14px; transform: perspective(1px) translate3d(0, -44px, 0) scale3d(1, 1, 1) translateZ(0); color: #999; font-weight: 500; background: #fff; left: 1px; top: initial; -webkit-font-smoothing: antialiased; padding: 0px 25px; }
.floating label::before, .floating input:focus + label::before { font-size: 11px; transform: perspective(1px) translate3d(0, -74px, 0) scale3d(1, 1, 1) translateZ(0); background: #fff; left: 10px; top: 1px; -webkit-font-smoothing: antialiased; padding: 0px 10px; color: #ccc; }
.floating input:focus + label::before { color: #ccc; }
input[type="text"], textarea { width: 100%; height: 60px; padding: 0 25px; border: 1px solid #fff; border-radius: 4px; font-size: 14px; background: #fff; }
input[type="text"]:focus, textarea:focus { border: 1px solid var(--black); box-shadow: 0 0 10px rgba(0,0,0,0.1); }
label.checkbox { display: table; position: relative; padding: 3px 0 0 40px; cursor: pointer; }
label.checkbox input { display: none; }
label.checkbox:hover input ~ .checkmark { background-color: #fff; }
label.checkbox input:checked ~ .checkmark { background: #444; border: 1px solid #fff; }
label.checkbox input:checked ~ .checkmark:after { display: block; }
label.checkbox .checkmark { position: absolute; top: 3px; left: 0; height: 24px; width: 24px; border: 1px solid #cbcbcb; border-radius: 4px; }
label.checkbox .checkmark:after { left: 7px; top: 2px; width: 5px; height: 13px; border: solid white; border-width: 0 3px 3px 0; transform: rotate(45deg); content: ""; position: absolute; display: none; }

.select-box-wrapper { width: 300px; margin: 40px auto; position: relative; }
.select-box-wrapper .select-box { height: 60px; border: 1px solid #cacaca; border-radius: 4px; position: relative; display: flex; align-items: center; cursor: pointer; background: white; }
.select-box-wrapper .select-box .content { display: flex; flex-grow: 1; align-items: center; }
.select-box-wrapper .select-box .content input[type="text"] { padding-left: 20px; border: 0px; }
.select-box-wrapper .select-box span { min-width: 60px; height: 100%; display: block; position: relative; border-left: 1px solid #ededed; text-align: center; }
.select-box-wrapper .select-box span:before { font-family: "Fontawesome"; content: "\f078"; line-height: 58px; height: 100%; font-size: 20px; font-weight: normal; color: black; }
.select-box-wrapper .select-container { position: absolute; background: white; width: 100%; margin-top: 10px; border: 1px solid #cacaca; border-radius: 4px; max-height: 182px; overflow-x: hidden; overflow-y: auto; display: none; z-index: 9; }
.select-box-wrapper .select-container input[type="text"] { pointer-events: none; padding: 0 !important; border: 0px; }
.select-box-wrapper .select-container.open { display: block; }
.select-box-wrapper .select-container > div { height: 60px; line-height: 60px; border-bottom: 1px solid #ececec; padding-left: 20px; display: flex; align-items: center; cursor: pointer; }
.select-box-wrapper .select-container > div:hover, .select-box-wrapper .select-container > div.selected { background: #efefef; }
.select-box-wrapper input[type="text"] { border: 0px; width: 100%; background: transparent; }

@media (max-width: 1460px) {
.slider { height: 360px; }
.block1 .container { padding: 0; }
.block1 .flex { margin-top: 40px; padding: 50px 0 0px; }
.block2 .container { padding: 0; }
form .floating { width: 256px !important; margin-bottom: 20px; }
form .select-box-wrapper { width: 256px !important; margin: 0 0 20px; }
}

@media (max-width: 1280px) {
.block3 h2 { font-size: 22px; text-align: center; line-height: 150%; }
.block3 .container > div { flex-wrap: wrap; text-align: center; justify-content: center; padding: 10px 0; }
.block3 .container > div > div:nth-child(1) { width: 100%; min-width: 100%; }
.block3 p, .form p { max-width: 100%; padding: 0 20px; }
.block3 h2, .block3 button { display: table; margin: auto; }
.block3 img { margin: 25px auto; }
.block3 .container > div:nth-child(2) > div:nth-child(1) { order: 2; }
.block3 .container > div:nth-child(2) > div:nth-child(2) { order: 1; }
.block3 .container > div > div:nth-child(2) { padding-left: 0; }
.block3 .container { padding: 0px 0 40px; }
}

@media (max-width: 1024px) {
section:not(.main-banner) { padding: 30px 20px 30px; }
.block3 p, .form p, p { font-size: 14px; }
.block3 .container > div > div:nth-child(2) button { height: initial; line-height: initial; padding: 20px 0; margin-bottom: 20px; }
.block2 .container { display: block; padding: 0; }
.block2 button { display: table; margin: 20px auto 0; }
.block1 .flex > div:nth-child(1) { margin-bottom: 40px; }
.block1 .icon { height: 40px; line-height: initial; }
.block1 .flex { display: block; padding: 30px 0 0; }
.block1 .flex > div { width: initial; }
.block1 .container { padding:  0px; }
.slider h1 { font-size: 24px; }
.slider p { width: initial; }
.slider { height: initial; padding: 0; }
p.short { max-width: initial; }
form { width: initial; max-width: 320px; margin: 30px auto; }
form .floating { width: 100% !important; margin-bottom: 20px; }
form .select-box-wrapper { width: 100% !important; margin: 0 0 20px; }
.block3 h2 { max-width: initial; }
.block3 p, .form p { padding: 0; }
.block3 img { margin: 0 auto 20px; }
label.checkbox { text-align: left; }
}
