/* Jquery UI */
.agc_wrap .ui-slider .ui-slider-handle {
    width: 32px;
    height: 20px;
    margin-top: -2px;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
    font-size: 12px;
}
.agc_wrap * {
    margin: 0;
    padding: 0;
    line-height: 1.2;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    /* -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; */
}
.agc_wrap :before,
.agc_wrap :after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.agc_wrap {
    position: relative;
    background-color: white;
    font-size: 14px;
    color: #444;
    overflow: hidden;
}
.agc_wrap .agc_cleared {
    clear: both;
}
.agc_wrap a {
    outline: none;
    border: none;
}
.agc_wrap .agc_hidden {
    display: none;
}
.agc_wrap #agc_preview {
    display: none;
}
.agc_wrap #agc_preview_button {
    width: 100%;
    text-align: center;
}
.agc_wrap #agc_preview_button a {
    display: inline-block;
    width: 70%;
    padding: 8px 28px;
    margin: 20px 0px;
    color: #444;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    background: #f7f7f7;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #333;
    -webkit-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.2);
}
.agc_wrap #agc_preview_button a span {
    font-size: 13px;
}
.agc_wrap #agc_preview_button a:hover {
    background: white;
    color: black;
    border-color: black;
}
.agc_wrap #agc_edit_button {
    padding: 9px 28px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    background: #008ec2;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #045e8a;
    cursor: pointer;
}
.agc_wrap #agc_editor_toggle {
    display: none;
}
.agc_wrap #agc_editor_submit {
    float: left;
    width: 100%;
    padding: 20px;
}
.agc_wrap #agc_accordion {
    float: left;
    width: 100%;
}
.agc_wrap .agc_accordion_toggle {
    cursor: pointer;
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: bold;
    font-style: italic;
    color: #777;
    text-transform: uppercase;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.agc_wrap .agc_chevron {
    float: right;
    font-size: 16px;
    color: #555;
    -webkit-transition: transform 0.3s;
    -moz-transition: transform 0.3s;
    -o-transition: transform 0.3s;
    transition: transform 0.3s;
}
.agc_wrap .agc_accordion_content {
    display: none;
    padding: 0px 20px 25px 20px;
}
.agc_wrap .agc_accordion_content.agc_active {
    display: block;
}
.agc_wrap .agc_accordion_toggle.agc_active {
    color: #222;
}
.agc_wrap .agc_accordion_toggle.agc_active .agc_chevron {
    color: #222;
    -ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
    transform: rotate(90deg);
}
.agc_wrap .agc_setting {
    padding: 15px 0px;
    border: none;
}
.agc_wrap .agc_setting p {
    display: block;
    font-size: 11px;
    margin-bottom: 10px;
    color: #111;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: default;
    text-transform: uppercase;
}
.agc_wrap p.agc_note {
    font-weight: normal;
    font-size: 12px;
    color: #666;
    text-transform: none;
    letter-spacing: normal;
}
.agc_wrap .agc_validate {
    color: #ea6e00 !important;
}
.agc_wrap .agc_setting p.agc_validate {
    font-style: italic !important;
}
.agc_wrap .agc_text {
    width: 100% !important;
    border: 1px solid #333 !important;
}
.agc_wrap .agc_result {
    display: block;
    margin: 15px 0px;
    font-size: 14px;
}
.agc_wrap .agc_result_success {
    color: #008ec2;
}
.agc_wrap .agc_result_failed {
    color: #ea6e00;
}
.agc_wrap .agc_setting input[type=text], 
.agc_wrap .agc_setting select {
    height: 32px !important;
    line-height: 32px !important;
    padding: 0px 8px !important;
    width: 100%;
}
.agc_wrap .agc_setting textarea {
    height: 120px !important;
    padding: 5px 8px !important;
    width: 100%;
}
.agc_wrap .agc_inline {
    display: inline-block;
    margin-right: 5px;
}
.agc_wrap .agc_tab_pane {
    display: none;
}
.agc_wrap .agc_tab_pane.agc_active {
    display: block;
}
.agc_wrap .agc_palette {
    position: relative;
    z-index: 0;
    padding: 1px;
    display: inline-block;
    margin-right: 5px;
    cursor: pointer;
    padding: 2px;
    border: 1px solid transparent;
    -webkit-transition: all 0.1s;
    -moz-transition: all 0.1s;
    -o-transition: all 0.1s;
    transition: all 0.1s;
}
.agc_wrap .agc_palette input[type=radio] {
    visibility: hidden; /* jscolor picker doesn't appear if element is display: none */
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 50%;
    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
.agc_wrap .agc_palette.agc_active {
    border-color: black;
}
.agc_wrap .agc_color {
    height: 25px;
    width: 25px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
.agc_wrap .agc_palette_custom span {
    position: absolute;
    color: white;
    z-index: 2;
    top: 50%;
    left: 50%;
    font-size: 12px;
    -ms-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.agc_wrap .agc_file_add {
    text-decoration: none;
    display: inline-block;
}
.agc_wrap .agc_file_add:focus {
    border: none;
    outline: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.agc_wrap .agc_file_add .agc_file_thumb {
    color: white;
    font-size: 70px;
    width: 200px;
}
.agc_wrap .agc_file_thumb img {
    float: left;
    max-width: 100%;
}
.agc_wrap .agc_file_name {
    width: 100%;
    padding: 15px 0px;
    font-style: italic;
    font-size: 14px;
    color: #777;
}
.agc_wrap .agc_spinner {
    display: none;
    margin-left: 5px;
    -webkit-animation-name: spin;
    -webkit-animation-duration: 1500ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: spin;
    -moz-animation-duration: 1500ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: spin;
    -ms-animation-duration: 1500ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear;
    animation-name: spin;
    animation-duration: 1500ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
.agc_wrap .agc_spinner.agc_active {
    display: inline-block;
}
.agc_wrap #agc_restrict_selector_type {
    width: 40%;
}
.agc_wrap #agc_restrict_selector_content {
    width: 40%;
}
@-ms-keyframes spin {
    from {
        -ms-transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
    }
}
@-moz-keyframes spin {
    from {
        -moz-transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(360deg);
    }
}
@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Chosen plugin */
.agc_wrap .chosen-container-multi .chosen-choices li.search-choice {
    padding: 5px 20px 5px 5px;
}

.agc_wrap .chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
    top: 7px;
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: color 0 ease-in;
    transition: none;
}

/* End Chosen plugin */

@media only screen and (min-width: 768px) {
    .agc_wrap {
        color: #9DA5B4;
    }
    .agc_wrap #agc_preview_button a {
        position: absolute;
        z-index: 2;
        top: 10px;
        left: 10px;
        width: auto;
        margin: 0px;
    }
    .agc_wrap #agc_preview {
        display: block;
	    background-color: #ccc;
        float: left;
        width: 100%;
        height: 100vh;
        min-height: 1200px;
    }
    .agc_wrap #agc_preview iframe {
        width: 100%;
        height: 100%;
        border: none;
    }
    .agc_wrap #agc_editor {
        position: absolute;
        top: 0px;
        right: -450px;
        z-index: 100;
        height: 100%;
        width: 450px;
        background-color: #23282d;
        -webkit-box-shadow: inset 2px 0px 3px 0px rgba(0, 0, 0, 0.8);
        -moz-box-shadow: inset 2px 0px 3px 0px rgba(0, 0, 0, 0.8);
        box-shadow: inset 2px 0px 3px 0px rgba(0, 0, 0, 0.8);
        -webkit-transition: all 0.2s;
        -moz-transition: all 0.2s;
        -o-transition: all 0.2s;
        transition: all 0.2s;
    }
    .agc_wrap #agc_editor_form {
	overflow: auto;
	display: block;
	height: 100%;
    }
    .agc_wrap #agc_editor_form::-webkit-scrollbar {
        -webkit-appearance: none;
        background-color: #e1e1e1;
        width: 10px;
    }
    .agc_wrap #agc_editor_form::-webkit-scrollbar-thumb {
        background-color: #37ccce;
    }
    .agc_wrap #agc_editor.agc_active {
       right: 0px;
    }
    .agc_wrap #agc_editor_toggle {
        display: block;
        position: absolute;
        z-index: 100;
        top: 0px;
        padding: 5px;
        left: -45px;
        text-align: center;
        font-size: 29px;
        color: white;
        cursor: pointer;
    }
    .agc_wrap .agc_accordion_toggle.agc_active {
        color: white;
    }
    .agc_wrap .agc_accordion_toggle.agc_active .agc_chevron {
        color: white;
    }
    .agc_wrap .agc_setting p {
        color: #D7DAE0;
    }
    .agc_wrap p.agc_note {
        color: #9DA5B4;
    }
    .agc_wrap .agc_setting input[type=text],
    .agc_wrap .agc_setting select,
    .agc_wrap .agc_setting textarea {
        background-color: #222;
        color: #9DA5B4;
        border: 1px solid black !important;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }

    /* Chosen plugin */
    .agc_wrap .agc_setting .chosen-choices {
        background: #222;
        color: #9DA5B4;
        border: 1px solid black !important;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
    }

    .agc_wrap .chosen-container-multi .chosen-choices li.search-choice {
        border: 1px solid black;
    }
    /* End Chosen plugin */

    .agc_wrap .agc_inline input[type=radio] {
        display: none;
    }
    .agc_wrap .agc_inline label {
        position: relative;
    }
    .agc_wrap .agc_inline label.agc_radio:before,
    .agc_wrap .agc_inline label.agc_radio:after,
    .agc_wrap .agc_inline label.agc_checkbox:before,
    .agc_wrap .agc_inline label.agc_checkbox:after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        margin: auto;
    }
    .agc_wrap .agc_inline label.agc_radio {
        margin-left: 24px;
    }
    .agc_wrap .agc_inline label.agc_radio:before {
        left: -24px;
        width: 16px;
        height: 16px;
        background-color: #444;
        border: 1px solid black;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
    }
    .agc_wrap .agc_inline input[type=radio]:checked + label.agc_radio:after {
        left: -19px;
        width: 6px;
        height: 6px;
        background-color: #37ccce;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
    }
    .agc_wrap a {
        color: #37ccce;
    }
    .agc_wrap .agc_palette.agc_active {
        border-color: #D7DAE0;
    }
    .agc_wrap .ui-slider .ui-slider-handle {
        background-color: #393e49;
        border-color: black;
        color: #9DA5B4;
    }
    .agc_wrap .ui-widget-content {
        background: #444;
        border-color: black;
    }
    .agc_wrap .agc_file_name {
        color: #9DA5B4;
    }
}
@media only screen and (min-width: 990px) {
    .agc_wrap #agc_editor {
        right: -550px;
	width: 550px;
    }
}