﻿/*body {
    padding-top: 50px;
    padding-bottom: 20px;
}*/

/* Set padding to keep content from hitting the edges */
/*.body-content {
    padding-left: 15px;
    padding-right: 15px;
}*/

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
/*
.dl-horizontal dt {
    white-space: normal;
}*/

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/


.top-buffer {
    margin-top: 5px;
}

.margin-2 {
    margin: 2px;
}

.margin-5 {
    margin: 5px;
}

.margin-top-5 {
    margin-top: 5px;
}


[data-letters]:before {
    content: attr(data-letters);
    display: inline-block;
    font-size: 1em;
    width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
    text-align: center;
    border-radius: 50%;
    background: plum;
    vertical-align: middle;
    margin-right: 1em;
    color: white;
}

.highlight {
    background-color: dodgerblue;
    color: white;
}

.form-group.required .control-label:after {
    content: " *";
    color: red;
}

/* this is to fix the dropdown menu within the table in responsive div  */
@media (max-width: 767px) {
    .table-responsive .dropdown-menu {
        position: static !important;
    }
}

@media (min-width: 768px) {
    .table-responsive {
        overflow: visible;
    }
}

label[class=error] {
    color: #a94442;
    /*background-color: #f2dede;*/
    border-color: #ebccd1;
    font-weight: normal;
}

.label-normal {
    font-weight: 100 !important;
}

@media screen and (min-width: 768px) {
    td .dropdown:hover .dropdown-menu, td .btn-group:hover .dropdown-menu {
        display: block;
    }

    td .dropdown-menu {
        margin-top: 0;
    }

    td .dropdown-toggle {
        margin-bottom: 2px;
    }

    td .navbar .dropdown-toggle, td .nav-tabs .dropdown-toggle {
        margin-bottom: 0;
    }
}

/** BREADCRUMB */
/*
.breadcrumb-arrow {
    height: 36px;
    padding: 0;
    line-height: 36px;
    list-style: none;
    background-color: #e6e9ed
}
.breadcrumb-arrow li:first-child a {
    border-radius: 4px 0 0 4px;
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px
}
.breadcrumb-arrow li, .breadcrumb-arrow li a, .breadcrumb-arrow li span {
    display: inline-block;
    vertical-align: top
}
.breadcrumb-arrow li:not(:first-child) {
    margin-left: -5px
}
.breadcrumb-arrow li+li:before {
    padding: 0;
    content: ""
}
.breadcrumb-arrow li span {
    padding: 0 10px
}
.breadcrumb-arrow li a, .breadcrumb-arrow li:not(:first-child) span {
    height: 36px;
    padding: 0 10px 0 25px;
    line-height: 36px
}
.breadcrumb-arrow li:first-child a {
    padding: 0 10px
}
.breadcrumb-arrow li a {
    position: relative;
    color: #fff;
    text-decoration: none;
    background-color: #3bafda;
    border: 1px solid #3bafda
}
.breadcrumb-arrow li:first-child a {
    padding-left: 10px
}
.breadcrumb-arrow li a:after, .breadcrumb-arrow li a:before {
    position: absolute;
    top: -1px;
    width: 0;
    height: 0;
    content: '';
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent
}
.breadcrumb-arrow li a:before {
    right: -10px;
    z-index: 3;
    border-left-color: #3bafda;
    border-left-style: solid;
    border-left-width: 11px
}
.breadcrumb-arrow li a:after {
    right: -11px;
    z-index: 2;
    border-left: 11px solid #2494be
}
.breadcrumb-arrow li a:focus, .breadcrumb-arrow li a:hover {
    background-color: #4fc1e9;
    border: 1px solid #4fc1e9
}
.breadcrumb-arrow li a:focus:before, .breadcrumb-arrow li a:hover:before {
    border-left-color: #4fc1e9
}
.breadcrumb-arrow li a:active {
    background-color: #2494be;
    border: 1px solid #2494be
}
.breadcrumb-arrow li a:active:after, .breadcrumb-arrow li a:active:before {
    border-left-color: #2494be
}
.breadcrumb-arrow li span {
    color: #434a54
}

.breadcrumb-arrow li.active {
    color: #434a54
}
    */

.width50 {
    width: 50px;
}

.width55 {
    width: 55px;
}

.width60 {
    width: 60px;
}

.width65 {
    width: 65px;
}

.width70 {
    width: 70px;
}

.width75 {
    width: 75px;
}



.modal-fullscreen-dialog {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.modal-fullscreen-content {
    height: auto;
    min-height: 100%;
    border-radius: 0;
}

.wide-screen .modal-dialog {
    width: 75%;
}

@media screen and (min-width: 768px) {

    .wide-screen .modal-dialog {
        width: 80%;
    }
    /*900px*/

}

.af-profile-img {
    float: left;
    width: 25px;
    height: 25px;
    margin-right: 10px;
    margin-top: -2px
}
/*search input field
    https://stackoverflow.com/questions/20062218/how-do-i-clear-a-search-box-with-an-x-in-bootstrap-3

*/

/*.searchinput {
    width: 200px;
}
.searchclear {
    position: absolute;
    right: 5px;
    top: 0;
    bottom: 0;
    height: 14px;
    margin: auto;
    font-size: 14px;
    cursor: pointer;
    color: #ccc;
}*/
/*
    https://www.thewebflash.com/clear-button-in-bootstrap-input-group-component/
*/
::-ms-clear {
    display: none;
}

.form-control-clear {
    z-index: 10;
    pointer-events: auto;
    cursor: pointer;
}

/*
    horizontal timeline
    https://codepen.io/abhisharma2/pen/vEKWVo
    https://onaircode.com/bootstrap-timeline-horizontal-examples/
*/
.h-timeline-container {
    width: 100%;
    height: 100%;
    /*display: flex;*/
    justify-content: center;
    /*font-family: "Titillium Web", sans serif;*/
    color: #758D96;
    overflow: auto
}

.h-timeline {
    list-style-type: none;
    display: flex;
    align-items: center;
    /*justify-content: center;*/
}

.h-li {
    transition: all 200ms ease-in;
}

.h-timestamp {
    margin-bottom: 20px;
    padding: 0px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 100;
}

    .h-timestamp .h-author, .h-timestamp .h-date {
        white-space: nowrap
    }

.h-status {
    padding: 0px 40px;
    display: flex;
    justify-content: center;
    border-top: 2px solid #D6DCE0;
    position: relative;
    transition: all 200ms ease-in;
}

    .h-status h5 {
        font-weight: 600;
        white-space: nowrap
    }

    .h-status:before {
        content: "";
        width: 25px;
        height: 25px;
        background-color: white;
        border-radius: 25px;
        border: 1px solid #ddd;
        position: absolute;
        top: -15px;
        left: 42%;
        transition: all 200ms ease-in;
    }


.h-li.complete .h-status {
    border-top: 2px solid #66DC71;
}

    .h-li.complete .h-status:before {
        background-color: #66DC71;
        border: none;
        transition: all 200ms ease-in;
    }

    .h-li.complete .h-status h4 {
        color: #66DC71;
    }

/*@media (min-device-width: 320px) and (max-device-width: 700px) {
    .h-timeline {
        list-style-type: none;
        display: block;
    }

    .h-li {
        transition: all 200ms ease-in;
        display: flex;
        width: inherit;
    }

    .h-timestamp {
        width: 100px;
    }

    .h-status:before {
        left: -8%;
        top: 30%;
        transition: all 200ms ease-in;
    }
}*/

/*.h-author, .h-date {
    white-space:nowrap
  }*/
/*html, body {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  font-family: "Titillium Web", sans serif;
  color: #758D96;
}

button {
  position: absolute;
  width: 100px;
  min-width: 100px;
  padding: 20px;
  margin: 20px;
  font-family: "Titillium Web", sans serif;
  border: none;
  color: white;
  font-size: 16px;
  text-align: center;
}

#toggleButton {
  position: absolute;
  left: 50px;
  top: 20px;
  background-color: #75C7F6;
}*/

/*END TIMELINE*/
table tr td.af-action-control a {
    display: none;
}

table tr:hover td.af-action-control a,
table tr:active td.af-action-control a {
    display: inline-block;
}

.af-autofit {
    width: 1%;
    white-space: nowrap
}
/*forecolor*/
.fc-success {
    color: #00a65a !important
}

.fc-default {
    color: #d2d6de !important
}

.fc-warning {
    color: #f39c12 !important
}

.fc-info {
    color: #00c0ef !important
}

.fc-primary {
    color: #3c8dbc !important
}

/*activity form*/
@media screen and (min-width:800px) {
    .activity-form {
        min-height: 580px
    }

    .activity-nav-list {
        min-height: 478px
    }
}

.activity-timeline .timeline:before {
    left: 17px;
}

.activity-timeline .timeline > li > .fa,
.activity-timeline .timeline > li > .glyphicon,
.activity-timeline .timeline > li > .ion {
    left: 3px;
}


.activity-timeline .timeline > li > .timeline-item {
    margin-left: 45px;
    margin-right: 10px;
}

    .activity-timeline .timeline > li > .timeline-item > .timeline-header {
        font-size: 14px;
    }


    .activity-timeline .timeline > li > .timeline-item > .timeline-header {
        font-size: 14px;
    }

        .activity-timeline .timeline > li > .timeline-item > .timeline-header > a {
            font-weight: normal;
        }

.activity-timeline .timeline > li.selected > .timeline-item {
    background-color: #0073B7;
    border-color: #0073B7;
}

    .activity-timeline .timeline > li.selected > .timeline-item > .timeline-header {
        color: #FFF;
    }

.activity-timeline .timeline > li.selected > .fa,
.activity-timeline .timeline > li.selected > .glyphicon,
.activity-timeline .timeline > li.selected > .ion {
    color: #FFF;
    background-color: #0073B7;
}


.activity-timeline .timeline > li.complete > .timeline-item {
    background-color: #00A65A;
    border-color: #00A65A;
}

    .activity-timeline .timeline > li.complete > .timeline-item > .timeline-header {
        color: #FFF;
    }

.activity-timeline .timeline > li.complete > .fa,
.activity-timeline .timeline > li.complete > .glyphicon,
.activity-timeline .timeline > li.complete > .ion {
    color: #FFF;
    background-color: #00A65A;
}

.activity-timeline .timeline > li.complete > .timeline-item > .timeline-header > a {
    color: #FFF;
}

.activity-timeline .timeline > li.open > .timeline-item {
    background-color: #00C0EF;
    border-color: #00C0EF;
}


    .activity-timeline .timeline > li.open > .timeline-item > .timeline-header {
        color: #FFF;
    }

.activity-timeline .timeline > li.open > .fa,
.activity-timeline .timeline > li.open > .glyphicon,
.activity-timeline .timeline > li.open > .ion {
    color: #FFF;
    background-color: #00C0EF;
}

.modal-dialog-full {
    width: 98%;
    height: 98%;
    margin: 5px;
    padding: 0;
}
/*
.modal-content {
    height: auto;
    min-height: 100%;
    border-radius: 0;
}*/

/* signature action buttons */

.signature-action-container {
    position: absolute;
    bottom: 50px;
    right: 100px;
    cursor: pointer;
    display: none;
}

.signature-action-icon {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background: #FF4F79;
    box-shadow: 4px 4px 2px #aaaaaa;
}

    .signature-action-icon i {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        color: white;
    }

.signature-action-container ul {
    list-style-type: none;
    position: absolute;
    bottom: 70px;
}

.options {
    list-style-type: none;
    position: absolute;
    bottom: 70px;
    right: 0;
}

.signature-action-container .options li {
    display: flex;
    justify-content: flex-end;
    padding: 5px;
}

.btn-label {
    padding: 2px 5px;
    margin-right: 20px;
    align-self: center;
    user-select: none;
    background-color: black;
    color: white;
    border-radius: 3px;
}

/* switch/ toggle */

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.theme-checkbox {
    --toggle-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 6.25em;
    height: 2.125em;
    background: -webkit-gradient(linear, left top, right top, color-stop(50%, #efefef), color-stop(50%, #2a2a2a)) no-repeat;
    background: -o-linear-gradient(left, #efefef 50%, #2a2a2a 50%) no-repeat;
    background: linear-gradient(to right, #efefef 50%, #2a2a2a 50%) no-repeat;
    background-size: 205%;
    background-position: 0;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    border-radius: 99em;
    position: relative;
    cursor: pointer;
    font-size: var(--toggle-size);
}

    .theme-checkbox::before {
        content: "";
        width: 1.25em;
        height: 1.25em;
        position: absolute;
        top: 0.438em;
        left: 0.438em;
        background: -webkit-gradient(linear, left top, right top, color-stop(50%, #efefef), color-stop(50%, #2a2a2a)) no-repeat;
        background: -o-linear-gradient(left, #efefef 50%, #2a2a2a 50%) no-repeat;
        background: linear-gradient(to right, #efefef 50%, #2a2a2a 50%) no-repeat;
        background-size: 205%;
        background-position: 100%;
        border-radius: 50%;
        -webkit-transition: 0.4s;
        -o-transition: 0.4s;
        transition: 0.4s;
    }

    .theme-checkbox:checked::before {
        left: calc(100% - 1.25em - 0.438em);
        background-position: 0;
    }


    .theme-checkbox:checked {
        background-position: 100%;
    }