*,
::after,
::before {
    box-sizing: border-box
}

html {
    font-size: 62.5%
}

body,
button {
    font-size: 1.6rem
}

body {
    font-family: "Source Sans Pro", sans-serif;
    color: #343642;
    background-color: #fff
}

button {
    cursor: pointer;
    border: none;
    background-color: transparent;
    outline: 0
}

.cd-image-block {
    position: relative
}

.cd-content-block h3 {
    font-size: 3rem
}

.cd-image-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(52, 54, 66, .6);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    -moz-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s
}

.cd-image-block.content-block-is-visible::before {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity .3s 0s, visibility 0s 0s;
    -moz-transition: opacity .3s 0s, visibility 0s 0s;
    transition: opacity .3s 0s, visibility 0s 0s
}

@media only screen and (min-width:768px) {
    .cd-image-block::before {
        /*display: none*/
    }
}

.cd-images-list::before {
   /* content: 'mobile';
    display: none*/
}

.cd-images-list>li {
    height: 250px;
    background: url(../images/mo.jpg) center center no-repeat #979c9c;
    background-size: cover
}

.cd-images-list>li:nth-of-type(2) {
    background: url(../images/white.jpg) center center no-repeat #343642;
    background-size: cover
}

.cd-images-list>li:nth-of-type(3) {
    background: url(../images/verde.jpg) center center no-repeat #982b3c;
    background-size: cover
}

.cd-images-list>li:nth-of-type(4) {
    background: url(../images/bed.jpg) center center no-repeat #389;
    background-size: cover
}

.cd-images-list>li:nth-of-type(5) {
    background: url(../images/ca.jpg) center center no-repeat #389;
    background-size: cover
}

.cd-images-list>li:nth-of-type(6) {
    background: url(../images/wa.jpg) center center no-repeat #389;
    background-size: cover
}

.cd-images-list>li:nth-of-type(7) {
    background: url(../images/cctv.jpg) center center no-repeat #389;
    background-size: cover
}

.cd-images-list>li:nth-of-type(8) {
    background: url(../images/sec.jpg) center center no-repeat #389;
    background-size: cover
}

/*
.cd-images-list>li:nth-of-type(9) {
    background: url(../images/se.jpg) center center no-repeat #389;
    background-size: cover
}
*/

.cd-images-list>li>a {
    display: table;
    height: 100%;
    width: 100%
}

.cd-images-list h2 {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-size: 3rem;
    color: #fff;
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

@media only screen and (min-width:768px) {
    .cd-images-list::before {
        content: 'desktop'
    }
    .cd-images-list>li>a {
        display: block;
        padding: 4em 3em;
        cursor: default;
        pointer-events: none
    }
    .cd-images-list h2 {
        font-size: 5.5rem;
        text-align: left
    }
}

.cd-content-block {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    height: 100%;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    -webkit-transition: -webkit-transform .3s;
    -moz-transition: -moz-transform .3s;
    transition: transform .3s
}

.cd-content-block.is-visible {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0)
}

.cd-content-block>ul {
    height: 100%
}

.cd-content-block>ul>li {
    position: absolute;
    height: 100%;
    padding: 2em;
    overflow-y: scroll;
    background-color: #fff;
    opacity: 0;
    visibility: hidden
}

.cd-content-block>ul>li.is-selected {
    position: relative;
    opacity: 1;
    visibility: visible;
    -webkit-overflow-scrolling: touch
}

.cd-content-block h2 {
    line-height: 1.2;
    font-weight: 700;
    font-size: 2.3rem;
    margin-bottom: 1em
}

.cd-content-block p {
    margin-bottom: 2em;
    line-height: 1.6;
    color: #85868d;
    text-align: justify
}

.cd-content-block .cd-close {
    position: fixed;
    top: 0;
    right: 0;
    height: 44px;
    width: 44px;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    color: transparent;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    -webkit-transition: -webkit-transform .2s;
    -moz-transition: -moz-transform .2s;
    transition: transform .2s
}

.cd-content-block .cd-close::after,
.cd-content-block .cd-close::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2px;
    height: 24px;
    background-color: #343642;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0)
}

.cd-content-block .cd-close::after {
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    -moz-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    -o-transform: translateX(-50%) translateY(-50%) rotate(45deg);
    transform: translateX(-50%) translateY(-50%) rotate(45deg)
}

.cd-content-block .cd-close::before {
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    -moz-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    -o-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    transform: translateX(-50%) translateY(-50%) rotate(-45deg)
}

.cd-content-block .cd-close.is-scaled-up {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1)
}

.no-touch .cd-content-block .cd-close.is-scaled-up:hover {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2)
}

.block-navigation {
    display: none
}

@media only screen and (min-width:768px) {
    .cd-content-block {
        position: static;
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0)
    }
    .cd-content-block>ul>li {
        opacity: 1;
        visibility: visible;
        padding: 4em 3em
    }
    .cd-content-block>ul>li.overflow-hidden {
        overflow: hidden
    }
    .cd-content-block h2 {
        font-size: 3rem
    }
    .cd-content-block .cd-close {
        display: none
    }
    .cd-content-block,
    .cd-image-block {
        width: 50%;
        float: left;
        height: 65vh;
        overflow: hidden
    }
    .cd-content-block>ul,
    .cd-image-block>ul {
        position: relative;
        height: 100%
    }
    .cd-content-block>ul>li,
    .cd-image-block>ul>li {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        -webkit-transform: translateZ(0);
        -moz-transform: translateZ(0);
        -ms-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        will-change: transform;
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        -ms-transform: translateX(100%);
        -o-transform: translateX(100%);
        transform: translateX(100%);
        -webkit-transition: -webkit-transform .5s;
        -moz-transition: -moz-transform .5s;
        transition: transform .5s
    }
    .cd-content-block>ul>li.is-selected,
    .cd-image-block>ul>li.is-selected {
        position: absolute;
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0)
    }
    .cd-content-block>ul>li.move-left,
    .cd-image-block>ul>li.move-left {
        -webkit-transform: translateX(-100%);
        -moz-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        -o-transform: translateX(-100%);
        transform: translateX(-100%)
    }
    .block-navigation {
        display: block;
        bottom: 0;
        left: 0;
        width: 50%
    }
    .block-navigation::after {
        clear: both;
        content: "";
        display: table
    }
    .block-navigation li {
        width: 50%;
        height: 50px;
        line-height: 50px;
        text-align: center;
        background-color: rgba(0, 0, 0, .5);
        -webkit-transition: background .2s;
        -moz-transition: background .2s;
        transition: background .2s
    }
    .block-navigation li:hover {
        background-color: rgba(0, 0, 0, .7)
    }
    .block-navigation li:first-of-type {
        float: left
    }
    .block-navigation li:last-of-type {
        float: right
    }
    .block-navigation button {
        display: block;
        height: 100%;
        width: 100%;
        color: #fff;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale
    }
    .block-navigation button.inactive {
        opacity: .3;
        cursor: not-allowed
    }
    .no-js .cd-content-block {
        display: none
    }
    .no-js .cd-image-block {
        width: 100%;
        overflow: visible
    }
    .no-js .cd-images-list::after {
        clear: both;
        content: "";
        display: table
    }
    .no-js .cd-images-list>li {
        position: static;
        width: 50%;
        float: left;
        height: 400px;
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0)
    }
    .no-js .cd-images-list>li.is-selected {
        position: static
    }
    .no-js .cd-images-list>li>a {
        cursor: pointer;
        pointer-events: auto
    }
    .no-js .block-navigation {
        display: none
    }
}