@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700|Merriweather:700');
.mobile {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    text-align: left;
    font-weight: 300;
    color: #545454;
}

ul {
    list-style: none;
}

a,
a:visited,
a:link {
    text-decoration: underline;
    color: #fd534e;
    font-weight: bold;
}

h2 {
    color: #000;
}

.container {
    width: 100%;
    max-width: 690px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.container .items {
    overflow: hidden;
    height: 500px;
    width: 100%;
}

.container .items .item {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.container .items .item .full {
    width: 100%;
    max-width: 690px;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.container h2 {
    margin: 20px auto;
    font-size: 20px;
    text-align: left;
    font-family: 'Merriweather', serif;
    z-index: 2;
    position: relative;
}

.container p {
    margin-bottom: 20px;
}

.container .items .item p {
    font-size: 16px;
    line-height: 1.4em;
    margin: 5px 0 0 35px;
    width: calc(100% - 75px);
    text-align: left;
    color: #231F20;
    z-index: 2;
    position: relative;
    font-weight: 200;
}

.container .items .item p span {
    background-color: #9e2276;
    border-radius: 100%;
    color: white;
    font-weight: 700;
    margin-right: 5px;
    padding: 4px 5px;
    font-size: 13px;
}


/*----------------------------------------sequence controls */

.container .controls {
    position: absolute;
    width: 98%;
    height: auto;
    top: 50%;
    left: 1%;
    z-index: 10;
}

.container .controls ul {
    height: 30px;
}

.container .controls li {
    border: 1px solid #d3d2d2;
    width: 47px;
    height: 47px;
    transition: all ease 1s;
    position: relative;
}

.container .controls li.forward {
    float: right;
}

.container .controls li.backward {
    float: left;
}

.container .controls li:hover {
    opacity: 0.7;
    cursor: pointer;
    color: #31292e;
}

.container .controls li p {
    font-size: 30px;
    padding: 5px 10px;
    font-weight: 100;
}

.controls li div {
    width: 15px;
    height: 15px;
    border-top: 1px solid black;
    border-left: 1px solid black;
    position: absolute;
    top: 15px;
    left: 13px;
}

.controls li.forward div {
    transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.controls li.backward div {
    transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    margin-left: 5px;
}


/*----------------------------------------sequence tabs */

.container .tabs {
    text-align: center;
    display: none;
}

.container .tabs li {
    width: 13px;
    height: 13px;
    border-radius: 100%;
    background-color: #c6c6c6;
    display: inline-block;
    margin: 0 2px;
    cursor: pointer;
    border: solid 1px white;
}

.container .tabs li.current {
    background-color: #000000;
}

.container .tabs li:hover {
    border: solid 1px black;
}


/*--------------------------------------- before n after*/


/*  BEFORE / AFTER */

.ba-slider {
    position: relative;
    overflow: hidden;
}

.ba-slider img {
    width: 100%;
    display: block;
}

.ba-slider .resize {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
    background-color: #f0f0f0;
}

.ba-slider .handle {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    border-left: 1px solid white;
    cursor: ew-resize;
}

.ba-slider .handle:after {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -22px;
    content: '\21d4';
    color: #464646;
    font-weight: 200;
    font-size: 22px;
    text-align: center;
    line-height: 37px;
    background: white;
    border: 1px solid black;
    border-radius: 50%;
    transition: all .3s ease;
}

.ba-slider .handle.draggable:after {
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    line-height: 50px;
    font-size: 20px;
    font-weight: 200;
    color: #1e6474;
}


/* Animate */


/*--------------------------------------- last line credits  */

p.credit {
    text-align: right;
    width: 95%;
    font-size: 13px;
    color: #afafaf;
    margin: 10px auto 0 auto;
    padding: 5px 0 0 0;
    border-top: 1px solid #e6e6e6;
}

p.credit-left {
    text-align: left;
    width: 95%;
    font-size: 13px;
    color: #afafaf;
    margin: -20px auto 0 auto;
}


/*--------------------------------------- media queries  */

@media(max-width: 490px) {
    .container .tabs li {
        margin: 0px 1px;
    }
    .container .items {
        height: 370px;
    }
    .container .items .item {
        height: 370px;
    }
    .ba-slider {
        margin-top: 21px;
    }
    p {
        font-size: 14px;
    }
    .container h2 {
        font-size: 20px;
    }
}

@media(max-width: 425px) {
    .container .controls {
        bottom: 2%;
        top: unset;
    }
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
    .container .items {
        height: 470px;
    }
    .container .items .item {
        height:470px;
    }
}

@media(max-width: 390px) {
    .container .controls {
        bottom: 2%;
        top: unset;
    }
    .container .tabs li {
        margin: 0px 1px;
    }
    .container .items {
        height: 440px;;
    }
    .container .items .item {
        height: 440px;;
    }
    .ba-slider {
        margin-top: 21px;
    }
    .desktop {
        display: none;
    }
}

@media(max-width: 345px) {
    .container .items {
        height: 390px;
    }
    .container .items .item {
        height:390px;
    }
}

@media(max-width: 320px) {
    .container .controls {
        bottom: 2%;
        top: unset;
    }
    .container .tabs li {
        margin: 0px 1px;
    }
    .container .items {
        height: 360px;
    }
    .container .items .item {
        height:360px;
    }
    .ba-slider {
        margin-top: 21px;
    }
}