File: /var/www/html/CW-techs/wp-content/themes/cw-techs/scss/common.scss
@import 'partials';
body{
font-family:$primary-font;
font-weight: 400;
font-size: 18px;
background-color: $bodyBg;
overflow-x: hidden;
}
img{
max-width:100%;
}
.custom-container{
max-width: 1764px;
@media ($sm-1441){
max-width: 1300px;
}
@media ($sm-767){
max-width: 100%;
}
}
.title{
color: $white;
font-weight: 400;
font-size: 42px;
text-transform: uppercase;
text-align: center;
@media($sm-1679){
font-size: 38px;
}
@media($sm-1481){
font-size: 35px;
}
@media($sm-1199){
font-size: 28px;
}
@media($sm-991){
font-size: 24px;
}
@media($sm-767){
font-size: 22px;
}
@media($sm-579){
font-size: 20px;
}
.color{
color: #CD6429;
font-weight: 700;
}
}
.px-common{
padding-left: 75px;
padding-right: 75px;
@media ($sm-1679){
padding-left: 60px;
padding-right: 60px;
}
@media ($sm-1199){
padding-left: 40px;
padding-right: 40px;
}
@media ($sm-991){
padding-left: 30px;
padding-right: 30px;
}
@media ($sm-579){
padding-left: 20px;
padding-right: 20px;
}
}
.sec-btn{
width: 225px;
height: 60px;
border: 0.75px solid #1C1C1F;
display: flex;
align-items: center;
justify-content: center;
background-color: #151516;
color: #fff;
font-weight: 400;
font-size: 16px;
border-radius: 60px;
text-decoration: none;
justify-content: space-between;
padding: 21px 30px;
overflow: hidden;
position: relative;
@media ($sm-1679){
height: 50px;
font-size: 15px;
padding: 15px 25px;
}
@media ($sm-1441){
height: 46px;
font-size: 14px;
}
@media ($sm-1199){
font-size: 13px;
height: 42px;
width: 190px;
padding: 10px 20px;
}
&:hover{
background-color: $primary;
border: 1px solid $primary;
color: #fff;
}
.img{
img{
@media($sm-767){
width: 22px;
}
}
}
&:not(.primary-bg){
.icon{
@media ($sm-579){
width: 7px;
}
}
}
&.primary-bg{
.icon{
@media ($sm-1199){
width: 25px;
}
@media ($sm-579){
width: 20px;
}
}
&:hover{
background-color: transparent;
color: $primary;
}
}
span{
position: relative;
z-index: 1;
}
&:hover{
&::after{
transform: translateX(0);
width: 100%;
border-radius: 30px;
}
.img , .icon{
filter: brightness(0) saturate(100%) invert(41%) sepia(61%) saturate(750%) hue-rotate(340deg) brightness(98%) contrast(88%);
}
}
&.primary-bg{
background-color: $primary;
border: 0.75px solid $primary;
.icon{
@media ($sm-579){
width: 20px;
}
}
}
}
.error-msg{
color: #ff0000;
font-size: 14px;
padding-top: 5px;
position: absolute;
}
.submit-primary{
width: 100%;
height: 60px;
border: 0.75px solid #1C1C1F;
display: flex;
align-items: center;
justify-content: center;
background-color: $primary;
color: #fff;
font-weight: 400;
font-size: 18px;
border-radius: 60px;
text-decoration: none;
justify-content: center;
padding: 21px 22px;
overflow: hidden;
position: relative;
@media ($sm-1679){
height: 50px;
font-size: 16px;
padding: 15px 20px;
}
@media ($sm-1441){
height: 48px;
font-size: 15px;
}
@media ($sm-1199){
height: 46px;
font-size: 14px;
padding: 10px 15px;
}
@media ($sm-991){
height: 44px;
font-size: 13px;
}
span{
position: relative;
z-index: 1;
}
&::after{
// content: "";
width: 0%;
height: 100%;
background-color: #151516;
transform: translateX(-100%);
transition: width 0.2s linear;
position: absolute;
left: 0px;
}
&:hover{
background-color: transparent;
border: 1px solid $primary;
color: $primary;
&::after{
transform: translateX(0);
width: 100%;
border-radius: 30px;
}
}
}
.common-outer{
@media ($sm-991) {
padding-top: 80px;
}
}
.parsley-custom-error-message , .parsley-required , .parsley-length,.parsley-equalto,.parsley-type,.parsley-minlength,.parsley-pattern{
position:absolute;
font-size:13px;
font-weight:500;
font-family: "Schibsted Grotesk", sans-serif;
bottom: -18px;
padding-left: 25px;
left: 0;
@media($sm-579){
font-size: 11px;
}
@media(max-width:379px){
font-size: 10px;
}
}
a{
text-decoration:none;
}
.star{
color: red;
}
.no-data{
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 100px;
width: 100%;
.no-msg{
color: #fff;
font-weight: 400;
font-size: 18px;
margin-top: 10px;
text-align: center;
@media($sm-1679){
font-size: 16px;
}
@media($sm-1441){
font-size: 14px;
}
}
.no-data-img{
width: 221px;
height: 260px;
@media($sm-1679){
width: 200px;
height: 240px;
}
@media($sm-1441){
width: 180px;
height: 220px;
}
@media($sm-1199){
width: 160px;
height: 200px;
}
@media($sm-991){
width: 140px;
height: 180px;
}
@media($sm-767){
width: 120px;
height: 160px;
}
img{
width: 100%;
height: 100%;
object-fit: contain;
}
}
}
.suggestions-box{
color: #fff;
font-weight: 400;
font-size: 14px;
width: 100%;
line-height: 26px;
position: absolute;
border-radius: 7px;
padding: 20px;
z-index: 9;
background-color: #181819;
@media($sm-1679){
font-size: 13px;
}
@media($sm-1441){
font-size: 12px;
}
.suggestion-item {
cursor: pointer;
padding: 5px 18px;
border-radius: 10px;
&:hover{
background-color: #00000096;
}
}
}
.rating{
display: flex;
align-items: center;
.rating-btn{
padding: 0px;
background-color: transparent;
box-shadow: none;
border: none;
// margin: 0px 2px;
width: 16px;
height: 16px;
display: flex;
align-items: center;
img{
width: 100%;
height: 100%;
object-fit: contain;
&:hover{
filter: brightness(0) saturate(100%) invert(41%) sepia(71%) saturate(521%) hue-rotate(338deg) brightness(99%) contrast(98%);
}
&:active{
filter: brightness(0) saturate(100%) invert(41%) sepia(71%) saturate(521%) hue-rotate(338deg) brightness(99%) contrast(98%);
}
}
&.active{
img{
filter: brightness(0) saturate(100%) invert(41%) sepia(71%) saturate(521%) hue-rotate(338deg) brightness(99%) contrast(98%);
}
}
}
}
.custom-review-form{
position: relative;
h4{
color: #fff;
font-weight: 400;
font-size: 18px;
margin-top: 10px;
/* text-align: center; */
/* color: #CD6429; */
font-weight: 700;
@media($sm-1679){
font-size: 16px;
}
@media($sm-1441){
font-size: 14px;
}
}
textarea , select{
border: 1px solid #2E2E34;
height: 62px;
display: flex;
align-items: center;
padding-left: 40px;
font-family: $primary-font;
font-weight: 500;
font-size: 16px;
line-height: 100%;
letter-spacing: 0%;
color: #fff;
border-radius: 50px;
width: 100%;
background-color: #181819;
&:focus{
border: 1px solid #2E2E34 !important;
box-shadow: none;
outline: none;
}
}
textarea{
min-height: 150px;
border-radius: 20px;
padding-top: 20px;
}
.custom-review-form input.parsley-error, .custom-review-form select.parsley-error, .custom-review-form textarea.parsley-error, .custom-review-form input.parsley-success, .custom-review-form select.parsley-success, .custom-review-form textarea.parsley-success{
color: #fff !important;
background-color: #181819 !important;
border: 1px solid #2E2E34 !important;
}
label{
font-family: $primary-font;
font-weight: 500;
font-size: 16px;
line-height: 100%;
letter-spacing: 0%;
color: #fff;
padding-bottom: 15px;
@media($sm-1679){
font-size: 14px;
}
@media($sm-1441){
font-size: 14px;
}
}
button{
width: 100%;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
background-color: $primary;
color: #fff;
font-weight: 400;
font-size: 18px;
border-radius: 60px;
text-decoration: none;
justify-content: center;
padding: 21px 22px;
overflow: hidden;
position: relative;
background-color: #CD6429;
box-shadow: none ;
border: 1px solid #CD6429;
@media ($sm-1679){
height: 50px;
font-size: 16px;
padding: 15px 20px;
}
@media ($sm-1441){
height: 48px;
font-size: 15px;
}
@media ($sm-1199){
height: 46px;
font-size: 14px;
padding: 10px 15px;
}
@media ($sm-991){
height: 44px;
font-size: 13px;
}
}
.form-grp {
position: relative;
margin-bottom: 35px;
}
input.parsley-error, select.parsley-error, textarea.parsley-error,input.parsley-success, select.parsley-success, textarea.parsley-success {
color: #fff;
background-color: #181819 !important;
border: 1px solid #2E2E34 !important;
}
}
.noreview{
p,a{
color: #fff !important;
}
}
/* Width of the scrollbar */
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
/* Track (background) */
::-webkit-scrollbar-track {
background-color: #000;
border-radius: 5px;
}
/* Handle (thumb) */
::-webkit-scrollbar-thumb {
background-color: #CD6429;
border-radius: 5px;
border: 2px solid #000; /* adds padding around thumb */
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background-color: #b55522;
}
button{
&:focus{
box-shadow: none;
outline: none;
}
}
.long-msg-error{
.parsley-pattern{
@media($sm-1679){
bottom: -28px !important;
}
@media($sm-767){
bottom: -18px !important;
}
@media(max-width:417px){
bottom: -28px !important;
}
}
}