body {
    background-color: #FFF;
    font-family: 'Archivo', sans-serif;
    font-size: 14px;
    color: #000;
    margin: 0;
    letter-spacing: 0px;
}

.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
}

.site-button.outline.white {
    color: #ffffff;
    border-color: #d81517;
    background: #d81517;
}

.no-of-item h3 {
    font-size: 40px;
    color: #fff;
    text-align: center;
    font-weight: 700;
    line-height: 45px;
    margin-top: 40%;
    margin-bottom: 10px;
}

@media only screen and (max-width: 768px) {
	.no-of-item h3 {
	    font-size: 35px;
	    color: #fff;
	    text-align: center;
	    font-weight: 700;
	    line-height: 45px;
	    margin-top: 3%;
	    margin-bottom: 10px;
	}
}

@media only screen and (max-width: 640px) {
	.no-of-item h3 {
	    font-size: 30px;
	    color: #fff;
	    text-align: center;
	    font-weight: 700;
	    line-height: 45px;
	    margin-top: 7%;
	    margin-bottom: 0px;
	}
}

.owl-btn-style-1 .owl-nav .owl-next, .owl-btn-style-1 .owl-nav .owl-prev, .owl-btn-style-2 .owl-nav .owl-next, .owl-btn-style-2 .owl-nav .owl-prev {
    width: 40px;
    height: 40px;
    border: 0;
    background-color: #7489960f;
    line-height: 40px;
    border: 1px solid #d9ebeb;
    padding: 0;
    font-size: 18px;
}

.owl-btn-style-2 .owl-nav .owl-next, .owl-btn-style-2 .owl-nav .owl-prev {
    color: #f9f9f9;
}

.font-18 {
    font-size: 18px;
    font-family: 'Lato', sans-serif;
}

.bg-black {
	background: #2a2a2a!important;
}

.bg-white2 {
	background: #fff;
}

.bg-white {
    background-color: #040404!important;
}

.white {
	color: #fff!important;
}

.new-item .owl-item .dlab-info {
    background-color: rgb(68 81 92 / 100%);
    padding: 16px 20px;
    transition: all .5s ease 0s;
}

.new-item .owl-item:nth-child(2n+1) .dlab-info {
    background: #1b1b1b;
    transition: all .5s ease 0s;
}

.dlab-new-item .dlab-info .dlab-title a {
    color: #ffffff;
}

.overlay-white-dark:after, .overlay-white-light:after, .overlay-white-middle:after {
    background: linear-gradient(90deg, #d9232d 100%, #f0544e 100%);
}

.bootstrap-select.btn-group .dropdown-menu li a {
    cursor: pointer;
    color: #424242;
}

.bootstrap-select .dropdown-toggle {
    border: 1px solid #e7ecf100!important;
    background-color: #fff0!important;
    height: 40px;
    color: #9e9e9e;
    font-size: 14px;
}

.bootstrap-select:hover .dropdown-toggle:hover {
    border: 1px solid transparent!important;
    background-color: transparent!important;
    color: #ccc;
    height: 40px;
    font-size: 14px;
}


.btn-default.active.focus, .btn-default.active:focus, .btn-default.active:hover, .btn-default:active.focus, .btn-default:active:focus, .btn-default:active:hover, .open>.dropdown-toggle.btn-default.focus, .open>.dropdown-toggle.btn-default:focus, .open>.dropdown-toggle.btn-default:hover {
    color: #ccc;
    background: transparent!important;
    border-color: transparent!important;
}

.btn-default.active, .btn-default:active, .open>.dropdown-toggle.btn-default {
    color: #ccc;
    background-color: #e6e6e6;
    border-color: #adadad;
}

.bootstrap-select.btn-group .dropdown-toggle .filter-option {
    display: inline-block;
    overflow: hidden;
    width: 100%;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    text-align: left;
}

@media only screen and (max-width: 600px) {
    .bootstrap-select.btn-group .dropdown-toggle .filter-option {
        font-size: 13px;
    }
}

/*.btn-default.active, .btn-default:active, .open>.dropdown-toggle.btn-default {
    color: #fff;
    background: transparent;
}*/

.form-group .bootstrap-select.btn-group, .form-horizontal .bootstrap-select.btn-group, .form-inline .bootstrap-select.btn-group {
    margin-bottom: 0;
    border: 1px solid #e7ecf1!important;
}
.pt-10 {
    padding-top: 10px;
}

.pt-20 {
    padding-top: 20px;
}

.pt-50 {
    padding-top: 50px;
}

.pt-80 {
	padding-top: 80px;
}

.pt-85 {
    padding-top: 85px!important;
}

.pt-100 {
    padding-top: 100px;
}

.pt-120 {
	padding-top: 120px;
}

.pt-180 {
	padding-top: 180px;
}

@media only screen and (max-width: 767px) {
	.pt-180 {
		padding-top: 55px;
	}
}

.pt-0 {
    padding-top: 0;
}

.pb-0 {
    padding-bottom: 0;
}

.pb-5 {
    padding-bottom: 5px;
}

.pb-6 {
    padding-bottom: 6px;
}

.pb-10 {
    padding-bottom: 10px;
}

.pb-15 {
    padding-bottom: 15px;
}

.pb-30 {
    padding-bottom: 30px;
}

.pb-85 {
    padding-bottom: 125px;
}

@media only screen and (max-width: 767px) {
	.pb-85 {
	    padding-bottom: 2px;
	}
}

.pb-120 {
	padding-bottom: 120px;
}

.pb-150 {
    padding-bottom: 150px;
}

.bg-gray {
    background-color: #f5f6f600;
}

.mt-0 {
	margin-top: 0;
}

.mt-5 {
    margin-top: 5px;
}

.mb-0 {
    margin-bottom: 0;
}

.dlab-contact-info li {
    position: relative;
    padding: 10px 0px 10px 40px;
}

.header-transparent .is-fixed .main-bar {
    position: fixed;
    background-color: rgb(27 27 27);
    box-shadow: 0 0 5px 0 rgba(0,0,0,.2);
}

.header-transparent .is-fixed .extra-nav .site-button-link, .header-transparent .is-fixed .header-nav .nav>li>a, .header-transparent .is-fixed .navbar-toggle {
    color: #fff;
}

@media only screen and (max-width: 768px) {
	.header-transparent .is-fixed .extra-nav .site-button-link, .header-transparent .is-fixed .header-nav .nav>li>a, .header-transparent .is-fixed  {
	    color: #1d1d1d;
	}
}

.widget_archive ul li, .widget_categories ul li, .widget_meta ul li, .widget_nav_menu li, .widget_pages ul li, .widget_recent_comments ul li, .widget_recent_entries ul li, .widget_services ul li {
    border-bottom: 1px solid rgba(102,102,102,.11);
    position: relative;
    padding: 10px 10px 10px 0px;
    margin-bottom: 0;
    line-height: 20px;
}

.widget_archive ul li:before, .widget_categories ul li:before, .widget_meta ul li:before, .widget_nav_menu ul li:before, .widget_pages ul li:before, .widget_recent_comments ul li:before, .widget_recent_entries ul li:before, .widget_services ul li:before {
    display: none;
}

.bg-primary, .meet-ask-row:after, .dlab-separator.style-skew[class*="style-"]:after, .dlab-separator.style-skew[class*="style-"]:before, .dlab-tilte-inner.skew-title:after, .date-style-2 .post-date, .date-style-3.skew-date .post-date, .date-style-3.skew-date .post-date:before, .overlay-primary-light:after, .overlay-primary-middle:after, .overlay-primary-dark:after, .widget-title:after, .site-button, .comments-area .comment-form p input[type="submit"], .pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus, .footer-line:after, .testimonial-1 .quote-left:before, .testimonial-2 .quote-left:before, .site-filters .active > [class*="site-button"], .list-num-count > li:before, .date-style-4 .post-date strong, .date-style-3 .post-date, .date-style-2 .post-date, #myNavbar li.active a, .skew-angle:after, .header-style-4.style-1 .header-nav .nav > li.active a:before, .header-style-4.style-1 .header-nav .nav > li:hover > a:before, .dlab-project-left:after, .service-carousel .owl-prev, .service-carousel .owl-next, .about-us .dlab-tabs .nav-tabs li.active a, .new-item .dlab-new-item:hover .dlab-info, .new-item .owl-item:nth-child(2n+1) .dlab-new-item:hover .dlab-info, .dlab-box-bg.active .icon-box-btn .site-button, .adv-box:hover, .home-2 .sep, .home-3 .sep {
    background-color: #d9232d;
}

.text-primary {
    color:#d9232d;
}

.icon-box-btn .site-button {
    background-color: #d9232d;
    padding: 15px 20px;
    text-transform: uppercase;
    font-size: 15px;
}

.icon-box-btn .site-button, .city-box .glyph-icon, .owner-sign, .section-head.style-1 .h2.text-primary {
    color: #ffffff;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-5 {
    margin-top: 5px;
}

.dlab-box-bg .icon-bx-wraper {
    background-color: #f8f8f8;
    border: 2px solid #fff;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
}

.fw-700 {
    font-weight: 700;
}

label {
    font-weight: 100;
    margin-bottom: 10px;
}


/********************************/
/*       Fade Bs-carousel       */
/********************************/
.fade-carousel {
    position: relative;
    height: 100vh;
}
.fade-carousel .carousel-inner .item {
    height: 100vh;
}

@media only screen and (max-width: 640px) {
	.fade-carousel {
	    position: relative;
	    height: 83vh;
	}

	.fade-carousel .carousel-inner .item {
	    height: 83vh;
	}

}
.fade-carousel .carousel-indicators > li {
    margin: 0 2px;
    background-color: #fcfbfa;
    border-color: #db222e00;
    opacity: .7;
}
.fade-carousel .carousel-indicators > li.active {
  width: 10px;
  height: 10px;
  opacity: 1;
}

/********************************/
/*          Hero Headers        */
/********************************/
.hero {
    position: absolute;
    top: 50%;
    left: 40%;
    z-index: 3;
    color: #fff;
    text-align: left;
    font-family: 'Archivo', sans-serif;
    text-transform: none;
    /* text-shadow: 1px 1px 0 rgba(0,0,0,.75); */
      -webkit-transform: translate3d(-50%,-50%,0);
         -moz-transform: translate3d(-50%,-50%,0);
          -ms-transform: translate3d(-50%,-50%,0);
           -o-transform: translate3d(-50%,-50%,0);
              transform: translate3d(-50%,-50%,0);
}
.hero h1 {
    font-size: 5.2em; 
    font-family: 'Archivo', sans-serif;   
    font-weight: bold;
    line-height: 75px;
    margin: 0;
    padding: 0;
    color: #fff;
}

@media only screen and (max-width: 767px) {
    .hero {
        position: absolute;
        top: 30%;
        left: 50%;
        z-index: 3;
        color: #fff;
        text-align: center;
        font-family: 'Archivo', sans-serif;
        text-transform: none;
        /* text-shadow: 1px 1px 0 rgba(0,0,0,.75); */
          -webkit-transform: translate3d(-50%,-50%,0);
             -moz-transform: translate3d(-50%,-50%,0);
              -ms-transform: translate3d(-50%,-50%,0);
               -o-transform: translate3d(-50%,-50%,0);
                  transform: translate3d(-50%,-50%,0);
    }
}


.fade-carousel .carousel-inner .item .hero {
    opacity: 0;
    -webkit-transition: 2s all ease-in-out .1s;
       -moz-transition: 2s all ease-in-out .1s; 
        -ms-transition: 2s all ease-in-out .1s; 
         -o-transition: 2s all ease-in-out .1s; 
            transition: 2s all ease-in-out .1s; 
}
.fade-carousel .carousel-inner .item.active .hero {
    opacity: 1;
    -webkit-transition: 2s all ease-in-out .1s;
       -moz-transition: 2s all ease-in-out .1s; 
        -ms-transition: 2s all ease-in-out .1s; 
         -o-transition: 2s all ease-in-out .1s; 
            transition: 2s all ease-in-out .1s;    
}

/********************************/
/*            Overlay           */
/********************************/
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -999;
    background-color: none;
    opacity: .7;
}

/********************************/
/*          Custom Buttons      */
/********************************/
.btn.btn-lg {padding: 10px 40px;}
.btn.btn-hero,
.btn.btn-hero:hover,
.btn.btn-hero:focus {
    color: #f5f5f5;
    background-color: #db222e;
    border-color: #db222e;
    outline: none;
    margin: 20px auto;
}

/********************************/
/*       Slides backgrounds     */
/********************************/
.fade-carousel .slides .slide-1, 
.fade-carousel .slides .slide-2,
.fade-carousel .slides .slide-3,
.fade-carousel .slides .slide-4 {
  height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.fade-carousel .slides .slide-1 {
  background-image: url('images/main-slider/hot.jpg'); 
}

.fade-carousel .slides .slide-2 {
  background-image: url('images/main-slider/cold.jpg?v=1');
}
.fade-carousel .slides .slide-3 {
  background-image: url('images/main-slider/bullet.jpg?v=1');
}
.fade-carousel .slides .slide-4 {
  background-image: url('images/main-slider/water.jpg?v=1');
}

@media only screen and (max-width: 767px) {
    .fade-carousel .slides .slide-1 {
        background-image: url('images/main-slider/desert-mobile.jpg?v=6'); 
    }

    .fade-carousel .slides .slide-2 {
        background-image: url('images/main-slider/snow-mobile.jpg?v=6');
    }
    .fade-carousel .slides .slide-3 {
        background-image: url('images/main-slider/bullet-mobile.jpg?v=6');
    }
    .fade-carousel .slides .slide-4 {
        background-image: url('images/main-slider/water-mobile.jpg?v=6');
    } 
}

/********************************/
/*          Media Queries       */
/********************************/
@media screen and (min-width: 980px){
    .hero { width: 980px; }    
}
@media screen and (max-width: 640px){
    .hero h1 { 
    	font-size: 3em; 
    	line-height: 44px;
    }    
}

span.red {
    color: #db222e;
    font-weight: 700;
}

span.black {
    color: #000;
    font-weight: 700;
}

.footer-bottom {
    background-color: #000000;
    padding: 25px 0;
    color: #b0b0b0;
    font-size: 14px;
}

.footer-top {
    background-color: #000000;
    padding: 50px 0 20px;
}

.head-1 h1, .head-1 h2, .head-1 h3, .head-1 h4, .head-1 h5, .head-1 h6 {
    color: #000;
    font-weight: 700!important;
    text-transform: none;
}

.white-icon {
    display: none;
}

.black-icon {
    display: block;
}

p.p2 {
    font-family: 'Lato', sans-serif;
    font-size: 15px;
}

.fs-35 {
    font-size: 35px;
}

@media only screen and (max-width: 767px) {
    .fs-35 {
        font-size: 30px;
        text-align: center;
    }

    h2 {
        font-size: 30px!important;
        text-align: center;
    }
}

/* .overlay-black-dark:after, .overlay-black-light:after, .overlay-black-middle:after {
    background: #0000;
} */

.tt-none {
    text-transform: none;
}

.counter-style-1 .counter-text, .counter-style-2 .counter-text {
    font-size: 18px;
    font-weight: 500;
}

.dlab-bnr-inr:before {
    background: #ffffff;
    border-radius: 100%;
    top: 20%;
    content: "";
    height: 600px;
    left: 5%;
    mix-blend-mode: multiply;
    opacity: .3;
    position: absolute;
    width: 600px;
    z-index: 0;
}

.dlab-bnr-inr {
    background-position: center center;
    background-size: cover;
    display: table;
    height: 450px;
    padding-bottom: 60px;
    padding-top: 110px;
    width: 100%;
}

@media only screen and (max-width: 650px) {
    .dlab-bnr-inr {
        background-position: center right;
        background-size: cover;
        display: table;
        height: 210px;
        padding-bottom: 60px;
        padding-top: 60px;
        width: 100%;
    }    
}

.overlay-black-dark:after, .overlay-black-light:after, .overlay-black-middle:after {
    background: #00000000;
}

h3.h7 {
    font-size: 20px!important;
    font-weight: 700;
    color: #000;
}

label.label {
    font-weight: 700;
    font-size: 20px;
    color: #d9232d;
    padding-left: 0;
}

.pl-pr {
    padding: 0 100px;
}

@media only screen and (max-width: 767px) {
	.pl-pr {
	    padding: 0 25px;
	}
}

.pl-50 {
    padding-left: 50px;
}

@media only screen and (max-width: 767px) {
	.pl-50 {
	    padding-left: 20px;
	}
}

strong {
    font-weight: 700;
}

ul.other {
    padding-left: 5%;
    line-height: 20px;
    list-style: decimal;
}

ul.resources {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    padding-left: 4%;
    line-height: 25px;
}

li.other {
    margin-bottom: 10px;
}

.dlab-feed-list .dlab-price span {
    color: #000;
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-weight: 600;
}

.new-item .owl-nav {
    bottom: 35px;
    height: 40px;
    left: -215px;
    margin-top: 20px;
    position: absolute;
    text-align: center;
    transform-origin: calc(-50%) 50% 0;
    width: 100px;
}

@media only screen and (max-width: 1440px) {
    .new-item .owl-nav {
        left: -170px;
    }
}

h1.text-white {
    font-size: 50px;
}

@media only screen and (max-width: 768px) {
    h1.text-white {
        font-size: 35px;
        line-height: 44px;
    }
}

@media only screen and (max-width: 640px) {
    h1.text-white {
        font-size: 25px;
        line-height: 30px;
    }
}



.text-white {
    color: #fff!important;
}

.txt-white {
	color: #fff!important;
}

p {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
}

.section-head p {
    padding-top: 10px;
    font-size: 16px;
    color: #494949;
}

.dlab-post-title .post-title {
    margin-top: 15px;
    font-size: 30px;
}

.contact-style-1 .site-button {
    height: 42px;
    width: 100%;
}

.site-button, .site-button-secondry {
    color: #fff;
    padding: 8px 20px;
    display: inline-block;
    font-size: 18px;
    cursor: pointer;
    outline: 0;
    border-width: 0;
    border-style: solid;
    border-color: transparent;
    line-height: 1.42857;
    font-weight: 400;
}

.icon-bx-wraper.bx-style-1, .icon-bx-wraper.bx-style-2 {
    border-width: 1px;
    border-style: solid;
    border-color: #ffffff;
}

.table-dl li .leftview {
    font-weight: 600;
    text-align: left;
}

.table-dl li div {
    border-bottom: 1px solid #fff;
    display: inline-block;
    float: left;
    padding: 10px 0;
    text-align: left;
    width: 50%;
}

h5.price {
    font-size: 25px;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

@media only screen and (max-width: 767px) {
	.is-fixed .header-nav .nav {
	    overflow: auto;
	    height: auto;
	}
}

@media only screen and (max-width: 320px) {
	.is-fixed .navbar-toggle {
	    margin: 22px 14px 10px;
	}
}

@media only screen and (max-width: 767px) {
	.dis-tbl-cell {
	    padding: 0 15px;
	}
}	

@media only screen and (max-width: 768px) {
	.m-hide {
		display: none!important;
	}
}

@media only screen and (min-width: 769px) {
	.m-show {
		display: none!important;
	}
}

.fs-34 {
	font-size: 34px;
}

p.t-wrap {
	word-wrap: break-word;
}

.used-car-info .dlab-title {
    text-transform: capitalize;
    font-weight: 500;
    font-family: 'Lato', sans-serif;
}

span.bold {
    font-weight: 700;
}

.owl-next, .owl-prev {
    background-color: rgba(0,0,0,.5);
    border-color: rgba(0,0,0,.5);
    color: #fff;
    padding: 5px 13px;
    margin-left: 5px;
    margin-right: 5px;
    font-size: 20px;
    cursor: pointer;
    border-width: 0;
    border-style: solid;
}

.well {
    min-height: 0px;
    padding: 0px;
    margin-bottom: 30px;
    background-color: #474c4f;
    border: none;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
    box-shadow: none;
}

.table-col4.table-dl>li>div {
    width: 20%;
    padding: 15px 20px;
    font-weight: 700;
}

input[type=checkbox]:checked+label:after {
    font-size: 10px;
    left: 3px;
    top: 2px;
}

input[type=checkbox]+label:before, input[type=radio]+label:before {
    border-radius: 0;
    content: "";
    display: inline-block;
    height: 20px;
    left: 0;
    line-height: 1;
    position: absolute;
    top: -1px;
    transition: all .1s linear 0s;
    width: 20px;
}

input[type=checkbox]:checked+label:before {
    border-width: 7px;
    background: #d9232d;
}

input::-webkit-calendar-picker-indicator {
  display: none !important;
}

.extra-nav .extra-cell {
    display: inline-block;
    margin-right: 15px;
    margin-left: 0px;
}

.r-5 {
    right: 5%;
}

@media only screen and (max-width: 600px) {
    .r-5 {
        right: 0%;
    }

    p.ppp {
        font-size: 11px;
        font-weight: 700;
        padding-top: 3px;
    }
}

.l-8 {
    left: 8%;
}

@media only screen and (max-width: 600px) {
    footer li, footer p {
        font-size: 12px;
        line-height: 22px;
    }
}

@media only screen and (max-width: 320px) {
    footer li, footer p {
        font-size: 9px;
        line-height: 22px;
    }
}

@media only screen and (max-width: 600px) {
    .l-8 {
        left: 0%;
    }    
}

@media only screen and (max-width: 768px) {
    .l-8 {
        left: 0%;
    }

    .r-5 {
        right: 0%;
    }
}

@media only screen and (max-width: 767px) {
    .col-xs-6 {
        width: 50%!important;
    }

    .logo-footer img {
        max-width: 100%;
        width: 25%;
        height: auto;
    }
}



@media only screen and (max-width: 768px) {
    .dlab-tabs .tab-pane {
        padding: 20px 0;
        padding-left: 20px;
    }

    .table-dl li div {
        border-bottom: 1px solid #f0f0f0;
        display: inline-block;
        float: left;
        padding: 10px 0;
        text-align: right;
        width: 46%!important;
    }
}

.icon-bx-wraper .dlab-tilte, .section-head h1, .section-head h2, .section-head h3 {
    text-transform: none;
    margin-top: 0;
}

@media only screen and (max-width: 991px) {
    .logo-footer {
        width: 100%;
    }
}    

.w-200 {
    width: 200px;
}

/*@media only screen and (max-width: 991px) {
    .hidden-sm {
        display: none;
    }

    
}

@media only screen and (min-width: 992px) {
    .visible-sm {
        display: none;
    }
}*/


.b-b-1 {
    border-bottom: 1px solid;
}

p.compare {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    margin-bottom: 0px;
}    

/* The Overlay (background) */
.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */   
  height: 0%;
  width: 100%;
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgb(0,0,0); /* Black fallback color */
  background-color: rgba(0,0,0, 1); /* Black w/opacity */
  overflow-y: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 25%; /* 25% from the top */
  width: 100%; /* 100% width */
  text-align: center; /* Centered text/links */
  margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 20px;
  color: #ffffff;
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
  margin-left: 40px;
  margin-right: 40px;
  border-bottom: 1px solid #3e3e3e;
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 0px;
  font-size: 45px;
}

.overlay {
    opacity: 1;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}