/**
 * @package     OpenCart\Callback
 * @author      OCProfi <ocprofi@gmail.com>
 * @copyright   Copyright © 2016, OCProfi.com
 * @license http://ocprofi.com/eula/
 */
.ocpcb {
    width: calc(100% - 30px);
    max-width: 334px;
    margin: 0 auto;
    position: relative;
    background: #FFF !important;
}

.ocpcb-head {
    padding: 40px 30px 10px;
    background: #FFF !important;
    color: #000;
    font-size: 20px;
    line-height: 20px;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border: none !important;
}

.ocpcb-body {
    padding: 0 20px;
    background: #fff !important;
}

.ocpcb-head,
.ocpcb-footer {
    background: #fff !important;
}

.ocpcb-descr {
    font-size: 12px;
    line-height: 16px;
    color: #000;
    margin-bottom: 20px;
    padding: 0 20px;
}

.ocpcb-footer {
    padding: 22px 30px 20px;
    background: #eee;
    color: #000;
    border-radius: 0px 0px 8px 8px;
    -moz-border-radius: 0px 0px 8px 8px;
    -webkit-border-radius: 0px 0px 8px 8px;
    border: 0px solid #000000;
}

.ocpcb-control {
    display: block;
    width: 100%;
    height: 50px;
    padding: 0 12px;
    font-size: 14px;
    line-height: 50px;
    color: #2E477D;
    background-color: transparent;
    background-image: none;
    border: 1px solid #eee;
    border-radius: 4px;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: border-color ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s;
    transition: border-color ease-in-out .15s;
    text-align: left !important;
    padding-left: 120px;
    padding-right: 15px;
}

.ocpcb-control::placeholder {
    color: #2E477D;
    opacity: 1;
}

.ocpcb-form-group {
    padding: 0;
    position: relative;
    text-align: left;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: " ";
}

@media only screen and (min-width : 770px) {
    .ocpcb {
        max-width: 740px;
        width: 740px !important;
    }

    .ocpcb-head {
        padding: 80px 30px 20px;
        font-size: 26px;
        line-height: 26px;
    }

    .ocpcb-descr {
        margin-bottom: 30px;
        font-size: 15px;
        line-height: 24px;
        letter-spacing: 0.5px;
    }

    .ocpcb-control {
        height: 60px;
        line-height: normal;
        padding-top: 20px;
        padding-left: 16px;
    }

    .ocpcb-footer {
        padding: 30px 30px 80px;
    }

    .ocpcb-form-group {
        max-width: 388px;
        margin-left: auto;
        margin-right: auto;
    }

    .ocpcb-comment .ocpcb-control {
        padding-top: 17px;
        padding-left: 16px;
    }

}

.ocpcb .btn {
    display: inline-block;
    height: 40px;
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 40px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    text-shadow: none;
    width: 180px !important;
    font-weight: normal;
}

.ocpcb .btn:hover {
    color: #2e477d;
}

@media only screen and (min-width : 770px) {
    .ocpcb .btn {
        width: 240px !important;
        height: 50px !important;
        font-size: 16px;
    }
}

.ocpcb .btn:hover {
    text-decoration: none;
}

.ocpcb .btn:active {
    background-image: none;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #2E477D;
}

.ocpcb .btn-success {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
    font-weight: normal;
}

.ocpcb .btn-success:hover {
    background-color: #449d44;
    border-color: #398439;
}

.ocpcb .btn-success:active {
    background-color: #449d44;
    border-color: #398439;
}

.ocpcb .btn-success:focus {
    color: #fff;
    background-color: #449d44;
    border-color: #255625;
}

.ocpcb .btn-block {
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s;
}

.ocpcb-comment .ocpcb-control {
    height: 50px;
    resize: none;
}

.ocp-control-label {
    margin-bottom: 0;
    font-size: 13px;
    font-weight: normal;
    position: relative;
    background: transparent;
    position: absolute;
    top: 10px;
    padding-left: 16px;
    min-width: 80px;
    color: #A5A5A5;
    opacity: 0.8;
}

/* .ocp-control-label:after{
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: -23px;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: #EEEEEE;
} */
@media only screen and (min-width : 770px) {
    .ocp-control-label {
        font-size: 12px;
        min-width: 143px;
    }

    .ocp-control-label:after {
        right: -30px;
    }

    .mfpocp-close .icon-close {
        top: 11px !important;
        left: auto;
        right: 11px;
    }

    .ocpcb-comment .ocpcb-control {
        padding-top: 17px;
    }
}

.ocpcb-text-right {
    text-align: right;
}

.ocpcb .btn-danger {
    font-weight: normal;
}

/* div.ocpcb-required .ocp-control-label:before {
    content: '*';
    color: #000;
    font-weight: normal;
    position: absolute;
    left: 100%;
    top: 0;
} */
.has-error .ocpcb-control {
    border-color: #a94442;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.has-error .ocpcb-control:focus {
    border-color: #843534;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.ocpcb-error {
    color: #a94442;
}

.ocpcb-footer p {
    line-height: 13px;
    text-align: center;
}

.ocpcb-footer p input {
    margin: 0;
    vertical-align: middle;
}

.ocpcb-footer p a {
    text-decoration: underline;
}

.ocpcb-footer p a:hover {
    text-decoration: none;
}

.ocpcb-btn {
    cursor: pointer;
}

/*@media (max-width: 400px) {
    .ocpcb {
        width: 320px;
    }
}
@media (max-width: 320px) {
    .ocpcb {
        width: 300px;
    }
}*/