html,body {
    min-width:100%;
}
/* iPhone portrait*/
@media only screen and (max-width:380px){
    .section table tr td {
        padding: 0px;
    }
    .section-body li {
        margin:5px 0;
    }
}
/* iPhone portrait and landscape */
@media only screen and (max-width:480px){
    html, body {
        position: relative;
    }
    #cnee-login {
        margin: 0;
        width: 100%;
    }
    #cnee-login.section {
        border:none;
    }
    #content {
        padding: 10px;
    }
    #header {
        height: auto;
        padding: 5px;
        text-align: center;
    }
    #header #title {
        float: none;
        text-align: center;
        margin: 5px auto;
    }
    #header #title a {
        font-size: 14px;
    }
    #header #search-form {
        float: none;
        width: auto;
    }
    #header form input  {
        font-size: 10px;
    }
    #header form input#s {
        float: left;
        width: 70%;
        margin: 0;
        padding: 5px;
        height: auto;
    }
    #header form input[type="submit"] {
        width: 20%;
        float: right;
        margin: 0;
        height: 24px;
    }
    #nav-bg {
        background-color: #039933;
        background-image: -moz-linear-gradient(center top , #26CC6B 0px, #039933 100%);
        height: 18px;
        padding: 0 0 0 7px;
    }
    #nav li a,
    #nav li a:visited {
        height: auto;
        padding: 0 15px;
        line-height: 17px;
        border: none;
    }
    #nav li a.selected, #nav li a.selected:hover {
        background: #37A01C;
    }
    .span {
        width:100%;
    }
    h1 {
        font-size: 1.3em;
    }
    h2 {
        font-size: 1.1em;
    }
    #app-list li {
        margin: 0 10px 0 0;
        min-height: 157px;
        width: 73px;
    }
    #app-list p {
        font-size: 11px;
    }
    #app-list li img {
        min-height:104px;
    }
    #app-list .options, #app-list .options .opacity-layer {
        width:100%;
        height:104px;
    }
    #app-list .options .option-links a {
        font-size: 10px;
    }
    #app-list .options .option-links p {
        margin: 0;
    }
    #status-module,
    #activity-module {
        position: static;
        min-width:inherit;
    }
    #activity-module h2 {
        float: left;
    }
    #activity-module .section-body {
        clear:both;
    }
    #refresh-status, #refresh-activity {
        position: static;
        float: right;
        margin: 9px;
    }
    #info {
        bottom: 65px;
        width: 100%;
        text-align: center;
        left:0;
    }
    .option-links h4 {
        font-size:1.2em;
        margin: 0 0 3px 0;
    }
    #app-list .options .option-links {
        top: 10px;
    }

    img.profile-covers {
        width: 100%;
    }

    #profile-cds-receipts .receipt, #profile-apple-receipts .receipt, #profile-amazon-receipts .receipt, #profile-amazon-eink-receipts .receipt {
        margin: 0;
    }
    #profile-cds-receipts .receipt-image, #profile-apple-receipts .receipt-image, #profile-amazon-receipts .receipt-image, #profile-amazon-eink-receipts .receipt-image {
        margin: 0 15px 0 0;
        width: 60px;
    }
    #profile-cds-receipts .receipt-info, #profile-apple-receipts .receipt-info, #profile-amazon-receipts .receipt-info, #profile-amazon-eink-receipts .receipt-info {
        margin: 0;
        width: 193px;
    }
    .cds-orders-container {
        clear: both;
        margin-left: -75px;
        width: 268px;
    }
    #audit.section,
    #audit .section-body {
        background:none;
        border:none;
        margin: 0 0 0 5px;
        padding:0;
    }
    #ext-gen6 {
        width:270px!important;
    }
    #actionCodes {
        height: 100px;
        margin: 10px auto 30px;
        position: relative;
        width: 270px;
    }
    #footer {
        margin: 50px 0 20px 20px;
    }

    #actionCodes #actionCodeCombo {
        width:239px!important;
    }
}
@media screen and (min-width:481px){

    #info {
        top: 108px;
        right:20px;
    }
}
@media screen and (max-width:1110px){
    #info {
        position:absolute;
        color: #333;
    }
    #header #loginstatus a,
    #header #loginstatus a:visited {
        background-color:inherit;
        color: #900;
    }
    .section input,
    .section textarea,
    #config-values textarea {
        width: 100%;
        padding: 5px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .section input[type='checkbox']{
        width: auto;
    }
    #content input[type="submit"].btn-success,
    #content input[type="reset"].btn-success {
        display: block;
        margin: 10px auto;
        width:50%;
    }

    .test li {
        margin: 0 0 10px 0;
    }

    .row {
        overflow: auto;
    }
}

/* iPad portrait */
@media screen and (min-width: 768px) and (max-width: 798px) {
    #header {
        height:100px;
    }
    #header #search-form {
        float: left;
        width: auto;
    }
    #info {
        top: 18px;
        color: #fff;
    }
    .span,
    .span3,
    .span4 {
        width: 100%
    }
    .span25 {
        width: 25%
    }
    .span50 {
        width: 50%
    }
    #app-admin-options {
        min-height:82px
    }
    #app-details {
        min-height: 100px;
    }
    #profile-cds-receipts .receipt-image, #profile-apple-receipts .receipt-image, #profile-amazon-receipts .receipt-image, #profile-amazon-eink-receipts .receipt-image {
        width: 85px;
    }
    img.profile-covers {
        width: 100%;
    }
    #profile-cds-receipts .receipt, #profile-apple-receipts .receipt, #profile-amazon-receipts .receipt, #profile-amazon-eink-receipts .receipt {
        margin: 0;
    }
    #profile-cds-receipts .receipt-info, #profile-apple-receipts .receipt-info, #profile-amazon-receipts .receipt-info, #profile-amazon-eink-receipts .receipt-info {
        width: 235px;
    }

    #actionCodes #actionCodeCombo {
        width:320px!important;
    }
}

/* iPad landscape */
/* @media screen and (min-device-width: 768px) and (max-device-width: 1024px) { */
@media screen and (min-width: 799px) and (max-width: 1024px) {
    #header #search-form {
        float: right;
        width: auto;
    }

    #actionCodes #actionCodeCombo {
        width:320px!important;
    }
}
@media screen and (min-width: 1025px) and (max-width:1110px){
    #info {
        top: 108px;
    }
    #loginstatus {
        margin: 6px 0;
    }
}
@media screen and (max-width:1110px){
    #loginstatus {
        margin: 6px 0;
    }
}