.container-fluid.footer-row {
  background-image: url(../img/outer_page_footer.jpg);
    background-repeat: repeat-y;
    background-size: cover;
}
.cta-with-image .wrap {
    overflow: visible;
    margin: 0 auto;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    position: absolute;
    height: 800px;
    color: #fff;
    z-index: 10;
}

.cta-with-image .wrapper-container {
    display: table;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 100;
}
.cta-with-image .wrapper-content {
    display: table-cell;
    vertical-align: middle;
    padding: 0 10px;
}

.cta-with-image .wrapper-content h2 {
    font-size: 20px; 
    line-height: 56px;
    font-weight: 600;
    letter-spacing: -1px;
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 28px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    color: #fff;
}
.cta-with-image .wrapper-content .primary-button {
    background: #3ab34b;
    color: white;
    border: 2px solid #3ab34b;
    letter-spacing: 2px;
    text-decoration: none;
    padding: 10px 50px;
    font-weight: bold;
    font-size: 20px;
    margin-right: 10px;
}

.cta-with-image .wrapper-content .primary-button2 {
    background: #3ab34b;
    color: white;
    border: 2px solid #3ab34b;
    letter-spacing: 2px;
    text-decoration: none;
    padding: 10px 50px;
    font-weight: bold;
    font-size: 20px;
}
.primary_button{
     background: #3ab34b;
    color: white !important;
    border: 2px solid #3ab34b;
    letter-spacing: 2px;
    text-decoration: none;
    padding: 10px 50px;
    font-weight: bold;
    font-size: 20px;
}
.primary_button:hover{
    text-decoration: none;
    color: white;
}
.primary_button_div{
    text-align: center;
    padding: 10px;
    margin-bottom: 15px;
    margin-top: 15px;
    float: left;
    width: 100%;
}

.details_inner_box .primary_button{
      position: absolute;
    bottom: 8px;
    right: 20px;
    padding: 2px 8px;
    text-align: center;
    text-transform: uppercase;
    border-radius: 5px;
}
.home_img_text
{
text-shadow: 1px 2px 2px #000, -1px -2px 2px #000;
text-transform: capitalize;
font-size: 3.2em;
/*
margin-bottom: 30px;
padding-bottom: 20px;
*/
}
.home_txt_out h3
{
text-shadow: 1px 2px 2px #000, -1px -2px 2px #000;
text-transform: capitalize;
}
.img-container img{
	width: 100%;
    height: 500px;
}
.lp-login-fb{
	float: left;
	width: 100%;
}
.lp-content-sec{
	margin-top: 0;
    padding-bottom: 0; 
    padding-top: 78px !important;
}


.media-image-gallery .gallery-item {
    display: inline-block;
    width: 33.33%;
    height: 100%;
    position: relative;
    overflow: hidden;
    margin-top: -2px;
    float: left;
}
.media-image-gallery .gallery-item .details-container {
    position: absolute;
    width: 101%;
    height: 100%;
    top: 0;
    z-index: 100;
}
.media-image-gallery .gallery-item .details {
    display: table;
    width: 100%;
    height: 100%;
}
.media-image-gallery .gallery-item .details .details_inner {
    display: table-cell;
    vertical-align: bottom;
}
.media-image-gallery .gallery-item .details .details_inner_box {
      background: rgba(0, 0, 0, 0.52);
      padding: 30px 0;
}
.media-image-gallery .gallery-item .details .details_inner h4 { 
    text-align: center;
    color: #fff;
    margin-bottom: 0;
    font-size: 24px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    transition: opacity 0.4s ease, transform 0.4s ease;
    font-weight: 600;
    letter-spacing: 0.1rem;
    line-height: 0;
    float: left;
    padding-left: 10px;
    text-transform: uppercase;
}
.media-image-gallery .gallery-item img {
    height: 450px;
    object-fit: cover;
    width: 100%;
}
@media (max-width: 960px) and (min-width: 658px){
    .media-image-gallery .gallery-item {
        width: 50% !important;
    }
    .media-image-gallery .gallery-item .details .details_inner h4{
        font-size: 20px;
        width: 100%;
    }
    .details_inner_box .primary_button{
        left: 20px;
    }
    .media-image-gallery .gallery-item .details .details_inner_box{
        padding-bottom: 75px;
    }
}    
@media screen and (max-width: 658px){
    .media-image-gallery .gallery-item {
        width: 100% !important;
    }
    .media-image-gallery .gallery-item .details .details_inner h4{
        font-size: 20px;
        width: 100%;
    }
    .details_inner_box .primary_button{
        left: 20px;
    }
    .media-image-gallery .gallery-item .details .details_inner_box{
        padding-bottom: 75px;
    }
    .img-container img {
        height: 450px;
    }
    .cta-with-image .wrapper-content .primary-button , .cta-with-image .wrapper-content .primary-button2{
        padding: 10px 16px;
        font-size:18px;
    }  
    .lp-login-fb{
        margin-top: 0px; 
    }  
}    

@media screen and (max-width: 320px){
    .cta-with-image .wrapper-content .primary-button{
        display: block;
        margin-right: 10px;
        width: 95%;
        margin: 5px auto;
        padding: 5px;
    }
    .cta-with-image .wrapper-content .primary-button2{
        display: block;
        margin-right: 10px;
        width: 95%;
        margin: 5px auto;
        padding: 5px;
    }
}
