@import url('/static/css/shared.less'); #contact { .container:after { left: 892px; } #contact_info { font-family: 'GothamBookRegular', sans-serif; font-weight: normal; font-size: 14px; color: #969696; // HACK: more relative positioning... position: relative; top: -3px; div { background-image: url('/static/img/contact/icons_sprite.png'); background-repeat: no-repeat; display: inline-block; float: right; height: 21px; line-height: 21px; margin-left: 30px; &.skype { background-position: 0 0; padding-left: 25px; } &.phone { background-position: 0 -21px; padding-left: 18px; } } } form { font-size: 0; // prevent spaces between label and input elements } .side { &.contact { padding: 28px 0 35px 0; float: left; h1 { margin: 0 0 40px 0; padding: 0 5px 15px 10px; } &.left { padding-left: 5px; width: 465px; } &.right { padding: 28px 0 40px 0; h1 { padding: 0 0 15px 10px; } } } } label { display: inline-block; width: 118px; height: 41px; margin-left: 10px; padding-left: 42px; font-family: 'Aller', sans-serif; font-size: 15px; color: #c8c8c8; .bg-3(url('/static/img/contact/form_icons_sprite.png'), url('/static/img/contact/form_pxsep.png'), linear-gradient(top, #373b41, #303439)); background-position: left, right, center; background-repeat: repeat-y, no-repeat, repeat; border-bottom: solid 1px #575e67; .border-radius(3px, 0px, 0px, 3px); line-height: 42px; margin-bottom: 14px; &:last-of-type { margin-bottom: 0px; } &.name { background-position: 0 0, right, center; } &.email { background-position: 0 -42px, right, center; } &.subject { background-position: 0 -84px, right, center; } } input, textarea { font-family: Tahoma, sans-serif; font-size: 12px; color: #fff; border: none; padding: 0 20px; outline: none; &::-webkit-input-placeholder { color: #6b7481; } &:-moz-placeholder { color: #6b7481; } } input[type=text] { .bg-2(url('/static/img/contact/form_status_sprite.png'), linear-gradient(top, #24282c, #2e3237)); background-repeat: no-repeat, repeat; border-bottom: solid 1px #575e67; display: inline-block; width: 235px; height: 41px; vertical-align: top; .border-radius(0px, 3px, 3px, 0px); &.optional { background-position: 0px 42px; } &.ok { background-position: 0px -42px, center; box-shadow: inset 0px 3px #6ea465; } &:focus { background-position: 0px -126px, center; box-shadow: inset 0px 3px #b58269; } &.bad { background-position: 0px -84px, center; box-shadow: inset 0px 3px #ac5152; } } input[type=submit] { padding-left: 42px; margin-top: 15px; background-color: transparent; background-image: url('/static/img/contact/submit_sprite.png'); text-shadow: 1px 1px 2px rgba(0,0,0,0.35); width: 200px; line-height: 42px; height: 41px; font-family: 'Aller', sans-serif; font-size: 15px; color: #c8c8c8; &:hover { color: #fffefe; background-position: 0 -41px; } } textarea { height: 126px; min-height: 126px; width: 443px; padding: 11px 16px 16px 16px; line-height: 18px; border-radius: 3px; resize: vertical; box-shadow: #575e67 1px 1px 0; background-color: #303439; background-image: url('/static/img/contact/form_shad.png'); background-repeat: repeat-x; background-position: top; } #required_field { display: inline-block; height: 13px; margin-left: 20px; padding-left: 21px; background-image: url('/static/img/contact/icon_required.png'); background-repeat: no-repeat; color: #919ba5; text-shadow: 1px 1px #434951; font-size: 12px; font-weight: bold; // HACK: for some reason this block is 1px too low (says alba), so we're // gonna force it up with relative positioning (Y) position: relative; top: -1px; } }