.rg-image-wrapper {
    position: relative;
    padding: 0px;
    width: 66.3%;
}

.rg-image-wrapper img {
    width: 100%;
}

.thumb {
    width: 33%;
    float: right;
}

.rg-image {
    position: relative;
    text-align: center;
    line-height: 0px;
}

.rg-image img {
    max-height: 100%;
    max-width: 100%;
}

.rg-image-nav a {
    position: absolute;
    top: 47%;
    left: 0px;
    background: #000 url(http://127.0.0.1:8000/assets/images/nav.png) no-repeat -20% 50%;
    width: 28px;
    padding: 15px 5px 15px 0;
    text-indent: -9000px;
    cursor: pointer;
    opacity: 0.7;
    outline: none;
    z-index: 1000;
}

.rg-image-nav a.rg-image-nav-next {
    right: 0px;
    left: auto;
    background-position: 115% 50%;
}

.rg-image-nav a:hover {
    opacity: 0.8;
}

.rg-caption {
    text-align: center;
    margin-top: 15px;
    position: relative;
}

.rg-caption p {
    font-size: 11px;
    letter-spacing: 2px;
    font-family: 'Trebuchet MS', 'Myriad Pro', Arial, sans-serif;
    line-height: 16px;
    padding: 0 15px;
    text-transform: uppercase;
}

.rg-loading {
    width: 46px;
    height: 46px;
    position: absolute;
    top: 50%;
    left: 50%;
    background: transparent;
    margin: -23px 0px 0px -23px;
    z-index: 100;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    opacity: 0.7;
}

.es-carousel ul {
    width: 100% !important;
    margin-left: 0 !important;
    float: left;
}

@media (min-width:320px) and (max-width:480px) {
    .rg-image-wrapper {
        position: relative;
        top: 0;
        padding: 0px;
        width: 100%;
        float: left;
    }
    .rg-image-wrapper img {
        width: 100%;
    }
    .thumb {
        width: 100%;
        float: right;
        display: none;
    }
    .es-carousel ul li {
        float: left;
        margin-bottom: 10px;
        margin-left: 0;
        width: 88px !important;
    }
    .es-carousel ul {
        padding: 0;
    }
    .es-carousel ul li:nth-child(2n+2) a img {
        float: right;
    }
}

@media (min-width:481px) and (max-width:600px) {
    .rg-image-wrapper {
        position: relative;
        top: 0;
        padding: 0px;
        width: 100%;
        float: left;
    }
    .rg-image-wrapper img {
        width: 100%;
    }
    .thumb {
        width: 100%;
        float: right;
        display: none;
    }
    .es-carousel ul li {
        float: left;
        margin-bottom: 10px;
        margin-left: 0;
        width: 88px !important;
    }
}

@media (min-width:601px) and (max-width:767px) {
    .es-carousel ul {
        padding-left: 10px;
    }
}