﻿.overlay-bg
{
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
    z-index: 1000; /* high z-index */
    background: #000; /* fallback */
    background: rgba(0,0,0,0.75);
}
.overlay-content
{
    display: none;   
    padding: 1%;
    max-width: 80%;
    max-height: 600px;
    position: absolute;
    cursor: default;
    z-index: 10001;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0,0,0,0.9);
    left: 0%;
    width: 55%;
}
.overlay-content a
{
    height: 600px !important;
    width: 90% !important;
    margin-left: 0px;
}

.close-btn
{
    cursor: pointer;
    border: 1px solid #333;
    padding: 1% 1%;
    background: #fff; /* fallback */
    background: -moz-linear-gradient(top,  #fff 0%, #fff 4%, #fff 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(4%,#fff), color-stop(100%,#fff));
    background: -webkit-linear-gradient(top,  #fff 0%,#fff 4%,#fff 100%);
    background: -o-linear-gradient(top,  #fff 0%,#fff 4%,#fff 100%);
    background: -ms-linear-gradient(top,  #fff 0%,#77d3ef 4%,#fff 100%);
    background: linear-gradient(to bottom,  #fff 0%,#fff 4%,#fff 100%);
    border-radius: 4px;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
}
.close-btn:hover
{
    background: #05abe0;
}

.imgheightandwidth
{
    max-height: 580px;
    max-width: 100%;
    border: 15px solid #fff;
    border-radius: 10px;
}


.image800
{
    margin: 8% 0 0 22%;
    width: 55%;
}

.image600
{
    margin: 8% 0 0 26%;
    width: 47%;
}

@media (max-width:320px)
{

    .image800
    {
        margin: 5% 0 0 22%;
        width: 55%;
    }

    .image600
    {
        margin: 5% 0 0 26%;
        width: 47%;
    }

}

@media (min-width:320px) and (max-width: 480px)
{

    .image800
    {
        margin: 5% 0 0 22%;
        width: 55%;
    }

    .image600
    {
        margin: 5% 0 0 26%;
        width: 47%;
    }

}

@media (min-width:480px) and (max-width: 800px)
{

    .image800
    {
        margin: 5% 0 0 22%;
        width: 55%;
    }

    .image600
    {
        margin: 5% 0 0 26%;
        width: 47%;
    }

}


@media (min-width:800px) and (max-width: 1400px)
{

    .image800
    {
        margin: 8% 0 0 22%;
        width: 55%;
    }

    .image600
    {
        margin: 8% 0 0 26%;
        width: 47%;
    }
