[pop-up='modal'] {
    position: fixed;
    z-index: 9998;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: table;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    display: none;
}

[pop-up='mask'] {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    opacity: 0;
    -webkit-animation: maskIntro 300ms ease-in-out forwards;
            animation: maskIntro 300ms ease-in-out forwards;
    background-color: rgba(0, 0, 0, 0.8);
}

[pop-up='wrapper'] {
    width: 100%;
    display: block;
    max-height: 100vh;
    overflow-y: auto;
    vertical-align: middle;
    -webkit-transform: translate3d(0px, -300px, 0px);
            transform: translate3d(0px, -300px, 0px);
    -webkit-animation: popupIntro 300ms ease-in-out forwards 200ms;
            animation: popupIntro 300ms ease-in-out forwards 200ms;
}

[pop-up='container'] {
    position: relative;
    max-width: 600px;
    margin: 30px auto 60px auto;
    background-color: #fff;
    -webkit-box-shadow: 0 2px 28px rgba(0, 0, 0, .05);
            box-shadow: 0 2px 28px rgba(0, 0, 0, .05);
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

@-webkit-keyframes maskIntro {
    to {
        opacity: 1;
    }
}

@keyframes maskIntro {
    to {
        opacity: 1;
    }
}

@-webkit-keyframes popupIntro {
    to {
        -webkit-transform: translate3d(0px, 0px, 0px);
                transform: translate3d(0px, 0px, 0px);
    }
}

@keyframes popupIntro {
    to {
        -webkit-transform: translate3d(0px, 0px, 0px);
                transform: translate3d(0px, 0px, 0px);
    }
}

[pop-up='container'] h1 {
    font-weight: bold;
    color: #000;
    font-size: 24px;
    margin: 0;
    text-align: center;
    line-height: 1.5;
    text-transform: none;
}

[pop-up='body'] {
    padding: 40px;
}

[pop-up='close'] {
  padding: 0;
  z-index: 1;
  position: absolute;
  top: -20px;
  right: -20px;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background-color: #FF2731;
  background-image: none;
  box-shadow: none;
  text-shadow: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  outline: 0 !important;
  -webkit-transition: .2s ease-in-out all;
  transition: .2s ease-in-out all;
}

[pop-up='close']:hover {
    background-color: #c80303;
}

[pop-up='buttons'] {
    text-align: center;
    min-width: 100%;
    margin: 30px 0 0 0;
}

body[data-template='zero'] [pop-up='modal'] button[type='button'].close.close-modal {
  margin-top: -19px;
  margin-right: -19px;
}

body[data-template='confboilerplate'] [pop-up='modal'] a {
    -webkit-transition: 300ms all;
    transition: 300ms all;
    background: #fddd52;
    background: -moz-linear-gradient(top, #fddd52 0%, #f0a303 100%);
    background: -webkit-linear-gradient(top, #fddd52 0%,#f0a303 100%);
    background: linear-gradient(to bottom, #fddd52 0%,#f0a303 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fddd52', endColorstr='#f0a303',GradientType=0 );
    border-radius: 40px;
    color: #2b2b2b;
}

    body[data-template='confboilerplate'] [pop-up='modal'] a:hover {
      -webkit-transform: translate3d(0px, 2px, 0px);
              transform: translate3d(0px, 2px, 0px);
    }

body[data-template='template-1'] [pop-up='modal'] a {
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 4px;
    background: #42c0d6;
    background: -moz-linear-gradient(top, #42c0d6 0%, #3294a6 100%);
    background: -webkit-linear-gradient(top, #42c0d6 0%,#3294a6 100%);
    background: linear-gradient(to bottom, #42c0d6 0%,#3294a6 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#42c0d6', endColorstr='#3294a6',GradientType=0 );
    border: 1px solid #137384;
    color: #FFFFFF;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

    body[data-template='template-1'] [pop-up='modal'] a:hover {
        background-color: #258799;
    }

body[data-template='simples'] [pop-up='modal'] a {
    background-color: #5BB75B;
    border-radius: 4px;
}

@media (max-width: 767px) {
    [pop-up='container'] {
        width: calc(100% - 45px);
    }
}

@media (min-width: 768px) {
    [pop-up='container'] {
        width: calc(100% - 40px);
    }
}
