body {
    position: relative;
}
.navbar-right li a i{
    font-size: 16px;
}
button.btn.btn-secondary{
    background: lightgray;
}
.inspecties-home form .app-form-text-2-component {
    display: inline-block;
    width: 50%;
}

.inspecties-home form .app-form-submit-2-component{
    display: inline-block;
    margin-left: 10px;
}
@media (min-width: 768px){
    .col-sm-3.col-md-2.sidebar{
        top:0;
    }
}
/* overriding a rule from main.css */
@media (max-width: 768px){
    .navbar-fixed-bottom, .navbar-fixed-top {
        z-index: 1000;
    }
}

/* add some color to the house icons basedc on their type*/
.fa.fa-home.Eindinspectie {
    color: #f0ad4e;
}
.fa.fa-home.Voorinspectie {
    color: #d9534f;
}
.fa.fa-home.Nieuwe.verhuring {
    color: #5cb85c;
}
.fa.fa-home {
    color: #eee;
}

/* enlarge the collapse handle somewhat */
.app-form-repeating-2-component .panel-heading .panel-title a{
    display: block;
}
/* that pop-up again sigh... */
.foto-edit .modal-dialog {
    top: 0px;
    width: 90%;
}

.foto-edit {
    max-height: 54px;
}

.foto-edit.ng-isolate-scope.content > .preview {
    margin-top: -48px;
    margin-left: 64px;
}

.preview img {
    width: 89px;
}

/* decision tree last card design */
form .decision-tree-generic-component { 
    height: 427px;
}

.decision-tree-generic-component .panel.last-card {
    right: 0;
    left:initial;
	min-width: 80%;
}
.decision-tree-generic-component .total-cards-4 .last-card { width: 50%; }
.decision-tree-generic-component .total-cards-3 .last-card { width: 64%; }

.decision-tree-generic-component .panel.last-card input.amount-field {
    height: 3em;
	width: 7em;
}
.decision-tree-generic-component .panel.last-card .form-inline .foto-edit {
    display: inline-block;
    margin-right: 6px;
}

.decision-tree-generic-component .panel.last-card .form-inline .btn {
    margin-top: 0;
}
.decision-tree-generic-component .panel.last-card .opmerkingen textarea {
    height: 250px;
}

.decision-tree-generic-component .panel.last-card .flex {
	display: flex;
	justify-content: space-between;
}
.decision-tree-generic-component .panel.last-card .flex .flex-item {
	flex: 1;
}

.decision-tree-generic-component .panel.last-card .flex .flex-item .foto-edit {
	display: inline-block;
	position: relative;
	top: 1px;
}

.form-group.form-inline label {
	margin-bottom: auto;
}

.form-group {
	margin-bottom: 8px;
}

.dynamic-scrollable-content {
    overflow-y: auto;
    max-height: 21.7em;
}

.btn{
	margin-top: 1%;
}

.btn-warning{
    background-color: #f0ad4e;
}
.btn-warning:hover {
    background-color: #e09d3e;
}

.col-sm-12 {
    padding-left: 0px;
}

.dynamic-scrollable-content div label{
	min-width: 6em;
}

select.form-control{
    height: 3em;
}

decision-tree-generic-component .panel.last-card .col-sm-12{
    padding-left: 0px;
}

/* decision tree search results drop down*/
.decision-tree-generic-component .search {
    position: relative;
}
.decision-tree-generic-component .search .search-bar{
    position:relative;
    top: 0px;
    margin: 0 0 6px 0;
}

.decision-tree-generic-component .search .search-results {
    position: absolute;
    z-index: 1;
    top: 50px;
    min-width: 160px;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    background-color: #fff;
    background-clip: padding-box;
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    border: 1px solid #dfd7ca;
}
.decision-tree-generic-component .search .search-results a.list-group-item{
    border: none;
}

.defects-list-component {
	height: auto;
	overflow-y: hidden;
    min-height: 210px;
    background-color: #f8f5f0;
    border-color: #dfd7ca;
}
.defects-list-component .modal-content {
    color: #333333;
}


.defects-list-component.panel.panel-default {
	margin-bottom: 3%;
}

/* selected defect list */
.defects-list-component table tr.selected th, .defects-list-component table tr.selected td{
    background-color: #325d88;
    border-color: #244261;
    color: #ffffff;
}
.defects-list-component table tr {
    background-color: #ffffff;
}
.defects-list-component table tr.bg-danger {
    background-color: #ea8f8f;
}

.defects-list-component table td.money{
    text-align: right;
}
.defects-list-component .photobutton{
    display: inline-block;
}
.defects-list-component tr td p.grey{
    margin: 0;
    color: #53702a;
}
.defects-list-component tr.selected td p.grey{
    color: #9fad8c;
}

.defects-list-component table .photo {
    min-width: 108px;
}

/* user profile */
.user-2-component  .response-text-2-component label{
    display: none;
}

.user-2-component .col-md-9,  .user-2-component .col-sm-8 {
    width: auto;
}
.user-2-component .list-item-container{
    float: left;
    width: 30%;
    text-align: center;
    margin: 20px 0 0 0;
    cursor: pointer;
}

.user-2-component .list-item-container button {
    margin: 40px 0 0 0;
}


.user-2-component .response-text-2-component {
    display: inline-block;
}
.user-2-component span.svg-container{
    display: inline-block;
    width: 120px;
    height: 120px;
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 50%;
}
.user-2-component p.form-control-static {
    margin: 0;
    padding-top: 0;
}

button.spin {
    -webkit-animation: spin .2s infinite linear;
    -moz-animation: spin .2s infinite linear;
    -o-animation: spin .2s infinite linear;
    animation: spin .2s infinite linear;
    -webkit-transform-origin: 50% 58%;
    transform-origin:50% 58%;
}

li.list-group-item.ng-scope {
	border: 0px;
	padding: inherit;
}

/*------------------------------ attachments ------------------------------------*/

.form-horizontal .control-label {
    text-align: left;
}

div div.col-sm-3.col-md-2.sidebar.ng-scope nav ul li a:hover{
	color: #ffffff;
    background-color: #325d88;
}

div div.col-sm-3.col-md-2.sidebar.ng-scope nav ul li.active a{
	color: #ffffff;
    background-color: #325d88;
	font-weight: bold;
}

.col-sm-3.col-md-2.sidebar.ng-scope.ng-hide + div.col-sm-9.col-md-10.main.mainPlus{
	width: 100%;
}

.picture-component.clearfix {
    color: #325d88;
}

.picture-component .picture {
    width: auto;
}
.picture-component .picture .picture-content img {
    max-width: 100%;
}
.table>thead>tr>th.modal-td {
    width: 0px;
    padding: 0;
    margin: 0;
}
.table>tbody>tr>td.modal-td {
    width: 0px;
    padding: 0;
    margin: 0;
}

.progress-top {
    position: fixed;
    top: 0;
    width: 0%;
    height: 10px;
    background-color: #93c54b;
    left: 0;
    z-index: 1;
    transition: width 1s ease-in-out;
}


/*------------------------------ kleurplaatpopup ------------------------------------*/

.chevron {
    top: 10px;
    right: 15px;
    position: absolute;
    width: 2.1rem;
    height: 0.48rem;
    opacity: 0;
    -webkit-transform: scale(0.3);
            transform: scale(0.3);
    -webkit-animation: move-chevron 3s ease-out infinite;
            animation: move-chevron 3s ease-out infinite;
  }
  
  .chevron:first-child {
    -webkit-animation: move-chevron 3s ease-out 1s infinite;
            animation: move-chevron 3s ease-out 1s infinite;
  }
  
  .chevron:nth-child(2) {
    -webkit-animation: move-chevron 3s ease-out 2s infinite;
            animation: move-chevron 3s ease-out 2s infinite;
  }
  
  .chevron:before,
  .chevron:after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    background: #90afbd;
  }
  
  .chevron:before {
    left: 0;
    -webkit-transform: skewY(30deg);
            transform: skewY(30deg);
  }
  
  .chevron:after {
    right: 0;
    width: 50%;
    -webkit-transform: skewY(-30deg);
            transform: skewY(-30deg);
  }
  
  @-webkit-keyframes move-chevron {
    25% {
      opacity: 1;
    }
    33.3% {
      opacity: 1;
      -webkit-transform: translateY(2.28rem);
              transform: translateY(2.28rem);
    }
    66.6% {
      opacity: 1;
      -webkit-transform: translateY(3.12rem);
              transform: translateY(3.12rem);
    }
    100% {
      opacity: 0;
      -webkit-transform: translateY(4.8rem) scale(0.5);
              transform: translateY(4.8rem) scale(0.5);
    }
  }
  
  @keyframes move-chevron {
    25% {
      opacity: 1;
    }
    33.3% {
      opacity: 1;
      -webkit-transform: translateY(2.28rem);
              transform: translateY(2.28rem);
    }
    66.6% {
      opacity: 1;
      -webkit-transform: translateY(3.12rem);
              transform: translateY(3.12rem);
    }
    100% {
      opacity: 0;
      -webkit-transform: translateY(4.8rem) scale(0.5);
              transform: translateY(4.8rem) scale(0.5);
    }
}

.label-version {
    color: #aaa;
    font-size: 10px;
    position: fixed;
    bottom: 10px;
    right: 10px;
}
