﻿.bounce {
  display: inline-block;
  position: relative;
  -moz-animation: bounce 0.5s infinite linear;
  -o-animation: bounce 0.5s infinite linear;
  -webkit-animation: bounce 0.5s infinite linear;
  animation: bounce 0.5s infinite linear;
}
@-webkit-keyframes bounce {
    0% { top: 0; }
    50% { top: -0.2em; }
    70% { top: -0.3em; }
    100% { top: 0; }
}
@-moz-keyframes bounce {
    0% { top: 0; }
    50% { top: -0.2em; }
    70% { top: -0.3em; }
    100% { top: 0; }
}
@-o-keyframes bounce {
    0% { top: 0; }
    50% { top: -0.2em; }
    70% { top: -0.3em; }
    100% { top: 0; }
}
@-ms-keyframes bounce {
    0% { top: 0; }
    50% { top: -0.2em; }
    70% { top: -0.3em; }
    100% { top: 0; }
}
@keyframes bounce {
    0% { top: 0; }
    50% { top: -0.2em; }
    70% { top: -0.3em; }
    100% { top: 0; }
}

/* Padding */

.configurator-wrapper .pb20 {
    padding-bottom: 20px !important;
}

.configurator-wrapper .pr20 {
    padding-right: 20px !important;
}

.configurator-wrapper .mt0 {
    margin-top: 0 !important;
}

.configurator-wrapper .mt10 {
    margin-top: 10px !important;
}

.configurator-wrapper .mb5 {
    margin-bottom: 5px !important;
}


/* Alerts */

.configurator-wrapper .custom-alert-wrapper {
    position: fixed;
    z-index: 9999;
    top: 0;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.configurator-wrapper .custom-alert {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.configurator-wrapper .button2 {
    margin-bottom: 10px;
}

.configurator-wrapper .configurator-container {
    clear: both;
    padding-top: 20px;
}

/* Translation */

.configurator-wrapper .input-group-addon + input {
    border-bottom-left-radius: 0 !important;
    width: calc(100% - 50px) !important;
}

.configurator-wrapper .input-group-addon + textarea {
    border-bottom-left-radius: 0 !important;
    width: calc(100% - 50px) !important;
}

.configurator-wrapper .translatable > input {
    width: calc(100% - 50px);
    display: inline-block;
}

.configurator-wrapper .translatable > textarea {
    width: calc(100% - 50px);
    display: inline-block;
}

.configurator-wrapper .translatable > button {
    float: right;
}

.configurator-wrapper .translations > .input-group {
    margin-top: 8px;
}

/* Autocomplete */
.ui-autocomplete {
    z-index: 2150000000 !important;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Confirm delete */

.configurator-wrapper .type-to-verify {
    margin-top: 10px;
}

/* Input with button to the right */

.configurator-wrapper .input-with-button > input:not([disabled]) {
    width: calc(100% - 50px);
    display: inline-block;
}

.configurator-wrapper .input-with-button > button {
    float: right;
}

/* Media Browser */

#mediaBrowser .items {
    max-height: 600px;
    overflow: scroll;
    margin: 0;
    border: 1px solid #eee;
}

#mediaBrowser .item {
    text-align: center;
}

#mediaBrowser .item .glyphicon {
    font-size: 40px;
    line-height: 80px;
    color: #666;
}

#mediaBrowser .item > .preview {
    border: 1px solid #ddd;
    padding: 10px;
    width: 120px;
    height: 120px;
    margin: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,.1);
    display: inline-block;
}

#mediaBrowser .item > .preview.selected {
    border: 1px solid #fff;
    outline: 2px dashed #000;
}

#mediaBrowser .item div {
    font-size: 10px;
    max-width: 120px;
    word-break: break-all;
    margin: auto;
    height: 80px;
}

/* Menu */

.configurator-wrapper #menu-container {
}

.configurator-wrapper .insert-menu {
    display: block;
    width: 100%;
    cursor: pointer;
    text-align: center;
    font-size: 20px;
    height: 4px;
}

    .configurator-wrapper .insert-menu:hover {
        background-color: #e4e4e4 !important;
        border: 1px dashed #999;
        color: #999 !important;
        height: 40px;
        line-height: 18px;
        padding: 10px 15px !important;
    }

    .configurator-wrapper .insert-menu:hover:after {
        content: 'Lägg till';
    }

.configurator-wrapper .menu-edit {
    width: 100%;
    border: 0;
    padding: 10px;
}

.configurator-wrapper .dragged {
    font-weight: bold;
    opacity: 0.5;
}

.configurator-wrapper .droptarget {
    background-color: #ddffaa !important;
    border: 2px dashed #9dbf6a;
    color: #999 !important;
    height: 40px;
}

.configurator-wrapper .menu-item-toolbar {
    float: right;
}

.configurator-wrapper #menuModal .webgroup.disabled {
    color: #999;
}

.configurator-wrapper .edit-settings {
}

.configurator-wrapper .menu-item-toolbar {
    opacity: 0;
}

.configurator-wrapper .menu-title:hover > .menu-item-toolbar {
    opacity: 1;
}

.configurator-wrapper .menu-item-toolbar > span {
    margin-left: 10px;
}

.configurator-wrapper .menu-item-submenu > a {
    font-weight: 600;
}

.configurator-wrapper .menu-item-assortment {
    font-weight: 400;
}

.configurator-wrapper .subnav .subnav .subnav li a {
    border-left: 24px solid #ffa300;
}

.configurator-wrapper .configurator-tool {
    border: 1px solid #000;
    margin-bottom: 40px;
    padding: 20px;
}

/* Publish */

.configurator-wrapper.configurator-publish .panel {
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid black;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
  box-shadow: 0 1px 1px rgba(0,0,0,.05);
  min-height: 180px;
}

.configurator-wrapper.configurator-publish .panel h5 {
    min-height: 80px;
}

.configurator-wrapper.configurator-publish .panel-body {
    padding: 1rem;
}

.configurator-wrapper.configurator-publish .list-group-item {
    display: block;
    padding: 5px 15px;
}

.configurator-wrapper.configurator-publish .list-group-item span.glyphicon {
    margin-right: 1rem;
}

.configurator-wrapper.configurator-publish .list-group-item.active,
.configurator-wrapper.configurator-publish .list-group-item.active:hover,
.configurator-wrapper.configurator-publish .list-group-item.active:focus {
    text-shadow: none;
    background-image: none;
}

/* Nedladdning av bilder/dokument */

.sidebar-right div.download-consent {
    margin-left: 32px;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #333;
}

.sidebar-right div.download-consent a {
    text-decoration: underline;
}

.select-download-type.select-download-type-disabled {
    color: #696969 !important;
    cursor: not-allowed;
    background: #cecece;
}

.download-single.download-single-disabled {
    color: #696969 !important;
    cursor: not-allowed;
    background: #cecece;
}