/* ========================================================================= \\
    Widget Modal Styles
\\ ========================================================================= */
.lg-modal--large .lg-modal__container {
    z-index: 1;
    overflow: hidden;
}

.lg-modal--large .lg-modal__wrapper {
    max-width: 53.13rem;
    width: 100%;
    margin-bottom: 3em;
}

.widget-modal .lg-modal__field {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.widget-modal .lg-modal__section {
    margin-bottom: 0.9em;
}
.widget-modal .lgfe-select-brand {
    width: 100%;
    margin-right: 10px;
}
.widget-modal .lgfe-widget-input {
    width: 100%;
}
.widget-modal .lgfe-widget-input input {
    margin: 0 0 0.2em 0;
}
.widget-modal .select-brand,
.widget-modal .lgfe-select select {
    width: 100%;
}

.widget-modal .select-brand,
.widget-modal .lgfe-select select {
    width: 100%;
}
.widget-modal .select-brand select {
    width: 100%;
    font-size: 0.875em;
}
.widget-modal .select-brand .lgfe-select,
.widget-modal .select-duration .lgfe-select,
.widget-modal .select-instances .lgfe-select {
    width: 100%;
}
.widget-modal .select-instances {
    width: 78%;
    padding-right: 3%;
}
.widget-modal .select-duration {
    width: 30%;
}
.widget-modal .lg-modal__field label {
    margin-bottom: 5px;
    display: block;
}
.widget-modal .lgfe-select.visually-hidden {
    position: absolute;
    width: 1px;
}
.widget-modal .lgfe-select-full {
    width: 100%;
}
.widget-modal .lgfe-select-full .lgfe-select {
    width: 100%;
}
.widget-modal .lgfe-select-full .lgfe-select-wrapper {
    width: 100%;
}
.widget-modal .lgfe-input-text,
.widget-modal .lgfe-input-textarea {
    width: 100%;
}

.widget-modal .lg-modal__actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#image_widget_modal .lg-modal__title-3,
#video-widget-modal .lg-modal__title-3 {
    white-space: nowrap;
    height: 2em;
    position: relative;
}

#image_widget_modal .lg-modal__title-3 div,
#video-widget-modal .lg-modal__title-3 div {
    position: absolute;
}

@media (min-width: 34em) {
    #asset-info-modal .lg-modal--large .lg-modal__panel {
        outline: 0;
        padding: 4.5em 3.125em 2em 3.125em;
    }
    #widget-form .lgfe-select select {
        padding: 1.1429em 3em 1.1429em 1.1429em;
    }
}
/*Responsive styling - medium*/
@media (min-width: 42em) {
    .widget-modal .lg-modal__field {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
    }
    .embedded-url-widget .lg-modal__field {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .widget-modal .select-brand {
        width: 100%;
    }
    /*    .widget-modal .lg-modal__field{
        width: 100%;
    }*/
}

@media (max-width: 42em) {
    .widget-modal .lg-modal__field label {
        margin-top: 5px;
    }
}

/* ========================================================================= \\
    $Image-Widget
\\ ========================================================================= */

.widget-modal {
    counter-reset: card-order;
}

#widget-modal {
}

.widget-modal .wm-asset-matrix {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    overflow-y: scroll;
    height: 14.125em;
}

.ad-smart-section-template-holder .lg-modal__section {
    margin-bottom: 0 !important;
}

#image_widget_modal .lg-modal__section,
#video_widget_modal .lg-modal__section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 2em;
}

.widget-modal .wmama-duration-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    padding-left: 1em;
}

.widget-modal .lg-modal__title-3 {
    margin: 0;
    margin-bottom: 5px;
    word-break: break-all;
}

.widget-modal #image_widget_modal .lgfe-select {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
}

.widget-modal #image_widget_modal .lgfe-select select {
    width: 100%;
}

#image_widget_modal .lgfe-button,
#video-widget-modal .lgfe-button {
    margin-right: 1em;
}
#image_widget_modal .lgfe-button:not(:last-child),
#video_widget_modal .lgfe-button:not(:last-child) {
    margin-bottom: 0;
}

#widget-modal #image_widget_modal .wm-asset-description-field-wrapper,
#widget-modal #video-widget-modal .wm-asset-description-field-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    font-size: 0.8em;
}
#image_widget_modal
    .wm-asset-description-field-wrapper
    .wm-asset-description-field,
#video-widget-modal
    .wm-asset-description-field-wrapper
    .wm-asset-description-field {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0.3em 0;
    width: 100%;
    border-bottom: 1px solid rgba(108, 111, 112, 0.5);
}
.wm-asset-description-field .wmadf-title {
    font-weight: 700;
    margin-right: 0.5em;
}
.wm-asset-description-field .wmadf-value {
}
.widget-modal #image_widget_modal .lg-modal__title-3,
.widget-modal #video-widget-modal .lg-modal__title-3 {
    padding: 0.4em 0;
}

.widget-modal .lgfe-cm-widget-switches {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    padding: 15px 0px;
}

.widget-modal .lgfe-cm-widget-switches .lgfe-cm-widget-switch {
    margin-right: 15px;
}

.widget-modal .lgfe-cm-widget-switches .lgfe-cm-widget-switch.active {
    color: #2196f3;
}

.widget-modal .lgfe-cm-widget-switches .lgfe-cm-widget-switch:last-child {
    margin-right: 0px;
}

.widget-modal
    .lgfe-cm-widget-switches
    .lgfe-cm-widget-switch
    .slider-icons:before {
    bottom: 3px;
}

.widget-modal
    .lgfe-cm-widget-switches
    .lgfe-cm-widget-switch.disabled
    .slider-icons:before {
    content: "\f023";
}

.widget-modal
    .lgfe-cm-widget-switches
    .lgfe-cm-widget-switch
    .slider-icons:after {
    bottom: 3px;
}

.widget-modal
    .lgfe-cm-widget-switches
    .lgfe-cm-widget-switch
    .switch
    span.lgfe-field-label {
    line-height: 1.3;
    padding-left: 46px;
    font-size: 1em;
}

.widget-modal .lgfe-cm-widget-switches .lgfe-cm-widget-switch .switch:hover {
    color: #009fdf;
}

/*Responsive styling - medium*/
@media (max-width: 37em) {
    .wmama-asset-wrapper {
        width: 100%;
    }
    .widget-modal .lg-modal .wmama-information {
        width: 100%;
        background-color: red;
    }

    #image_widget_modal .lg-modal__section {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start;
    }
    #image_widget_modal .wmama-duration-wrapper {
        width: 100%;
        padding: 1em 0 0 0;
    }

    /*.widget-modal #select-brand{
        width: 100%;
    }

    .widget-modal .select-brand{
        width: 75%;
    }*/
}

/* - - - - - - - - - - - - - - - - - - - - - - - \\
    $Asset-Matrix-Transition
\\ - - - - - - - - - - - - - - - - - - - - - - - */

.asset-matrix-enter-active,
.asset-matrix-leave-active {
    -webkit-transition: opacity 350ms cubic-bezier(0.165, 0.84, 0.44, 1),
        -webkit-transform 350ms cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: opacity 350ms cubic-bezier(0.165, 0.84, 0.44, 1),
        -webkit-transform 350ms cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: opacity 350ms cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 350ms cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: opacity 350ms cubic-bezier(0.165, 0.84, 0.44, 1),
        transform 350ms cubic-bezier(0.165, 0.84, 0.44, 1),
        -webkit-transform 350ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.asset-matrix-enter,
.asset-matrix-leave-to {
    opacity: 0;
    -webkit-transform: scale(0.85);
            transform: scale(0.85);
}

.widget-modal .wmam-asset {
    width: 7.5em;
    /*height: 7.5em;*/
    margin-right: 0.25em;
    margin-bottom: 0.25em;
    border: 1px solid #d0d0d0;
    position: relative;
}

.widget-modal .wmama-information {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 14em;
    height: 10em;
    background-position: 50% 50%;
    background-size: cover;
    position: relative;
    cursor: pointer;
}

.widget-modal .wmama-duration {
    width: 7.375em;
    height: 7.375em;
    position: absolute;
}

.widget-modal .wmama-duration-time {
    width: 5em;
    border: 0;
    padding: 0.2em 0.3em;
    position: absolute;
    right: 0;
    bottom: 0;
    font-family: inherit;
    font-size: 0.875em;
    font-weight: 600;
    color: #6c6f70;
    text-align: center;
}

.widget-modal .wmama-utilities {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    /*margin-top: 7.5em;*/
    border-top: 1px solid #d0d0d0;
    padding: 0.25em;
}

.widget-modal .wmama-utility-button {
    width: 1.625em;
    height: 1.625em;
    -webkit-transition: color 150ms cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: color 150ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
.widget-modal .wmama-utility-button:not(:last-child) {
    margin-right: 1em;
}
.widget-modal .wmama-utility-button:focus,
.widget-modal .wmama-utility-button:hover {
    color: #47c7fa;
}

.widget-modal .lgfe-cm-drag-handle {
    /*opacity: 0.2;*/
    width: 2em;
    height: 2em;
    background-color: rgba(64, 64, 64, 0.2);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    color: rgba(255, 255, 255, 0.5);
    text-shadow: 0 2px 1px rgba(0, 0, 0, 0.2);
    -webkit-transition: background-color 250ms cubic-bezier(0.165, 0.84, 0.44, 1),
        color 250ms cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: background-color 250ms cubic-bezier(0.165, 0.84, 0.44, 1),
        color 250ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
.widget-modal .lgfe-cm-drag-handle:hover {
    /*opacity: 1;*/
    background-color: #404040;
    color: #fff;
}

.widget-modal .lg-modal__actions .lgfe-button:not(:last-child) {
    margin-bottom: 0.5em;
}

/*Video*/
#video-widget-modal .wmama-asset-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 2em;
}
.wmama-asset-display-duration {
    padding: 0 1em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    width: 100%;
}

/*Responsive styling - medium*/
@media (max-width: 37em) {
    #video-widget-modal .wmama-asset-wrapper {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .wmama-asset-display-duration {
        padding: 1em 0 0 0;
    }
}

#widget-modal .lg-modal__field.error {
    /*box-shadow: 0px 0px 10px rgb(247,48,54);
    border-radius: 0.2143em;*/
}

.lgfe-input-text.error:focus,
.lgfe-input-textarea.error:focus {
    border-color: rgb(247, 48, 54);
}

#widget-modal .lg-modal__field.error:before {
    content: "\f111";
    width: 1em;
    height: 1em;
    margin-top: auto;
    margin-bottom: auto;
    font-family: "FontAwesome";
    font-size: 0.8em;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -1.5em;
    color: rgb(247, 48, 54);
}

.widget-modal .errorInput {
    border-color: rgb(247, 48, 54);
}

.widget-modal #image_widget_modal .lg-modal__field {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: relative;
}

.widget-modal #image_widget_modal .ad-smart-section .lg-modal__field {
    -webkit-box-align: normal;
        -ms-flex-align: normal;
            align-items: normal;
}
.lgfe-select-params-first {
    -webkit-box-flex: 3;
        -ms-flex: 3;
            flex: 3;
}
.lgfe-select-params-second {
    -webkit-box-flex: 1.5;
        -ms-flex: 1.5;
            flex: 1.5;
}
.widget-modal .lg-modal-description {
    background-color: rgba(220, 221, 221, 0.15);
    color: #6c6f70;
    padding: 2em 3.125em;
    font-size: 0.8em;
    line-height: 1.6;
}
.widget-modal .lg-modal-description .lg-modal-description-title {
    font-weight: 600;
    font-size: 1.1em;
    padding-bottom: 0.5em;
}
.widget-modal .lg-modal-description .lg-modal-description-sub-title {
    padding-bottom: 0;
    font-size: 1em;
    font-weight: 600;
}
.widget-modal .lg-modal-description .lg-modal-description-content {
    padding: 1em 0;
}
.widget-modal .lg-modal-description .lg-modal-description-details {
    list-style-position: inside;
    padding-left: 0;
    margin-top: 0.1em;
}
.widget-modal .lg-modal-description .lg-modal-description-details li {
    padding: 0.2em 0;
}

.widget-modal
    #video-widget-modal
    .lg-modal__actions
    .lgfe-button:not(:last-child) {
    margin-bottom: 0;
}

.widget-modal .lgfe-box-text,
.widget-modal .lgfe-box-text-plain {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    border: 1px solid #d0d0d0;
    border-radius: 0.2143em;
    padding: 0.9em 3em 0.9em 1.1429em;
    background-color: #fff;
    font-family: inherit;
    font-size: 0.875em;
    font-weight: 700;
    margin: 0 0 0.2em 0;
    position: relative;
    margin-right: 1%;
    margin: 0.4em 0 0.2em 0;
}

.widget-modal .lgfe-box-text-plain.select-brand-disabled {
    width: 74%;
    margin-right: 1%;
}

.widget-modal .lgfe-box-text:after {
    content: "\f017";
    cursor: default;
    pointer-events: none;
    height: 1em;
    margin-top: 0.9em;
    margin-bottom: auto;
    position: absolute;
    top: 0;
    right: 1em;
    bottom: 0;
    font-family: "FontAwesome";
    font-size: 1.1em;
    color: #009fdf;
    line-height: 1;
    font-weight: normal;
}

.wmama-asset-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

#daretocompare-widget-modal .select-duration {
    width: 100%;
}

@media (max-width: 42em) {
    .widget-modal .lgfe-box-text-plain.select-brand-disabled {
        width: 100%;
    }
    .widget-modal .select-instances {
        width: 100%;
        margin-bottom: 10px;
        padding-right: 0px;
    }
    .widget-modal .select-duration {
        width: 100%;
    }
}

.v-fade {
    display: inherit !important; /* override v-show display: none */

    -webkit-transition: all 0.5s;

    transition: all 0.5s;
}

.v-fade[style*="display: none;"] {
    opacity: 0;

    pointer-events: none; /* disable user interaction */
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none; /* disable user selection */
}

.temp-params-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    margin-top: 8px;
}

.temp-params-wrapper .lgfe-select {
    position: relative;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    overflow: visible;
}
.temp-params-wrapper .lgfe-select:first-child {
    margin-right: 15px;
}
.temp-params-wrapper .lgfe-select label {
    position: absolute;
    top: -15px;
    font-size: 13px;
    margin-top: 0;
}

.temp-params-wrapper .lgfe-select.lgfe-select--multiple {
    top: -15px;
}

.temp-params-wrapper #select-temp-hi {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
}

.temp-params-wrapper .lgfe-select.lgfe-select--multiple {
    display: block !important;
}

.temp-params-wrapper .lgfe-select--multiple label {
    position: initial !important;
    margin-bottom: 0;
    background-color: #fff;
}

.temp-params-wrapper .lgfe-select.lgfe-select--multiple select {
    margin-bottom: 10px;
}

.temp-params-wrapper .lgfe-select.lgfe-select--multiple select:last-child {
    margin-bottom: 0;
}

.ad-smart-section {
    -webkit-box-shadow: 0px 0px 2px;
            box-shadow: 0px 0px 2px;
    padding: 0.5em 6px;
    display: block !important;
}

.modal-tag-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
.modal-tag-wrapper .wmadf-value {
    padding: 0 2px;
}
