/*
Template:       This file is specific for PHP projects of IT Maniax
Info:           This file will contain frontend project style
Web:            http://www.itmaniax.com
*/

/******************************************************************************/

/*********  HEADER  ***********************************************************/

/******************************************************************************/

body,
.btn,
.form-control {
  font-size: 0.9rem !important;
}

body {
  padding: 0 !important;
}

.navbar-default {
  background-color: #f8f8f8;
  border-bottom: 1px solid #e7e7e7;
  margin-bottom: 15px;
}

a#logout-btn {
  color: var(--color_black-1) !important;
}

.sidebar-collapse .main-header {
  position: fixed;
  width: calc(100% - 74px);
}

.navbar-nav .dropdown {
  padding-right: 15px;
}

.brand-link {
  padding: 0.7125rem 0.5rem;
}

.brand-link img {
  max-height: 33px;
}

#impersonate {
  text-transform: uppercase;
}

#impersonate:hover {
  background-color: var(--color_danger-hover);
}

.form-close-edit .ci_valability-checkbox {
  margin-left: 10px;
}

.ci_valability-checkbox label {
  margin-bottom: 0;
}

.ci_valability-checkbox input {
  width: 20px;
  height: 20px;
}

.fs-13 {
  font-size: 13px !important;
}

.fs-40 {
  font-size: 40px !important;
}

.chose-project-btn {
  border: none;
  padding: 5px 50px;
}

/******************************************************************************/

/*********  FOOTER  ***********************************************************/

/******************************************************************************/

footer {
  margin-top: 15px;
}

/******************************************************************************/

/*********  general  ***********************************************************/

/******************************************************************************/

.content-wrapper {
  margin-top: 50px;
}

/******************************************************************************/

/*********  LABEL     ****************************************************/

/******************************************************************************/

.required:after {
  content: '*';
  color: var(--color_danger);
}

#projects-table {
  overflow-x: scroll;
}

.modal .form-group label {
  align-self: flex-end;
}

.modal .form-group label.label-center {
  line-height: 1rem;
}

/******************************************************************************/

/*********  MODALS	***********************************************************/

/******************************************************************************/

.modal {
  overflow-y: auto;
}

.modal-body {
  overflow-x: hidden;
  overflow-y: auto;
}

.modal button.close {
  color: var(--color_danger);
}

.sweet-close {
  position: absolute;
  top: 5px;
  right: 10px;
  color: var(--color_danger);
}

.sweet-close:hover {
  color: var(--color_danger-hover);
}

/******************************************************************************/

/*********  HOMEPAGE     ******************************************************/

/******************************************************************************/

.card-block {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1.25rem;
}

a[data-toggle='collapse'].collapsed .fa-chevron-up::before {
  content: '\f078' !important;
}

a[data-toggle='collapse'] .fa-chevron-up::before {
  content: '\f077' !important;
}

.custom-control-input:disabled ~ .custom-control-label:before {
  background: #e3ebf6;
}

/******************************************************************************/

/*********  Forms   ***********************************************************/

/******************************************************************************/

span.form-control {
  word-wrap: break-word;
  height: auto;
}

.container-multiple {
  border: 1px solid var(--color_grey-1);
  padding: 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.itm-border-light-grey {
  border: 1px solid var(--color_grey-1);
  padding: 10px;
}

/*
#db-panel label[for="file"] {
}
*/

label[for='file'] {
  width: 100%;
  margin: 0;
}

.itm-input-file {
  width: 100%;
}

.card-body .remove {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  border: none;
  background: transparent;
  color: var(--color_danger);
}

.card-body .remove:hover {
  color: var(--color_black_1);
}

.card-body .container-multiple {
  position: relative;
}

.modal-body .card-body .remove-db-items {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--color_danger);
  z-index: 1;
}

a.download {
  float: right;
  position: absolute;
  right: 7px;
  top: 30px;
}

.file-show > i {
  display: inline-block;
}

.file-show,
.file-show .file-description {
  display: inline-block;
  width: 85%;
}

.file-show .file-description > p {
  margin: 0;
  max-height: 25px;
  text-overflow: ellipsis;
  word-break: break-word;
  white-space: nowrap;
  overflow: hidden;
}

.fa-file-excel,
.fa-file-csv {
  color: var(--color_success);
}

.fa-file-word {
  color: var(--color_primary);
}

.fa-file-alt {
  color: var(--color_info);
}

.fa-file-image {
  color: var(--color_warning);
}

.fa-file-pdf {
  color: var(--color_danger);
}

.form-control:disabled {
  cursor: not-allowed;
}

/******************************************************************************/

/*** user profile details *****************************************************/

/******************************************************************************/

.user-profile-details .list-group .list-group-item > span:first-of-type {
  font-weight: bold;
}

.user-profile-details
  .list-group
  .list-group-item
  > span:nth-of-type(1)::after {
  content: ':';
  display: inline;
  margin-right: 10px;
}

.btn.btn-change {
  color: var(--color_danger) !important;
}

.user-profile-details {
  font-size: 16px;
}

.bg-danger-gradient .card-body {
  color: var(--color_black-1);
}

.itm-ribbon-box .list-group-item:hover {
  z-index: auto;
}

/******************************************************************************/

/********** project details ***************************************************/

/******************************************************************************/

.btn-upload {
  padding: 5rem 1rem;
  background-color: #fff;
  border: 1px dashed #d2ddec;
  border-radius: 0.375rem;
  text-align: center;
  transition: all 0.2s ease-in-out;
  order: -1;
  cursor: pointer;
  z-index: 999;
}

.itm-input-document:hover + .btn-upload {
  border-color: #95aac9;
  color: #12263f;
}

.card-document {
  padding: 0.75rem 1.25rem;
}

.card-document .document-status {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-document .file-upload {
  margin-top: 15px;
}

.documents-legend span {
  vertical-align: top;
  font-size: 16px;
}

.center-label label > * {
  vertical-align: middle;
}

.itm-card .radio-buttons .input-group.form-control {
  height: auto !important;
}

.itm-card .radio-buttons label {
  margin-bottom: 0;
}

.itm-card .radio-buttons .radio:not(:last-of-type) {
  margin-right: 10px !important;
}

/************* Google Maps   **************************************************/

.map {
  height: 400px;
}

#project-location-modal.map {
  height: 300px;
}

/******************************************************************************/

/********** Chat ********** ***************************************************/

/******************************************************************************/

.conversation-modal .modal-header {
  padding: 0.75rem 1.25rem;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
  position: relative;
}

.ensys-logo {
  max-height: 80px !important;
}

.conversation-modal .modal-body {
  position: relative;
  padding: 0px;
}

.direct-chat-text {
  border-radius: 0.3rem;
  border: 1px solid #d2d6de;
  margin: 5px 0 0 50px;
  padding: 5px 10px;
  position: relative;
}

.direct-chat-msg {
  margin-bottom: 10px;
}

.modal .direct-chat-messages {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
  height: 250px;
  overflow: auto;
  padding: 10px;
}

.direct-chat-info {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 2px;
}

.conversation-modal .modal-footer {
  padding: 0.75rem 1.25rem;
  background-color: rgba(0, 0, 0, 0.03);
  border-top: 0 solid rgba(0, 0, 0, 0.125);
}

.left .direct-chat-img {
  position: absolute;
  margin-top: 10px;
}

.right .direct-chat-img {
  position: absolute;
  right: 0;
}

.right .direct-chat-text {
  margin-left: 0;
  margin-right: 40px;
}

.direct-chat .left .received.direct-chat-text.alert-primary {
  background: white !important;
  border-color: white !important;
  color: var(--color_black-1) !important;
}

/******************************************************************************/

/******************************************************************************/

/******************************************************************************/

span.to-uppercase {
  text-transform: uppercase;
}

.hidden {
  display: none;
}

.pull-right {
  float: right;
}

.generated-file-option-button {
  margin-right: 20px;
}

.dot {
  display: inline-block;
  border-radius: 50%;
  width: 50%;
  background-color: var(--color_black-1);
  height: 15px;
  width: 15px;
  margin: 0 2px;
}

.dot-success {
  background-color: var(--color_success);
}

.card .direct-chat-messages {
  max-height: 66vh;
  overflow-y: scroll;
  overflow-x: hidden;
}

.list-group.list-group-flush.mt-175 {
  margin-top: -1.75rem !important;
}

.card.bg-grey {
  background: #edf2f9;
}

.list-group-flush .list-group-item {
  padding: 10px 0px;
}

.list-group .form-group {
  margin-bottom: 0.375rem;
}

.list-group .card-body {
  padding: 10px 1.5rem;
}

.alert {
  margin-bottom: 0.5rem;
  padding: 0.125rem 1.25rem;
}

.alert-dismissible > button.close {
  padding: 2px 5px;
}

.banking-information .input-group > span {
  align-self: center;
  min-width: 100px;
}

.banking-information .input-group > .custom-select:not(:first-child),
.banking-information .input-group > .form-control:not(:first-child) {
  border-radius: 0.375rem;
}

.latest-files {
  margin-top: 62px;
}

/******************************************************************************/

/********** radio cards *******************************************************/

/******************************************************************************/
.card-disable {
  opacity: 0.5;
  cursor: default !important;
}

.card-radio-wrapper {
  display: block;
  cursor: pointer;
  margin-bottom: 0;
  z-index: 10;
}
.card-radio-wrapper .card-radio-input {
  display: none;
}

.card-radio-wrapper h2 {
  text-align: left;
  margin-bottom: 0;
}

.card-radio-wrapper .card-header {
  padding: 5px 15px;
  min-height: 2.75rem;
  border-color: #c2c5c7;
}

.card-radio-wrapper .card-body {
  padding: 15px;
}

@media only screen and (min-width: 1200px) {
  .card-radio-wrapper .card-body {
    min-height: 300px;
  }
  .tehnomir-contract .card-radio-wrapper .card-body {
    min-height: 150px;
  }
}

.tehnomir-contract .card-radio-wrapper .card-body p {
  width: 100%;
}

.tehnomir-contract .card-radio-wrapper .card-header h2 {
  text-align: center;
}

.card-radio-wrapper .card-body.roofs {
  padding: 15px 25px 15px 25px;
}

.card-radio-wrapper h4 {
  text-align: right;
  margin-bottom: 0;
}
.card-radio-wrapper .no-padding {
  padding-left: 0;
  padding-right: 0;
}

.card-radio-wrapper .table {
  margin-bottom: 10px;
}

.card-radio-wrapper .table td {
  font-size: 0.8rem;
  padding: 1px 2px;
}

.card-radio-wrapper .badge.badge-success {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: bold;
  padding: 10px 20px;
  display: inline-block;
  margin: 3px 0;
}

.card-radio-wrapper .card-radio-element {
  box-shadow: none;
  margin-bottom: 0;
  border-color: #c2c5c7;
}

.card-radio-wrapper .card-radio-input:checked + .card-radio-element,
.card-radio-wrapper .card-radio-element.active {
  box-shadow: 0 0 1px 2px #34dd79;
}

.card-radio-wrapper .btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  margin-top: 10px;
  margin-bottom: -15px;
  border-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.card-radio-wrapper .btn-white span {
  margin-left: 7px;
}

.config_bridging_type .form-control {
  border: 0px;
}

.tehnomir-contract .fa-check {
  color: #34dd79;
  font-size: 40px;
  position: absolute;
  bottom: 10px;
  right: 15px;
  display: none;
}

.fa-check.roofs {
  color: #34dd79;
  font-size: 40px;
  position: absolute;
  top: 3px;
  right: 15px;
  display: none;
}

.fa-check {
  color: #34dd79;
  font-size: 40px;
  position: absolute;
  bottom: 10px;
  right: 15px;
  display: none;
}
.fa-check-alt {
  color: #34dd79;
  font-size: 15px;
  position: relative;
  bottom: 0px;
  right: 0px;
  display: block;
}
.card-radio-wrapper .card-radio-input:checked + .card-radio-element .fa-check,
.card-radio-wrapper .card-radio-element.active .fa-check {
  display: block;
}

.alert-price-wrap {
  position: fixed;
  top: 101px;
  right: 48px;
  padding: 0.5rem 1.25rem;
  background: #34dd79;
  z-index: 10;
}
.alert-price-wrap .table {
  margin-bottom: 0;
}

.alert-price-wrap .table td {
  padding: 5px;
  color: #ffffff;
}
.alert-info-wrap {
  position: fixed;
  top: 101px;
  right: 48px;
  padding: 0.5rem 1.25rem;
  background: #63a9ff;
}
.alert-info-wrap .table {
  margin-bottom: 0;
}

.alert-info-wrap .table td {
  padding: 5px;
  color: #ffffff;
}

.inactive-italic {
  font-style: italic;
  color: lightgray;
}
/******************************************************************************/
/******************************************************************************/
/******************************************************************************/

/******************************************************************************/

/********** tooltip ***********************************************************/

/******************************************************************************/

.popover {
  max-width: 15rem;
  font-size: 0.85rem;
}
.tooltip-icon {
  display: inline-block;
  margin-left: 5px;
  font-size: 1.2rem;
}

/******************************************************************************/
/******************************************************************************/
/******************************************************************************/

.locationImages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 10px;
  grid-row-gap: 20px;
}

.locationImage {
  width: 100%;
  height: auto;
  max-width: 320px;
}

@media (max-width: 1100px) {
  .locationImages {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .locationImages {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .locationImages {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-system-package {
    width: auto !important;
  }
  .card-system-package-children {
    width: 100% !important;
  }
}

.cookiealert {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0 !important;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  border-radius: 0;
  transform: translateY(100%);
  transition: all 500ms ease-out;
  color: #ecf0f1;
  background-color: rgba(22, 37, 28, 0.6);
}

.cookiealert.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0%);
  transition-delay: 1000ms;
}

.cookiealert a {
  text-decoration: underline;
}

.cookiealert .custompopup {
  margin-left: 20px;
}

.cookiealert {
  vertical-align: baseline;
}

.cookiealert .acceptcookies {
  margin-left: 20px;
}

.btn-group-sm > .btn,
.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem !important;
  line-height: 1.5;
  border-radius: 0.2rem;
}

.cookie-a {
  color: #00d1b2;
}

.cards-system-package {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card-system-package {
  margin-top: 10px;
  margin-right: 40px;
  margin-bottom: 20px !important;
  padding: 20px;
  width: 450px;
  min-height: 200px;
  border-radius: 10px;
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.2s;
}

.card-system-package:hover {
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.4);
  transform: scale(1.01);
}

.card-link-system-package,
.card-exit-system-package,
.card-icon-system-package {
  position: relative;
  text-decoration: none;
  color: black;
}

.card-link-system-package::after {
  position: absolute;
  top: 25px;
  left: 0;
  content: '';
  width: 0%;
  height: 3px;
  background-color: rgba(32, 32, 32, 0.6);
  transition: all 0.5s;
}

.card-link-system-package:hover::after {
  width: 100%;
}

.card-icon-system-package {
  grid-row: 2/3;
  font-size: 30px;
}

.card-title-system-package {
  grid-row: 3/4;
  font-weight: 400;
  color: black;
}

.card-apply-system-package {
  grid-row: 4/5;
  align-self: center;
}

@media (max-width: 1600px) {
  .cards-system-package {
    justify-content: center;
  }
}
.card-ensys-background {
  background: url('../../../media/img/ensys-background.jpg');
  background-position: center;
  background-size: cover;
}
.package-system-configurator:hover {
  transform: scale(1.04);
}


.imageSlots {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap:wrap;
	gap:120px;
	flex-direction:row;
}

.imgGallery {
	display: none;
	flex-direction: column;
	
}
.drag-area, .drag-area-others{
  position:relative;
  border: 4px dashed black;
  width: 36vh;
  height:38vh;
  flex-wrap: wrap;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow:hidden;
  cursor: pointer;
}
.drag-area.active, .drag-area-others.active{
  border: 2px solid #fff;
}
.drag-area h5, .drag-area-others h5 {
  display: flex;
  color: black;
  text-align: center;
  width: 100%;
  height: 15%;
  margin-top: -12%;
  justify-content: center;
  align-items: center;
  font-size: 3vh;
}
.drag-area span, .drag-area-others span{
  font-size: 25px;
  font-weight: 500;
  color: #fff;
  margin: 10px 0 15px 0;
}
.drag-area button, .drag-area-others button{
  padding: 10px 25px;
  font-size: 20px;
  font-weight: 500;
  border: none;
  outline: none;
  background: #fff;
  color: #5256ad;
  border-radius: 5px;
  cursor: pointer;
}
.image{
	display:flex;
  flex-direction: row-reverse;
	flex: 1 1 auto;
	width:100%;
}
.placeholderImg {
  height:100%;
  width:100%;
  margin-bottom:0;
}
.placeholderImg > img {
  width:100%;
  height:85%;
}
.drag-area.highlight, .drag-area-others.highlight {
    border-color: #00d97e;
    border-style: solid;
}
.uploadedImage, .image > img {
	object-fit: cover;
	border-radius: 10px;
	align-self: center;
	justify-self: center;
	width: 150%;
	height: 150%;
  position: absolute;
  top: -9999px;
  bottom: -9999px;
  left: -9999px;
  right: -9999px;
  margin: auto;
}
.photoBtn {
	display: flex;
	gap: 5px;
	position: absolute;
	flex-direction: column;
	align-content: center;
	justify-content: center;
  right: 5%;
  font-size: 1.3em;
  top: 2%;
}

.othersGallery {
  cursor: default;
}

.deleteBtn:hover {
  color: #A41720!important;
}

.cancelDeleteBtn:hover{
  color: #A41720!important;
}

.previewBtn:hover {
  color: lightskyblue!important;
}

.imageMarkedForDeletion {
  color: crimson!important;
}