.overlay-content-hide {
    display: none;
}

.overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 0px;
    height: 0px;
  
    transition: width 0ms 300ms, height 0ms 300ms;
}

.overlay.show {
    width: 100%;
    height: 100%; 
	z-index: 10000;
    transition: width 0ms, height 0ms;
}

.overlay:not(.show) {
	display: none;
}

.overlay .overlay-mask {
    background-color: rgba(0,0,0,0);
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    transition: background-color 150ms 150ms;
}

.overlay.show .overlay-mask {
    background-color: rgba(0,0,0,0.6);
    transition: background-color 150ms;
}

.overlay .overlay-content-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 150ms;    
}

.overlay.show .overlay-content-container {
    opacity: 1;
    transition: opacity 150ms 150ms;    
}

.overlay .overlay-content-container .overlay-close {
    position: absolute;
    top: 0px;
    right: 20px;
    height: 50px;
    width: 50px;
    background-color: rgba(0,0,0, 0.6);
    text-align: center;
    line-height: 50px;
    color: #FFF;
    cursor: pointer;
}

/* car rental overlay */
.rcc-overlay {
    max-width: 430px;
    min-width: 275px;
    text-align: center;
}

.rcc-overlay p {
    padding: 60px 50px;
    margin: 0px;
	background: #FFFFFF;
    color: #00314D;
    font-family: Roboto;
    font-size: 24px;
    font-weight: 300;
    line-height: 45px;
    text-align: center;
    text-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.25);
}

.rcc-overlay p strong {
    font-size: 38px;
    line-height: 46px;
    font-weight: normal;
}

.rcc-overlay .controls {
    background: #FFFFFF;
    padding: 30px;
}

.rcc-overlay .controls .button  {
    text-transform: uppercase;
}

/* newsletter subscirbe overlay */

.newsletter-subscribe-overlay {
    max-width: 430px;
    min-width: 275px;
    text-align: center;
}

.newsletter-subscribe-overlay p {
    padding: 60px 50px;
    margin: 0px;
    background: url(../img/newsletter-subscribe-overlay/bg.jpg) no-repeat center / cover;
    color: #FFFFFF;
    font-family: Roboto;
    font-size: 24px;
    font-weight: 300;
    line-height: 46px;
    text-align: center;
    text-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.25);
}

.newsletter-subscribe-overlay p strong {
    font-size: 38px;
    line-height: 46px;
    font-weight: normal;
}

.newsletter-subscribe-overlay .controls {
    background: #FFFFFF;
    padding: 30px;
}

.newsletter-subscribe-overlay .controls .button  {
    text-transform: uppercase;
}


/* covid-subscribe-overlay subscirbe overlay */

.covid-subscribe-overlay {
    max-width: 430px;
    min-width: 275px;
    text-align: center;
}

.covid-subscribe-overlay p {
    padding: 60px 50px;
    margin: 0px;
    background: url(../img/newsletter-subscribe-overlay/bg.jpg) no-repeat center / cover;
    color: #FFFFFF;
    font-family: Roboto;
    font-size: 24px;
    font-weight: 300;
    line-height: 46px;
    text-align: center;
    text-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.25);
}

.covid-subscribe-overlay p strong {
    font-size: 38px;
    line-height: 46px;
    font-weight: normal;
}

.covid-subscribe-overlay .controls {
    background: #FFFFFF;
    padding: 30px;
}

.covid-subscribe-overlay .controls .button  {
    text-transform: uppercase;
}
