#footer , #wpfooter { position: absolute; }
.shortcode-container {
    padding-right: 20px;
    position: relative;
}

.shortcode-container h2 {
    margin-left: 10px;
}

.save-container {
    margin: 10px 0px;
}

.horizontal-block {
    background-color: white;
    /*margin-bottom: 5px;*/
    position: relative;
    display: inline-block;
    width: 100%;
    border-top: 1px solid #ccc;
    box-sizing: border-box;
}

.flex-container {
    display: flex;
}

.title-of-field,
.value-of-field {
    margin: 10px;
}

.title-of-field {
    width: 20%;
}

.value-of-field {
    width: 80%;
}

.mt-error {
    color: red;
    display: none;
}

.mt-error.shown {
    display: block;
}

.gallery-container ul#sortable {
    margin: 0;
    padding: 0;
    vertical-align: top;
    list-style-type: none;
}

.gallery-container ul#sortable .ui-sortable-placeholder {
    visibility: visible !important;
    background-color: #f1f8fb !important;
}

.gallery-container ul  li {
    margin: 0;
    padding: 2px;
    vertical-align: top;
    display: inline-block;
    background-color: white;
    box-sizing: border-box;
}

.gallery-container ul  li > div {
    font-size: 0;
    padding: 5px;
    position: relative;
    border: 1px solid #ccc;
    line-height: 100%;
    text-align: center;
    padding-left: 160px;
}

.gallery-container .slide-controls {
    display: inline-block;
    text-align: left;
    font-size: 12px;
    vertical-align: top;
    width: 100%;
    
}

.gallery-container .slide-controls .hidden-block .concealed-block {
    color: #bebebe;
}

.gallery-container .slide-controls .concealed-block input[type="text"] {
    width: 100%;
}

.gallery-container .slide-controls .concealed-block button {
    height: 25px;
    line-height: 100%;
    position: absolute;
    right: 5px;
}

.gallery-container .slide-controls .concealed-block button i {
    vertical-align: middle !important;
}

.gallery-container .slide-controls > div {
    background-color: #f5f2f2;
    line-height: 100%;
}
.gallery-container .slide-controls > div:last-child {
    margin-bottom: 0px;
}

.gallery-container .slide-controls > div .shown-value {
    padding: 0 5px 5px 5px;
    font-size: 14px;
    overflow: hidden;
    line-height: 1.5em;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.gallery-container .slide-controls  > div .link-container {
    position: relative;
    padding-right: 52px;
}

.gallery-controls {
    margin: 15px 0px;
}

.gallery-container ul#sortable img {
    max-width: 150px;
    max-height: 150px;
    position: absolute;
    left: 5px;
}

.gallery-container ul#sortable button.remove-item {
    border-radius: 100%;
    font-size: 12px;
    top: 0px;
    right: 0px;
    width: 18px;
    height: 18px;
    position: absolute;
    z-index: 100;
    border: none;
    padding: 0;
    outline: none;
    background-color: white;
    cursor: pointer;
    display: inline-block;
    visibility: hidden;
    opacity: 0;
}

.gallery-container ul#sortable button.remove-item:before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    background-color: black;
    border-radius: 100%;
    z-index: 1;
}

.gallery-container ul#sortable button.remove-item:after {
    content: "\2715";
    color: white;
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gallery-container ul#sortable li:hover button.remove-item {
    visibility: visible;
    opacity: 1;
}

.custom-slideshow-options {
    padding: 10px;
    box-sizing: border-box;
}

.custom-slideshow-options .left-side,
.custom-slideshow-options .right-side {
    width: 50%;
    float: left;
    vertical-align: top;
    box-sizing: border-box;
}

.custom-slideshow-options .left-side {
    padding-right: 5px;
}

.custom-slideshow-options .right-side {
    padding-left: 5px;
}

.custom-slideshow-options table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
}

.custom-slideshow-options table thead {
    text-align: left;
}

.custom-slideshow-options table td,
.custom-slideshow-options table th {
    padding-left: 10px;
    vertical-align: top;
}

.custom-slideshow-options table tr {
    line-height: 2.5em;
    font-size: 14px;
}

.custom-slideshow-options table tr.caption {
    text-align: left;
    background-color: #eee !important;
    padding-top: 5px;
    padding-bottom: 5px;
}

.custom-slideshow-options table > tbody > tr:nth-of-type(odd) {
    background-color: #f5f5f5;
}

.custom-slideshow-options table tr button {
    font-size: 12px !important;
    padding: 0 !important;
    vertical-align: middle !important;
    height: 26px !important;
    width: 26px !important;
}

.custom-slideshow-options table input,
.custom-slideshow-options table select {
    width: 120px;
}

.custom-slideshow-options table tr.disabled-option {
    color: #ccc;
}

.custom-slideshow-options table tr p {
    line-height: 1em;
}

.custom-slideshow-options table tr .param-label {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.custom-slideshow-options table tr .magic-description {
    font-size: 11px;
    line-height: 11px;
    margin-bottom: 5px;
    vertical-align: top;
}

.custom-slideshow-options button.dashicons-unlock {
    /*background-color: #e8f7e8 !important;*/
}

.custom-slideshow-options button.dashicons-lock {
    /*background-color: #f7eaea !important;*/
}

.slideshow-container {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.slideshow-container .slideshow-preview {
    width: 100%;
    height: 100%;
    display: inline-block;
}

#tabs > ul {
    padding-left: 3px;
}

#tabs > ul li {
    border: 1px solid #ddd;
    line-height: 2.5em;
    font-size: 18px;
    font-weight: 500;
    margin-left: .5em;
    padding: 0px 10px;
    font-size: 14px;    
    background-color: #f7f7f7;
    color: #555;
    position: relative;
    z-index: 42;
}

#tabs > ul li.ui-tabs-active.ui-state-active {
    background-color: white;
    border-bottom: 1px solid white;
}

#tabs > ul li.ui-tabs-active.ui-state-active a {
    color: black !important;
}

#tabs > ul li a {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;    
    position: relative;
    text-align: center;
    display: inline-block;
    text-decoration: none;
}

#tabs > ul li a:link,
#tabs > ul li a:visited {
    color: black;
}

#tabs > ul li a span {
    margin-right: 5px;
    vertical-align: middle;
    transform: translateY(-2px);
}

#tabs-1, #tabs-2 {
    position: relative;
}

.tabs-border {
    height: 32%;
    position: absolute;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    top: -1px;
    pointer-events: none;
    left:10px;
    right: 0px;
}

.tabs-border > div {
    top: 0;
    left: 0;
    width: 0%;
    height: 0%;
    border-top: 1px solid #76b81c;
    position: absolute;
    display: inline-block;
}

.tabs-border > div.animate {
    animation-name: tab-loading;
    animation-duration: .7s;
}

@keyframes tab-loading {
    from { width: 0%; }
    to { width: 100%; }
}

#save-loader,
#load-loader {
    display: none;
    position: fixed;
    bottom: 0;
    background-color: white;
    z-index: 99999;
    border: 1px solid #76b81c;
    box-sizing: border-box;
}

#load-loader {
    margin: 10px 0px;
    width: 100%;
    position: relative;
    padding: 50px 0px;
}

#save-loader.shown,
#load-loader.shown {
    display: block;
}

.animation-container {
    top: 0;
    left: 0;
    width: 100%;
    position: relative;
    white-space: nowrap;
    padding: 10px 0px;
}

.animation-container .left,
.animation-container .center,
.animation-container .right {
    top: 0;
    left: 0;
    z-index: 1;
    width: 33.3%;
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.animation-container .left {
    text-align: right;
}

.animation-container .right {
    text-align: left;
}

.animation-container .left .dashicons,
.animation-container .right .dashicons {
    width: 84px;
    height: 84px;
    font-size: 84px;
    animation-name: changing-color;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: normal;
}

.animation-container .left .dashicons {
    color: #76b81c;
    animation-direction: reverse;
}

#load-loader .animation-container .left .dashicons {
    animation-direction: normal;
}

#load-loader .animation-container .right .dashicons {
    color: #76b81c;
    animation-direction: reverse;
}

.animation-container .right .dashicons {
    color: black;
}

@keyframes changing-color {
    from { color: black; }
    to { color: #76b81c; }

}

.animation-container .center {
    height: 84px;
    font-size: 0;
    line-height: 100%;
    z-index: 42;
}

.animation-container .center .line {
    top: 50%;
    width: 100%;
    height: 1px;
    position: relative;
    display: inline-block;
    background-color: #76b81c;
}

.animation-container .center .slideshow-data-container {
    width: 100%;
    position: absolute;
    display: inline-block;
    line-height: 40px;
    left: 0;
    height: 40px;
    top: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
    animation-name: saving-data;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

#load-loader .animation-container .center .slideshow-data-container {
    animation-direction: reverse;
}

.animation-container .center .slideshow-data-container .slideshow-data {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background-color: white;
    position: absolute;
    display: inline-block;
    border: 1px solid #76b81c;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.animation-container .center .slideshow-data-container .slideshow-data:before {
    color: #89ac44;
    font-size: 25px;
    line-height: 40px;
}

@keyframes saving-data {
    0%   { opacity: 0;    transform: translate(-60%, -50%) scale(0);    }
    12%  { opacity: 0.85; transform: translate(-45%, -50%) scale(0.73); }
    25%  { opacity: 1;    transform: translate(-30%, -50%) scale(0.87); }
    37%  { opacity: 1;    transform: translate(-15%, -50%) scale(0.96); }
    50%  { opacity: 1;    transform: translate(  0%, -50%) scale(1);    }
    62%  { opacity: 1;    transform: translate( 15%, -50%) scale(0.96); }
    75%  { opacity: 1;    transform: translate( 30%, -50%) scale(0.87); }
    87%  { opacity: 0.85; transform: translate( 45%, -50%) scale(0.73); }
    100% { opacity: 0;    transform: translate( 60%, -50%) scale(0);    }
}


.magic-message,
.magic-error-message {
    font-size: 20px;
    text-align: center;
}

.magic-message {
    color: #76b81c;
}

.magic-error-message {
    color: #d54e21;
}

#loading-animation.hidden,
.magic-message.show.hidden,
.magic-error-message.hidden {
    display: none;
}

@media (max-width: 560px) {
    .gallery-container ul  li > div {
        padding-left: 5px;
    }

    .gallery-container .slide-controls {
        margin-left: 0px;
        margin-top: 5px;
        width: 100%;
        vertical-align: top;
    }

    .gallery-container ul#sortable img {
        position: inherit;
        left: auto;
    }

    #tool-shortcode-param {
        width: 100%;
    }

    #tabs > ul li {
        min-width: 120px;
    }
}

@media (max-width: 780px) {
    .gallery-container .slide-controls > div .link-container {
        padding-right: 60px;
    }

    .gallery-container .slide-controls .concealed-block button {
        width: 50px;
        height: 33px;
    }

    .custom-slideshow-options .left-side,
    .custom-slideshow-options .right-side {
        width: 100%;
        float: none;
    }
}

@media (max-width: 1023px) {
    .gallery-container ul#sortable li {
        width: 100%;
    }
}

@media (max-width: 1099px) {
    .custom-slideshow-options table tr .param-label {
        max-width: 150px;
    }
}

@media (min-width: 1024px) {
    .gallery-container ul#sortable li {
        width: 50%;
    }
    .custom-slideshow-options table tr .param-label {
        max-width: none;
    }
}

@media (min-width: 1100px) {
    .custom-slideshow-options table tr .param-label {
        max-width: none;
    }
}

@media (min-width: 1200px) {
    .gallery-container ul#sortable li {
        width: 33.3%;
    }
}

@media (max-width: 410px) {
    .custom-slideshow-options table tr .param-label {
        max-width: 100px;
    }
}


.slideshow-container #overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    position: absolute;
    background-color: rgba(255,255,255,0.8);
    z-index: 42;
}

.slideshow-container #overlay.shown {
    display: inline-block;
}

.slideshow-container #overlay button {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 90px;
    height: 50px;
    margin: auto;
    display: block;
    cursor: pointer;
    position: absolute;
    font-size: 140%;
}


.switch-control {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    margin: 0px 0px;
}

.switch-control input {
    display:none;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: red;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 26px;
    margin:0 !important;
}

.disabled-option .switch-slider { background: #ccc; }
.disabled-option a { color:inherit; }


.switch-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 0px;
    right: auto;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}



.switch-control input:checked + .switch-slider {
    background-color: #76b81c;
}
.switch-control input[disabled]:checked + .switch-slider {
    background-color: #ccc;
}

.switch-control input:focus + .switch-slider {
    box-shadow: 0 0 1px #76b81c;
}

.switch-control input + .switch-slider:before {
    right:1px !important;
    left:auto !important;
    -webkit-transform: translateX(0px);
    -ms-transform: translateX(0px);
    transform: translateX(0px);
}

.switch-control input:checked + .switch-slider:before {
    left:1px !important;
    right:auto !important;
    -webkit-transform: translateX(0px);
    -ms-transform: translateX(0px);
    transform: translateX(0px);
}

.slide-controls input[type="checkbox"], 
.slide-controls input[type="radio"] {

}





.browser-magictoolbox-technologies {
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    padding-top: 42px;
    position: relative;
    vertical-align: top;
    display: inline-block;
    border-top-width: 0px;
    box-sizing: border-box;
    border: 3px solid #f1f1f1;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.browser-magictoolbox-technologies .b-top-panel-wrapper,
.browser-magictoolbox-technologies .b-top-panel,
.browser-magictoolbox-technologies .b-buttons-panel,
.browser-magictoolbox-technologies .b-buttons-wrapper,
.browser-magictoolbox-technologies .b-buttons-wrapper span,
.browser-magictoolbox-technologies .b-address-panel,
.browser-magictoolbox-technologies .b-display-panel {
    top: 0;
    left: 0;
    width: 100%;
}

.browser-magictoolbox-technologies .b-top-panel-wrapper {
    height: 42px;
    position: absolute;
    display: inline-block;
    background-color: #f1f1f1;
}

.browser-magictoolbox-technologies .b-top-panel {
    height: 100%;
    position: relative;
    padding-left: 75px;
    padding-right: 50px;
    display: inline-block;
    box-sizing: border-box;
}

.browser-magictoolbox-technologies .b-buttons-panel {
    width: 75px;
    height: 100%;
    position: absolute;
    display: inline-block;
}

.browser-magictoolbox-technologies .b-buttons-wrapper {
    height: 100%;
    display: flex;
    padding-left: 6px;
    position: relative;
    align-items: center;
    justify-content: flex-start;
}

.browser-magictoolbox-technologies .b-buttons-wrapper span {
    width: 12px;
    height: 12px;
    margin-left: 4px;
    line-height: 100%;
    position: relative;
    border-radius: 100%;
    display: inline-block;
}

.browser-magictoolbox-technologies .b-buttons-wrapper span.dot-1 {
    background-color: #ED594A;
}

.browser-magictoolbox-technologies .b-buttons-wrapper span.dot-2 {
    background-color: #FDD800;
}

.browser-magictoolbox-technologies .b-buttons-wrapper span.dot-3 {
    background-color: #5AC05A;
}

.browser-magictoolbox-technologies .b-address-panel {
    height: 100%;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
}

.browser-magictoolbox-technologies .b-address {
    width: 90%;
    padding: 5px;
    text-align: left;
    line-height: 100%;
    border-radius: 4px;
    background-color: white;
}

.browser-magictoolbox-technologies .b-menu-panel {
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    align-items: center;
    justify-content: flex-end;
}

.browser-magictoolbox-technologies .b-menu-wrapper {
    position: relative;
    padding-right: 10px;
}

.browser-magictoolbox-technologies .b-menu-wrapper div {
    width: 17px;
    height: 3px;
    margin: 3px 0;
    display: block;
    position: relative;
    background-color: #aaa;
}

.browser-magictoolbox-technologies .b-display-panel {
    padding: 4px;
    position: relative;
    display: inline-block;
    box-sizing: border-box;
}
