﻿body {
    margin: 0;
    padding: 0;
    background: #f7f4f3;
    color: #333333;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 20px;
}

footer {
    background: #2d3341;
    height: 50px;
}

.listbox {
    height: 100px;
    width: 400px;
}

.textbox {
    width: 400px;
}

.button {
    width: 100px;
    margin-left: 30px;
}

.td_left {
    vertical-align: top;
    padding-right: 25px;
    text-align: right;
    width: 150px;
}

.tenant {
    height: 250px;
    width: 200px;
    margin: 10px;
}

.td_tenant {
    padding-right: 10px;
    text-align: right;
}

.applicationtype {
    width: 400px;
}

.control-col-two {
    width: 78%;
    text-align: center;
}

.control-col {
    width: 27%;
    float: left;
}

.form-horizontal .control-col label {
    text-align: left;
}

.control-group .control-col select {
    width: 95%;
}

.control-buttons {
    width: 5%;
    float: left;
    padding: 30px 20px 0 10px;
}

.ui-jqgrid-btable, .ui-jqgrid-htable {
    width: 100%;
    table-layout: fixed;
    word-wrap: break-word;
}

.ui-pg-selbox {
    width: 60px;
}

.ui-jqgrid tr.ui-row-ltr td {
    word-break: break-all;
    white-space: normal;
}

.jqgfirstrow td:first-child, td.ui-state-default, th.ui-state-default:first-child {
    width: 38px !important;
}

.document .row {
    margin: 0;
}

footer p {
    margin: 0;
}
/* top menu icons */

.icon-menunameruntime,
.icon-ree-index {
    background-position: -433px 0px;
    width: 14px !important;
}

.icon-logsetup-index {
    width: 14px !important;
    background-position: -384px -145px;
}

.icon-logconfiguration-index {
    width: 14px !important;
    background-position: -360px -145px;
}

.icon-logbrokerendpoint-assignendpointtoservice {
    width: 14px !important;
    background-position: -265px -24px;
}

.icon-modulelogsetting-index {
    width: 14px !important;
    background-position: -360px -50px;
}

.icon-logviewer-index {
    width: 14px !important;
    background-position: -385px -145px;
}

.icon-databaseconnection {
    background-position: -264px 0px;
    width: 14px !important;
}

.icon-ree-servicenodes {
    background-position: -456px -95px;
    width: 14px !important;
}

.icon-ree-serviceendpoint {
    background-position: -72px -143px;
    width: 14px !important;
}

.icon-dynamicdatabaseconnection-index {
    background-position: -385px -144px;
    width: 14px !important;
}

.icon-databaseversion-index {
    background-position: -50px -49px;
    width: 14px !important;
}

.icon-messagebrokerendpoint-index {
    background-position: -50px -49px;
    width: 14px !important;
}

.icon-iothubsetup-assignendpoint {
    background-position: -217px 0px;
    width: 14px !important;
}

.icon-logbrokerendpoint-index {
    background-position: -265px -24px;
    width: 14px !important;
}

.icon-singlesignon-index {
    background-position: -360px -143px;
    width: 14px !important;
}

.icon-singlesignon-defaultshibboleth2xml {
    background-position: -26px -25px;
    width: 14px !important;
}

.icon-singlesignon-defaultattributes {
    background-position: -50px -49px;
    width: 14px !important;
}

.icon-singlesignon-certificates {
    background-position: -432px -25px;
    width: 14px !important;
}

.icon-singlesignon-initialiseservicenodes {
    background-position: -264px -73px;
    width: 14px !important;
}

.icon-singlesignon-tenantsetup {
    background-position: -433px 0px;
    width: 14px !important;
}

.icon-error {
    background-position: -144px -122px;
    width: 20px !important;
    transform: scale(1.5);
    margin-left:5px;
}

.controls .text-box-50 {
    width: 42%;
    clear: both;
    margin-left: 0 !important;
}

.controls .text-box-100 {
    width: 85%;
    clear: both;
    margin-left: 0 !important;
}

/* delete popup */
.modal-backdrop, .modal-backdrop.fade.in {
    background: #000;
    opacity: 0.5;
}

.document .table-dialog, .table-dialog {
    border-radius: 0;
    border: 1px solid #dddddd;
    box-shadow: 0 0 0;
}

.modal-header {
    background: #eeeeee;
    min-height: 9px;
    border: 1px solid #dddddd;
    margin: 1px;
}

    .modal-header h3 {
        font-size: 11px;
        line-height: 13px;
    }

#modal-content, #modal-content b {
    /*font-size: 11px;*/
}

.modal-footer {
    padding: 10px;
    background: none;
}

.i-delete {
    /*background: url("../Content/themes/base/images/i-delete.png") no-repeat 6px 9px;
    font-size: 11px;*/
}

.i-cancel {
    /*background: url("../Content/themes/base/images/i-cancel.png") no-repeat 6px 9px;
    font-size: 11px;*/
}

    .i-delete:hover, .i-cancel:hover {
        /*background-color: #cccccc;
        background-position: 6px -21px;*/
    }

.modal-header .close {
    color: #048acc;
    margin-top: -2px;
    opacity: 1;
    padding: 0 4px;
}

    .modal-header .close:hover {
        color: #fff;
        background: #cecece;
    }

.i-blank {
    /*font-size: 11px;
    padding-left: 5px;*/
}

.ui-widget-overlay {
    background: #000;
}

#table-dialog-submit, #table-dialog-button {
    min-width: 40px;
    height: 31px;
}

#table-dialog-submit-alert {
    min-width: 40px;
    height: 31px;
}

.delmsg {
    padding-top: 20px;
    padding-left: 10px;
}

#modal-content-alert {
    font-size: 11px;
}

.table-dialog {
    border-radius: 6px !important;
}

.modal-body {
    padding-top: 20px;
    padding-bottom: 20px;
}

@media (max-width:1000px) {
    .control-col {
        width: 40%;
    }

    .control-buttons {
        width: 7%;
    }
}

@media (max-width:768px) {
    .control-buttons {
        width: 10%;
    }
}

@media (max-width:640px) {
    .ui-jqgrid {
        width: 100% !important;
        overflow-y: scroll;
    }
}

@media (max-width:600px) {
    #ptables_center {
        clear: both;
        display: table;
        left: -60px;
        position: relative;
        top: 32px;
    }

    .ui-jqgrid-pager {
        height: 72px !important;
    }

    header h2 {
        clear: both;
    }

    .control-col {
        width: 45%;
    }

    .document {
        padding: 15px 15px;
    }

    .control-group .controls .control-buttons input.btn {
        font-size: 9px;
        height: 24px;
        width: 20px;
    }

    .control-buttons {
        padding-left: 0;
        padding-right: 0;
        width: 10%;
    }

    .control-group .control-label {
        text-align: left;
        width: 98%;
    }

    .controls, .controls .text-box, .controls select, .controls textarea {
        width: 98%;
        clear: both;
        margin-left: 0 !important;
    }
}

@media (max-width:480px) {
    h1 {
        font-size: 28.5px;
    }

    .container-fluid {
        padding: 0;
    }

    .form-horizontal h1 {
        clear: both;
    }

    .body .document {
        padding-left: 10px;
        padding-right: 10px;
    }

    .jqgfirstrow td:first-child, td.ui-state-default, th.ui-state-default:first-child {
        width: 14px !important;
    }

    .modal {
        width: 280px;
        margin: 0 0 0 -140px;
    }
}

.div__audit {
    overflow: auto;
    min-height: 200px;
    max-height: 500px;
    height: auto;
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    padding: 5px;
}

.div__audit p {
    line-height: 15px;
    margin: 0;
    padding: 0;
}

/*.flash, .modal-body {
    white-space: pre-wrap;
}*/
