/*  imported from portal.css 
*/

/* Copyright 2015-2017 Parity Technologies (UK) Ltd.
/* This file is part of Parity.
/*
/* Parity is free software: you can redistribute it and/or modify
/* it under the terms of the GNU General Public License as published by
/* the Free Software Foundation, either version 3 of the License, or
/* (at your option) any later version.
/*
/* Parity is distributed in the hope that it will be useful,
/* but WITHOUT ANY WARRANTY; without even the implied warranty of
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
/* GNU General Public License for more details.
/*
/* You should have received a copy of the GNU General Public License
/* along with Parity.  If not, see <http://www.gnu.org/licenses/>.
*/
/* This should be the default case, the Portal used as a stand-alone modal */
/* This is the case where popped-up over another modal, Portal or otherwise */
.portal__backOverlay___22Xpr {
  background-color: rgba(0, 0, 0, 0.35);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2500; }

.portal__overlay___2WJw9 {
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid whitesmoke;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5em;
  position: fixed; }
  .portal__overlay___2WJw9 * {
    min-width: 0; }
  .portal__overlay___2WJw9.portal__modal___2nYz_ {
    z-index: 3500;
    /* TODO: Small Portals don't adjust their overall height like we have with the
    /* rest, so really tiny screens and large small Portals (it shouldn't be be done,
    /* but may well be) will scretch to non-visible areas.
    */ }
    .portal__overlay___2WJw9.portal__modal___2nYz_:not(.portal__small___KrK-z) {
      bottom: 1.5em;
      left: 1.5em;
      right: 1.5em;
      top: 1.5em; }
    .portal__overlay___2WJw9.portal__modal___2nYz_.portal__small___KrK-z {
      margin: 1.5em auto;
      max-width: 768px;
      position: relative;
      width: 75%; }
  .portal__overlay___2WJw9.portal__popover___27M-M {
    left: 1.5em;
    top: 20vh;
    height: calc(100vh - 20vh - 1.5em);
    width: calc(100vw - 1.5em - 1.5em);
    z-index: 3600; }
  .portal__overlay___2WJw9 .portal__buttonRow___3J-5A {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    padding: 1.5em 0 0 0;
    /* button:not([disabled]) {
      color: white !important;

      svg {
        fill: white !important;
      }
    } */ }
  .portal__overlay___2WJw9 .portal__childContainer___2sp2X {
    flex: 1;
    margin: -1.5em;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 3em;
    z-index: 1; }
  .portal__overlay___2WJw9 .portal__closeIcon___3MELs {
    font-size: 3em;
    position: absolute;
    right: 1rem;
    top: 1.5rem;
    z-index: 100; }
    .portal__overlay___2WJw9 .portal__closeIcon___3MELs i {
      font-size: inherit; }
    .portal__overlay___2WJw9 .portal__closeIcon___3MELs:hover {
      cursor: pointer;
      opacity: 0.5; }
  .portal__overlay___2WJw9 .portal__titleRow___1rCb1 {
    margin-bottom: 1.5em; }
