/*  imported from styles.scss  */

.ipCam {
  width: 100%;
  padding: 0 !important; }
  .ipCam > object {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border-radius: 2px; }
    .ipCam > object > .error {
      font-size: 1.3em;
      font-weight: 700; }
  .ipCam > .overlay {
    position: absolute;
    height: 2.5rem;
    left: 3px;
    right: 3px;
    bottom: 2px;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    text-transform: none; }

.ipCamCentered {
  display: flex;
  align-items: center; }
  .ipCamCentered > * {
    width: 100%; }

.ipCamModal {
  width: 65vw;
  height: 65vw;
  max-height: 80vh;
  min-height: 60vh;
  overflow: hidden; }
  .ipCamModal > .modal-content {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    transition: height 1s ease-in-out; }
    .ipCamModal > .modal-content > div {
      position: relative;
      top: 2.7rem;
      height: 100%;
      min-height: 24.5rem;
      transition: height 1s ease-in-out; }
      .ipCamModal > .modal-content > div > object {
        visibility: visible !important;
        object-fit: cover;
        height: 100%;
        max-height: 60vh;
        min-height: 35vh;
        width: 100%;
        border-radius: 0.3rem;
        transition: height 1s ease-in-out; }
        .ipCamModal > .modal-content > div > object > .error {
          font-size: 1.3em;
          font-weight: 700; }
      .ipCamModal > .modal-content > div > .controls {
        visibility: visible !important;
        position: absolute;
        top: 0;
        bottom: 6px;
        left: 0;
        right: 0; }
        .ipCamModal > .modal-content > div > .controls .btn-flat {
          width: 100%;
          height: 2.4rem;
          padding: 0;
          background-color: rgba(0, 0, 0, 0.3);
          color: white; }
          .ipCamModal > .modal-content > div > .controls .btn-flat > i {
            font-size: 2em; }
        .ipCamModal > .modal-content > div > .controls > .top {
          position: absolute;
          top: 1rem;
          left: calc(50% - 2rem);
          right: calc(50% - 2rem);
          height: 3rem; }
        .ipCamModal > .modal-content > div > .controls > .bottom {
          position: absolute;
          bottom: 1rem;
          left: calc(50% - 2rem);
          right: calc(50% - 2rem);
          height: 3rem; }
        .ipCamModal > .modal-content > div > .controls > .left {
          position: absolute;
          top: calc(50% - 1.2rem);
          left: 1rem;
          bottom: calc(50% - 1.2rem);
          width: 3rem; }
        .ipCamModal > .modal-content > div > .controls > .right {
          position: absolute;
          top: calc(50% - 1.2rem);
          right: 1rem;
          bottom: calc(50% - 1.2rem);
          width: 3rem; }
        .ipCamModal > .modal-content > div > .controls > .led {
          background-color: rgba(0, 0, 0, 0.3);
          border-radius: 3px;
          position: absolute;
          height: 2.4rem;
          width: 16rem;
          left: 1rem;
          top: -2.8rem;
          display: flex;
          flex-direction: row; }
          .ipCamModal > .modal-content > div > .controls > .led i {
            padding: 0.25em 0.2em; }
          .ipCamModal > .modal-content > div > .controls > .led .btn-flat {
            background-color: transparent;
            padding-left: 0.6em;
            padding-right: 0.6em; }
        .ipCamModal > .modal-content > div > .controls > .presets {
          background-color: rgba(0, 0, 0, 0.3);
          border-radius: 3px;
          position: absolute;
          height: 2.4rem;
          left: 1rem;
          bottom: -2.8rem;
          width: 75%;
          display: flex;
          flex-direction: row; }
          .ipCamModal > .modal-content > div > .controls > .presets .btn-flat {
            background-color: transparent;
            padding-left: 0.6em;
            padding-right: 0.6em; }
  .ipCamModal > .modal-footer {
    background-color: transparent;
    position: absolute;
    bottom: 0; }

@media only screen and (max-width: 992px) {
  .ipCamModal {
    width: 80vw;
    height: 88vw; } }

@media only screen and (max-width: 600px) {
  .ipCamModal {
    width: 94vw;
    height: 100vw; } }

#ipcam_settings .collection a.collection-item.add.big-avatar i.material-icons {
  height: 1em;
  line-height: 1em; }

#ipcam_settings .collection a.collection-item.avatar:not(.add) {
  min-height: inherit; }

#ipcam_settings .collection a.collection-item.avatar i.material-icons {
  height: 42px;
  line-height: 42px;
  font-size: 24px; }
