$white: #fff;
$gray08: #666;
$slate: #66a;

.flymodal{
  background: orange !important;
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:999999;
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: top;
  padding:70px 30px;
  align-items: flex-start;
  animation: flymodal-fadein  200ms 1;
}

@keyframes flymodal-fadein {
  0% {opacity:0;}
  100% {opacity:1;}
}

.flymodal-content{
  border-radius: 4px;
  text-align:left;
  background: $white;
  max-width: 1600px;
  width:100%;
  flex-grow: 0;
  flex-shrink: 0;
  align-self: center;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  &.mod-small{
    max-width:400px;
  }
  &.mod-medium{
    max-width:610px;
  }
  &.mod-large{
    max-width:800px;
  }
  &.mod-limitheight{
    height: 100%;
    .flymodal-content-body{
      overflow: auto;
    }
  }
}

.flymodal-content-body{
  padding:20px 30px 30px;
  width: 100%;
  &.mod-limitheight{
    height: 100%;
  }
}

.flymodal-content-closebtn{
  cursor: pointer;
  font-size: 24px;
  color:$gray08;
  flex-grow: 0;
  &:hover{
    color:$slate;
  }
}

.flymodal-content-header{
  width: 100%;
  font-size: 22px;
  flex-shrink: 0;
  color:$slate;
  padding:20px 30px 10px;
  display: flex;
  justify-content: space-between;
}
