/**
 Details Popin
 */

#ucm-details {
  a {
    color: #00A4E4;
    text-decoration: none;
  }
}

.ucm {
  &-absolute-center {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50000;
  }

  &-mask {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 50001;
    right: 0;
    bottom: 0;
    background: #000;
    opacity: 0.5;
    filter: alpha(opacity=50);
  }

  &-popin {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    z-index: 50002;
    position: absolute;
    width: 800px;
    left: 50%;
    top: 50%;
    margin-top: auto;
    display: none;
    transform: translateX(-50%) translateY(-50%);

    &--active {
      display: block;
    }

    &--pushpop {
      width: 500px;
      transform: translateX(-50%) translateY(-50%);
    }

    background: #FFF;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: 0px none #000000;

    &-inner {
      padding: 20px;
    }

    &-close {
      position: absolute;
      right: 20px;
      top: 20px;
      color: #000;
      font-weight: bold;
    }

    &-title {
      font-size: 14px;
      text-transform: uppercase;
      font-weight: bold;
      padding: 0 0 15px;
      border-bottom: 1px solid darkgrey;
      margin-bottom: 10px;
    }

    &-head {
      padding: 10px 0 15px;
    }

	&-middle {
      padding-top: 10px;
    }

    &-foot {
      padding: 15px 0 0;
      border-top: 1px solid darkgrey;
      margin-top: 10px;
    }
  }

  &-fieldCookie {
    padding-left: 35px;
    margin-bottom: 10px;

    label {
      display: block;
      position: relative;
      margin-bottom: 1em;
    }

    input {
      position: absolute;
      left: -30px;
    }
  }

  &-submit {
    text-align: center;
    padding: 20px;

    input {
      line-height: 30px;
      height: 30px;
      padding: 0 15px;
      border-radius: 5px 5px 5px 5px;
      -moz-border-radius: 5px 5px 5px 5px;
      -webkit-border-radius: 5px 5px 5px 5px;
      border: 0px none #000000;
    }
  }
}

@include breakpoint('mobile') {
  .ucm {
    &-mask {
      display: none;
    }
    &-popin {
      transform: none;
      width: 100%;
      height: 95%;
      margin: 0;
      left: 0; top: 0;
      margin-top: 0 !important;
    }
    &--pushpop {
      transform: none;
    }
    &-fieldCookie {
      padding-left: 0;
      margin-bottom: 10px;

      label {
        display: block;
        position: relative;
        border-bottom: 1px solid #ccc;
      }

      input {
        position: relative;
        left: 0;
      }
    }
  }
}
