#certificate_image_wrapper .certificate_field {
    background-color: #ccc;
    border: 1px dashed #888;
    opacity: 0.5;
    position: absolute;
    text-align: center;
}
.colorpick-form-field {
    position: relative;
}
.certificate_templates_options_panel,
.panel {
    padding: 9px 9px 9px 9px;
    color: #555;
}
.certificate_templates_options_panel p {
    margin: 0 0 9px;
    font-size: 12px;
    padding: 5px 9px;
    line-height: 24px;
    clear: both;
}
.certificate_templates_options_panel .checkbox {
    vertical-align: middle;
    margin: 7px 0;
    width: auto;
}
.certificate_templates_options_panel p {
    margin: 9px 0 9px;
}
.certificate_templates_options_panel label.req,
legend.req {
    font-weight: bold;
    font-style: normal;
    color: red;
}
.certificate_templates_options_panel .description {
    padding: 0;
    margin: 0 0 0 7px;
}
.certificate_templates_options_panel .description-block {
    margin-left: 0;
    display: block;
}
.certificate_templates_options_panel textarea,
input,
select {
    margin: 0;
}
.certificate_templates_options_panel textarea {
    vertical-align: top;
    height: 10.5em;
    line-height: 1.5em;
}

.certificate_templates_options_panel select {
    float: left;
}
.certificate_templates_options_panel .short {
    width: 20%;
}
.certificate_templates_options_panel .form-field input.medium,
.certificate_templates_options_panel .form-field textarea.medium {
    width: 40%;
}
.certificate_templates_options_panel .threequarter {
    width: 70%;
}
.certificate_templates_options_panel .sized {
    width: auto !important;
    margin-right: 6px;
}
.certificate_templates_options_panel .options_group {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #dfdfdf;
}
.certificate_templates_options_panel .options_group:first-child {
    border-top: 0;
}
.certificate_templates_options_panel .options_group:last-child {
    border-bottom: 0;
}
.certificate_templates_options_panel .options_group fieldset {
    margin: 9px 0;
    font-size: 12px;
    padding: 5px 9px;
    line-height: 24px;
}
.certificate_templates_options_panel .options_group fieldset label {
    width: auto;
    float: none;
}
.certificate_templates_options_panel .options_group fieldset ul {
    float: left;
    width: 50%;
    margin: 0;
    padding: 0;
}
.certificate_templates_options_panel .options_group fieldset ul li {
    margin: 0;
    width: auto;
}
.certificate_templates_options_panel .options_group fieldset ul li input {
    width: auto;
    float: none;
    margin-right: 4px;
}
.certificate_templates_options_panel .dimensions_field .wrap input {
    margin-right: 0.2%;
    width: 6.6%;
}
.certificate_templates_options_panel .dimensions_field .wrap .last {
    margin-right: 0;
}
.certificate_templates_options_panel .upload_file_button {
    padding-left: 20px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAQ0lEQVQYV3WPUQoAMAhC1+E6tYdrFBgiW185X7biSAGolpkZfN6GJg1CA7ip0CYo+FzxBTqeE/7J1qGAXsTEAdxQfQHJTymZe4oqiAAAAABJRU5ErkJggg==) !important;
    background-color: #fefefe !important;
    background-repeat: no-repeat !important;
    background-position: 8px 7px !important;
}
/* sidebar */
#academy-certificate-data .inside {
    margin: 0;
    padding: 0;
}
/* panel */
.academyc-panel .academyc-panel__title {
    position: relative;
    padding: 15px 0;
    outline: none;
    width: 100%;
    font-weight: 500;
    text-align: left;
    color: #1e1e1e;
    border: none;
    box-shadow: none;
    transition: 0.1s background ease-in-out;
    height: auto;
    cursor: pointer;
    border-bottom: 1px solid #e0e0e0;
}
.academyc-panel:last-child .academyc-panel__title {
    border-bottom: 0;
}
.academyc-panel .academyc-panel__title::after {
    content: '\f347';
    font-family: 'dashicons';
    position: absolute;
    right: 0;
    top: 20px;
}
.academyc-panel.academyc-panel--open .academyc-panel__title {
    border-bottom: 0;
}
.academyc-panel.academyc-panel--open .academyc-panel__title::after {
    content: '\f343';
    font-family: 'dashicons';
}
.academyc-panel .academyc-panel__body {
    display: none;
}
.academyc-panel.academyc-panel--open .academyc-panel__body {
    display: block;
}
.academyc-panel .academyc-panel__body .academyc-position-wrap,
.academyc-panel .academyc-panel__body .academyc-typography,
.academyc-panel .academyc-panel__body .academyc-color-picker,
.academyc-panel .academyc-panel__body .academyc-text-wrap {
    margin-bottom: 5px;
}
.academyc-panel
    .academyc-panel__body
    .academyc-position-wrap
    .form-field__label {
    display: block;
    margin-bottom: 5px;
}
.academyc-panel .academyc-panel__body label {
    font-size: 14px;
}
.academyc-panel .academyc-panel__body label .academyc-tooltip {
    margin-left: 10px;
    color: #a6a8ad;
}
/* typeography */
.academyc-typography {
    position: relative;
}
.academyc-typography .academyc-typography__body {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 9999;
    padding: 15px;
    border: 1px solid #d5dadf;
}
.academyc-typography label {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.academyc-typography label span {
    width: 35px;
    height: 27px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #d5dadf;
}
.academyc-typography .academyc-typography__body {
    display: none;
}
.academyc-typography .academyc-typography__body input[type='text'] {
    width: 50px;
}
.academyc-typography .academyc-typography__body select {
    width: 100px;
}
.academyc-typography .academyc-typography__body > label {
    margin-bottom: 5px;
}
/* color picker */
.academyc-color-picker {
    display: flex;
    flex-direction: column;
}
.academyc-color-picker label {
    display: block;
    margin-bottom: 5px;
}
.academyc-color-picker .button {
    margin-bottom: 0;
}
/* text wrap */
.academyc-text-wrap label,
.academyc-text-wrap input {
    display: block;
    width: 100%;
}
.academyc-textarea-wrap textarea {
    width: 100%;
}
.academyc-textarea-wrap label,
.academyc-text-wrap label {
    display: block;
    margin-bottom: 5px;
}

/* tooltip */
.academyc-tooltip {
    position: relative;
    display: inline-block;
}
.academyc-tooltip .academyc-tooltiptext {
    visibility: hidden;
    width: 120px;
    background: #7b68ee;
    font-size: 14px;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
}
.academyc-tooltip .academyc-tooltiptext:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #7b68ee transparent transparent transparent;
}
.academyc-tooltip:hover .academyc-tooltiptext {
    visibility: visible;
}
