﻿@media screen and (max-width: 1199px)
{
    .gridView .assetItem
    {
        /*width: 25%;*/
    }
    #cs_body .RadListView .rlvFloated {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

@media screen and (max-width: 949px)
{
    .gridView .assetItem {
        /*width: 33%;*/
    }
    #cs_body .RadListView .rlvFloated {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .sortBy
    {
        float: left; /* margin-bottom: 8px;*/
    }

    .page div.RadDataPager div.rdpWrap
    {
        /*padding: 0;*/
    }

    .page div.RadDataPager div.rdpWrapRight
    {
        clear: both;
        display: block;
        float: none;
        padding-left: 0;
        margin-left: 0;
        padding-top: 8px;
        width: 100%;
        
    }
    .page div.RadDataPager .rdpPagerLabel
    {
        padding: 0;
        margin: 0;
        margin-right: 5px;
    }
    .page div.RadDataPager div.rdpWrap:first-child
    {
        padding-right: 0px;
        float: none;
        padding-bottom: 8px;
        width: 100%;
    }
    .page div.RadDataPager div.rdpWrap:nth-of-type(2) a:first-of-type img
    {
        margin-left: 0px;
    }
}
@media screen and (max-width: 870px)
{
    #cs_footer_left
    {
        float: none;
    }

    #cs_footer_right
    {
        float: none;
    }

    #cs_footer
    {
        padding: 0px 20px 0px; /*margin: 0px;*/
        box-sizing: border-box;
        margin-top: 15px;
        float: none;
    }
}
@media screen and (max-width: 767px)
{
    .gridView .assetItem {
        /*width: 50%;*/
    }
    #cs_body .RadListView .rlvFloated {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .formLayout label, .formLayout .riLabel
    {
        width: auto;
    }

}
@media screen and (max-width: 700px)
{
    .gridView .assetItem {
        /* width: 100%;*/
    }
    #cs_body .RadListView .rlvFloated {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    #cs_body .RadListView {
        border: none;
        margin-right: 20px;
        margin-left: 20px;
        margin-top: 15px;
    }
    .page div.RadDataPager div.rdpNumPart
    {
        display: none;
    }



    /*#cs_search
    {
        width: 314px;
    }
    .cs_searchinput
    {
        width: 105px;
    }*/
        .sortBy
    {
        float: none;
    }
    .gallAppSwitchViewButtons
    {
        text-align: left;
    }
    
    div.rdpWrap 
    {
        margin-right: 4px;
    }

}

@media screen and (max-width: 479px)
{
    body
    {
        width: 100%;
        max-width: 100%;
    }
    body, td, h2, #cs_body.RadForm_Metro, div.RadDataPager_Metro, .control .RadTreeView_Metro
    {
        font-size: 14px;
    }
    h1
    {
        font-size: 16px;
    }
    #cs_footer
    {
        font-size: 12px;
    }




    .page
    {
        padding: 20px;
    }

    .sidebar.showNav
    {
        left: 0px;
    }
    .sidebar
    {
        position: absolute;
        z-index: 100;
        left: -300px;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        transition: all 0.3s ease;
        max-width: 100%; /*display: none;*/
        border-right: none;
        box-sizing: border-box;
        width: 300px;
        opacity: .98;
        background-color: #f3f3f3;
        padding: 20px;
    }
    .filterButton
    {
        padding: 5px 10px;
        background-color: #25A0DA;
        display: inline-block;
        cursor: pointer;
        color: #eee;
        font-weight: bold;
        margin-bottom: 20px;
        opacity: .9;
    }
    .filterButton:hover
    {
        background-color: #666;
    }
    .page.browseAsset
    {
        display: block;
        padding: 0px;
        margin: 0px 20px;
        background-color: transparent;
        background-color: #fff;
    }

    #cs_logo
    {
        padding: 0px;
        margin: 20px 80px 15px 20px;
    }
    #cs_login
    {
        padding: 0px;
        margin: 0px 20px 15px;
        float: right;
        font-size: 12px;
    }
    .rlvFloated
    {
        background-color: transparent;
        padding: 0px;
    }
    .gridView .assetItem
    {
        padding: 0px;
        margin: 0px;
        margin-bottom: 20px;
        background-color: #fff;
    }
    .gridView .assetItem:hover
    {
        background-color: #fff;
    }
    .gridView .assetInfo
    {
        margin: 0px;
        min-height: 0;
        padding: 8px;
    }
    div.RadDataPager, div.RadDataPager.bottomPager
    {
        border-bottom: none;
        padding: 0px 20px 0px;
        margin: 0px;
        background-color: #fff;
        margin-bottom: 20px;
    }
    div.RadDataPager.bottomPager
    {
        padding: 20px 20px;
    }


    .viewBar
    {
        padding: 20px 20px 10px;
        background-color: #fff;
    }
    .gridView, .listView
    {
        padding-top: 0px;
    }

    #cs_footer_left
    {
        margin-bottom: 8px;
    }
    .gallAppSwitchViewButtons
    {
        display: none;
    }
    .page div.RadDataPager div.rdpWrapRight
    {
        display: none;
    }
    .cs_mobile_menu
    {
        padding: 5px 6px;
        font-size: 18px;
        font-weight: bold;
        color: #FFB000;
        background: tranparent;
        position: absolute;
        top: 20px;
        right: 20px;
        display: block;
        opacity: .9;
        cursor: pointer;
    }
    .cs_mobile_menu:hover
    {
        color: #333;
    }
    .cs_mobile_close
    {
        padding: 0;
        font-size: 18px;
        font-weight: bold;
        color: #fff;
        background: tranparent;
        position: absolute;
        top: 14px;
        right: 15px;
        display: block;
        cursor: pointer;
    }
    #cs_line
    {
        /*display: none;*/
    }
    #cs_mainmenu
    {
        position: absolute;
        display: block;
        background: #333;
        top: 0;
        right: 0;
        width: auto;
        z-index: 200;
        opacity: .9;
        padding-top: 35px;
        padding-bottom: 10px;
        top: -220px;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }
    #cs_mainmenu.showMenu
    {
        top: 0;
    }
    #cs_menu
    {
        margin: 0;
        padding: 0;
    }
    #cs_mainmenu #cs_menu a
    {
        padding: 0;
        display: block;
        text-align: right;
        margin: 10px 25px;
    }
    #searchForm
    {
        margin: 15px 20px 0px 20px;
    }
    /*#cs_search
    {
        width: auto;
        margin: 0;
    }


    #cs_search img, .cs_nav_guide
    {
        display: none;
    }


    .cs_searchinput
    {
        width: 105px;
    }*/
    .cs_searchmenudiv 
{
    flex: 0 0 90px;
}
#cs_search img
    {
        display: none;
    }

    .contentTwoCol, .sidebar, .page
    {
        min-height: 0;
    }
    #catdiv
    {
        padding: 15px;
    }

    #sidebarPlaylists h2 a
    {
        background: url("/Images/triangles.png") no-repeat 0px -18px;
    }
    #sidebarPlaylists h2.open a
    {
        background-position: 0px 4px;
    }
    #cs_caption_header
    {
        line-height: 27px;
    }
    #cs_caption_body
    {
        font-size: 14px;
        line-height: normal;
    }
    .control
    {
        width: 260px;
    }
    #assetTitle
    {
        padding: 20px 0px 0px 15px;
    }
    .cs_video_div
    {
        padding: 0px 15px 00px;
    }
    #assetTabs
    {
        padding: 0px 15px;
        height: 360px;
        margin-bottom: 30px;
    }
    .cs_asset_playlist, .cs_asset_rating, .cs_asset_problems
    {
        padding: 0px 15px 20px;
    }
    .cs_asset_problems 
    {
        font-size: 12px;
    }
    #cs_body.RadForm_Metro div.assetPageInner, #cs_body.RadForm_Metro div.assetPageInner td
    {
        font-size: 12px;
        line-height: 1.5em;
    }
    #cs_body.RadForm_Metro div.assetPageInner .larger, #cs_body.RadForm_Metro div.assetPageInner td .larger
    {
        font-size: 13px;
        line-height: 1.5em;
    }
    #assetDisplay
    {
        margin: 20px 0px;
    }
    .cs_playlistinfo 
{
    margin: 0px 20px 10px 10px;
}
    
}

