
/**
 * button styling
 */
 #swap-insert-dialog-body .button-holder
{
    text-align:center !important;
    margin-top: 8px !important;
}

#swap-insert-dialog-body .button-holder .mce-btn 
{
    margin: 3px !important;
    padding: 0px 6px !important
}

#swap-insert-dialog-body {
    padding-bottom: 50px;
}

#swap-insert-dialog-body h2 {
    font-size: 24px;
    font-weight: bold;
}


/**
 * LOADING element
 */
 #swap-insert-dialog-body .text-center {
    text-align: center !important;
}

#swap-insert-dialog-body #overlay {
    width: 100%;
    height: 100%;
    top: 0;
    position: fixed;
    background: rgba(0, 0, 0, 0.35);
    z-index: 20000;
}

#swap-insert-dialog-body #overlay div {
    position: absolute;
    top: 50%;
    left: 45%;
    filter: none;
}
  
@-webkit-keyframes spinner-border {
    to {
      transform: rotate(360deg);
    }
}
  
@keyframes spinner-border {
    to {
      transform: rotate(360deg);
    }
}
  
#swap-insert-dialog-body #overlay span {
    /*position: absolute;*/
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    color: white;
    font-weight: bold;
} 

#swap-insert-dialog-body .spinner-border {
    display: inline-block !important;
    width: 3rem !important;
    height: 3rem !important;
    vertical-align: text-bottom !important;
    border: 0.4em solid #234997 !important;
    border-right-color: transparent !important;
    border-radius: 50% !important;
    -webkit-animation: spinner-border 0.75s linear infinite !important;
            animation: spinner-border 0.75s linear infinite !important;
}
  
#swap-insert-dialog-body .spinner-border span {
    display: none;
  }
  
#swaptify-segments {
    overflow-y: scroll;
    height: calc(100% - 55px);
}  
#swaptify-segments .shortcode { 
    display: none;
}
.visitor-type-notice, .visitor-types {
    display: none;
}
.swap-div.default .visitor-type-notice, .swap-div:not(.default) .visitor-types {
    display: block;
}

#swaptify-info {
    padding: 10px;
}  
  
#swap-insert-dialog-body .swaptify-segment-selector { 
    margin: 10px;
    padding: 20px;
    border: solid 1px black;
    border-radius: 5px;
    cursor:pointer;
    white-space: normal;
}

#swap-insert-dialog-body .swaptify-segment-selector p { 
    white-space: normal;
}

#swap-insert-dialog-body .swaptify-segment-selector p.edit { 
    float: right;
}
  
#swap-insert-dialog-body .swaptify-segment-selected { 
    background: #4972BF;
}

#swap-insert-dialog-body .swaptify-segment-selected p,
#swap-insert-dialog-body .swaptify-segment-selected p a { 
    color: #FFFFFF;
}

#swap-insert-dialog-body #segment-search,
#swap-insert-dialog-body #segment-type {
    box-shadow: 0 0 0 transparent;
    border-radius: 4px;
    border: 1px solid #8c8f94;
    background-color: #fff;
    color: #2c3338;
    padding: 0 8px;
    line-height: 2;
    min-height: 30px;
    width: 240px;
    margin: 0 20px;
}

#edit-segments-link {
    margin: 10px 0;
}

/* tabs */
.tab-content {
    max-width: 900px;
    padding-right: 20px;
}

.content-wrapper {
    max-width: 900px;
    padding-right: 20px;
}

.create-segment-form {
    margin-top: 20px;
}

/* SEGMENT SHORTCODE FORM */
.swaptify-segment-form-left 
{
    width: 25%;
    background: #E5E5E5;
}

.swaptify-segment-form-right 
{
    width: 75%;
    background: #DCDCDC;
}
.swaptify-segment-form-left,
.swaptify-segment-form-right {
    float:left;
    padding: 10px;
    box-sizing: border-box;
}

.swap-preview-image {
    max-width: 300px;
    vertical-align: middle;
}
.swap-preview-link span {
    vertical-align: text-top;
    text-decoration: none;
}
.swap-preview-link a {
    text-decoration: none;
}
.swap-preview-link {
    margin-left: 10px;
    text-decoration: none;
}
.swap-div {
    margin-bottom: 30px; 
    background:#DFDFDF; 
    display:flex;
}

.button.remove,
.button.delete {
    margin: 10px 0;
    background:rgba(225,0,0,0.7);
}
.button.remove, 
.button.remove:hover, 
.button.remove:enabled, 
.button.remove:focus, 
.button.remove:active,
.button.delete, 
.button.delete:hover, 
.button.delete:enabled, 
.button.delete:focus, 
.button.delete:active {
    color: white;
    border-color: rgb(255, 0, 0);
}
.button.remove:active, .button.remove:focus,
.button.delete:active, .button.delete:focus {
    background:rgba(225,0,0,0.8);
}
.button.remove:hover,
.button.delete:hover {
    background:rgba(225,0,0,0.6);
}
