/**
 * Last updated: 21/04/2016
 */

/**
 * Normalize
 */

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body.hocwp {
    margin: 0;
}

.hocwp article,
.hocwp aside,
.hocwp details,
.hocwp figcaption,
.hocwp figure,
.hocwp footer,
.hocwp header,
.hocwp main,
.hocwp menu,
.hocwp nav,
.hocwp section,
.hocwp summary {
    display: block;
}

.hocwp audio,
.hocwp canvas,
.hocwp progress,
.hocwp video {
    display: inline-block;
    vertical-align: baseline;
}

.hocwp audio:not([controls]) {
    display: none;
    height: 0;
}

.hocwp [hidden],
.hocwp template {
    display: none;
}

.hocwp abbr[title] {
    border-bottom: 1px dotted;
    text-decoration: none;
}

.hocwp b,
.hocwp strong {
    font-weight: 700;
}

.hocwp dfn {
    font-style: italic;
}

.hocwp mark {
    background: #ff0;
    color: #000;
}

.hocwp small {
    font-size: 80%;
}

.hocwp sub,
.hocwp sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

.hocwp sup {
    top: -0.5em;
}

.hocwp sub {
    bottom: -0.25em;
}

.hocwp img {
    border: 0;
}

.hocwp svg:not(:root) {
    overflow: hidden;
}

.hocwp figure {
    margin: 0;
}

.hocwp hr {
    box-sizing: content-box;
    height: 0;
}

.hocwp pre {
    overflow: auto;
}

.hocwp code,
.hocwp kbd,
.hocwp pre,
.hocwp samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/*
 * Stop using since 05/09/2016
 */

/*
.hocwp button,
.hocwp input,
.hocwp optgroup,
.hocwp select,
.hocwp textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}
*/

.hocwp button,
.hocwp select {
    text-transform: none;
}

.hocwp button {
    overflow: visible;
}

.hocwp button,
.hocwp input,
.hocwp select,
.hocwp textarea {
    max-width: 100%;
}

.hocwp button,
.hocwp html input[type="button"],
.hocwp input[type="reset"],
.hocwp input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

.hocwp button[disabled],
.hocwp html input[disabled] {
    cursor: default;
    opacity: .5;
}

.hocwp button::-moz-focus-inner,
.hocwp input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.hocwp input {
    line-height: normal;
}

.hocwp input[type="checkbox"],
.hocwp input[type="radio"] {
    box-sizing: border-box;
    margin-right: 0.4375em;
    padding: 0;
}

.hocwp input[type="number"]::-webkit-inner-spin-button,
.hocwp input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

.hocwp input[type="search"] {
    box-shadow: 0 1px 2px #eee inset;
    -webkit-appearance: textfield;
}

.hocwp input[type="search"]::-webkit-search-cancel-button,
.hocwp input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

.hocwp fieldset {
    border: 1px solid #e8e8e8;
    margin: 0 0 1.75em;
    padding: 0.875em;
}

.hocwp fieldset > :last-child {
    margin-bottom: 0;
}

.hocwp legend {
    border: 0 none;
    display: inline-block;
    margin: 0;
    padding: 0 10px;
    width: auto;
}

.hocwp textarea {
    overflow: auto;
    vertical-align: top;
}

.hocwp optgroup {
    font-weight: 700;
}

.hocwp table {
    border-collapse: collapse;
    border-spacing: 0;
}

/**
 * Global
 */

.font-weight-normal {
    font-weight: 400;
}

.hocwp img {
    height: auto;
    max-width: 100%;
}

.hocwp-widget .hocwp-number.image-size,
.hocwp-number.image-size {
    display: inline-block;
    max-width: 100px;
    width: auto;
}

.hocwp-number.image-size + span {
    display: inline-block;
    margin: 0 5px;
}

label.label-input-size {
    display: inline-block;
    margin-right: 10px;
}

.disabled {
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.65;
    pointer-events: none;
    text-decoration: none;
}

.hocwp .no-margin,
.hocwp .margin-0 {
    margin: 0;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-top-15 {
    margin-top: 15px;
}

.margin-bottom-15 {
    margin-bottom: 15px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.hocwp .no-padding,
.hocwp .padding-0 {
    padding: 0;
}

.no-padding-left {
    padding-left: 0 !important;
}

.padding-top-10 {
    padding-top: 10px;
}

.padding-bottom-10 {
    padding-bottom: 10px;
}

.padding-top-15 {
    padding-top: 15px;
}

.padding-bottom-15 {
    padding-bottom: 15px;
}

.no-padding-right {
    padding-right: 0 !important;
}

.ajax-loading.full-page {
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.ajax-loading.full-page img {
    background-color: #000;
    border-radius: 10px;
    box-sizing: content-box;
    height: auto;
    left: 50%;
    margin-left: -16px;
    margin-top: -16px;
    padding: 20px;
    position: relative;
    top: 50%;
    width: 32px;
}

.ajax-loading.full-page.active {
    display: block;
}

.flip-horizontal {
    -webkit-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
}

.no-pointer-events {
    pointer-events: none;
}

.hocwp .disable-selection,
.hocwp .noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/**
 * Backgrounds
 */

.bg-success {

}

/**
 * Buttons
 */

.hocwp form .hocwp-button,
.hocwp .hocwp-button {
    border-radius: 3px;
    display: inline-block;
    line-height: 40px;
    padding: 0 15px;
    vertical-align: top;
}

.hocwp .hocwp-button.btn-grey,
.hocwp form .hocwp-button.btn-grey {
    background: #e7e7e7 none repeat scroll 0 0;
    color: #333;
}

/**
 * Icons
 */

.icon-circle {
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    height: 14px;
    width: 14px;
}

.icon-circle-success {
    background-color: #7ad03a;
}

.button img.hocwp-icon,
button img.hocwp-icon {
    display: inline-block;
    height: 18px;
    margin-right: 5px;
    padding: 0;
    vertical-align: -4px;
    width: 18px;
}

/*
 * Upload
 */

input[type="file"].hocwp-field-upload + .image-preview {
    display: none;
    margin-top: 10px;
}

input[type="file"].hocwp-field-upload + .image-preview img {
    border: 4px solid #ddd;
    display: inline-block;
    height: 140px;
    margin-bottom: 15px;
    margin-right: 15px;
    width: 210px;
}

/*
 * Modal
 */

.modal-dialog {
    padding-top: 5%;
}

.admin-bar .modal-dialog {
    padding-top: 6%;
}

.single-product.woocommerce .modal.product-fast-buy .modal-dialog {
    padding-top: 2%;
}

@media only screen and (max-width: 780px) {
    .admin-bar .modal-dialog {
        padding-top: 15%;
    }

    .admin-bar.single-product.woocommerce .modal.product-fast-buy .modal-dialog {
        padding-top: 15%;
    }
}

@media only screen and (max-width: 360px) {
    .admin-bar .modal-dialog {
        padding-top: 15%;
    }

    .admin-bar.single-product.woocommerce .modal.product-fast-buy .modal-dialog {
        padding-top: 15%;
    }
}

/**
 * Columns
 */

.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
    min-height: 1px;
    padding-left: 10px;
    padding-right: 10px;
    position: relative;
}

.col-xs-15,
.col-sm-15,
.col-md-15,
.col-lg-15 {
    float: left;
}

.col-xs-15 {
    width: 20%;
}

@media (min-width: 768px) {
    .col-sm-15 {
        width: 20%;
    }
}

@media (min-width: 992px) {
    .col-md-15 {
        width: 20%;
    }
}

@media (min-width: 1200px) {
    .col-lg-15 {
        width: 20%;
    }
}

/**
 * Media Queries
 */

@-ms-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}