﻿.modalBackground {
    background-color: rgba(0, 0, 0, 0.9);
    filter: alpha(opacity=90);
    opacity: 0.8;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed !important; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.9); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
    display: inherit;
}

.center img {
    height: auto;
    width: 100%;
}

.modal {
    z-index: 99999999999 !important;
}

.RKGallery1 {
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 80;
    position: fixed;
    top: 0px;
    cursor: auto;
    padding: 10px 12vw 20px;
    box-sizing: border-box;
}

.Viewbtn {
    position: absolute;
    left: 84.3%;
    transform: translate(-0%, -100%);
    -ms-transform: translate(-0%, -100%);
    background-color: #e67006;
    color: white;
    font-size: 16px;
    padding: 8px 8px;
    border: none;
    cursor: pointer;
    z-index: 1;
    float: right;
}

@media (max-width: 1200px) {
    .Viewbtn {
        position: absolute;
        left: 81.1%;
        transform: translate(-0%, -100%);
        -ms-transform: translate(-0%, -100%);
        background-color: #e67006;
        color: white;
        font-size: 16px;
        padding: 8px 8px;
        border: none;
        cursor: pointer;
        z-index: 99999999999;
        float: right;
    }
}

@media (max-width: 992px) {
    .Viewbtn {
        position: absolute;
        left: 81.1%;
        transform: translate(-0%, -100%);
        -ms-transform: translate(-0%, -100%);
        background-color: #e67006;
        color: white;
        font-size: 16px;
        padding: 8px 8px;
        border: none;
        cursor: pointer;
        z-index: 99999999999;
        float: right;
    }
}


@media(max-width:768px) {
    .Viewbtn {
        position: absolute;
        left: 81.6%;
        transform: translate(-0%, -100%);
        -ms-transform: translate(-0%, -100%);
        background-color: #e67006;
        color: white;
        font-size: 16px;
        padding: 8px 8px;
        border: none;
        cursor: pointer;
        z-index: 99999999999;
        float: right;
    }
}

@media(max-width:320px) {
    .Viewbtn {
        position: absolute;
        left: 57%;
        transform: translate(-0%, -100%);
        -ms-transform: translate(-0%, -100%);
        background-color: #e67006;
        color: white;
        font-size: 16px;
        padding: 8px 8px;
        border: none;
        cursor: pointer;
        z-index: 99999999999;
        float: right;
    }
}

/*Details*/

.ViewbtnDetails {
    position: absolute;
    left: 73.7%;
    transform: translate(-0%, -100%);
    -ms-transform: translate(-0%, -100%);
    background-color: #e67006;
    color: white;
    font-size: 12px;
    padding: 1px 8px;
    border: none;
    cursor: pointer;
    z-index: 1;
    float: right;
}

@media (max-width: 1200px) {
    .ViewbtnDetails {
        position: absolute;
        left: 68%;
        transform: translate(-0%, -100%);
        -ms-transform: translate(-0%, -100%);
        background-color: #e67006;
        color: white;
        font-size: 12px;
        padding: 1px 8px;
        border: none;
        cursor: pointer;
        z-index: 1;
        float: right;
    }
}

@media (max-width: 992px) {
    .ViewbtnDetails {
        position: absolute;
        left: 70%;
        transform: translate(-0%, -100%);
        -ms-transform: translate(-0%, -100%);
        background-color: #e67006;
        color: white;
        font-size: 12px;
        padding: 1px 8px;
        border: none;
        cursor: pointer;
        z-index: 1;
        float: right;
    }
}


@media(max-width:768px) {
    .ViewbtnDetails {
        position: absolute;
        left: 66%;
        transform: translate(-0%, -100%);
        -ms-transform: translate(-0%, -100%);
        background-color: #e67006;
        color: white;
        font-size: 12px;
        padding: 1px 8px;
        border: none;
        cursor: pointer;
        z-index: 1;
        float: right;
    }
}

@media(max-width:320px) {
    .ViewbtnDetails {
        position: absolute;
        left: 66%;
        transform: translate(-0%, -100%);
        -ms-transform: translate(-0%, -100%);
        background-color: #e67006;
        color: white;
        font-size: 12px;
        padding: 1px 8px;
        border: none;
        cursor: pointer;
        z-index: 1;
        float: right;
    }
}

