html{
    height:100%;
}

body {
  font-family: "lato", sans-serif;
  font-size: 15px!important;
  color: #000;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.2px;
  letter-spacing: 0.02rem;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 400;
}

.pattern {
    width: 100%;
    height: 100%;
    background-image: url(../images/pattern.png);
    background-repeat: repeat;
}
#maincontent{
    width: 920px;
    margin: 0 auto;
}

footer {
    float: right;
    padding: 10px;
    margin-top: 30px;
}

body.login {
    background: url(../images/zcbg.jpg);
    background-size: cover;
    //height: 100%;
    color: #fff;
}
.login-form .checkbox input{
    width: auto;
}

.contact p {
    color: #fff;
    margin: 0;
    display: table-cell;
    vertical-align: middle;
    padding-right: 20px;
}
.nav-bar {
    background: #121212;
    position: fixed;
    top:0;
    right: 0;
    left: 0;
    z-index: 1030;
    min-height: 60px;
    margin-bottom: 20px;
}
.navbar-logo{
    margin-left: -15px;
    float: left;
    height: 50px;
    padding: 8px 15px;
    font-size: 18px;
    line-height: 20px;
}

th {
    text-transform: uppercase;
    font-family: "brandon-grotesque", sans-serif;
}

th a:hover {
    font-weight: bold!important;
}

.container {
    /* width: 930px; */
    /* margin: 0 auto; */
}
.login-form {
    margin-top: 50vh;
    transform: translateY(-50%);
    display: flex;
    flex-wrap: wrap;
}

.p-r-success {
    position: absolute;
    width: 80%;
    top: 50%;
    font-size: 20px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    
}

.form-signin, .form-forgot {
    background: #1A1A1A;
    padding: 30px;
    width: 50%;
    min-height: 375px;
    //display: table-cell;
}
.form-forgot {
    border-left: 1px solid #ccc;
    position: relative;
}
h2.login{
    color: #fff;
}
h2 {
    color: #121212;
    font-family: "essonnes-display", serif;
    font-weight: 400;
    font-size: 40px;
    letter-spacing: 0.04em;
    text-align: left;
    text-transform: capitalize;
    margin-bottom: 50px;
    margin-top: 20px;
}
[type=date], [type=email], [type=tel], [type=text], [type=password], textarea{
    color: #fff;
    width:100%;
    border-top: none;
    border-bottom: 1px solid #fff;
    border-left: none;
    border-right: none;
    border-radius: 0px;
    display: block;
    background-color: transparent;
    padding: .5em 0;
    font-size: 14px;
    line-height: 1;
    overflow: hidden;
    font-family: "lato", sans-serif;
    font-weight: 500;
}
label{
    font-family:"Brandon-Grotesque", sans-serif;
    text-transform:uppercase;
    font-weight:400;
}

.btn-post {
    margin-top: 50px;
    background-color: green;
}

.btn-light{
    background: #fff;
    border-radius: 0;
    color: #121212;
    min-width: 100%;
    text-align: center;
    font-family:"brandon-grotesque", sans-serif;
    text-transform:uppercase;
    margin-top:10px;
}
.btn-light:hover{
    color:#000;
    background: #e36b22;
}
.form-forgot p{
    color: #fff;
    text-align: left;
}
.sidebar {
    top: 61px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #121212;
        border-top: 1px solid #eee;
}
@media (min-width: 768px){
    .sidebar{
        position:fixed;
    }
}

.sidebar a {
    color: #fff;
}

.nav-sidebar {
    margin-right: -21px;
    margin-bottom: 20px;
    margin-left: -20px;
}
.nav li{
    border-bottom: 1px solid #333;
}
.case-header h4 {
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    line-height: 160%;
}
.case-header {
    border-bottom: 1px solid #979797;
    padding: 0;
}
.block{
    display: block;
}
.main {
    padding: 90px 40px 30px 40px;
}
.nav-sidebar > .active > a {
    background-color: #e36b22;
    color: #fff;
}
.floatright{
    float:right;
}
.contact p > span {
    border-right: 1px solid #636363;
    padding-right: 10px;
    margin-right: 7px;
}

span.medium, span.low, span.high {
    font-weight:600;
    text-transform:uppercase;
}
span.medium{
    color:#e36b22;
}
span.high{
    color:#7b0000;
}
.project-select {
    padding-bottom: 20px;
    width: 360px;
    max-width: 360px;
    float: right;
}
.case-detail h3 {
    margin-bottom: 0;
    border-bottom: 1px solid #979797;
    padding-bottom:10px;
}
.case-detail ul {
    list-style: none;
}
.case-detail p, .case-detail ul {
    background: #f3f3f3;
    padding: 20px;
    margin: 0;
}

.case-detail li {
    border-bottom: 1px solid #979797;
    padding: 5px 5px 5px 5px;
}
.case-detail li:last-child{
    border-bottom:none!important;
    padding:5px 5px 0 5px;
}
.case-detail li:first-child{
    padding:0px 5px 5px 5px;
}
.case-info {
    padding: 0;
}
.attachment-icon {
    display: inline;
    padding-right: 5px;
}
.zc-reply .user {
    fill: #e36b22;
}

.attachments p {
    display: inline-block;
}
.zc-reply, .client-reply {
    padding: 20px;
}
.zc-reply{
    background: #f3f3f3;
}
.client-reply{
    background: #dedede;
}
.comments p{
    margin:0;
}

.usericon {
    display: inline;
}

.name {
    display: inline-block;
    padding: 0 10px;
}

.attachment {
    display: inline-table;
    padding: 0 20px;
    margin-bottom: 20px;
    border-right: 2px solid #a1a1a1;
}

.upload-icon {
    fill: #fff;
}
.logout-icon {
    fill: #000;
    width:10px;
    height:10px;
}
.disable {
    fill: #751d1d;
}
.disable:hover {
    fill: #000;
}
.password-icon:hover, .edit-icon:hover {
    fill:#e36b22;
}
.logo{
    fill:#fff;
}
.navbar-logo{
    width: 170px;
}
.logout{
    fill:#fff;
    width: 10px;
}
form.light input{
    /* color: #000; */
}
h3 {
    margin-top: 40px;
}
.contact {
    float: right;
    padding: 10px 10px 6px 10px;
    display: inline-table;
    vertical-align: middle;
    margin: 0;
}
// span.arrow {
//     background: #000;
//     padding: 12px 10px;
//     border-radius: 30px;
//     position: absolute;
//     right: 18px;
//     bottom: 23px;
// }

.arrow {
    background: #000;
    padding: 7px 10px;
    position: absolute;
    right: 18px;
    bottom: 23px;
}

span.arrow-form {
    background: #000;
    padding: 7px 10px;
    border-radius: 30px;
    position: absolute;
    right: 3px;
    bottom: 3px;
}

.dd-arrow {
    fill: #fff;
}
.dd-arrow:hover {
    fill: #121212;
}
span.arrow:hover {
    background: #fff;
}

.login-form ::-webkit-input-placeholder {
   color: #fff;
}

.login-form :-moz-placeholder { /* Firefox 18- */
   color: #fff;
}

.login-form ::-moz-placeholder {  /* Firefox 19+ */
   color: #fff;
}

.login-form :-ms-input-placeholder {
   color: #fff;
}


.form-control-light {
    display: block;
    width: 100%;
    padding: 10px 0;
    font-size: 15px;
    line-height: 1.42857143;
    color: #000;
    background-color: rgba(255,255,255,0.2);
    background-image: none;
    border-bottom: 1px solid #121212;
}
.form-control-light:focus {
    border-color: #e36b22;
    outline: 0;
}

::-moz-placeholder {
    color: #000;
    opacity: 1;
}
:-ms-input-placeholder {
    color: #000;
}
::-webkit-input-placeholder {
    color: #000;
}
.form-control-light::-ms-expand {
    background-color: transparent;
    border: 0;
}
.form-control-light[disabled],.form-control-light[readonly],fieldset[disabled] .form-control-light {
    background-color: #fff;
    opacity: 1;
}
.form-control-light[disabled],fieldset[disabled] .form-control-light {
    cursor: not-allowed;
}
textarea.form-control-light {
    /* min-height: 350px; */
    height: auto;
    margin-bottom: 10px;
    border: 1px solid black;
    padding: 10px;
    overflow: scroll;
}

a .high:hover, a .medium:hover {
    color:#000;
}
a .low:hover {
    color:#e36b22;
}
.attachments {
    display: inline;
}
.attachment:last-child {
    border:0;
}
span.indent {
    //position: absolute;
    //left: 130px;
}
.fileUpload {
    position: absolute;
    overflow: hidden;
    display: inline-flex;
    right: 0;
}
.fileUpload input.upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}
.upload-btn {
    background: #000;
    padding: 4px 3px;
    margin-left: 5px;
    position: absolute;
    right: 3px;
    top: 4px;
}
.uploadfile p {
    display: inline-block;
    margin: 0;
    min-width: 86%;
}
#uploadFile {
  width: 100%;
}
.btn-comment{
    //margin-top: 10px!important;
}
.dropdown-toggle:hover {
    color: #fff!important;
}
.case-header h4 .block {
    font-size: 18px;
}
h2.sub-header {
    padding-top: 18px;
}
// .update-priority-btn 
// {
//     width: auto;
//     height: auto;
//     border: 0;
//     background-color: transparent;
//     display: inline-block;
//     padding: 9px 0;
//     margin: 0;
// }

.btn.btn-default.dropdown-toggle {
    width: 330px;
    max-width: 330px;
    min-width: 330px;
    overflow: hidden;
    text-align: left;
}

table {
    font-size: 14px!important;
    //font-weight: 300;
}

.pendingZC td {
    font-weight: bold;
}

.pendingZC td a:not(.btn):hover {
    font-weight: bold;
}

.file-upload-container {
    position: relative;
}


.file-upload-container input[type="file"] {
    width: 87%;
    display: none;
}

.file-upload-container label {
    cursor: pointer;
    display: inline;
}

// input[type="file" i]::-webkit-file-upload-button {
//  width: 0!important;
//  opacity: 0!important;
//  padding: 0!important;   
// }

.file-upload-fake {
    width: 100%;
    border-bottom: 1px solid #121212;
    padding: 10px 0;
    position: relative;
    //
    overflow: hidden;
    //
    cursor: pointer;
    cursor: pointer;
    -o-text-overflow: ellipsis;   /* Opera */
    text-overflow:    ellipsis;   /* IE, Safari (WebKit) */
    overflow:hidden;              /* don't show excess chars */
    white-space:nowrap;           /* force single line */
}

.file-upload-fake.uploaded {
    font-weight: bold;
}

.file-upload-fake:before {
    content: "";
    position: absolute;
    width: 4%;
    height: 30%;
    background: #e36b22;
    top: 110%;
    left: 0;
    //transform: scaleX(0);
    opacity: 0;
    transform-origin: top left;
    border-radius: 10px;
}

.uploading.file-upload-fake:before {
    animation: upload 2s ease-in-out 1;
}

@keyframes upload {
    10% {
        opacity: 1;
    }
    30% {
        width: 50%;
    }
    40% {
        width: 50%
    }
    70% {
        width: 90%;
    }
    80% {
        width: 100%;
        opacity: 1;
    }
    100% {
        opacity: 0;
        width: 100%;
    }
}

.progress {
    position: relative;
    box-shadow: none;
    margin-top: 10px;
    display: none;
    border-radius: 0;
    transition: all 0.2s ease;
}

.visible.progress {
    display: block;   
}
.percent {
    position: absolute;
    top: 0;
    width: 100%;
    text-align: center;
}

.bar {
    height: 30px;
    background: #0e7a11;
    border-radius: 0;
    width: 0%;
}

.project-select .dropdown-menu {
    max-width: 330px;
    overflow-y: hidden;
    overflow-x: auto;
    right: 15px;
    left: auto;
}

.arrow {
    cursor: pointer;
}

.status, .role {
    position: relative;
}

.status .arrow {
    position: absolute;
    top: 4px;
    right: 4px;
    bottom: auto;
    cursor: pointer;
    z-index: -1;
}

.role .arrow {
    bottom: auto;
    top: 4px;
    z-index: -1;
}

.role select:hover + .arrow {
    background: #e36b22;
}

.status.priority .arrow {
    right: 19px;
}

.status select, .role select {
    height: 42px;
    border-bottom: 1px solid #121212;
    border-left: none;
    border-radius: 0px;
    border-right: none;
    border-top: none;
    width: 100%;
    font-size: 15px;
    background-color: transparent;
    cursor: pointer;
    /*for firefox*/
    -moz-appearance: none;
    /*for chrome*/
    -webkit-appearance:none;
}

.status select::-ms-expand , .role select::-ms-expand  {
    display: none!important;
}

.status select::-ms-expand {
    display: none!important;
}

.status select:hover + label {
    background: #e36b22;
}

.extra-bottom-margin {
    margin-bottom: 10px;
}


.disable-user, 
.reset-password-user, 
.edit-user, 
.update-priority-btn, 
.cancel-priority-btn,
.edit-project,
.delete-project,
.edit-priority-btn,
#TopNavBar1_LoginStatus2 {
    display: inline-block; 
    width: 40px; height: 40px;
    text-indent: -99999px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center center;
    border: none;
}

.disable-user, .delete-project {
    background-image: url(../images/bin-icon.svg)
}

.cancel-priority-btn {
    background-size: 60%;
   background-image: url(../images/cancel-icon.svg) 
}

.cancel-priority-btn:hover {
   background-image: url(../images/cancel-icon--hover.svg) 
}

.update-priority-btn {
    background-size: 70%;
    background-image: url(../images/valid-icon.svg) 
}

.update-priority-btn:hover {
   background-image: url(../images/valid-icon--hover.svg) 
}

.reset-password-user {
    background-image: url(../images/padlock-icon.svg)
}
.edit-user, .edit-priority-btn, .edit-project {
    background-image: url(../images/pencil-icon.svg)
}

.disable-user:hover, .delete-project:hover {
    background-image: url(../images/bin-icon--hover.svg)
}
.reset-password-user:hover {
    background-image: url(../images/padlock-icon--hover.svg)
}
.edit-user:hover, .icon-priority-btn:hover, .edit-project:hover {
    background-image: url(../images/pencil-icon--hover.svg)
}

#TopNavBar1_LoginStatus2 {
    background-image: url(../images/logout.svg)
}

#TopNavBar1_LoginStatus2:hover {
    background-image: url(../images/logout--hover.svg)
}

.validation-error-container {
    width: 100%;
    border-radius: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    text-align: left;
    color: #C42C2C;
    font-size: 1em;
    font-weight: bold;
}

.status .validation-error-container {
    margin-top: 5px;
    margin-bottom: 15px;
}

.validation-success-container {
    width: 100%;
    border-radius: 0;
    margin-top: 5px;
    text-align: center;
    background: green;
    color: white;
}

.validation-error-container + .validation-error-container {
    margin-top: 0;
}


@media screen and (max-width: 1250px)  {
    .login-form {
        margin-left: 10%;
        width: 80%;
    }
}

@media screen and (max-width: 920px) {

    #maincontent {
        width: 100%;
    }

}

@media screen and (max-width: 767px)  {
    .file-upload-fake {
        width: 100%;
        margin-bottom: 10px;
    }

/*    .login-form {
        top: 15%;
        left: 5%;
        width: 90%;
    }*/

    .login-form {
        margin-top: 100px;
        transform: none;
    }

    .form-signin, .form-forgot {
        margin-bottom: 20px;
        width: 100%;
        min-height: 340px;
        
        float: none;
    }

    .form-forgot {
        border: none;
    }

    .navbar-logo {
        float: none;
    }
    .contact {
        float: none;
        display: block;
    }
    .contact p {
        display: block;
        padding: 0;
    }
    .nav-bar {
        text-align: center;
    }
    .navbar-logo {
        display: inline-block;
    }

    .sidebar {
        top: 118px;
    }
    .main {
        padding: 157px 40px 30px 40px;
    }
}
.add-comment {
    margin: 50px 0;
    }
    
.btn-add-reply {
    //
    margin: 20px 0;
    border: 1px solid black;
    padding: 10px;
    height: 148px;
}
.comment-form {
    display: none;
}

.reply-box {
    height: 100px;
    /* min-height: 100px!important; */
    }

.comments h3 {
     margin-top: 0;  
    }
.comments > div:nth-child(odd) {
        background: #f3f3f3;
    }
.comments > div:nth-child(even) {
        background: #dedede ;
    }
    
   
.comments > div:first-of-type {
    background: #F7D4BE;
    position: relative;
    }

.comments > div:first-of-type:after 
{
    content: "LATEST!";
    display: inline-block;
    position: absolute;
    right: 20px; top: 20px;
    font-weight: bold;
    }

@media screen and (min-width: 768px) 
{
/*    .btn-comment{
        margin-top: 0px!important;
    } */   
}

