/*
 * Specific styles of signin component
 */
/*
 * General styles
 */
html {
    height: 100%;
    box-sizing: border-box;
}

body {
    position: relative;
    margin:0;
    padding-bottom: 60px;
    min-height: 100%;
    background: url('../images/bg.jpg') repeat;
    font-family: 'Open Sans', sans-serif;
}
header { margin-bottom: 20px; margin-top: 20px; }
header .logo { color: #1383bc; /*font-weight: bold;*/ font-size: 18px; }
header .logo a { text-decoration: none; }
header .logo a:hover { text-decoration: none; }
header .logo img { width: 50px; margin-right: 10px; }
header .logout { line-height: 50px; }
header .logout .links { display: inline-block; }
header .logout .links .dot:first-of-type { padding-left: 5px; }

footer { position: absolute; margin: 0 auto; padding: 20px 0; right: 0; bottom: 0; left: 0; }
.card-container.card {
    max-width: 350px;
    padding: 40px 40px;
}

.btn {
    font-weight: 700;
    height: 36px;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
}

/*
 * Card component
 */
.card {
    background-color: #F7F7F7;
    /* just in case there no content*/
    padding: 20px 25px 30px;
    margin: 0 auto 25px;
    margin-top: 50px;
    /* shadows and rounded borders */
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
}

.profile-img-card {
    margin: 0 auto 10px;
    display: block;
    width: 100px;
}

/*
 * Form styles
 */
.profile-name-card {
    font-weight: bold;
    margin: 20px 0 10px 0;
    min-height: 1em;
    text-align: center;
    font-size: 23px;
    line-height: 30px;
    color: #1383bc;
    font-weight: normal;
}

.reauth-email {
    display: block;
    color: #404040;
    line-height: 2;
    margin-bottom: 10px;
    font-size: 14px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin #inputEmail,
.form-signin #inputPassword {
    direction: ltr;
    height: 44px;
    font-size: 16px;
}

.form-signin input[type=email],
.form-signin input[type=password],
.form-signin input[type=text],
.form-signin button {
    width: 100%;
    display: block;
    margin-bottom: 10px;
    z-index: 1;
    position: relative;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin .form-control:focus {
    border-color: rgb(104, 145, 162);
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(104, 145, 162);
}

.btn.btn-signin {
    /*background-color: #4d90fe; */
    background-color: #1383bc;
    /* background-color: linear-gradient(rgb(104, 145, 162), rgb(12, 97, 33));*/
    padding: 0px;
    font-weight: 700;
    font-size: 14px;
    height: 36px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: none;
    -o-transition: all 0.218s;
    -moz-transition: all 0.218s;
    -webkit-transition: all 0.218s;
    transition: all 0.218s;
    cursor: pointer;
}

.btn.btn-signin:hover,
.btn.btn-signin:active,
.btn.btn-signin:focus {
    background-color: #0080C2;
}

.forgot-password {
    color: rgb(104, 145, 162);
}

.forgot-password:hover,
.forgot-password:active,
.forgot-password:focus{
    color: rgb(12, 97, 33);
}

.no-gutter > [class*='col-'] {
    padding-right:0;
    padding-left:0;
}
form .no-gutter > [class*='col-'] {
    padding-right:5px;
    padding-left:5px;
}

.with-nav-tabs { background: transparent; border:none; }
.with-nav-tabs .panel-heading { padding: 0; background-color: transparent; border: none; }
.with-nav-tabs .panel-body { background: #FFF; border-radius: 0 4px 4px 4px; }
.with-nav-tabs .panel-body .tab-content { padding: 0 10px; }
.with-nav-tabs .nav-tabs>li>a { border:none; }
.with-nav-tabs .nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover { border: transparent; }


.nav>li>a { background: #EEE; color: #333;  }
.nav>li.active>a { background: #FFF; color: #337ab7; }

/*.small { width: 50px; }
.medium { width: 50px; }*/

/*.dateSelect { width: 90px; }*/
.timeCont { width: 150px; }
.timeSelect { width: 45% !important; float: left !important; }
.removeTask { font-size: 12px; position: absolute; z-index: 1; left: -50px; top: 0; display: none; }
#timesheetForemanForm .removeTask { position:relative; display: inline-block; left: 0; top:0; }
#timesheetForemanForm .additional-entry .col-md-2.text-center label { width: 100%; }
.semicol { width: 10%; text-align: center; display: inline; line-height: 34px; }

.mr10 { margin-right: 10px; }
#timesheetForm { margin-bottom: 20px; position: relative; }
/*#timesheetForm #totalHrs { width: 55px; }*/

button.btn { cursor: pointer; }
button.btn:active, button.btn:focus { outline: none !important; }

.success-msg {  }
.error-msg, .off-error-msg { display: none; }
.field-error { border-color: #C00; }
.form-control { padding: 6px 8px; }
.link-delete { color: #C00; }
.link-delete:hover { color: #C00; }

.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) { width: 100%; }
.bootstrap-select .btn { height: 34px; }

.btn-round {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.btn-round.btn-lg {
    width: 48px;
    height: 48px;
}

.btn-round.btn-sm {
    width: 34px;
    height: 34px;
}

.btn-round.btn-xs {
    width: 24px;
    height: 24px;
}

#timesheet-accordion { margin-left: -15px; margin-right: -15px; margin-bottom: 0; }
#timesheet-accordion .panel-heading { padding: 0; }
#timesheet-accordion .panel-heading a { padding: 10px 15px; display: block; background: #FFF; font-weight: bold; }
#timesheet-accordion .panel-heading a.collapsed { background: #F5F5F5; font-weight: normal; }
#timesheet-accordion .panel-heading a:hover, #timesheet-accordion .panel-heading a:focus { text-decoration: none; background: #FFF; }
#timesheet-accordion .panel-body { padding-top: 10px; padding-bottom: 0; }
#timesheet-accordion .panel-body table.table { margin-bottom: 0; }

#timesheet-accordion-jobs { margin-left: -15px; margin-right: -15px; margin-bottom: 0; }
#timesheet-accordion-jobs .panel-heading { padding: 0; }
#timesheet-accordion-jobs .panel-heading a { padding: 10px 15px; display: block; background: #FFF; font-weight: bold; text-decoration: none; }
#timesheet-accordion-jobs .panel-heading a.collapsed { background: #F5F5F5; font-weight: normal; }
#timesheet-accordion-jobs .panel-heading a:hover, #timesheet-accordion-jobs .panel-heading a:focus { text-decoration: none; background: #FFF; }
#timesheet-accordion-jobs .panel-body { padding-top: 10px; padding-bottom: 0; }
#timesheet-accordion-jobs .panel-body table.table { margin-bottom: 0; }

#timesheet-accordion-past { margin-left: -15px; margin-right: -15px; margin-bottom: 0; }
#timesheet-accordion-past .panel-heading { padding: 0; }
#timesheet-accordion-past .panel-heading a { padding: 10px 15px; display: block; background: #FFF; font-weight: bold; text-decoration: none; }
#timesheet-accordion-past .panel-heading a.collapsed { background: #F5F5F5; font-weight: normal; }
#timesheet-accordion-past .panel-heading a:hover, #timesheet-accordion-past .panel-heading a:focus { text-decoration: none; background: #FFF; }
#timesheet-accordion-past .panel-body { padding-top: 10px; padding-bottom: 0; }
#timesheet-accordion-past .panel-body table.table { margin-bottom: 0; }

.submitTimesheet { margin-top: 20px; }

.timesheet-entry-head > [class*='col-'] { font-weight: bold; padding-bottom: 5px; }
.timesheet-entry { padding: 10px 0; }
.timesheet-entry:nth-of-type(even) { background: #f9f9f9; }
.timesheet-entry.parent-entry { border-top: 1px solid #DDD; }

#newTaskContent { display: none; }

.row-buttons { margin-top: 20px; }
h4.no-gutter { margin-left: -15px; margin-bottom: 20px; }

.white-cont { background: #FFF; border-radius: 4px; padding: 15px 40px 15px 40px; }

.captcha-cont { position: relative; height: 80px; }
.captcha-cont .g-recaptcha { position: absolute; left: 50%; transform: translate(-50%, 0); }

.total-hrs-row { background: #EEE; padding: 5px 0; }

#documentsTable { font-size: 15px; }
#documentsTable span.indenter { padding-right: 5px; }
#documentsTable tr span.indenter a { color: #333; }
#documentsTable tr.expanded span.indenter a { background-image: none; }
table.treetable tr.expanded span.indenter a:before { content: '\25BC'; font-family: 'Times New Roman'; }
#documentsTable tr.collapsed span.indenter a { background-image: none; }
#documentsTable tr.collapsed span.indenter a:before { content: '\25BA'; font-family: 'Times New Roman'; }

.new-user { text-align: center; margin: 15px 0 0; }

.addressSuggest { position: absolute; z-index: 2; width: 100%; padding-right: 5px; }
.addressSuggest a { position: relative; display: block; padding: 10px 15px; margin-bottom: -1px; background-color: #fff; border: 1px solid #ddd; color: #555; /*white-space: nowrap;*/ cursor: pointer; }
.addressSuggest a:hover, .addressSuggest a:focus { text-decoration: none; background-color: #f5f5f5; }
.addressSuggest a:first-child { border-top-left-radius: 4px; border-top-right-radius: 4px; }
.addressSuggest a:last-child { margin-bottom: 0; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; }

#offTimeForm textarea { height: 80px; resize: none; }

.mb0 { margin-bottom: 0; }

#requestForm h4 { margin-bottom: 20px; }

#other-option { display: none; }

/* #number-of-hours-requested-container{ display: none; } */

.red { color: #C00; }
.bold-red { font-weight: bold; color: #C00; }
.weeklyTotal { position: absolute; right: 15px; top: 50%; font-size: 16px; }

.loading { background: url('../images/loading.gif') no-repeat; width: 30px; height: 30px; display: none; }
.jobnum-cont .loading, .address-cont .loading { position: absolute; bottom:16px; right: 10px; }

.modal-header button.close span:focus, .modal-header button.close:focus { outline: none; }
.prefill { cursor: pointer; position: absolute; top: 110px; margin-left: -10px; }
.requests-list h4 { padding-left: 8px; }

@media (min-width: 768px) {
    .editEntry, .editForemanEntry, .timesheet-entry .addOffTime, .addForemanEntry { width: 90px; margin-bottom: 10px; }
    .deleteEntry { width: 90px; }
    .action-col-mobile { display: none; }
}
@media (min-width: 992px) {
    .mobile-newline { display: inline-block; }
    .additional-task label, .additional-entry label { display: none; }
    form .no-gutter > [class*='col-'] {
        padding-right:5px;
        padding-left:0;
    }
    .editEntry, .editForemanEntry, .timesheet-entry .addOffTime, .addForemanEntry { width: auto; margin-bottom: auto; }
    .deleteEntry { width: auto; }
}
@media (max-width: 433px) {
    header .logout .links { display: block; }
    header .logout .links .dot:first-of-type { display: none; }
}
@media (max-width: 500px) {
    #timesheetForm .row-buttons p.text-center button { margin-bottom: 10px; }
}
@media (max-width: 520px) {
    .panel .panel-heading ul.nav li { width: 50%; text-align: center; }
    .panel .panel-heading ul.nav li a { border-radius: 0; margin: 0; }
    .panel .panel-heading ul.nav li.active a { background: #1A82BB; color: #FFF; }
}
@media (max-width: 620px) {
    .panel-title { font-size: 12px; }
    .panel-title a { padding: 10px 5px !important; }
    .panel-body { padding: 5px; font-size: 12px; }
    .timesheet-entry { margin: 0 -5px; } /* added margin 07/06/2017 */
    .panel-group .panel { border-radius: 0; border-right: none; border-left: none; }
    .panel-group .panel .panel-group .panel { border-right: 1px solid #DDD; border-left: 1px solid #DDD; }
    #timesheet-accordion .panel-body { border-radius: 0; }
    .timesheet-entry-head, .total-hrs-row { margin: 0 -5px; }
    .foreman-submit-cont { margin: 0; }
}
@media (max-width: 767px) {
    .timesheet-entry { padding: 0; }
    .timesheet-entry > [class*='col-'] { padding: 10px 0; }
    .timesheet-entry > [class*='col-']:not(.action-col-mobile) { padding: 10px 15px; }
    .timesheet-entry .action-col { display: none; }
    .timesheet-entry .action-col-mobile { display: block; }
    .timesheet-entry .action-col-mobile { text-align: center; padding: 10px 0; margin-top: 10px; background: #EEE; border-bottom: 1px solid #DDD; }
    .timesheet-entry:last-of-type .action-col-mobile { border-bottom: 1px solid #DDD; }
    .col-xs-12.text-right, .col-xs-12.text-left { text-align: center; }
    .weeklyTotal { position: relative; right: 0; display: block; width: 100%; top: 10px; }

}
@media (max-width: 991px) {
    .additional-task, .additional-entry { padding: 20px 0; }
    .additional-task:nth-of-type(even), .additional-entry:nth-of-type(even) { background: #e9e9e9; }
    .removeTask { left:auto; right: 10px; top:-15px; display: inline-block; }
    h4.no-gutter { margin-left: -10px; }
    #offTimeForm label[for="quantity"] { margin-top: 15px; }
    .addressSuggest { padding-right: 10px; }
    .prefill { margin-left: -10px; margin-top: -10px; margin-bottom: 10px; display: block; position: relative; top:0; }
    #requestForm h4 { padding-left: 5px; }
}
@media all and (max-width: 540px) {

    .sweet-alert .sa-icon {
        height: 60px;
        width: 60px;
        margin: 10px auto;
    }
    .sweet-alert .sa-icon.sa-warning .sa-body {
        height: 26px;
    }
    .sweet-alert h2 {
        font-size: 22px;
        line-height: 26px;
        margin: 15px 0;
    }
    .sweet-alert button {
        padding: 10px 16px;
    }
}
@media all and (max-width: 320px) {
    .sweet-alert {
        top: 0;
        margin-top: 50px !important;
        overflow: auto;
    }

}