.ifso-block-wrap{
    position:relative;
    margin:inherit !important;;
    max-width: inherit !important;;
}

.ifso-widget-inuse {
    box-shadow: 0 0 0 1.2px #6665e7 !important;
    border-radius: 2px;
}

.ifso-widget-inuse:not(.is-selected):after{
    content:"if-so condition active";
    background: #fff;
    padding: 0 10px;
    position: absolute;
    top: 0;
    left: 5%;
    font-size:50%;
    color:#6665e7;
    transform: translateY(-70%);
}

.ifso-block-wrap .ifso-has-standalone-marker{
    position: absolute;
    right: 0;
    top: 0;
    font-size: 70%;
    background: #1e0547;
    color: #fff !important;
    padding: 2px 10px;
}

.custom-condition-base-div{
    width:100%;
    padding:2%;
}

.custom-condition-base-div .ifso-standalone-condition-trigger-type-wrap label, .custom-condition-base-div .default-content-wrap label{
    display:block;
    margin-bottom:10px;
}

.custom-condition-base-div .default-content-wrap label, .custom-condition-base-div .audiences-addrm-wrap label, .custom-condition-base-div .ifso-render-with-ajax-wrap label, .custom-condition-base-div .ifso-widget-checkbox label, .custom-condition-base-div .ifso-ajax-loader-type-wrap label{
    display: inline-block;
    vertical-align: top;
}

.custom-condition-base-div .ifso-render-with-ajax-wrap label, .custom-condition-base-div .ifso-ajax-loader-type-wrap label{
    width: 38%;
    vertical-align: middle;
}

.custom-condition-base-div .ifso-render-with-ajax-wrap select, .custom-condition-base-div .ifso-ajax-loader-type-wrap select{
    width: 55%;
}

.custom-condition-base-div>*{
    margin-bottom:1%;
}

.custom-condition-base-div .ifso-standalone-condition-trigger-type-wrap>select{
    width:100%;
}

.custom-condition-base-div .ifso-standalone-condition-form-wrap .ifso-standalone-condition-form{
    /*padding:2%;*/
}

.custom-condition-base-div .ifso-standalone-condition-form-wrap .ifso-standalone-condition-form>*, .ifso-condition-sidebar-wrap .ifso-standalone-condition-form-wrap .ifso-standalone-condition-form>*{
    display:block;
}

.custom-condition-base-div .ifso-standalone-condition-form-wrap .ifso-standalone-condition-form, .ifso-condition-sidebar-wrap .ifso-standalone-condition-form-wrap .ifso-standalone-condition-form{
    display:none;
}

.custom-condition-base-div .ifso-standalone-condition-form-wrap .ifso-standalone-condition-form.selected,.ifso-condition-sidebar-wrap .ifso-standalone-condition-form-wrap .ifso-standalone-condition-form.selected{
    display:block;
}

.ifso-condition-sidebar-wrap .ifso-standalone-condition-form-wrap .ifso-standalone-condition-form .ifso-standalone-condition-control-wrap{
    margin:1vh 0;
}
.ifso-condition-sidebar-wrap .ifso-standalone-condition-form-wrap .ifso-standalone-condition-form .ifso-standalone-condition-control-wrap label{
    margin:0 0 4px 0;
    display: inline-block;
}
.ifso-condition-sidebar-wrap .ifso-standalone-condition-form-wrap .ifso-standalone-condition-form .ifso-standalone-condition-control-wrap input[type="text"], .ifso-condition-sidebar-wrap .ifso-standalone-condition-form-wrap .ifso-standalone-condition-form .ifso-standalone-condition-control-wrap select{
    min-width: 100%;
    max-width: 100%;
}

.custom-condition-base-div .default-content-wrap>input, .custom-condition-base-div .audiences-addrm-wrap>input, .custom-condition-base-div .ifso-render-with-ajax-wrap>input,.custom-condition-base-div .ifso-widget-checkbox input{
    transform: scale(0.7);
    border-radius: 2px;
}

.custom-condition-base-div .default-content-wrap{
    /*padding:2%;*/
    margin-top: 20px;
}
.custom-condition-base-div .default-content-wrap label{
    margin:0;
}

.custom-condition-base-div .default-content-wrap .default-content-input{
    color: #979797;
    border: 1px solid #999;
    border-radius: 3px;
    padding: 10px;
    min-height: 130px;
    margin: 8px 0 10px 0;
}

.ifso-condition-sidebar-wrap .ifso-standalone-condition-form-wrap .ifso-standalone-condition-form .ifso-standalone-condition-noticebox{
    text-align: center;
    padding: 10px 5px;
    position: relative;
    margin: 10px 0;
}

.ifso-condition-sidebar-wrap .ifso-standalone-condition-form-wrap .ifso-standalone-condition-form .ifso-standalone-condition-noticebox .notice-content{
    margin-bottom: 0;
}

.ifso-condition-sidebar-wrap .ifso-standalone-condition-form-wrap .ifso-standalone-condition-form .ifso-standalone-condition-noticebox .ifso-url-template .value-text{
    color: #27CCC0;
    font-weight: bold;
}

.ifso-condition-sidebar-wrap .ifso-standalone-condition-form-wrap .ifso-standalone-condition-form .ifso-question-mark{
    border: 1px solid #929292 !important;
    padding: 1px 5px;
    font-size: 0.7em;
    color: #929292 !important;
    border-radius: 50%;
    margin-left: 5px;
    text-decoration: none;
}

.ifso-condition-sidebar-wrap .ifso-standalone-condition-form-wrap .ifso-standalone-condition-form .ifso-standalone-condition-noticebox .closingX{
    display: inline-block;
    color: #999;
    font-weight:bold;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}

.ifso-condition-sidebar-wrap .ifso-aud-addrm-ui-wrap>p{
    margin-top:4px;
    font-style:italic;
}

.ifso-condition-sidebar-wrap .ifso-aud-addrm-ui-wrap>h4{
    margin:5px 0;
}

.ifso-standalone-condition-form .ifso-stantalone-error-message{
    border: 1px solid #eb665c;
    background: #fdf1f1;
    text-align: center;
    margin:10px 0 20px 0;
    padding: 2px 20px 6px;
    border-radius: 3px;
}

.ifso-standalone-condition-form .ifso-stantalone-error-message a{
    color: #eb665c;
    box-shadow: none;
    outline: none;
}

.ifso-condition-sidebar-wrap{

}

.ifso-condition-sidebar-wrap .title *{
    vertical-align: text-top;
}

.ifso-condition-sidebar-wrap .title .ifso-block-icon{
    margin-right: 7px;
    width: 11px;
}

.nodisplay{
    display:none!important;
}

.displayblock{
    display:block;
}

.ifso-gray{
    color:#999!important;
}

.ifso-multibox-wrapper{
    border: 1px solid #dcdcdc;
    padding: 10px;
    border-radius: 2px;
    background: #f8f8f8;
    line-height: 1.25;
}

.ifso-multibox-wrapper .ifso-multibox-description{
    margin: 0px 0 10px;
    border-bottom: 1px solid #bebebe;
    padding-bottom: 10px;
    text-align: center;
}

.ifso-multibox-wrapper .ifso-multibox-versions .no-versions-text{
    display: flex;
    justify-content: center;
    color: #555d66a6;
    font-style: italic;
}

.ifso-multibox-wrapper .ifso-multibox-versions .ifso-multibox-version .content-label{
    color: #0073aa;
    word-wrap: break-word;
    width: 85%;
    display: inline-block;
    text-transform: capitalize;
}

.ifso-multibox-wrapper .ifso-multibox-versions .ifso-multibox-version .content-label span{
    text-transform:none;
}

.ifso-multibox-wrapper .ifso-multibox-versions .ifso-multibox-version button {
    width: 15%;
    background: none;
    border: none;
    color: #d25134;
    cursor: pointer;
}

.location-generator-btn{
    border: 1px solid #bebebe;
    margin-bottom:5px;
}

.location-generator-btn:hover{
    background: #ddd!important;
}