/*
* @Author: xiaosiyu
* @Date:   2016-09-23 16:11:30
* @Last Modified by:   zhongjiahao
* @Last Modified time: 2016-12-01 14:25:38
*/

.modal-pop {
  position: fixed;
  left: 0;
  top: 0;
  min-height:280px;
  min-width:630px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  .modal-pop__container_string {
    @include rem(padding, 10, 20);
  }
  .modal-pop__container {
    position: fixed;
    overflow: hidden;
    width: 55%;
    height: auto;
    @include rem(max-width, 1000);
    //max-height: 80%;
    padding-bottom: 0;
    border-radius: .125rem !important;
    box-shadow: rgba(0, 0, 0, 0.298039) 0px .3125rem 1.250rem 0px;
    opacity: 1;
    transform: none;
    background-color: $m7;
    margin-top: 0;
    margin-left: 0;
  }
  // .modal-pop_is-open {
    // left: 50%;
    // top: 50%;
  // }
  .modal-pop_is-close {
    left: 50%;
    @include rem(top, -800);
  }
  .modal-pop__header {
    position: relative;
    @include rem(height, 46); 
    @include rem(padding, 0, 10);
    @include rem(line-height, 35);
    text-align: center;
    background-color: $c2;
    color: $m7;
    .modal-pop__title {
      @include rem(padding, 5, 0);
      @include font-h3();
    }
  }
  .modal-pop__content {
    overflow: auto;
    margin-bottom: 59px;
    width: 100%;
    min-height: 160px;
    height: 100%;
    // max-height: calc(100% - 105px);
    @include rem(padding, 0, 20);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    .modal-pop__wrapper {
      height: 100%;
    }
  }
  .modal-pop__footer {
    position: absolute;
    @include rem(bottom, 5);
    z-index: 200;
    width: 100%;
    text-align: right;
    .btn_default {
      @include rem(margin-right, 20);
    }
  }
}
