janahan-law/styles/sass/page/_contact.scss
2025-08-14 14:54:08 +05:30

230 lines
3.6 KiB
SCSS

/*--------------------------------------------------------------
19. wpo-contact-pg-section
--------------------------------------------------------------*/
.wpo-contact-pg-section {
padding-bottom: 0px;
.wpo-contact-title {
max-width: 440px;
margin: 0 auto;
text-align: center;
margin-bottom: 50px;
@media(max-width:767px) {
margin-bottom: 30px;
}
h2 {
font-size: 35px;
font-size: calc-rem-value(35);
font-weight: 600;
margin-bottom: 20px;
@media(max-width:575px) {
font-size: 25px;
font-size: calc-rem-value(25);
}
}
}
.form-field {
margin-bottom: 30px;
}
.errorMessage {
color: red;
font-size: 14px;
margin-top: 5px;
}
form input,
form select,
form textarea {
background: transparent;
width: 100%;
height: 50px;
border: 1px solid transparent;
border-radius: 0px;
box-shadow: none !important;
padding-left: 25px;
border: 1px solid #ebebeb;
color: #a9a9a9;
@include media-query(991px) {
height: 45px;
}
&:focus {
border-color: $theme-primary-color;
background: transparent;
}
}
form textarea {
height: 180px;
padding-top: 15px;
}
form {
margin: 0 -15px;
overflow: hidden;
@include placeholder-style(#9d9c9c, 15px, normal);
select {
display: inline-block;
color: #a9a9a9;
cursor: pointer;
opacity: 1;
padding: 6px 25px;
font-size: 15px;
font-size: calc-rem-value(15);
-webkit-appearance: none;
-ms-appearance: none;
-o-appearance: none;
appearance: none;
-moz-appearance: none;
background: transparent url(/images/select-icon2.png) no-repeat calc(100% - 15px) center;
position: relative;
&:focus {
background: transparent url(/images/select-icon2.png) no-repeat calc(100% - 15px) center;
}
}
.submit-area {
text-align: center;
width: 100%;
margin-bottom: 10px;
margin-left: 0;
@include media-query(767px) {
margin-bottom: 0;
}
.theme-btn {
border-radius: 0px;
font-family: $base-font;
font-size: 16px;
&:after {
border-radius: 0px;
}
}
}
}
form>div {
margin: 0 15px 25px;
@include media-query(600px) {
width: calc(100% - 25px);
}
}
form .fullwidth {
width: calc(100% - 25px);
float: none;
clear: both;
}
.office-info {
padding-bottom: 100px;
@media(max-width:767px) {
padding-bottom: 60px;
}
.col {
.office-info-item {
@media(max-width:1200px) {
margin-bottom: 30px;
}
}
&:last-child {
.office-info-item {
@media(max-width:1200px) {
margin-bottom: 0px;
}
}
}
}
.office-info-item {
text-align: center;
// box-shadow: 0px 5px 15px 0px rgba(62, 65, 159, 0.1);
background-color: rgb(193 32 38);
padding: 40px;
.office-info-icon {
width: 85px;
height: 85px;
background: #f5f5f5;
line-height: 85px;
text-align: center;
margin: 0 auto;
@include rounded-border(50%);
.icon {
.fi {
&:before {
font-size: 35px;
}
}
}
}
.office-info-text {
h2 {
font-size: 30px;
font-weight: 500;
margin: 20px 0 5px;
color: white;
}
p {
margin-bottom: 0;
color: white;
}
}
}
}
.wpo-contact-form-area {
padding: 50px;
background: #102548;
// box-shadow: 0px 1px 15px 0px rgba(62, 65, 159, 0.1);
margin-bottom: -125px;
position: relative;
z-index: 99;
@media(max-width:767px) {
padding: 30px;
padding-top: 50px;
}
}
}
.wpo-contact-map-section {
.wpo-contact-map {
height: 550px;
}
iframe {
width: 100%;
height: 100%;
border: 0;
outline: 0;
}
h2.hidden {
display: none;
}
}