/***************************
Add your custom styles below
****************************/

/*My Modal*/

#modal {
  left: 50%;
  margin: -250px 0 0 -32%;
  opacity: 0;
  position: absolute;
  top: -50%;
  visibility: hidden;
  width: 62%;
  box-shadow: 0 3px 7px rgba(0,0,0,.25);
  box-sizing: border-box;
  transition: all .4s ease-in-out;
  -moz-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out
}

#modal:target {
  opacity: 1;
  top: 50%;
  visibility: visible;
}

#modal .header, #modal .footer {
  border-radius: 5px 5px 0 0
}

#modal .footer {
  border: none;
  border-radius: 0 0 5px 5px
}

#modal .copy, #modal .header, #modal .footer {
    padding: 4%;
}

.modal-content {
    background: #fff;
    position: relative;
    z-index: 999999;
    border-radius: 5px;
    color: #000;
}

#modal .copy { background: white }

#modal .overlay {
  background-color: #000;
  background: rgba(0,0,0,.62);
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10
}

.header h3, .copy p {
    margin: 0;
}

/*My Ribbons*/

/* The ribbons */

.corner-ribbon {
  font-family: 'Lato','Helvetica Neue', 'Helvetica', Arial, sans-serif;
  width: auto;
  background: #F54B5E;
  position: absolute;
  top: 25px;
  left: 0;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.4;
  letter-spacing: 0px;
  color: #fff;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  font-size: 11px;
  padding: 10px;
  font-weight: bold;
  z-index: 999999;
}

/* Custom styles */

.corner-ribbon.sticky{
  position: fixed;
}

.corner-ribbon.shadow{
  box-shadow: 0 12px 2px rgba(0,0,0,.24);
}

/* Different positions */

.corner-ribbon.top-left{
  top: 30px;
  left: 0;
  transform:none;
  -webkit-transform:none;
}
/* Colors */

.corner-ribbon.red{
  font-family: 'Lato','Helvetica Neue', 'Helvetica', Arial, sans-serif;
  background: #F54B5E;
}


