.af-embed-panel {
  text-align: left;
  padding: 10px 24px;
}
.af-embed-panel .form-control[disabled], 
.af-embed-panel .form-control[readonly], 
.af-embed-panel fieldset[disabled] .form-control {
    cursor: copy;
}
.af-embed-title {
  font-weight: bold;
    color: #333;
    font-size: 20px;
    text-align: left;
    padding-bottom: 10px;
}

.af-embed-options {
  padding-top: 6px;
}
.af-embed-options > h3,
.af-embed-step > h3 {
    margin: 0;
    font-size: 17px;
    font-weight: bold;
    color: #222;
    line-height: 24px;
    text-transform: uppercase;
}
.af-embed-group {
  padding-left: 10px;
  line-height: 24px;
}
.af-embed-group > h4 {
    margin: 0;
    float: left;
    width: auto;
    font-size: 14px;
    color: #000;
    line-height: 24px;
    padding-right: 10px;
}
.af-embed-group2 {
    float: left;
}
.af-embed-group2.other-margin {
    margin-left: 18px;
}
.af-embed-group2 > h4 {
    float: left;
    font-weight: normal;
    color: #888;
    font-size: 14px;
    line-height: 26px;
    margin: 0 4px;
}
.af-embed-group2 > .sp-replacer {
    float: left;
    margin-top: 1px;
}
.af-embed-group2 > input {
    float: left;
}
.embed-inline-group {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0px;
}
.embed-font-bold,
.embed-font-italic {
    float: left;
    position: relative;
    width: 24px;
    height: 24px;
    line-height: 24px;
    padding: 0 0 2px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 3px;
    margin-left: 8px;
}
.embed-font-bold > input,
.embed-font-italic > input {
    position: absolute;
    width: 24px;
    height: 24px;
    left: 0;
    top: 0;
    margin: 0;
    padding: 0;
    outline: 0;
    opacity: 0;
    filter: alpha(opacity=0);
    z-index: 10;
    cursor: pointer;
}
.embed-font-bold-context,
.embed-font-italic-context {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border-radius: 2px;
    -webkit-transition: all 450ms cubic-bezier(0.23,1,.32,1);
    transition: all 450ms cubic-bezier(0.23,1,.32,1);
    border: 1px solid #e5e5e5;
    line-height: 22px;
}
.embed-font-bold-context {
    font-weight: bold;
}
.embed-font-italic-context {
    font-style: italic;
}
.embed-font-bold > input:checked~.embed-font-bold-context,
.embed-font-italic > input:checked~.embed-font-italic-context {
    box-shadow: 0 2px 10px 0 rgba(0,0,0,.16),0 2px 5px 0 rgba(0,0,0,.26)
}
.af-embed-size-group {
  float: left;
}
.af-embed-size-option {
  float: left;
  margin-right: 28px;
}
.af-embed-size-option > input {
  float: left;
  margin-top: 6px;
}
.af-embed-size-option > label {
  margin: 0;
    font-size: 15px;
    font-weight: bold;
    padding-left: 6px;
}
.af-embed-custom-group {
  float: left;
  padding-left: 6px;
}
.af-embed-custom-group > input {
    font-weight: bold;
    font-size: 15px;
}
.af-embed-custom-group > span {

}
.af-embed-select {
    padding: 2px 8px;
    width: auto;
    height: 26px;
}
.af-embed-step {
    padding-top: 10px;
}
.af-embed-step-title {
    margin-bottom: 4px;
    line-height: 24px;
    font-size: 14px;
    margin-top: 4px;
}
.af-embed-code-tabs {

}
.af-embed-code-content {
  border: 1px solid #e9e9e9;
    border-top: none;
    text-align: center;
    padding: 8px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}
.af-embed-code-content.embed-light-code {
    border-top: 1px solid #e9e9e9;
    padding: 0;
}
.af-embed-code-textarea {
    width: 100%;
    min-height: 60px;
    border: 0;
    outline: 0;
    resize: none;
    word-break: break-all;
    font-size: 14px;
    color: #666;
    padding: 4px;
    line-height: 20px;
}
.af-embed-code-textarea.resize-vertical {
    resize: vertical;
}
.af-embed-code-textarea.light-demo {
    min-height: 110px;
    line-height: 18px;
    font-size: 13px;
}
.embed-title-input {
    width: 260px;
    height: 26px;
}
.embed-font-input {
    width: 78px;
    height: 26px;
    display: inline-block;
}
.embed-font-input,
.embed-title-input {
    border: 0;
    outline: 0;
    padding: 0px;
    border-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #ddd;
    text-align: center;
    box-shadow: none;
}
.embed-font-input:focus,
.embed-title-input:focus {
    border-bottom-width: 1px;
    /*border-bottom-color: */
    box-shadow: 0 1px 0 #4997ee;
}
.af-embed-iframe-wrapper::before {
    content: ".";
    width: 0;
    height: 100%;
    display: inline-block;
    visibility: hidden;
    vertical-align: middle;
}
/*  iframe  */
.af-embed-iframe {

}
.af-embed-iframe-wrapper {
    border: 1px solid #e9e9e9;
    border-top: none;
    overflow: auto;
    white-space: nowrap;
    text-align: center;
    padding: 8px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}
.af-embed-iframe-wrapper > iframe {
    vertical-align: middle;
}

/* lightbox  */
.embed-light-container {
    padding-bottom: 17px;
}
.embed-light-container > img {
    max-width: 120px;
    border: 3px solid #fff;
    box-shadow: 0 1px 2px #a8a8a8;
    cursor: pointer;
}
.embed-light-hint {
    position: relative;
    text-align: center;
    font-size: 16px;
    margin-bottom: 24px;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: all 450ms cubic-bezier(0.23,1,.32,1);
    transition: all 450ms cubic-bezier(0.23,1,.32,1);
}
.embed-light-hint:hover {
    -webkit-transform: translateY(8px);
    -ms-transform: translateY(8px);
    transform: translateY(8px);
}
.embed-light-dialog {
    display: inline-block;
    padding: 16px;
    border-radius: 3px;
    background: #03a9f4;
    position: relative;
    color: #fff;
    text-align: center;
}
.embed-light-dialog::after {
    content: ".";
    position: absolute;
    top: 100%;
    color: transparent;
    border: 8px solid transparent;
    border-top-color: #03a9f4;
    left: 50%;
    width: 0;
    margin-left: -8px;
    height: 0;
}

/*   button  */
.af-embed-group .sp-replacer {
    background-color: #eee;
}
.af-embed-group .sp-preview {
    margin: 0 4px 0 0;
    width: 30px;
}
.af-embed-group .sp-dd {
    position: relative;
    top: -1px;
}
.af-embed-iframe-wrapper.btn-wrapper {
    height: 240px;
    overflow: auto;
    white-space: nowrap;
    text-align: center;
}
.af-embed-iframe-wrapper.btn-wrapper > iframe {
    vertical-align: middle;
}