.giftcard-box {
    position:  relative;
    width:  600px;
    max-width:  100%;
    display:  block;
    margin:  0 auto;
    background: #f2f2f2;
    border-radius: 0 0 20px 20px;
    border: 2px solid #ddd;
}

.giftcard-box .loader {
    position:  absolute;
    top:  0;
    left:  0;
    width:  100%;
    height:  100%;
    z-index:  9999;
    background:  rgba(0, 0, 0, 0.8);
    border-radius: 0 0 20px 20px;
}

.giftcard-box .loader svg {
    position:  absolute;
    top: 50%;
    left:  50%;
    width: 50px;
    height:  50px;
    -webkit-transform:  translate(-50%, -50%);
    transform:  translate(-50%, -50%);
}

.giftcard-box .img img {
    width:  100%;
}

.giftcard-box form {
    padding:  20px;
    margin:  0;
    border-bottom: 1px solid #dddddd;
}

.giftcard-box form,
.giftcard-box form * {
    outline: none !important;
}

.giftcard-box form p.title {
    text-align: center;
    font-size: 24px;
    font-weight:  600;
    margin:  20px auto;
    color:  #000;
}

.giftcard-box form .buttons button,
.giftcard-box form .buttons input {
    width:  calc(25% - 4%);
    margin:  0 2%;
    text-align:  center;
    border:  4px solid #000;
    background: #000;
    color:  #fff;
    font-size: 18px;
    font-weight: 600;
    transition: 300ms;
}

.giftcard-box form .buttons input {
    line-height: 41px;
}

.giftcard-box form .buttons input::placeholder {
    font-size: 12px;
}

.giftcard-box form .buttons button:hover,
.giftcard-box form .buttons input:hover {
    border-color: rgba(0, 174, 255, 0.5);
}

.giftcard-box form .buttons .active {
    border:  4px solid #00aeff;
}

.giftcard-box form a.gift-btn,
.giftcard-box form button,
.giftcard-box form button.to-step {
    display:  block;
    text-decoration: none;
    padding: 0.6180469716em 1.41575em;
    width:  calc(50% - 4%);
    margin:  20px auto 0 auto;
    text-align:  center;
    border:  2px solid #000;
    background: #000;
    color:  #fff;
    font-size: 18px;
    font-weight: 600;
    transition: 300ms;
}

.giftcard-box form a.gift-btn:hover,
.giftcard-box form button:hover,
.giftcard-box form button.to-step:hover {
    background:  #fff;
    color:  #000;
}

.giftcard-box form .tab {
    list-style: none;
    padding: 0;
    margin:  0;
    border:  2px solid #000;
}

.giftcard-box form .tab li {
    width: 50%;
    color: #000;
    text-align: center;
    padding: 15px;
    background:  #fff;
    transition:  300ms;
    cursor: pointer;
}

.giftcard-box form .tab li span {
    display:  block;
    color: #000;
    font-size: 9px;
    width: 90%;
    line-height: 1.5em;
    margin: 10px auto 0 auto;
}

.giftcard-box form .tab li:hover {
    background:  rgba(0, 0, 0, 0.3);
}

.giftcard-box form .tab li.active {
    background:  #000;
    color: #fff;
}

.giftcard-box form .tab li.active span {
    color: #fff;
}

.giftcard-box form label {
    display:  block;
    font-weight:  600;
    font-size:  16px;
    padding:  30px 0 0 0;
}

.giftcard-box form label input,
.giftcard-box form label textarea {
    width:  100%;
    display:  block;
    border:  2px solid #ddd;
    background:  #fff;
    color:  #000;
    margin-top:  5px;
    padding: 0 10px;
    transition:  300ms;
}

.giftcard-box form label input {
    line-height:  40px;
}

.giftcard-box form label textarea {
    padding:  10px;
}

.giftcard-box form label input.error,
.giftcard-box form label textarea.error {
    border: 2px solid #e00000;
}

.giftcard-box form label textarea {
    resize:  none;
    height:  100px;
}

.giftcard-box form .steps {
    position:  relative;
    list-style: none;
    padding:  20px 0 0 0;
    margin:  0;
}

.giftcard-box form .steps:after {
    content:  " ";
    width:  100%;
    height:  2px;
    background:  #ddd;
    position:  absolute;
    top:  78%;
    left:  0;
    -webkit-transform:  translateY(-50%);
    transform:  translateY(-50%);
    z-index: 0;
}

.giftcard-box form .steps li {
    position: relative;
    width: 15px;
    height:  15px;
    border-radius:  50%;
    background: #ddd;
    margin:  0 15px;
    transition:  300ms;
    z-index:  1;
}

.giftcard-box form .steps li:after {
    content:  " ";
    width: 10px;
    height: 100%;
    position:  absolute;
    right: -10px;
    background:  #f2f2f2;
    z-index: 1;
}

.giftcard-box form .steps li:before {
    content:  " ";
    width: 10px;
    height: 100%;
    position:  absolute;
    left: -10px;
    background:  #f2f2f2;
    z-index: 1;
}

.giftcard-box form .steps li.active {
    cursor:  pointer;
    background:  #000;
}

.giftcard-box form .steps li.active:hover {
    background:  rgba(0, 0, 0, 0.8);
}

.giftcard-box form .steps li.current {
    background:  #000;
}

.giftcard-box form .summarry,
.giftcard-box form .subtitle {
    text-align:  center;
}

.giftcard-box .gf-footer p {
    padding:  20px;
    margin:  0;
    font-size: 12px;
    line-height: 1.2em;
}

.giftcard-box .gf-footer p a {
    text-decoration: underline;
}

.flex-container {
    display: flex;
    display: -ms-flexbox;
    -ms-flex-align: stretch;
    align-items: stretch;
    -ms-flex-pack: center;
    justify-content: center;
}

.flex-container.align-center {
    -ms-flex-align: center;
    align-items: center;
}

.flex-container.wrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.flex-container.no-center {
    -ms-flex-pack: start;
    justify-content: flex-start;
}

@media only screen and (max-width: 767px) {
    .flex-container {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .giftcard-box form .buttons button, .giftcard-box form .buttons input {
        width: 100%;
        margin: 1% 2%;
    }

    .container.page p, .container.page ul li, .container.page ol li {
        font-size:  10px !important;
    }

    .giftcard-box form p.title {
        font-size:  18px !important;
    }

    .giftcard-box form label {
        font-size: 14px;
    }

    .giftcard-box form textarea::placeholder,
    .giftcard-box form input::placeholder {
        font-size: 10px !important;
    }
}