﻿@media screen and (max-width: 480px) {
    /* some CSS here */
    body {
        font-size: 100%;
    }

    .SideBar {
        float: none;
        display: block;
        width: 99%;
        margin: 0 0 10px 0;
        background-color: #f0f0f0;
    }

    .SideBarContent, .SideBarContentSelected, .non-mobile {
        display: none;
    }

    .mobile-only {
        display: inline;
    }

    #home, #about, #contentlist {
        display: block !important;
        background-color: white;
        height: auto;
    }

    #rating, #details {
        display: block !important;
        width: 46%;
        float: left;
        height: 265px;
    }

    #details {
        width: 40%;
        background-color: white;
        border-right: 1px solid #ff6636;
        ;
    }


    #MainContent, .Footer {
        margin: 0 0 10px 0;
        width: 95%;
        clear: both;
    }

        #MainContent img {
            width: 80%;
            height: 80%;
        }

    #ImageLogo {
        float: none;
        display: block;
        width: 100%;
    }

    #MenuWrapper, #SubMenu, #Footer, #PageWrapper, body {
        width: 100%;
    }

    #MainContent {
        width: 94%;
    }

    #Logo {
        width: 100%;
    }

    #MenuWrapper {
        padding: 0 0 10px 0;
        height: 60px;
    }

    #QuickSearchWrapper {
        width: 50%;
        display: none;
        line-height: 35px;
        text-align: left;
        padding-left: 0;
        float: left;
    }

    #search {
        margin-left: 10px;
    }

    #QuickErrorsWrapper, #QuickStuff, .ContentType, .read-more {
        display: none;
    }

    #Menu li a, #Menu li a:hover, #Menu li a.Selected {
        background-image: none;
        color: black;
        font-weight: normal;
        font-size: 12px;
        padding: 9px 0 0 0;
        display: block;
        width: auto;
        text-decoration: none;
    }

    #SubMenu {
        padding: 0;
        height: 100%;
    }

    #SubMenuItems, #Menu {
        margin-left: 10px;
    }

        #SubMenu li a, #Menu li a:hover, #Menu li a.Selected {
            background-image: none;
            color: black;
            font-weight: normal;
            text-decoration: none;
        }

        #Menu li {
            width: 50px;
        }

            #Menu li a.Selected {
                font-weight: bold;
            }

    #ContentComment input[type='text'], #ContentComment input[type='email'], #ContentComment input[type='number'], #ContentComment textarea {
        font-size: 25px;
        width: 90%;
    }

    #ContentComment input[type='text'], #ContentComment input[type='email'], #ContentComment input[type='number'] {
        height: 40px;
    }


    .posted-by-wrapper {
        float: none;
        width: 100%;
    }
}

/* #### Mobile Phones Landscape #### */
@media screen and (max-device-width: 640px) and (orientation: landscape) {
    /* some CSS here */
}

/* #### Mobile Phones Portrait or Landscape #### */
@media screen and (max-device-width: 640px) {
    /* some CSS here */
}

/* #### iPhone 4+ Portrait or Landscape #### */
@media screen and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
    /* some CSS here */
}

/* #### Tablets Portrait or Landscape #### */
@media screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    /* some CSS here */
}

/* #### Desktops #### */
@media screen and (min-width: 1024px) {
    /* some CSS here */
}
