@media (max-width: 530px) {
    #imgLeft {
        top: 50%;
        left: 5px;
        position: fixed;
    }

    #imgRight {
        top: 50%;
        left: 100%;
        margin-left: -35px;
        position: fixed;
    }
    #imgMain {
        max-width: 800px;
        border: 1px solid;
    }

    #divMain {
        left: 0;
        margin-left: 0;
        position: fixed;
        top: 0;
        padding-top: 12px;
        padding-left:12px;
    }
    #divMain ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #divMain ul li{

    }

    #divMain ul img {
        max-width: 75px;
        margin: 2px;
        cursor: pointer;

    }
    #divMin {
        width: 9%;
        float: left;
    }

    #divContent {
        max-width: 1700px;
        height: 1500px;
        margin: auto;
        text-align: center;
    }

    #imagePan {
        width: 100%;
        height: 100%;
    }

    body {margin:0; padding:0;}
    #outer_container {max-height:1500px; max-width:1500px;float: left; margin-top: 15px; margin-left: 80px;}
    /*#outer_container {margin:40px auto; padding:4px; border:8px solid #dadada;}*/
    #imagePan{position:relative; overflow:hidden;}
    #imagePan .container{position:relative; left:0;}

    .close {
        background: #606061;
        color: #FFFFFF;
        line-height: 25px;
        position: fixed;
        z-index:9999;
        right: 10px;
        text-align: center;
        top: 10px;
        width: 45px; /* 24 */
        text-decoration: none;
        font-weight: bold;
        -webkit-border-radius: 12px;
        -moz-border-radius: 12px;
        border-radius: 12px;
        -moz-box-shadow: 1px 1px 3px #000;
        -webkit-box-shadow: 1px 1px 3px #000;
        box-shadow: 1px 1px 3px #000;
    }

    .close:hover { background: #00d9ff; }

    /* Phone Only Queries */

    #divMain ul li {
        float: left;
        margin-bottom: 30px;
        margin-left: 5px;
    }

    #divMain {
        left: 0px;
        top: inherit;
        margin-left: 0;
        position: fixed;
        bottom: 0px;
        padding-bottom: 12px;
        padding-left: 12px;
        z-index:9999;
    }
    #outer_container {
        margin-top: 0px;
        margin-left: 0px;
    }
}

@media (min-width: 531px) {
    #imgLeft {
        top: 50%;
        left: 5px;
        position: fixed;
    }

    #imgRight {
        top: 50%;
        left: 100%;
        margin-left: -35px;
        position: fixed;
    }
    #imgMain {
        max-width: 800px;
        border: 1px solid;
    }

    #divMain {
        left: 0;
        margin-left: 0;
        position: fixed;
        top: 0;
        padding-top: 12px;
        padding-left:12px;
    }
    #divMain ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #divMain ul li{

    }

    #divMain ul img {
        max-width: 75px;
        margin: 2px;
        cursor: pointer;

    }
    #divMin {
        width: 9%;
        float: left;
    }

    #divContent {
        max-width: 1700px;
        height: 1500px;
        margin: auto;
        text-align: center;
    }

    #imagePan {
        width: 100%;
        height: 100%;
    }

    body {margin:0; padding:0;}
    #outer_container {max-height:1500px; max-width:1500px;float: left; margin-top: 15px; margin-left: 80px;}
    /*#outer_container {margin:40px auto; padding:4px; border:8px solid #dadada;}*/
    #imagePan{position:relative; overflow:hidden;}
    #imagePan .container{position:relative; left:0;}

    .close {
        background: #606061;
        color: #FFFFFF;
        line-height: 25px;
        position: fixed;
        z-index:9999;
        right: 10px;
        text-align: center;
        top: 10px;
        width: 45px; /* 24 */
        text-decoration: none;
        font-weight: bold;
        -webkit-border-radius: 12px;
        -moz-border-radius: 12px;
        border-radius: 12px;
        -moz-box-shadow: 1px 1px 3px #000;
        -webkit-box-shadow: 1px 1px 3px #000;
        box-shadow: 1px 1px 3px #000;
    }

    .close:hover { background: #00d9ff; }
}