/*--------------------------------------------------
  Global rules
  --------------------------------------------------*/
html, body {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #000000;
    background-image: url('../img/graybar.png');
    background-repeat: repeat-y;
    background-position: 0 0;
    background-color: #eaeaea;
}

.clearfix:after {
    content: " ";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

/*--------------------------------------------------
  Elements
  --------------------------------------------------*/
a {
    color: #000080;
}

a:hover {
    text-decoration: underline;
}

a.fa {
    text-decoration: none;
    color: #000000;
}

input[type='submit'],
input[type='reset'],
input[type='button'],
button {
    display: inline-block;
    outline: none;
    overflow: visible;
    line-height: 18px;
    padding: 2px 10px;
    background-color: #dadada;
    border-color: #aaaaaa;
    border-style: solid;
    border-width:1px;
    text-align: center;
    text-decoration: none;
    color: #000000;
}

input[type='submit']:hover,
input[type='reset']:hover,
input[type='button']:hover,
button:hover {
    color: #000000;
    background-color: #dfdfdf;
}

input[type='button'][disabled],
button[disabled] {
    color: #555555;
}

input[type='button'][disabled]:hover,
button[disabled]:hover {
    background-color: #dadada;
}

span.button {
    display: inline-block;
    min-width: 110px;
}

p, .p {
    margin: 2ex 0 2ex 0;
}

.hspace {
    display: inline-block;
    width: 30px;
}

hr {
    border: none;
    height: 1px;
    color: #cccccc;
    background-color: #aaaaaa;
    margin: 25px 0;
}

.note {
    background-color: #dddddd;
    padding: 10px;
    max-width: 600px;
}

.offline {
    color: #aa5555;
}

.online {
    color: #448866;
}

/*--------------------------------------------------
  Messages
  --------------------------------------------------*/

div.error-box {
    background-image: url('/static/img/errormsg-arrow.gif');
    background-repeat: no-repeat;
    background-position: left center;
    cursor: hand; /* for IE */
    cursor: pointer;
    display: none;
    padding-left: 7px;
    position: absolute;
    z-index: 200;
    display: block;
}

div.error-box-msg {
    display: block;
    border-top: 2px solid #924949;
    border-right: 2px solid #924949;
    border-bottom: 2px solid #924949;
    background-color: #f3e6e6;
    padding: 5px 15px 5px 5px;
    max-width: 600px;
    min-width: 150px;
    line-height: 16px;
    float: left;
}

div.error-box-x {
    color: rgb(146, 73, 73);
    display: inline;
    font-weight: bold;
    right: 5px;
    margin-left: 5px;
    position: absolute;
}

div.success-box-msg {
    background-color: #f3e6e6;
    padding: 5px 15px 5px 5px;
    max-width: 600px;
    min-width: 150px;
    line-height: 16px;
}

.success-box-msg i.fa.fa-times {
    width: 100%;
    word-wrap: break-word;
}

/*--------------------------------------------------
  Header Section
  --------------------------------------------------*/
.header {
    min-width: 920px;
    background-color: #ffffff;
}

.product-name {
    font-size: 22px;
    font-weight: bold;
    line-height: 50px;
    color: #444444;
    white-space: nowrap;
    margin-left: 23px;
    float: left;
}

.logo {
    display: inline;
    float: left;
    margin: 5px 109px 5px 20px;
}

.language-selector {
    display: block;
    float: right;
    line-height: 50px;
    margin: 0 2em;
    white-space: nowrap;
}

.online-help {
    display: inline;
    float: right;
    width: 100px;
    margin-right: 1px;
    line-height: 50px;
}

.online-help a {
    text-decoration: none;
    color: #000000;
}

.clock {
    display: inline-block;
    float: right;
    margin-right: 1px;
    line-height: 50px;
}

.clock a {
    text-decoration: none;
    color: #000000;
}
/*--------------------------------------------------
  Side Navigation
  --------------------------------------------------*/
.sidebar {
    position: relative;
    float: left;
    width: 300px;
    min-height: 400px;
}

.session-info {
    height: 90px;
    background-color: #afb4be;
    width: 300px;
    padding: 0px 25px;
    line-height: 45px;
    margin-bottom: 20px;
    color: #ffffff;
}

.session-info a {
    color: #ffffff;
    font-weight: normal;
}

.menu {
    padding: 0;
    margin: 0 22px;
    font-weight: bold;
    list-style-type: none;
}

.menu > li.title {
    padding: 4px 16px;
    margin: 0;
    color: #444444;
    cursor: hand; /* for IE */
    cursor: pointer;
}

.menu li.expanded {
}

.menu li.abort {
    background-image: none;
    padding: 4px 16px 4px 0px;
}

.submenu {
    padding: 0;
    margin: 0 14px;
    font-weight: normal;
    list-style-type: none;
}

.submenu > li {
    padding: 4px 16px;
    margin: 0;
}

.depth1 > li {
    padding: 4px 20px;
    margin: 0;
}

.depth2 > li {
    padding: 4px 24px;
    margin: 0;
}

.menu a {
    line-height: 20px;
    text-decoration: none;
    color: #444444;
}

.menu a.active {
    color: #101060;
}

/*--------------------------------------------------
  Title Bar and Tabs
  --------------------------------------------------*/
.main {
    margin-left: 300px;
    position: relative;
}

.titlebar {
    min-width: 580px;
    font-size: 20px;
    font-weight: bold;
    line-height: 50px;
    background-color: #cccccc;
    color: #666666;
    padding: 0 20px;
}

.tabs {
    line-height: 40px;
    background-color: #cccccc;
    height: 40px;
    padding-left: 10px;
    overflow: auto;
}

.tabs ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.tabs li {
    margin: 0;
    padding: 0;
    display: inline;
    float: left;
}

.tabs a, .tabs span {
    display: inline-block;
    min-width: 130px;
    margin: 0 2px;
    padding: 0 10px;
    color: #4f4f4f;
    font-weight: bold;
    line-height: 40px;
    text-decoration: none;
    background-color: #dadada;
}

.tabs a.active, .tabs span.active {
    background-color: #eaeaea;
    color: #000000;
}

.tabs a:hover {
    color: #3f3f3f;
    background-color: #e1e1e1;
}

.tabs a.active:hover {
    color: #000000;
    background-color: #eaeaea;
}

/*--------------------------------------------------
  Widget Styles
  --------------------------------------------------*/
input[type='text'],
input[type='number'],
input[type='password'],
input[type='email'],

textarea {
    width: 230px;
    height: 20px;
    line-height: 20px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    padding: 0 2px;
}

.error > input[type='text'],
.error > input[type='number'],
.error > input[type='password'],
.error > input[type='email'],
.error > textarea {
    background-color: #ffcccc;
}

input[type='text'][readonly],
input[type='number'][readonly],
input[type='password'][readonly],
input[type='email'][readonly],
textarea[readonly] {
    background-color: #e0e0e0;
    border: 1px solid #e0e0e0;
    color: #000000;
}

input[type='text'][disabled],
input[type='number'][disabled],
input[type='password'][disabled],
input[type='email'][disabled],
textarea[disabled] {
    background-color: #f3f3f3;
}

textarea {
    width: 400px;
    height: 150px;
}

.searchfield {
    padding-right: 24px;
    background-image: url('/static/img/magnify.png');
    background-repeat: no-repeat;
    background-position: right center;
}

form.list-search {
    margin: 0 0 20px 0;
    float: left;
}

select {
    height: 20px;
    line-height: 18px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    padding: 0;
}

#id_contact-connection_type{
    width: 237px;
}

#id_contact-provider{
    width: 237px;
}

select[disabled='disabled'] {
    background-color: #eeeeee;
}

input[type='checkbox'] {
    display: inline-block;
}

.current-page {
    margin-left: 1.5em;
    margin-right: 1.5em;
}
.action-disabled{
    color: #A8A8A8;
}

/*--------------------------------------------------
  Tabular View
  --------------------------------------------------*/

.generic-list {
    margin: 20px 0 30px 0;
}

.generic-list td {
    padding: 2px 5px;
    height: 20px;
    vertical-align: middle;
    border: 1px solid #eaeaea;
}

.generic-list thead td a {
        width: 90%;
        display: inline-block;
        text-decoration: none;
        color: black;
}
.generic-list thead tr {
    background-color: #bfbfbf;
    font-weight: bold;
}

.generic-list tbody tr {
    background-color: #dddddd;
}

.generic-list tbody td {
    width: 20px;
    word-break: break-all;
    word-break: break-word;
}

.generic-list tbody tr.lighter {
    background-color: #dddddd;
}

/*--------------------------------------------------
  Tabular Form Input
  --------------------------------------------------*/

form th,
.form th {
    padding: 6px 2px;
    text-align: right;
    color: #555555;
    font-weight: normal;
    white-space: nowrap;
}

form td,
.form td {
    padding: 6px 2px;
}

th.form-section-header {
    font-weight: bold;
}

/*--------------------------------------------------
  Content Pano
  --------------------------------------------------*/
.content {
    padding: 20px;
}

.toolbar {
    margin-bottom: 30px;
}

.vspace {
    height: 18px;
}

form td.actions,
.form td.actions {
    padding-top: 20px;
}

/*--------------------------------------------------
  Jquery Customizations
  --------------------------------------------------*/
.ui-selected { 
    background: #CCCCFF !important;
}
.loader-background {
    width:100%;
    height:100%;
    top:0;
    margin: 0;
    background: rgba(0, 0, 0, 0.4);
    display:none;
    position: fixed;
    z-index:100;
    display:block;
    text-align: center;
}
.loader-img{
    margin-top: 25%;
}
