body {
    background-color: #f7f7f7 !important;
}

.wrap {
    overflow: unset !important;
}

.container-footer, .job-ad, .job-ad-header {
    font-family: 'Open Sans', sans-serif;
}

.job-ad-section__interaction {
    font-family: 'Roboto';
}

.job-ad {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 900px;
    margin: auto;
    color: #3a434f;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
}

.job-ad .card__body.inline * {
    margin-right: 8px;
}

.job-ad-section, .job-ad-header, .job-ad-footer {
    background-color: white;
    border: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 16px;
    border-radius: 2px;
    width: 100%;
    position: relative;
}

.job-ad-header, .job-ad-footer {
    padding: 32px;
}

.job-ad-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    align-content: space-between;
}

.job-ad-header--fixed {
    position: fixed;
    left: 0px;
    top: 0px;
    display: none;
    z-index: 100;
    padding: 16px 32px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    align-content: space-between;
}

.job-ad-header__title.job-ad-header__title--fixed {
    font-size: 16px;
}

.job-ad-header__info--fixed {
    text-align: center;
}


.job-ad-header--fixed .job-ad-header__logo, .job-ad-header.job-ad-header--fixed .job-ad-button {
    margin: 0px;
}

.job-ad-section--twoColumns {
    width: calc(50% - 16px);
}

.job-ad-section--oneColumn {
    width: 100%;
}

.job-ad-section__body a {
    color: inherit;
    font-weight: inherit;
}

.job-ad-section--picture {
    min-height: 50px;
    border: none;
}

.job-ad-section--video {
    background-color: black;
}

.job-ad-header-picture {
    width: 100%;
    display: block;
    height: auto;
    border-radius: 2px;
}

.job-ad-header-picture__slider {
    width: 100%;
}

.lSSlideOuter .lSPager.lSpg>li.active a {
    background-color:white;
    box-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

.lSPager {
    position: absolute;
    bottom: 0px;
    left: calc(50% - 20px);
}

@media (max-width: 1200px) and (min-width: 700px) {
    .job-ad-header__title.job-ad-header__title--fixed {
        max-width: 450px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

@media (max-width: 1000px) {
    .job-ad-header__info--fixed {
        text-align: left;
    }

    .job-ad-header__logo.job-ad-header__logo--fixed {
        display: none;
    }
}

@media (max-width: 700px) {
    .job-ad-header__button--fixed {
        margin-top: 16px;
        width: 100%;
    }

    .job-ad-header__button--fixed .job-ad-button {
        width: 100%;
    }

    .job-ad-header__title.job-ad-header__title--fixed {
        max-width: 300px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .job-ad-section--twoColumns {
        width: 100%;
    }
}

.job-ad-section__header {
    padding: 24px 24px 0px 24px;
    width: 100%;
}

.job-ad-section__title {
    font-size: 24px;
    font-weight: 600;
    text-overflow: ellipsis;
    overflow: hidden;
}

.job-ad-section__body {
    padding: 24px 24px 24px 24px;
}

.job-ad-section__body ul {
    list-style-type: disc;
}

.job-ad-section__interaction {
    padding: 16px 24px 16px 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.job-ad-header {
    color: rgba(0,0,0,0.87);
}

.job-ad-header__meta-info {
    display: flex;
    justify-content:flex-start;
}

.job-ad-header__meta-info div {
    margin-right: 16px;
    padding-bottom: 8px;
}

.job-ad-header__title {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 600;
    word-break: break-word;
}

.job-ad-header__meta-info, .job-ad-header__meta-info .material-icons {
    font-size: 14px;
    line-height: 1;
}

.job-ad-header__meta-info {
    margin-top: 8px;
    color: rgba(0,0,0,0.57);
    flex-wrap: wrap;
}

.job-ad-header__logo {
    max-height: 100px;
    max-width: 200px;
    margin-bottom: 16px;
}

.job-ad-header__logo--placeholder {
    display: block;
    padding: 16px;
    background-color: rgba(0,0,0,0.05);
    border: 2px dotted rgba(0,0,0,0.1);
    font-size: 24px;
    color: rgba(0,0,0,0.57);
    text-align: center;
    border-radius: 5px;
}

.job-ad-header__inline-logo {
    max-height: 20px;
    display: none;
}

.job-ad-header .job-ad-button {
    margin-top: 16px;
}

.job-ad-button {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 1px;
    white-space: nowrap;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    line-height: 1.3333333;
    text-transform: uppercase;
    border-radius: 2px;
    font-weight: 600;
    border: 1px solid rgba(0,0,0,0.1);
}

.job-ad-button:hover {
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
}

.job-ad-section-drag-placeholder {
    border: 1px dotted rgba(0,0,0,0.3);
    min-height: 200px;
    margin-bottom: 16px;
    background-color: rgba(0,0,0,0.1);
}

/** Editor */
.card__header--job-ad-section {
    display: flex;
    justify-content: space-between;
}

.card__header--job-ad-section .form-group {
    margin-bottom: 0px;
}

.job-ad-section__title-input {
    width: 300px;
    flex-grow: 1;
}

.job-ad-section__dropdowns {
    display: flex;
}

.card--oneColumn {
    width: 100%;
}

.card--twoColumns {
    width: 50%;
}

.job-ad-section__interaction-overlay {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: -1px;
    top: -1px;
    background-color: rgba(255,255,255,0.57);
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    z-index: 2;
}

.job-ad-section--editable:hover .job-ad-section__interaction-overlay {
    display: flex;
}

.button.interaction-overlay__button--drag-handle {
    cursor: grab;
}

.interaction-overlay__button {
    margin: 32px;
}

/**Style Reset**/
.job-ad p, .job-ad li, .job-ad ul, .job-ad ol {
    font-size: inherit;
    font: inherit;
}

.job-ad p, .job-ad li, .job-ad .ql-editor ul li, .job-ad .ql-editor ol li {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: inherit;
    font: inherit;
}

.job-ad a {
    text-decoration: none;
}

.job-ad ul, .job-ad ol {
    padding-left: 32px;
}

.job-ad li.mdl-menu__item {
    padding: 0px 16px;
    line-height: 48px;
}

.job-ad ul.mdl-menu {
    padding: 16px 0px 16px 0px;
}

.job-ad .ql-container {
    font-size: 16px;
}

.job-ad-section__embedded-video-container {
    padding:300px 0 0 0;
    position:relative;
    margin: -1px;
}

/**
IE 11 fix for i-frame problem
 */
_:-ms-fullscreen, :root .job-ad-section--video .job-ad-section__interaction-overlay {
    display: flex;
}


.job-ad-section__embedded-video-iframe {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    border-radius: 2px;
}

.lSAction .material-icons{
    font-size: 64px;
}

.exported-job-ad ul.job-ad-header-picture__slider {
    list-style: none;
    padding: 0;
    margin: 0;
    border: none;
}

.exported-job-ad ul.job-ad-header-picture__slider li {
    display: none;
}

.exported-job-ad ul.job-ad-header-picture__slider li:first-child {
    display: block;
}
