@media screen {
    .royalSlider { max-height: 420px !important; }
    #content-slider{ max-height: 420;}
/* Gallery Navigation */
.gallery-nav{
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#557998+0,245075+100 */
    /* Gradient Background */
        background-color: #5a8ea1;
        /* Safari 4-5, Chrome 1-9 */
        background: -webkit-gradient(linear, left top, right top, from(#52879a), to(#7eb2c5));
        /* Safari 5.1, Chrome 10+ */
        background: -webkit-linear-gradient(left, #52879a, #7eb2c5);
        /* Firefox 3.6+ */
        background: -moz-linear-gradient(left, #52879a, #7eb2c5);
        /* IE 10 */
        background: -ms-linear-gradient(left, #52879a, #7eb2c5);
        /* Opera 11.10+ */
        background: -o-linear-gradient(left, #52879a, #7eb2c5);
    border-radius: 10px;
    color: #FFF;
    text-align: center;
    height: 57px;
    margin-bottom: 25px;
    }
    .gallery-nav > div{
        height: 100%;
        /*display: -webkit-flex;
        -webkit-align-items: center;
        display: flex;
        align-items: center;*/
        position: relative;
        }
    .gallery-nav p{
        display: inline-block;
        color: RGB(255, 255, 255);
        height: 100%;
        line-height: 3;
        margin-bottom: 0;
        width: 100%;
        font-size: 16px;
        padding-top: 0;
        }
    .gallery-nav > div > p > span{
        color: RGB(255, 255, 255);
        font-size: 18px;
        margin-right: 10px;
        }
    .gallery-nav a{
        color: #FFF;
        line-height: 3.5;
        font-size: 16px;
        }
        .gallery-nav .center-container{
            border-left: 1px solid #7eb2c5;
            border-right: 1px solid #7eb2c5;
            }
    .left-arrow{
        position: absolute;
        left: 20%;
        background: url('images/arrows.png') no-repeat 0 0 transparent;
		width: 12.5px; }.gallery-nav > div > p > span{
        height: 27px;
        top: 25%;
        }
    .right-arrow{
        position: absolute;
        right: 20%;
        background: url('images/arrows.png') no-repeat -13px 0px transparent;
        width: 12.5px;
        height: 27px;
        top: 25%;
        }
    .category-list:hover{
        cursor: pointer;
        }
    .category-list:hover ul{
        display: block;
        z-index: 999999;
        }
    .category-list ul {
        display: none;
        position: absolute;
        width: 95%;
        background: #7eb2c5;
        list-style: none inside none;
        text-align: left;
        padding: 0 15px;
        }
    /* Image Gallery */
    #content-slider{
        margin-bottom: 20px;
        }
    /* Before and After Image */
    #before_after {
        text-align: center;
        margin-bottom: 20px;
        }
        #before_after img{
            /* border: 5px solid #FFF; */
            /* box-shadow: 0 0 3px #CCC; */
            margin: 0 auto;
            width: 100%;
            /* max-height: 680px; */
            }
    /* Case Description */
    .gallery-content {
    	/* edit border */
    	background-color:#f1f1f1;
    	border-top:2px solid #000;
    	border-left:1px solid #d4d4d4;
    	border-right:1px solid #d4d4d4;
    	border-bottom:1px solid #d4d4d4;
    	padding: 30px;
    	margin-bottom: 50px;
    }
    .gallery-content h2{
    	/* edit h2 */
        color: #545454;
        font-size: 25px;
        }
    .gallery-content p{
    	/* edit p */
        font-size: 16px;
        }
    /* Category Cases */
    .child-thumbnail {
        border: 5px solid #fff;
        box-shadow: 0 0 5px #ccc;
        display: inline-block;
        height: 150px;
        overflow: hidden;
        width: 100%;
        margin-bottom: 20px;
        }
        .child-thumbnail > img {
            position: relative;
            top: -30%;
            }
    .cat-case{
        position: relative;
        margin-bottom: 50px;
        font-size: 1.6rem;
        }

    .rsContent > div { top:0; left: 0;}

} /* END screen media
   ================================================== */
/* ===[ Large desktop ]=== */
@media (min-width:1200px) {

}
@media (max-width:991px) {
.rsContent > div {
        width: 50%;
        float: left;
    }
    .headerTwo{ font-size:20px; }
}

/* ===[ Portrait tablet to landscape and desktop ]=== */
@media (min-width:768px) and (max-width:979px) {

}
/* ===[ Landscape phone to portrait tablet ]=== */
@media (max-width:767px) {
    .child-thumbnail{
        height:170px;
        }
}
/* ===[ Landscape phones and down ]=== */
@media (max-width:480px) {
    .category-list ul{
        width: 89%;
        z-index: 99999;
        }
    .category-list:hover ul{
        display: none;
        }
    .child-thumbnail{
        height:110px;
        }
    .gallery-content h2,.gallery-content h1{
        font-size: 18px;
        }
    #content-slider .rsArrow{
        display: none !important;
        }
    .child-thumbnail > img{
        top: -20%;
        }
    .rsContent > div {
        width: 50%;
        float: left;
    }
    .headerTwo{ font-size:20px; }
}
