-
Allan Blanchard authoredAllan Blanchard authored
contact.css 15.80 KiB
/* Paths */
/* Colors */
/* Global Media Queries */
/* Direction */
.pageContact {
padding-top: 40px;
}
@media (min-width: 768px) {
.pageContact {
padding-top: 70px;
}
}
@media (min-width: 768px) {
.pageContact .bgTextbig {
font-size: 150px;
}
}
@media (min-width: 1024px) {
.pageContact .bgTextbig {
font-size: 200px;
}
}
@media (min-width: 1280px) {
.pageContact .bgTextbig {
font-size: 260px;
}
}
@media (min-width: 1600px) {
.pageContact .bgTextbig {
font-size: 320px;
}
}
.pageContact h1 {
margin: 0 0 60px;
}
@media (min-width: 768px) {
.pageContact h1 {
padding-left: 30px;
}
}
@media (min-width: 1280px) {
.pageContact h1 {
padding-left: 70px;
}
}
.pageContact form {
padding: 0 30px;
font-size: 18px;
margin-bottom: 50px;
}
@media (min-width: 768px) {
.pageContact form {
display: table;
width: 100%;
padding: 0;
}
}
@media (min-width: 768px) {
.pageContact form > div {
width: 50%;
float: left;
}
.pageContact form > div.leftBlock {
padding: 0 70px 0 30px;
}
}
@media (min-width: 1280px) {
.pageContact form > div.leftBlock {
padding-left: 70px;
}
}
.pageContact form .formALert {
text-align: center;
display: table;
padding: 6px 3px;
margin: -33px auto 15px;
font-size: 14px;
font-weight: 600;
border-bottom: 1px solid currentColor;
border-top: 1px solid currentColor;
animation: shake 0.75s linear both;
}
@media (min-width: 768px) {
.pageContact form .formALert {
font-size: 16px;
}
}
.pageContact form .formALert.alertError {
color: #c00;
}
.pageContact form .formALert.alertSuccess {
color: #09ab2d;
}
.pageContact form .formALert.alertSuccess.fail {
color: #c00;
}
.pageContact .textbox {
display: block;
width: 100%;
margin-bottom: 25px;
height: 40px;
border: 0;
border-bottom: 2px solid #b3b3b3;
background: #fff0;
transition: border 0.1s, background 0.1s;
}
@media (min-width: 768px) {
.pageContact .textbox {
padding: 10px 0;
border-bottom: 1px solid #d1d1d1;
max-width: 410px;
}
.pageContact .textbox:focus {
border-bottom-color: #ebb853;
}
}
.pageContact .textbox.parsley-error {
border-color: #c00;
}
.pageContact .textbox:focus {
border-bottom-color: #ebb853;
outline: 0;
}
.pageContact .choose {
position: relative;
padding-left: 90px;
margin-bottom: 40px;
display: table;
width: 100%;
}
@media (min-width: 768px) {
.pageContact .choose {
padding-top: 25px;
}
}
@media (min-width: 1280px) {
.pageContact .choose {
padding-left: 0;
}
}
.pageContact .choose span {
position: absolute;
top: 0;
left: 0;
}
@media (min-width: 768px) {
.pageContact .choose span {
top: 25px;
}
}
@media (min-width: 1280px) {
.pageContact .choose span {
position: static;
margin-bottom: 22px;
display: block;
}
}
.pageContact .choose p {
line-height: 26px;
margin: 0 0 13px;
}
@media (min-width: 768px) {
.pageContact .choose p {
line-height: 20px;
}
}
@media (min-width: 1280px) {
.pageContact .choose p {
float: left;
margin-right: 28px;
}
}
.pageContact .choose label {
position: relative;
display: block;
padding: 0 0 0 36px;
font-size: 16px;
cursor: pointer;
user-select: none;
}
@media (min-width: 768px) {
.pageContact .choose label {
padding-left: 27px;
}
}
.pageContact .choose label:hover:before {
animation: bounceIn 0.75s linear both;
}
.pageContact .choose label:before,
.pageContact .choose label:after {
content: '';
position: absolute;
border-radius: 50%;
}
.pageContact .choose label:before {
top: 0;
left: 0;
width: 26px;
height: 26px;
border: 2px solid #f7931c;
background-color: #fff;
box-sizing: border-box;
}
@media (min-width: 768px) {
.pageContact .choose label:before {
width: 20px;
height: 20px;
border-color: #ebb853;
}
}
.pageContact .choose label:after {
top: 5px;
left: 5px;
width: 16px;
height: 16px;
background-color: #f7931c;
display: none;
animation: bounceIn 0.75s linear both;
}
@media (min-width: 768px) {
.pageContact .choose label:after {
width: 10px;
height: 10px;
top: 5px;
left: 5px;
background-color: #dd9a78;
}
}
.pageContact .choose input[type="radio"] {
display: none;
}
.pageContact .choose input[type="radio"]:checked + label:after {
display: block;
}
@media (min-width: 768px) {
.pageContact .messageWrap {
padding: 3px 30px 0 0;
}
}
@media (min-width: 1280px) {
.pageContact .messageWrap {
padding-right: 70px;
}
}
.pageContact .messageWrap span {
display: block;
margin: 0 0 15px;
}
@media (min-width: 768px) {
.pageContact .messageWrap span {
/*margin-bottom: 0;
padding-bottom: 18px;
background: url('../img/bg-dotted-line.png') repeat-x left bottom;*/
display: none;
}
}
.pageContact .messageWrap textarea {
display: block;
width: 100%;
height: 160px;
padding: 15px;
resize: none;
border: 2px solid #b3b3b3;
box-sizing: border-box;
transition: border 0.1s, background 0.1s;
margin-bottom: 30px;
}
@media (min-width: 768px) {
.pageContact .messageWrap textarea {
padding: 0;
border: 0 !important;
line-height: 57px;
height: 228px;
background: url('../img/bg-dotted-line.png');
}
.pageContact .messageWrap textarea:focus {
background-image: url('../img/bg-dotted-focus.png');
}
.pageContact .messageWrap textarea:focus ~ .submitWrap:before {
background-image: url('../img/bg-dotted-focus.png');
}
}
.pageContact .messageWrap textarea.parsley-error {
border-color: #c00;
}
@media (min-width: 1280px) {
.pageContact .messageWrap textarea.parsley-error {
background-image: url('../img/bg-dotted-line-red.png');
}
.pageContact .messageWrap textarea.parsley-error ~ .submitWrap:before {
background-image: url('../img/bg-dotted-line-red.png');
}
}
.pageContact .messageWrap textarea:focus {
outline: 0;
border-color: #ebb853;
}
.pageContact .submitWrap {
text-align: center;
}
@media (min-width: 768px) {
.pageContact .submitWrap {
position: relative;
padding-left: 54%;
padding-bottom: 35px;
}
.pageContact .submitWrap:before {
content: '';
position: absolute;
top: 37px;
left: 0;
width: 50%;
height: 2px;
background: url('../img/bg-dotted-line.png') repeat-x 0 100%;
border: 0 !important;
}
}
.pageContact .submitWrap button {
position: relative;
background-color: #f7931c;
background: linear-gradient(-150deg, #f26521 0%, #f7931c 80%);
transition: background 0.1s;
box-shadow: 4px 10px 10px 3px rgba(249, 115, 51, 0.3);
display: inline-block;
width: 90px;
height: 90px;
border-radius: 50%;
border: 0;
cursor: pointer;
}
.nonTouch .pageContact .submitWrap button:hover {
background: #f7931c;
background: linear-gradient(-150deg, #f7931c 0%, #f26521 80%);
}
@media (min-width: 768px) {
.pageContact .submitWrap button {
width: 74px;
height: 74px;
display: block;
}
}
.pageContact .submitWrap button i {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-40%, -50%);
color: #fff;
font-size: 30px;
}
@media (min-width: 768px) {
.pageContact .submitWrap button i {
font-size: 22px;
}
}
.pageContact .locate {
position: relative;
margin-bottom: 50px;
box-shadow: 0 25px 50px 0 rgba(0, 0, 0, 0.15);
}
@media (min-width: 768px) {
.pageContact .locate {
overflow: hidden;
}
}
.pageContact .locate > figure {
margin: 0;
height: 250px;
background: url('../img/bg-contact-location.jpg') no-repeat center bottom;
background-size: cover;
}
@media (min-width: 768px) {
.pageContact .locate > figure {
width: 36%;
float: left;
}
}
@media (min-width: 1280px) {
.pageContact .locate > figure {
height: 320px;
}
}
.pageContact .locate > div {
height: 250px;
overflow: hidden;
background-color: #f4f4f4;
}
@media (min-width: 768px) {
.pageContact .locate > div {
width: 64%;
float: left;
}
}
@media (min-width: 1280px) {
.pageContact .locate > div {
height: 320px;
}
}
.pageContact .contactInfo {
position: relative;
padding: 0 15px 35px;
border-bottom: 1px solid #e3d5bc;
margin-bottom: 35px;
color: #000;
}
@media (max-width: 767px) {
.pageContact .contactInfo {
text-align: center;
}
}
@media (min-width: 1280px) {
.pageContact .contactInfo {
padding-left: 0;
padding-right: 0;
}
}
.pageContact .contactInfo h4 {
font-weight: 600;
font-size: 18px;
margin: 0 0 20px;
}
@media (min-width: 768px) {
.pageContact .contactInfo h4 {
text-transform: uppercase;
margin-bottom: 25px;
}
}
.pageContact .contactInfo p {
font-size: 14px;
margin: 0 0 30px;
}
@media (min-width: 768px) {
.pageContact .contactInfo p {
font-size: 16px;
margin: 0 0 35px;
}
}
.pageContact .contactInfo p:last-child {
margin: 0;
}
.pageContact .contactInfo p a {
position: relative;
display: table;
margin: 0 auto;
color: #f7931c;
font-size: 16px;
padding-bottom: 2px;
margin-bottom: 10px;
transition: 0.1s;
}
@media (min-width: 768px) {
.pageContact .contactInfo p a {
display: inline-block;
}
}
.pageContact .contactInfo p a:before {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 1px;
transition: 0.1s ease-out;
}
.pageContact .contactInfo p a:hover {
color: #333;
}
.pageContact .contactInfo p a:hover:before {
width: 100%;
}
.pageContact .contactInfo small {
display: inline-block;
padding: 0 20px;
font-size: 16px;
color: #f7931c;
}
@media (max-width: 767px) {
.pageContact .contactInfo small {
display: none;
}
}
.stackPost {
padding: 0 25px;
position: relative;
}
@media (min-width: 1280px) {
.stackPost {
padding: 0;
width: 68%;
float: left;
border: 0;
margin-bottom: 0;
}
}
.stackPost ul {
list-style-type: none;
padding: 0;
}
.stackPost .subTitle {
margin-bottom: 30px;
}
@media (max-width: 767px) {
.stackPost .subTitle {
text-align: center;
}
}
.stackPost h4 {
font-weight: 700;
font-size: 18px;
}
.stackPost li {
position: relative;
padding-left: 65px;
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: 1px solid #e4e6e8;
}
.stackPost .qus {
color: #0077dd;
display: block;
font-size: 16px;
margin-bottom: 8px;
transition: all 0.1s;
}
.nonTouch .stackPost .qus:hover {
text-decoration: underline;
}
.stackPost .ans {
display: block;
font-weight: 300;
font-size: 12px;
color: #484848;
word-wrap: break-word;
}
.stackPost aside {
position: absolute;
top: 0;
left: 0;
text-align: center;
color: #6a737c;
font-size: 12px;
}
.stackPost aside span {
display: block;
padding-top: 5px;
margin-top: 5px;
border-top: 1px solid currentColor;
}
.stackPost aside span:first-child {
padding-top: 0;
margin-top: 0;
border: 0;
}
.stackPost .tags {
margin: 0;
padding-top: 25px;
}
.stackPost .tags a {
display: inline-block;
margin-right: 2px;
margin-bottom: 5px;
background-color: #e1ecf4;
line-height: 24px;
font-size: 12px;
padding: 0 5px;
color: #6885c0;
}
.characterLimit {
position: absolute;
top: 203px;
right: 0;
font-size: 12px;
opacity: 0.7;
}
@media (min-width: 768px) {
.characterLimit {
top: 240px;
right: 30px;
}
}
@media (min-width: 1280px) {
.characterLimit {
right: 70px;
}
}
.usefulLinks {
position: relative;
padding: 0 25px;
border-bottom: 1px solid #e3d5bc;
margin-bottom: 30px;
}
@media (min-width: 1280px) {
.usefulLinks {
padding: 0;
width: 25%;
float: right;
margin-bottom: 0;
border: 0;
}
}
.usefulLinks ul {
list-style-type: none;
padding: 0;
}
.usefulLinks .subTitle {
margin-bottom: 30px;
}
@media (max-width: 767px) {
.usefulLinks .subTitle {
text-align: center;
}
}
@media (min-width: 1280px) {
.usefulLinks .subTitle {
margin-bottom: 50px;
}
}
.usefulLinks ul {
display: flex;
flex-wrap: wrap;
text-align: center;
}
@media (min-width: 1280px) {
.usefulLinks ul {
text-align: left;
}
}
.usefulLinks li {
padding: 0 10px 20px;
box-sizing: border-box;
}
@media only screen and (min-width: 375px) {
.usefulLinks li {
width: 50%;
text-align: left;
}
}
@media (min-width: 1024px) {
.usefulLinks li {
width: 25%;
text-align: left;
}
}
.icon-com {
width: 26%;
height: 25%;
}
@media (max-width: 1280px) {
.icon-com {
width: 25%;
height:10vh;
}
.icon-com img {
height: inherit;
}
}
@media (max-width: 1024px) {
.icon-com {
width: 50%;
height: 10vh;
}
}
@media (min-width: 1280px) {
.usefulLinks li {
position: relative;
width: 50%;
min-height: 69px;
padding-bottom: 0;
margin-bottom: 50px;
}
}
.usefulLinks li a {
display: block;
color: #484848;
transition: 0.1s;
}
.usefulLinks li i {
display: inline-block;
width: 60px;
height: 60px;
background-size: contain;
background-repeat: no-repeat;
background-origin: center;
}
@media (min-width: 1280px) {
.usefulLinks li i {
position: absolute;
top: 50%;
left: 0;
margin: 0;
transform: translateY(-50%) scale(1);
}
}
.usefulLinks li .slideCaption {
font-size: 15px;
font-weight: 700;
margin: 0 0 5px;
}
.usefulLinks li .description {
font-size: 12px;
}
.parsley-errors-list {
margin: 0;
padding: 0;
}
.parsley-errors-list li {
color: #c00;
font-style: italic;
font-weight: 600;
font-size: 13px;
margin: 4px 0;
}
.inputWrap {
position: relative;
/*span {
opacity: 0;
position: absolute;
top: 15px;
right: 5px;
font-size: 14px;
transition: .3s;
&:before {
content: '';
display: inline-block;
font-family: 'icomoon' !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
letter-spacing: 0;
-webkit-font-feature-settings: "liga";
-moz-font-feature-settings: "liga=1";
-moz-font-feature-settings: "liga";
-ms-font-feature-settings: "liga" 1;
-o-font-feature-settings: "liga";
font-feature-settings: "liga";
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
}*/
/*.parsley-error + span,
.parsley-success + span {
opacity: 1;
}*/
/*.parsley-error + span:before {
color: #c00;
content: '\ea0f';
}
.parsley-success + span:before {
color: #4bb543;
content: '\ea10';
}*/
}
.inputWrap .textError,
.inputWrap .emailError {
position: absolute;
top: 100%;
left: 0;
margin: 2px 0;
}
.choose .radioError {
position: absolute;
top: 100%;
margin: 4px 0;
}
.messageWrap {
position: relative;
}
.textareaError {
position: relative;
top: -10px;
}
@media (min-width: 768px) {
.textareaError {
position: absolute;
top: -20px;
}
}
@keyframes bounceIn {
0%,
20%,
40%,
60%,
80%,
100% {
-webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
0% {
opacity: 0;
-webkit-transform: scale3d(0.3, 0.3, 0.3);
transform: scale3d(0.3, 0.3, 0.3);
}
20% {
-webkit-transform: scale3d(1.1, 1.1, 1.1);
transform: scale3d(1.1, 1.1, 1.1);
}
40% {
-webkit-transform: scale3d(0.9, 0.9, 0.9);
transform: scale3d(0.9, 0.9, 0.9);
}
60% {
opacity: 1;
-webkit-transform: scale3d(1.03, 1.03, 1.03);
transform: scale3d(1.03, 1.03, 1.03);
}
80% {
-webkit-transform: scale3d(0.97, 0.97, 0.97);
transform: scale3d(0.97, 0.97, 0.97);
}
100% {
opacity: 1;
-webkit-transform: scale3d(1, 1, 1);
transform: scale3d(1, 1, 1);
}
}
.nonTouch .usefulLinks li a:hover {
color: #f7931c;
/*i {
transform: scale(1.1);
@media @fromLargeScreen {
transform: translateY(-50%) scale(1.1);
}
}*/
}