@charset "utf-8";
/* CSS Document */

/* Bootstrap - Overrides */
.form-group {
    position: relative;

    margin-bottom: 30px;
}
.form-control {
    border: none;
}
.form-control:focus {
    background: #f8f8f8;
    border: 1px solid #dee2e6;
    box-shadow: none !important;
}
.form-control-file {
    display: none;
}

::placeholder {
    color: #959595;
}

label {
    font-size: 16px;
    font-weight: 600;

    width: 100%;

    margin-bottom: 2px;
}

/* Form Validation */
.form .required {
    font-size: 18px;
    font-weight: 700;
    color: #ce4257;

    position: absolute;
    right: 0;
    top: 2px;
}

.form .is-invalid {
    background-image: none;
    border: 1px solid #dee2e6 !important;

    padding-right: 15px;
}

.form .errorMsg {
    position: relative;

    color: #b72961;
    font-size: 14px;

    width: 100%;

    margin: 0;
    padding-top: 5px;
}

#totalError {
    font-size: 16px;
}
.imageError div {
    background: #ce4257;
    border-radius: 12px 12px 0 0;

    font-family: "Outfit", sans-serif;
    font-size: 12px;
    color: #fff;

    padding: 5px 10px;

    position: absolute;

    width: 100%;
}
    .imageError.success div {
        background: #44AC8E;
    }

/* Form - Inputs */
.form-field {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;

    padding: 0 15px;

    width: 100%;
    height: 50px;
}

/* Form - Select */
.form-select {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;

    padding: 0 15px;

    width: 100%;

    cursor: pointer;
}

/* Form - Text */
.form-text {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;

    padding: 15px;

    width: 100%;
    height: 125px !important;
}

/* Form - Search */
.form-search {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;

    padding: 0 40px 0 15px;
    margin: 0;

    width: 100%;
    height: 50px;
}
    .form-search__btn {
        background: none;
        border: none;

        position: relative;
        margin-top: -42px;
        margin-right: 10px;
        z-index: 20;

        font-size: 18px;
        color: #959595;

        float: right;

        transition: 0.2s;
    }
        .form-search__btn:hover {
            color: #e22066;

            transition: 0.2s;
        }
        .form-search__btn i {
            position: relative;
            top: 2px;
        }

/* Form - File */
.form-file {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;

    padding: 4px 10px 4px 4px;

    width: 100%;
    height: auto;
}
.btn-file {
    background: #000;
    border-radius: 4px;
    border: none;

    font-weight: 600;
    font-size: 14px;
    color: #fff;

    padding: 10px 15px;
    margin: 0 10px 0 0;

    width: auto;

	cursor: pointer;
    transition: 0.3s;
}

/* Form - Image */
.form-image {
    position: relative;

    display: inline-block;
    height: 160px;
}
    .form-image label {
        width: auto;
    }
    .form-image img {
        width: 150px;
        height: 150px;

        object-fit: cover;

        cursor: pointer;
    }

/* */
.img-upload-wrapper {
    position: relative;
	overflow: hidden;

	display: inline-block;
	text-align: left;

	border: 1px solid #eaedf2;
    border-radius: 12px;

    width: 150px;
    height: 150px;
}
    .img-upload-wrapper.cover {
        border: 3px solid #e22066;
    }
    .img-upload-wrapper img {
        width: 150px;
        height: 150px;

    }
	.img-upload-wrapper #alert {
		position: absolute;
		top: 0;
		right: 0;
		left: 0;

		margin: 0 auto;

		width: 100%;
	}
		.img-upload-wrapper #alert span {
			display: block;

			font-size: 14px;
			font-weight: 600;
			text-align: center;

		    padding: 4px 0;
		}
			.img-upload-wrapper #alert span.green {
				background: #44a597;
				color: #fff !important;
			}
			.img-upload-wrapper #alert span.red {
				background: #b72961;
				color: #fff !important;
			}

.img-upload-wrapper .img-upload-dropdown {
	position: absolute;
	top: 0;
	left: -240px;

	display: flex;
    align-items: center;
    justify-content: center;

	background-color: rgba(30, 40, 53, 0.8);

	width: 100%;
	height: 100%;

    text-align: center;

	transition: left 0.2s;
}
	.img-upload-wrapper .img-upload-dropdown label {
		color: #fff;
		font-size: 14px;

		margin: 0;

		cursor: pointer;

		transition: 0s;
	}
	.img-upload-wrapper .img-upload-dropdown ul {
		padding: 0;
	    margin: 0;

	    list-style: none;
	}
	.img-upload-wrapper .img-upload-dropdown li {
		padding: 6px 12px;
	}
	.img-upload-wrapper .img-upload-dropdown li a {
		color: #fff;
		font-weight: 500;
		font-size: 14px;

        text-decoration: none;

		transition: 0.2s;
	}
    .img-upload-wrapper .img-upload-dropdown li a:hover {
        color: #e22066;

        transition: 0.2s;
    }
    .img-upload-wrapper .img-upload-dropdown i {
		font-size: 28px;
	}
	.img-upload-wrapper:hover .img-upload-dropdown {
		left: 0;

		transition: left 0.4s;
	}

/* */
.form-image.emptyImage img {
    border-radius: 12px;
}
.form-image.emptyImage::after {
    content: "Delete Image";

    color: #fff;
    font-weight: 500;
    font-size: 14px;

    background-color: rgba(30, 40, 53, 0.8);
    border-radius: 12px;

    position: absolute;
	top: 0;
	left: 0;

	display: flex;
    align-items: center;
    justify-content: center;

	width: 150px;
	height: 150px;

    cursor: pointer;
}
.form-image.emptyImage:hover::after {
    color: #b72961;

    transition: 0.2s;
}

/* Radio */
.radio-wrapper > [type=radio] {
    position: absolute;

    width: 0;
    height: 0;

    opacity: 0;
}
.radio-wrapper > [type=radio] + img {
    width: 85px;
    height: auto;

    filter: grayscale(1);
    opacity: 0.5;

    cursor: pointer;
}

.radio-wrapper > [type=radio]:checked + img {
    filter: grayscale(0);
    opacity: 1;
}

/* Form - Checkbox */
.checkbox-wrapper {
    position: relative;

    display: block;
    padding-left: 35px;
    margin: 0;

    width: auto;
    height: auto;

    user-select: none;
    cursor: pointer;
}
    .checkbox-wrapper .label {
        display: inline-block;
        padding-top: 3px;
    }
    .checkbox-wrapper input {
        position: absolute;

        opacity: 0;

        cursor: pointer;

        height: 0;
        width: 0;
    }

.checkmark {
    background-color: #f5f5f5;
    border-radius: 4px;

    position: absolute;
    top: 0;
    left: 0;

    height: 20px;
    width: 20px;

    transition: 0.1s;
}
    .checkbox-wrapper div {
        font-size: 14px;
        font-weight: 400;
    }
    .checkbox-wrapper:hover input ~ .checkmark {
        background-color: #d4edda;

        transition: 0.1s;
    }
    .checkbox-wrapper input:checked ~ .checkmark {
        background-color: #d4edda;
    }
    .checkbox-wrapper input:checked ~ .checkmark:after {
        display: block;
    }
    .checkbox-wrapper .checkmark:after {
        content: "\f00c";

        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: 14px;
        color: #155724;

        position: absolute;
        display: none;

        top: 0;
        left: 4px;
    }

/* */
.checkbox-button-wrapper {
    position: relative;

    display: block;

    width: auto;
    height: auto;

    user-select: none;
    cursor: pointer;
}
    .checkbox-button-wrapper input {
        position: absolute;

        opacity: 0;

        cursor: pointer;

        height: 0;
        width: 0;
    }

.checkbox-button {
    background-color: #44AC8E;
    border-radius: 4px;

    position: absolute;
    top: -40px;
    right: 10px;

    height: 28px;
    width: 55px;

    padding: 5px 12px;

    transition: 0.1s;
}
    .checkbox-button-wrapper input:checked ~ .checkbox-button {
        background-color: #ce4257;
        width: 50px;
    }
    .checkbox-button-wrapper input:checked ~ .checkbox-button:before {
        display: none;
    }
    .checkbox-button-wrapper input:checked ~ .checkbox-button:after {
        display: block;
    }
    .checkbox-button-wrapper .checkbox-button:before {
        content: "Show";

        font-size: 12px;
        color: #fff;

        position: absolute;
        display: block;
    }
    .checkbox-button-wrapper .checkbox-button:after {
        content: "Hide";

        font-size: 12px;
        color: #fff;

        position: absolute;
        display: none;
    }
