/**
 * Gootools application extra CSS
 */

/***************************************************************/
/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}
/************************ // ***********************************/
/* SHAKE Effect */
 .shake {
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}

/* /SHAKE Effect */

img.cit-fix {
  max-height: 250px;
  object-fit: contain;
  background-color:#cacaca
}

.toast-body {
  white-space: pre-line;
}

div.img-media-lib {
  width:150px;
  height:150px;
  background-color: #e7e9eb;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  cursor: pointer;
}

div.slider-center-pos {
  top: 50%;
  right: 50%;
  transform: translate(50%,-50%);
}

div.slider-itemizer {
  width:80vw;
  height:80vh;
  background-color:transparent;
  margin:auto;
}

div.media-select {
  border-style: solid !important;
  border-width: 6px !important;
  border-color: aqua !important;
}

div.img-media-selected {
  width:50px;
  height:50px;
  background-color: #e7e9eb;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  /* cursor: pointer; */
}

div#sliderContainer {
  display:none;

  position: fixed;
	left: 0px;
	top: 0px;
	height:100%;
	width:100%;
	margin:0px auto;
	z-index: 1100; /* old 110 */
	background-color:rgba(0, 0, 0, 0.8);
}

div.card_loader {
  position: absolute;
  background-color: white;
  z-index: 10;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
}

.odd{
  background-color: #d9d9d9;
}

div.goo_ellipses {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

div.empty_res {
  min-height:250px;
}

div.result_spinner_container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background-color: rgba(0,0,0,0.5); /*dim the background*/
}

.spin_inside {
  position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/********/
.spinner {
  height: 60px;
  width: 60px;
  margin: auto;
  display: flex;
  position: absolute;
  -webkit-animation: rotation .6s infinite linear;
  -moz-animation: rotation .6s infinite linear;
  -o-animation: rotation .6s infinite linear;
  animation: rotation .6s infinite linear;
  border-left: 6px solid rgba(0, 174, 239, .15);
  border-right: 6px solid rgba(0, 174, 239, .15);
  border-bottom: 6px solid rgba(0, 174, 239, .15);
  border-top: 6px solid rgba(0, 174, 239, .8);
  border-radius: 100%;
}

@-webkit-keyframes rotation {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(359deg);
  }
}

@-moz-keyframes rotation {
  from {
    -moz-transform: rotate(0deg);
  }
  to {
    -moz-transform: rotate(359deg);
  }
}

@-o-keyframes rotation {
  from {
    -o-transform: rotate(0deg);
  }
  to {
    -o-transform: rotate(359deg);
  }
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

#overlay_list {
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.1);
  z-index: 2;
  cursor: pointer;
}

/* *********** Social rules ****** */

.btn-cont > button {
  background-color: transparent;
  color: gray;
}

.btn-cont > button:hover {
  background-color: #03c3ec;
  color: white;
}

img.img-post-profile {
  width:40px;
  height:40px;
  border-radius: 50%;
  transition: all 0.2s;
}

img.img-post-profile:hover {
  opacity:50%;
  cursor:pointer;
}

div.central-pane {
  min-width:560px;
}


/********* TEXT AREA INPUT (POST) ************/
*,
*::before,
*::after {
  box-sizing: border-box;
}

.input-sizer {
  display: inline-grid;
  vertical-align: top;
  align-items: center;
  position: relative;
  /* border: solid 1px; */
  padding: .25em .5em;
  margin: 5px;

  /* G ADDED */
  font-size: 1.25em;
  font-weight: normal;

  &.stacked {
    padding: .5em;
    align-items: stretch;

    &::after,
    input,
    textarea {
      grid-area: 2 / 1;
    }
  }

  &::after,
  input,
  textarea {
    width: auto;
    min-width: 1em;
    grid-area: 1 / 2;
    font: inherit;
    padding: 0.25em;
    margin: 0;
    resize: none;
    background: none;
    appearance: none;
    border: none;
  }

  span {
    padding: 0.25em;
  }

  &::after {
    content: attr(data-value) ' ';
    visibility: hidden;
    white-space: pre-wrap;
  }

  &:focus-within {
    /*  outline: solid 1px blue;
    box-shadow: 4px 4px 0px blue; */

    > span { color: blue; }

    textarea:focus,
    input:focus {
      outline: none;
    }
  }
}

.input-sizer {
  /* box-shadow: 4px 4px 0px #000; */
  > span {
    text-transform: uppercase;
    font-size: 0.8em;
    font-weight: bold;
    /* text-shadow: 2px 2px 0 rgba(0,0,0,.15); */
  }
}

/********* END <<---- TEXT AREA INPUT (POST) ************/

.w-85 {
  width: 85% !important;
}

a.left-pane {
  color:inherit;
}

.profile_background {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: relative;
  padding-bottom: 33.33%;
  background-color: gray;

}

.profile_pic {
  position: absolute;
  left: 3%;
  background-color: black;
  width: 120px;
  height: 120px;
  bottom: 0;
  border: 2px solid white;
  transform: translateY(50%);
  border-radius: 50%;

  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover; /* Resize the background image to cover the entire container */
}

/* prevent borders around images without [src] value/attribute */
img[src=""],
img:not([src]){
  opacity: 0;
}

img[src="*"]{
  opacity: 1;
}

/** **** ***            VESTI CSS ***            ***                 */
div.nav-button {
  aspect-ratio: 1 / 1;
  font-size:1.3rem;
  cursor: pointer;
}

div.active-nav {
  border-width: 4px !important;
  background-color: #ececf9;
}
