* {
    box-sizing: border-box;
}
.cpanel-slogan {
    font-size: 25px;
    line-height: 1.5;
    margin: 10px;
    text-align: justify;
    font-family: Georgia;
}

.cpanel-slogan-sign {
    font-style: italic;
    text-align: right;
    margin: 10px;
}

.cpanel-account a {
    float: right;
    margin-top: -2px;
}

footer {
    text-align: center;
    margin: 35px 0;
    padding: 20px;
    border-top: 1px solid #ddd;
}

#sc-login footer {
    border-top: 1px dotted #ddd;
}

/* RPanel */
.client-code {
    font-family: 'Courier New';
    padding: 0px 5px;
    color: #88b719;
    font-weight: 600;
    letter-spacing: .5px;
}

.span4 .rpanel-column {
        width: 25%!important;    
} 

/*.span3 {
    margin: 0!important;
    width: 25%!important;
    padding: 0 10px!important;
}*/

@media screen and (max-width: 899px) {
    .j-sidebar-container {
        clear: both;
    }
    #j-main-container {
        position: initial!important;
    }
    #support .support_msg_body {
        height: 50px;
    }
}
.cpnl .span3:first-child {
    margin-left: 17px!important;
}
@media screen and (min-width: 1200px) {
    .cpnl .span6:first-child {
        margin-left: 15px!important;
    }
}

@media screen and (max-width: 981px) {
    #menu:nth-child(2) {
        display:none;
    }
    #menu li.dropdown {
        display:none;
    }
}
@media screen and (min-width: 1100px) and (max-width: 1200px) {
    #sc-nav .nav {
        margin-right: 0px!important;
    }
}
@media screen and (max-width: 1200px) {
    .cpnl .span3 {
        width: 100%!important;
    }   
    .cpnl .span3:first-child {
        margin-left: 0px!important;
    }     
}
@media screen and (min-width: 982px) and (max-width: 1116px) {
    #menu > li > a {
        padding: 5px 8px;
    }
}

@media screen and (max-width: 714px) {
    .sc-status .root {
        margin-right: 0px;
    }    
}
@media screen and (max-width: 765px) {
    .nav-list > li > a, .nav-list .nav-header {
        margin: 0;
    }
    #submenu {
        width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
    }
}
@media screen and (min-width: 765px) and (max-width: 1200px)  {  
    .sidebar {
        margin-right: 20px;
    }
}
@media screen and (max-width: 767px) {  
    .container-logo {
        width: 100%;
    }
    .btn-toolbar {
        text-align: center;
    }
}
#filter_search {
    height: 33px;
}
@media screen and (max-width: 981px) {
    #sc-nav .nav .disabled{ 
        display: none!important;
    } 
}
@media screen and (max-width: 674px) {
    .sc-container {
        margin: 0;
    }
    .sc-container div:first-child{
        margin: 0px 15px;
    }     
    #sc-status-container {
        float:none;
    }
    .sc-status {
        margin-top: 5px;
    }
    .sc-status li {
        width: 100%;
    }
    .sc-status > li > a,
    .sc-status > li {
    border-radius: 0px!important;
    }
    .profile {
        background-color: #88b719!important;
    }
    .root {
        background-color: #4f9bd8!important;
    }
    .userinfo-container {
        margin-right: 8px;
        margin-top: 0px;
    }
    .gravatar {
        display: none;
    }
}


@media screen and (min-width: 982px) and (max-width: 1300px) {
    .gravatar {
        display: none;
    }
    #sc-nav .nav {
        margin-right: 0px!important;
    }
    .session_progress,
    .session_expire {
        background-color: #333;
        border: none;
        z-index: -12;
    }
}
@media screen and (max-width: 562px) {
    #interchat .chat_box {
        right: 0;
        left: 0;
        width: 100%!important;
        max-height: 100%!important;        
        /*overflow-y:scroll!important;*/
    }
    #interchat .msg_box {
        z-index: 1000000!important;
        left: 0!important;
        right: 0!important;
        width: 100%!important;
        max-height: 100%!important;
        overflow-y:scroll!important;
    }
    #interchat .chat_body {
        overflow-y:scroll!important;
    }
}
@media screen and (max-width:900px) { 
#interchat .chat_body {
        overflow-y:scroll!important;
        height: auto!important;
        max-height: 400px;
        padding-bottom: 50px;
    }
}

@media screen and (max-width: 767px){
    /*#articleList tr th:nth-child(2),
    #articleList tr td:nth-child(2) {
        display: none;
    }*/
    .alert {
        margin-top: 40px!important;
    }
}
/*
@media screen and (min-width: 585px) and (max-width: 899px) {
    textarea {
        width: 500px!important;
    }
    .form-horizontal .controls {
        margin-left: 0px;
    }
}

@media screen and (min-width: 429px) and (max-width: 584px) {
    textarea {
        width: 400px!important;
    }
    .form-horizontal .controls {
        margin-left: 0px!important;
    }
}
*/
@media screen and (max-width: 351px) {
    #password-generate {
        margin-top: 10px;
    }
}
/*
@media screen and (max-width: 428px) {
    textarea {
        width: 200px!important;
    }
    .form-horizontal .controls {
        margin-left: 0px;
    }
}
*/
/*
@media screen and (min-width: 900px) and (max-width: 1099px) {
    textarea {
        width: 700px!important;
    }
}

@media screen and (min-width: 1100px) {
    textarea {
        width: 900px!important;
    }
}
*/

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){ /* ie 10 - 11 */
    .sc-container {height:100px;}
}

@media screen and (max-width: 899px) { 
    #operators-box {
        position: initial!important;
    }
}
@media screen and (max-width: 767px) { 
    .view-questions tr th:nth-child(n+2),
    .view-questions tr td:nth-child(n+2) {
        display: none;
    }
    .view-orders tr th:nth-child(n+2), 
    .view-orders tr td:nth-child(n+2),
    .view-logs tr th:nth-child(n+2),
    .view-logs tr td:nth-child(n+2),
    .view-bills tr th:nth-child(n+2),
    .view-bills tr td:nth-child(n+2){
        display: block;
    }
    
}
.chzn-container-multi .chzn-choices li.search-field input[type="text"] {
height:31px!important;
}

.nav-tabs {
    width: 100%;
}
@media screen and (max-width: 767px) {
    .nav-tabs {
        margin-top: 10px;
    }
    tr th:nth-child(n+3),
    tr td:nth-child(n+3) {
        display: none;
    }
}
@media screen and (max-height: 400px) {

    #interchat .chat_body {
        overflow-y:scroll;
        height: auto!important;
        max-height: 200px;
    }
    #interchat .msg_box {
        max-height: 250px!important;
    }
    #interchat .msg_body {
        height: 100px!important;
        overflow-y:scroll!important;
        z-index: 9999;
        overflow-x: hidden!important;
        display: block;
    }    
}
.span4:first-child {
    margin-left: 15px!important;
}
.rpanel-item {
    text-align: center;
    font-size: 15px;
    height: 100px;
    border-left: 1px solid #dddddd;
    border-top: 1px solid #dddddd;
    display: block;
    color: gray;
    padding: 15px 5px;
}
@media screen and (max-width: 600px) { 
    .span6 .rpanel-column {
        width: 32.6%!important;
        
    } 
    .rpanel-item {
        border-left: none!important;
    }
}
@media screen and (max-width: 1200px) {         
    .span6 {
        margin: 0 auto!important;
        width: 100%!important;
    }
    .row-fluid [class*="span"] {
        margin: 0px!important;        
    }
    .span4 {
        width: 100%!important;
    }
    .span3 {
        width: 48%!important;
    }
}

@media screen and (max-width:767px) { 
    .header {
        margin: 0px;
    }
    .container-logo {
        display: block;
    }
    .container-fluid {
        padding: 0 10px!important;
    }
}

.span3 .rpanel-column {
    width: 50%!important;
}

.rpanel-item.item-top {
    border-top: 0;
}
.rpanel-item.item-left {
    border-left: 0;
}
.rpanel-item:hover {
    text-decoration: none;
    color: #88b719;
}
.rpanel-item span {
    margin-bottom: 10px;
}
.span6 .rpanel-column {
    /*width: 90px;*/
    width: 16.6%;    
}

.span3 .rpanel-column {
    width: 90px;    
}

.text_area {
    width: 98%;
}

.align-left,
td.align-left,
th.align-left {
    text-align: left;
}
.align-right,
td.align-right,
th.align-right {
    text-align: right;
}
.align-center,
td.align-center,
th.align-center {
    margin: 0 auto;
    text-align: center;
}
.align-justify {
    text-align: justify;
}

.help {
    border-bottom: 1px dotted lightgrey;
    cursor: help;
}

input[type="checkbox"].nice {
    display: none;
}
input[type="checkbox"].nice + label span {
    display:inline-block;
    width:19px;
    height:19px;
    margin:-1px 4px 0 0;
    vertical-align:middle;
    background:url(../img/check_radio_sheet.png) left top no-repeat;
    cursor:pointer;
    opacity: 0.8;
}
input[type="checkbox"]:checked.nice + label span {
    background:url(../img/check_radio_sheet.png) -19px top no-repeat;
}

input[type="checkbox"].trash {
    display: none;
}
input[type="checkbox"].trash + label span {
    display:inline-block;
    width:19px;
    height:19px;
    margin:-1px 4px 0 0;
    vertical-align:middle;
    background:url(../img/check_radio_sheet_trash.png) left top no-repeat;
    cursor:pointer;
    opacity: 0.8;
}
input[type="checkbox"]:checked.trash + label span {
    background:url(../img/check_radio_sheet_trash.png) -19px top no-repeat;
}

@media screen and (max-width: 767px) {
    body {
        padding: 0!important;
    }
}

#content label {
    border-bottom: 1px solid #ddd;
    padding-bottom: 3px;
    font-size: 15px;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 15px;
}

#content .control-label label,
#content .controls label {
    margin: 0;
    border: 0;
    font-weight: normal;
}

.cpnl .rpanel-item {
    position: relative;
}
.cpnl .rpanel-item .label {
    position: absolute;
    top: 10px;
    right: 10px;
}

#content .display_none { display: none; }