File: /var/www/html/israel-rentals/wp-content/themes/israel-rentals/scss/header.scss
@import 'partials';
.header{
width:100%;
padding-top: 55px;
display: flex;
justify-content: center;
position: absolute;
z-index: 1;
@media ($sm-991){
padding-top: 30px;
}
.custom-container{
padding-left: 11px;
padding-right: 11px;
max-width: 100%;
}
nav{
&.navbar{
// max-width: 1143px;
max-width: 1200px;
width: 100%;
background-color: #fff;
border-radius: 38px;
box-shadow: 0px 14px 41px rgba(0, 85, 124, 0.1215686275);
@media ($sm-1199){
margin-left: 20px;
margin-right: 20px
}
.navbar-brand{
margin-right: 25px;
margin-left: 21px;
padding: 0px;
@media ($sm-1199){
margin-right: 10px;
margin-left: 10px;
}
img{
max-height: 54px;
@media ($sm-991){
height: 40px;
}
}
}
.navbar-nav{
margin-right: 25px;
@media ($sm-1199){
margin-right: 20px;
}
.nav-link{
// font-weight: 300;
font-weight: 600;
font-size: 18px;
line-height: 21px;
color: #A6A6A6;
padding: 10px 25px;
transition: all 0.3s ease-in;
&:hover, &.active{
font-weight: 600;
}
@media ($sm-1199){
padding: 10px 15px;
}
@media (max-width:1074px){
padding: 10px 10px;
}
@media ($sm-991){
font-size: 14px;
}
}
}
}
}
.btn-blk{
display: flex;
@media ($sm-991){
margin-top: 10px;
margin-bottom: 5px;
}
@media (max-width:579px){
flex-direction: column;
max-width: 100%;
margin-left: 0;
margin-bottom: 10px;
}
.btn{
// flex: 1;
white-space: nowrap;
min-width: 219px;
display: flex;
align-items: center;
justify-content: center;
@media ($sm-1199){
width: 215px;
height: 44px;
}
@media (max-width:579px){
width: 100%;
max-width: 100%;
margin-top: 10px;;
padding: 10px 18px 10px 16px;
margin-left: 0px;
}
}
}
.btn-primary{
max-width: 219px;
width: 100%;
background-color: #DDD2C2;
border-color: #DDD2C2;
@media ($sm-1199){
max-width: 200px;
}
}
.btn-secondary{
max-width: 248px;
width: 100%;
background-color: #998E76;
border-color: #998E76;
@media ($sm-1199){
max-width: 230px;
}
}
.btn-primary,.btn-secondary{
margin-left: 14px;
height: 52px;
@media ($sm-1679){
margin-left: 10px;
height: 48px;
}
}
.navbar-toggler{
border: none;
box-shadow: none;
outline: none;
&:focus{
border: none;
box-shadow: none;
outline: none
}
}
span {
&.navbar-toggler-ico{
height: 2px;
width: 27px;
display: block;
background: #04397C;
margin-bottom: 6px;
&:last-child{
margin-bottom: 0px;
}
}
}
}
.modal-open{
.header{
padding-right: 17px;
@media ($sm-767){
padding-right: 0px;
}
@media (hover: none) and (pointer: coarse) {
padding-right: 0px;
}
@media (min-device-width:320px) and (max-device-width:768px) {
padding-right: 0px;
}
}
}
.header-top-sec {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
margin-bottom: 15px;
}
.header-top-sec .header-top-container {
display: flex;
}
.header-top-sec .header-top-container .img-block {
margin: 0 4px;
width: 195px;
height: 100px;
background: #574E3A82;
border-radius: 0px 0px 12px 12px;
}
.header-top-sec .header-top-container .img-block a {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
text-decoration: none;
}
.header-top-sec .header-top-container .img-block img{
max-width: 102px;
max-height: 92px;
}
.header {
padding-top: 0;
flex-direction: column;
}
.header nav.navbar{
margin: 0 auto;
}
@media (max-width: 1679px) {
.header-top-sec .header-top-container .img-block img{
max-width: 100px;
max-height: 82px;
}
.header-top-sec .header-top-container .img-block {
width: 185px;
height: 90px;
}
}
@media (max-width: 1481px) {
.header-top-sec .header-top-container .img-block {
width: 175px;
height: 85px;
}
.header-top-sec .header-top-container .img-block img{
max-width: 90px;
max-height: 70px;
}
}
@media (max-width: 1199px) {
.header-top-sec .header-top-container .img-block img {
max-width: 80px;
max-height: 65px;
}
.header-top-sec .header-top-container .img-block {
width: 160px;
height: 75px;
}
}
@media (max-width: 991px) {
.header-top-sec .header-top-container .img-block {
width: 150px;
height: 65px;
}
.header-top-sec .header-top-container .img-block img {
max-width: 75px;
max-height: 62px;
}
}
@media (max-width: 579px) {
.header-top-sec .header-top-container {
width: 100%;
}
.header-top-sec .header-top-container .img-block {
margin: 0 2px;
width: 33.3%;
}
}
.header .btn-blk .btn.login-btn {
margin-left: 10px;
min-width: auto;
border: 2px solid #998E76;
width: 140px;
background-color: #fff;
color: #998E76;
max-width: 140px;
}