﻿/*label {
    width: 20%;
}*/

label.limit20 {
    display: inline-flex;
    width: 20%;
    vertical-align: top;
    padding-right: 1em;
}

input[type="radio"] {
    width: 22px;
    height: 22px;
    margin: calc(0.75em - 11px) 0.25rem 0 0;
    vertical-align: top;
    border: 2px solid #ddd;
    border-radius: 4px;
    background: #fff no-repeat center center;
}

    input[type="radio"] + label {
        margin-bottom: 0.8em;
        margin-right: 2em;
    }

input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin-right: 0.5em;
    vertical-align: top;
    border: 2px solid #ddd;
    border-radius: 4px;
    background: #fff no-repeat center center;
}

    input[type="checkbox"] + label {
        margin-bottom: 0.8em;
        margin-right: 2em;
    }

.form-control {
    display: inline-flex;
    flex-grow: 1;
    margin: 0px;
}

.form-group {
    display: flex;
    width: 100%;
    margin-bottom: 1em;
}

fieldset {
    margin-bottom: 2em;
    background-color: #FFDEE9;
    background-image: linear-gradient(0deg, #FFDEE9 0%, #B5FFFC 100%);
    background-image: -webkit-linear-gradient(0deg, #FFDEE9 0%, #B5FFFC 100%);
    background-image: -moz-linear-gradient(0deg, #FFDEE9 0%, #B5FFFC 100%);
    background-image: -o-linear-gradient(0deg, #FFDEE9 0%, #B5FFFC 100%);
    border-radius: 0.5em;
    padding: 1em;
}

    fieldset legend {
        text-align: right;
    }

.callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
    text-align: left;
}


.callout-warning {
    border-left-color: #f0ad4e;
    position: relative;
    background-color: #ffffff;
}

    .callout-warning :before,
    .callout-warning :after {
        content: '';
        display: block;
        position: absolute;
        left: -2px;
        top: -2px;
        background: linear-gradient( 45deg, rgba(251, 0, 148, 0.1), rgba(0, 0, 255, 0.1), rgba(0, 255, 0, 0.1), rgba(255, 255, 0, 0.1), rgba(255, 0, 0, 0.1), rgba(251, 0, 148, 0.1), rgba(0, 0, 255, 0.1), rgba(0, 255, 0, 0.1), rgba(255, 255, 0, 0.1), rgba(255, 0, 0, 0.1) );
        background-size: 400%;
        width: calc(100% + 1px);
        height: calc(100% + 1px);
        z-index: -1;
        animation: steam 20s linear infinite;
    }

    .callout-warning :after {
        filter: blur(10px);
    }

@keyframes steam {
    0% {
        background-position: 0 0;
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}

.invalid-feedback {
    padding-left: 17%;
    margin-bottom: 1em;
    margin-top:-0.5em;
}


.checkbox {
    font-size: 1rem;
    line-height: 1.5em;
    padding: 6px;
    padding-left: 17%;
}

input[type=checkbox] {
    -ms-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -o-transform: scale(1.5);
    transform: scale(1.5);
    margin-right: 0.5 em;
}


.eFormRadio input[type="radio"] {
    opacity: 0;
    position: fixed;
    width: 0;
}

.eFormRadio label {
    display: inline-block;
    background-color: #ddd;
    color: #666;
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-right: 0.5em;
    width: auto;
}

.eFormRadio input[type="radio"]:disabled + label {
    background: #ffffff;
    color: #dddddd;
}

.eFormRadio input[type="radio"]:checked + label {
    color: #fff;
    background-color: #008b86;
    border-color: #008b86;
}

.eFormRadio input[type="radio"]:focus + label {
    border: 1px solid #444;
}
 

.btn-hover {
    width: 200px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    margin: 20px;
    height: 55px;
    text-align: center;
    border: none;
    background-size: 300% 100%;
    border-radius: 50px;
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.btn-hover:disabled {
    width: 200px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #666;
    cursor: not-allowed;
    margin: 20px;
    height: 55px;
    text-align: center;
    border: none;
    background-size: 300% 100%;
    border-radius: 50px;
    moz-transition: all 0s ease-in-out;
    -o-transition: all 0s ease-in-out;
    -webkit-transition: all 0s ease-in-out;
    transition: all 0s ease-in-out;
}

    .btn-hover:disabled:hover {
        background-position: 100% 0;
        moz-transition: all 0s ease-in-out;
        -o-transition: all 0s ease-in-out;
        -webkit-transition: all 0s ease-in-out;
        transition: all 0s ease-in-out;
    }

    

    .btn-hover:hover {
        background-position: 100% 0;
        moz-transition: all .4s ease-in-out;
        -o-transition: all .4s ease-in-out;
        -webkit-transition: all .4s ease-in-out;
        transition: all .4s ease-in-out;
    }

    .btn-hover:focus {
        outline: none;
    }

    .btn-hover.color-0 {
        background-image: linear-gradient(to right, #0c4d68, #1a5e3d, #0f442b, #06180f);
        /*box-shadow: 0 4px 15px 0 rgba(49, 196, 190, 0.75);*/
    }

    .btn-hover.color-1 {
        background-image: linear-gradient(to right, #25aae1, #40e495, #30dd8a, #2bb673);
        box-shadow: 0 4px 15px 0 rgba(49, 196, 190, 0.75);
    }

    .btn-hover.color-2 {
        background-image: linear-gradient(to right, #f5ce62, #e43603, #fa7199, #e85a19);
        box-shadow: 0 4px 15px 0 rgba(229, 66, 10, 0.75);
    }

    .btn-hover.color-3 {
        background-image: linear-gradient(to right, #667eea, #764ba2, #6B8DD6, #8E37D7);
        box-shadow: 0 4px 15px 0 rgba(116, 79, 168, 0.75);
    }


    .btn-hover.color-4 {
        background-image: linear-gradient(to right, #fc6076, #ff9a44, #ef9d43, #e75516);
        box-shadow: 0 4px 15px 0 rgba(252, 104, 110, 0.75);
    }

    .btn-hover.color-5 {
        background-image: linear-gradient(to right, #0ba360, #3cba92, #30dd8a, #2bb673);
        box-shadow: 0 4px 15px 0 rgba(23, 168, 108, 0.75);
    }

    .btn-hover.color-6 {
        background-image: linear-gradient(to right, #009245, #FCEE21, #00A8C5, #D9E021);
        box-shadow: 0 4px 15px 0 rgba(83, 176, 57, 0.75);
    }

    .btn-hover.color-7 {
        background-image: linear-gradient(to right, #6253e1, #852D91, #A3A1FF, #F24645);
        box-shadow: 0 4px 15px 0 rgba(126, 52, 161, 0.75);
    }

    .btn-hover.color-8 {
        background-image: linear-gradient(to right, #29323c, #485563, #2b5876, #4e4376);
        box-shadow: 0 4px 15px 0 rgba(45, 54, 65, 0.75);
    }

    .btn-hover.color-9 {
        background-image: linear-gradient(to right, #25aae1, #4481eb, #04befe, #3f86ed);
        box-shadow: 0 4px 15px 0 rgba(65, 132, 234, 0.75);
    }

    .btn-hover.color-10 {
        background-image: linear-gradient(to right, #ed6ea0, #ec8c69, #f7186a, #FBB03B);
        box-shadow: 0 4px 15px 0 rgba(236, 116, 149, 0.75);
    }

    .btn-hover.color-11 {
        background-image: linear-gradient(to right, #eb3941, #f15e64, #e14e53, #e2373f);
        box-shadow: 0 5px 15px rgba(242, 97, 103, .4);
    }

    .btn-hover.color-3:disabled {
        background-image: none;
        background-color: #666;
    }

.mobile_only_label {
    display: none;
}

input[type=file] {
    height: 2.3em;
}

.checkbox.checkboxlist input[type="checkbox"] {
    position: absolute;
    margin-top: 0.3rem;
    margin-left: -1.25rem;
}

.checkbox.checkboxlist label {
    margin-bottom: 0;
    display: inline-block;
}

fieldset legend {
    font-size: inherit;
}

fieldset .checkbox {
    position: relative;
    display: block;
    padding-left: 1.25rem;
}


/* products in from*/
.product_itmes {
    width: 100%;
}

.product_itmes li {
    list-style: none;
    margin-left: 0px;
    padding-left: 0px;
}

    .product_itmes li input {
        margin-top: 0.5em;
    }

    .product_itmes li label {
        width: calc(100% - 4em);
    }

.product_item {
    display: flex;
    flex: 0 0 100%;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
}

.product_pic {
    height: 100px;
}
    .product_pic img {
        height: 100px;
    }

.product_info {
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-grow: 1;
    background-color: #fff;
    padding: 5px;
}


.product_name {
    flex: 1 1 auto;
}

.product_desc {
    flex: 1 1 auto;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 320px;
}

.product_price {
    flex: 1 1 auto;
}

.product_price::before {
    content: 'MOP ';
}

.handcraft_item {
    display: flex;
    flex: 0 0 100%;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
}

.handcraft_pic {
    height: 100px;
}

    .handcraft_pic img {
        height: 100px;
    }

.handcraft_info {
    min-height: 100px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-grow: 1;
    background-color: #fff;
    padding: 5px;
}


.handcraft_name {
    flex: 1 1 auto;
}

.handcraft_desc {
    flex: 1 1 auto;
}

.handcraft_buget {
    flex: 1 1 auto;
    width: 100%;
}

.buget {
    flex: 1 1 auto;
    flex-direction: row
}


    .buget .item {
        display: inline-flex;
        width: 70%;
    }


    .buget .price {
        display: inline-flex;
        width: 30%;
    }


        .buget .price::before {
            content: 'MOP ';
        }


@media (max-width: 575.98px) {
    .invalid-feedback {
        padding-left: 0%;
    }

    .mobile_only_label {
        display:flex;
        color: #333333;
        margin-bottom: 1em;
        margin-top: -1em;
        font-size: 0.7em;
    }
}
