/* --------------------------------------------------------- */
/* --------------------- START - IGNORE -------------------- */
/* --------------------------------------------------------- */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    margin: 0px;
    padding: 0px;
    background-color: inherit;
    font-family: 'Open Sans', 'Roboto', Arial, sans-serif;
}

h1 {
    margin-bottom: 10px;
}

h2 {
    margin-bottom: 10px;
}

.format-item {
    display: block;
    width: 100%;
    padding: 15px;
    margin: 10px 0 10px 0;
    border: 1px solid #cecece;
    border-radius: 5px;
    text-decoration: none;
    color: #000;
}

.formats [class^="format_"] {
    display: inline-block;
    vertical-align: top;
    margin: 0 20px 20px 0;
}

.btn-wrapper > .btn  {
    margin-top: .25rem;
    margin-bottom: .25rem;
    margin-right: .25rem;
}

/* --------------------------------------------------------- */
/* ---------------------- END - IGNORE --------------------- */
/* --------------------------------------------------------- */





body {
    font-family: 'Open Sans', 'Roboto', Arial, sans-serif;
}

.sw-autopromo {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    overflow: hidden;
    text-align: center;
    padding: 20px 20px;
    font-style: normal;
    text-decoration: none;
    background: rgb(242,138,26);
    background: linear-gradient(340deg, rgba(242,138,26,1) 0%, rgba(251,188,15,1) 100%);
}

.sw-brand {
    width: 100%;
    max-width: 100px;
    height: auto;
    margin: 0 auto;
}

.sw-brand-h {
    max-width: 140px;
}

.sw-titre {
    margin-bottom: 7px;
    font-size: 20px;
    line-height: 24px;
    font-weight: bold;
    color: #FFF;
    text-align: center;
}

.sw-description {
    color: #FFF;
    font-size: 14px;
    line-height: 17px;
}

.sw-cta-w {
    display: block;
    width: 100%;
    text-align: center;
}

.sw-cta-w .sw-description {
    margin-bottom: 5px;
}

.sw-cta {
    display: inline-block;
    padding: 5px 10px;
    color: rgb(242,138,26);
    font-size: 13px;
    line-height: 16px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #FFF;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    -webkit-transition: background-color .4s ease-in-out;
    -o-transition: background-color .4s ease-in-out;
    transition: background-color .4s ease-in-out;
}
.sw-cta:hover {
    background-color: rgba(255, 255, 255, .9);
}

.sw-cta-xl {
    padding: 10px 18px;
    font-size: 14px;
    text-align: center;
}

.sw-coin {
    width: 100%;
    max-width: 100px;
    height: auto;
    margin: 0 auto;
    animation: 4s bounce 0s infinite;
    transform-origin: center bottom;
}

.sw-shadow {
    width: 60px;
    height: 12px;
    margin: 0 auto;
    background-color: #000;
    border-radius: 50%;
    opacity: .05;
    animation: 4s bounceshadow 0s infinite;
}

@keyframes bounceshadow {
    0% {
        width: 60px;
    }
    25% {
        width: 48px;
    }
    50% {
        width: 56px;
    }
    75% {
        width: 50px;
    }
    100% {
        width: 60px;
    }
}

@keyframes bounce {
    0% {
        transform: translate3d(0px, 0px, 0px);
    }
    25% {
        transform: translate3d(0px, 10px, 0px);
    }
    50% {
        transform: translate3d(0px, 3px, 0px);
    }
    75% {
        transform: translate3d(0px, 7px, 0px);
    }
    100% {
        transform: translate3d(0px, 0px, 0px);
    }
}

/* ----------------------- 120 x 600 ----------------------- */
.format_120x600 {
    width: 120px;
    height: 600px;
    padding: 20px 15px;
}

.format_120x600 .sw-cta {
    text-transform: none;
}

/* ----------------------- 160 x 600 ----------------------- */
.format_160x600 {
    width: 160px;
    height: 600px;
}
/* ----------------------- 200 x 200 ----------------------- */
.format_200x200 {
    width: 200px;
    height: 200px;
}

/* ----------------------- 250 x 250 ----------------------- */
.format_250x250 {
    width: 250px;
    height: 250px;
}

/* ----------------------- 300 x _ ----------------------- */
.format_300x50 {
    width: 300px;
    height: 50px;
}
.format_300x100 {
    width: 300px;
    height: 100px;
}
.format_300x168 {
    width: 300px;
    height: 168px;
}
.format_300x250 {
    width: 300px;
    height: 250px;
}
.format_300x600 {
    width: 300px;
    height: 600px;
}

/* ----------------------- 320 x _ ----------------------- */
.format_320x50 {
    width: 320px;
    height: 50px;
}
.format_320x100 {
    width: 320px;
    height: 100px;
}
.format_320x480 {
    width: 320px;
    height: 480px;
}

/* ----------------------- 336 x 280 ----------------------- */
.format_336x280 {
    width: 336px;
    height: 280px;
}

/* ----------------------- 640 x 480 ----------------------- */
.format_640x480 {
    width: 640px;
    height: 480px;
}

.form_horizontal {
    flex-direction: row;
}
.form_horizontal .sw-brand,
.form_horizontal .sw-cta-w {
    width: auto;
    margin: 0;
}


/* ----------------------- 728 x 90 ----------------------- */
.format_728x90 {
    width: 728px;
    height: 90px;
}

/* ----------------------- 800 x 250 ----------------------- */
.format_800x250 {
    width: 800px;
    height: 250px;
}

/* ----------------------- 970 x _ ----------------------- */
.format_970x90 {
    width: 970px;
    height: 90px;
}
.format_970x250 {
    width: 970px;
    height: 250px;
}

/* ----------------------- 1000 x _ ----------------------- */
.format_1000x30 {
    width: 1000px;
    height: 30px;
}
.format_1000x90 {
    width: 1000px;
    height: 90px;
}
.format_1000x250 {
    width: 1000px;
    height: 250px;
}
.format_1000x300 {
    width: 1000px;
    height: 300px;
}
.format_1000x1000 {
    width: 1000px;
    height: 1000px;
}

/* ---------------------- Formats with small height ---------------------- */
.format_300x50,
.format_300x100,
.format_320x50,
.format_320x100,
.format_728x90,
.format_970x90,
.format_1000x30,
.format_1000x90 {
    .sw-brand {
        max-width: 70px;
    }
    .sw-coin,
    .sw-shadow,
    .sw-titre {
        display: none;
    }
    .sw-cta {
        padding: 4px 8px;
        font-size: 10px;
        line-height: 14px;
    }
}
.format_1000x30 {
    .sw-brand {
        max-height: 30px;
        max-width: none;
        width: auto;
    }
}
