﻿
.cctooltip h4 /*
	Author: Ashfaq Ahmed @ Codeconvey.
	Author URI: http://www.codeconvey.com/
*/
article[id*='cc-slider'] {
    text-align: center;
    margin: 0 auto;
    max-width: 850px;
    position: relative;
}

article[id*='cc-slider'] input {
    display: none;
}

article[id*='cc-slider'] label, a {
    color: #ef023f;
    cursor: pointer;
    text-decoration: none;
}

    article[id*='cc-slider'] label:hover {
        color: #ff0042 !important;
    }

input[id*='slide1']:checked ~ div[id*='cc-slides'] .slidesInner {
    margin-left: 0;
}

input[id*='slide2']:checked ~ div[id*='cc-slides'] .slidesInner {
    margin-left: -100%;
}

input[id*='slide3']:checked ~ div[id*='cc-slides'] .slidesInner {
    margin-left: -200%;
}

input[id*='slide4']:checked ~ div[id*='cc-slides'] .slidesInner {
    margin-left: -300%;
}

input[id*='slide5']:checked ~ div[id*='cc-slides'] .slidesInner {
    margin-left: -400%;
}

input[id*='slide6']:checked ~ div[id*='cc-slides'] .slidesInner {
    margin-left: -500%;
}

input[id*='slide7']:checked ~ div[id*='cc-slides'] .slidesInner {
    margin-left: -600%;
}

input[id*='slide8']:checked ~ div[id*='cc-slides'] .slidesInner {
    margin-left: -700%;
}


div[id*='overflow'] {
    width: 100%;
    overflow: hidden;
}

div[id*='cc-slides'] span img {
    width: 100%;
}

div[id*='cc-slides'] .slidesInner {
    width: 800%;
    line-height: 0;
}

div[id*='cc-slides'] span {
    width: 12.5%;
    float: left;
    padding: 0 !important;
}

div[id*='controls'] {
    margin: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    opacity: 0;
    transition: opacity 1s;
}

article[id*='cc-slider']:hover div[id*='controls'] {
    opacity: 1;
    transition: opacity 1s;
}

div[id*='controls'] label {
    display: none;
    width: 50px;
    height: 50px;
}

#active {
    margin: 23% 0 0;
    text-align: center;
}

    #active label {
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        display: inline-block;
        width: 10px;
        height: 10px;
        background: #f89e67;
    }

        #active label:hover {
            background: #ccc;
            border-color: #777 !important;
        }

div[id*='controls'] label:hover {
    /*opacity: 0.8;*/
}

#slide1.box4er:checked ~ div[id*='controls'] label:nth-child(2),
#slide2.box4er:checked ~ div[id*='controls'] label:nth-child(3),
#slide3.box4er:checked ~ div[id*='controls'] label:nth-child(4),
#slide4.box4er:checked ~ div[id*='controls'] label:nth-child(1),

#slide1B.box8er:checked ~ div[id*='controls'] label:nth-child(2),
#slide2B.box8er:checked ~ div[id*='controls'] label:nth-child(3),
#slide3B.box8er:checked ~ div[id*='controls'] label:nth-child(4),
#slide4B.box8er:checked ~ div[id*='controls'] label:nth-child(5),
#slide5B.box8er:checked ~ div[id*='controls'] label:nth-child(6),
#slide6B.box8er:checked ~ div[id*='controls'] label:nth-child(7),
#slide7B.box8er:checked ~ div[id*='controls'] label:nth-child(8),
#slide8B.box8er:checked ~ div[id*='controls'] label:nth-child(1),

#slide1C.box5er:checked ~ div[id*='controls'] label:nth-child(2),
#slide2C.box5er:checked ~ div[id*='controls'] label:nth-child(3),
#slide3C.box5er:checked ~ div[id*='controls'] label:nth-child(4),
#slide4C.box5er:checked ~ div[id*='controls'] label:nth-child(5),
#slide5C.box5er:checked ~ div[id*='controls'] label:nth-child(1),

#slide1D.box4er:checked ~ div[id*='controls'] label:nth-child(2),
#slide2D.box4er:checked ~ div[id*='controls'] label:nth-child(3),
#slide3D.box4er:checked ~ div[id*='controls'] label:nth-child(4),
#slide4D.box4er:checked ~ div[id*='controls'] label:nth-child(1),

#slide1E.box4er:checked ~ div[id*='controls'] label:nth-child(2),
#slide2E.box4er:checked ~ div[id*='controls'] label:nth-child(3),
#slide3E.box4er:checked ~ div[id*='controls'] label:nth-child(4),
#slide4E.box4er:checked ~ div[id*='controls'] label:nth-child(1) {
    background: url('../images/next.png') no-repeat;
    background-position: center;
    float: right;
    margin: 0;
    display: block;
    width: 40px;
    height: 100%;
    background-color: rgba(242,242,242,0.6);
}


#slide1.box4er:checked ~ div[id*='controls'] label:nth-child(3),
#slide2.box4er:checked ~ div[id*='controls'] label:nth-child(1),
#slide3.box4er:checked ~ div[id*='controls'] label:nth-child(2),
#slide4.box4er:checked ~ div[id*='controls'] label:nth-child(3),

#slide1B.box8er:checked ~ div[id*='controls'] label:nth-child(7),
#slide2B.box8er:checked ~ div[id*='controls'] label:nth-child(1),
#slide3B.box8er:checked ~ div[id*='controls'] label:nth-child(2),
#slide4B.box8er:checked ~ div[id*='controls'] label:nth-child(3),
#slide5B.box8er:checked ~ div[id*='controls'] label:nth-child(4),
#slide6B.box8er:checked ~ div[id*='controls'] label:nth-child(5),
#slide7B.box8er:checked ~ div[id*='controls'] label:nth-child(6),
#slide8B.box8er:checked ~ div[id*='controls'] label:nth-child(7),

#slide1C.box5er:checked ~ div[id*='controls'] label:nth-child(4),
#slide2C.box5er:checked ~ div[id*='controls'] label:nth-child(1),
#slide3C.box5er:checked ~ div[id*='controls'] label:nth-child(2),
#slide4C.box5er:checked ~ div[id*='controls'] label:nth-child(3),
#slide5C.box5er:checked ~ div[id*='controls'] label:nth-child(4),

#slide1D.box4er:checked ~ div[id*='controls'] label:nth-child(4),
#slide2D.box4er:checked ~ div[id*='controls'] label:nth-child(1),
#slide3D.box4er:checked ~ div[id*='controls'] label:nth-child(2),
#slide4D.box4er:checked ~ div[id*='controls'] label:nth-child(3),

#slide1E.box4er:checked ~ div[id*='controls'] label:nth-child(4),
#slide2E.box4er:checked ~ div[id*='controls'] label:nth-child(1),
#slide3E.box4er:checked ~ div[id*='controls'] label:nth-child(2),
#slide4E.box4er:checked ~ div[id*='controls'] label:nth-child(3) {
    background: url('../images/prev.png') no-repeat;
    background-position: center;
    float: left;
    margin: 0;
    display: block;
    width: 40px;
    height: 100%;
    background-color: rgba(242,242,242,0.6);
}



/* cctooltip Box */

.cctooltip {
    color: #FFFFFF;
    font-style: italic;
    line-height: 20px;
    margin-top: 250px;
    opacity: 0;
    position: absolute;
    text-align: left;
    -webkit-transform: translateZ(0);
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

    .cctooltip h3 {
        color: #FFFFFF;
        margin: 0 0 5px;
        font-weight: normal;
        font-size: 16px;
        font-style: normal;
        background: none repeat scroll 0 0 #222222;
        padding: 5px;
    }

    .cctooltip h4 {
        color: #FFFFFF;
        margin: 0 0 5px;
        font-weight: normal;
        font-size: 14px;
        font-style: normal;
        background: none repeat scroll 0 0 #222222;
        padding: 5px;
        text-align: right;
        width: 150px;
    }



/* cc-slider Styling */

div[id*='cc-slides'] {
    margin: 0;
    padding: 0;
    /*background: #fff;*/
}


    /* Animation */

    div[id*='cc-slides'] .slidesInner {
        -webkit-transform: translateZ(0);
        -webkit-transition: all 1ms cubic-bezier(0.770, 1.000, 0.175, 1.000); /*Alt 800ms*/
        -moz-transition: all 1ms cubic-bezier(0.770, 1.000, 0.175, 1.000);
        -ms-transition: all 1ms cubic-bezier(0.770, 1.000, 0.175, 1.000);
        -o-transition: all 1ms cubic-bezier(0.770, 1.000, 0.175, 1.000);
        transition: all 1ms cubic-bezier(0.770, 1.000, 0.175, 1.000); /* easeInOutQuart */
        -webkit-transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000);
        -moz-transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000);
        -ms-transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000);
        -o-transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000);
        transition-timing-function: cubic-bezier(0.770, 0.000, 0.175, 1.000); /* easeInOutQuart */
    }

article[id*='cc-slider'] {
    margin: 0;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    height: auto;
    position: relative;
    -webkit-transform: translateZ(0);
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}

div[id*='controls'] label {
    -webkit-transform: translateZ(0);
    -webkit-transition: opacity 0.2s ease-out;
    -moz-transition: opacity 0.2s ease-out;
    -o-transition: opacity 0.2s ease-out;
    transition: opacity 0.2s ease-out;
}

input[id*='slide1']:checked ~ div[id*='cc-slides'] span:nth-child(1) .cctooltip,
input[id*='slide2']:checked ~ div[id*='cc-slides'] span:nth-child(2) .cctooltip,
input[id*='slide3']:checked ~ div[id*='cc-slides'] span:nth-child(3) .cctooltip,
input[id*='slide4']:checked ~ div[id*='cc-slides'] span:nth-child(4) .cctooltip,
input[id*='slide5']:checked ~ div[id*='cc-slides'] span:nth-child(5) .cctooltip {
    opacity: 1;
    -webkit-transition: all 1s ease-out 0.6s;
    -moz-transition: all 1s ease-out 0.6s;
    -o-transition: all 1s ease-out 0.6s;
    transition: all 1s ease-out 0.6s;
}


/* ******************************************************
	Responsive Grids
*********************************************************/

.rt-container {
    margin: 0 auto;
    height: auto;
    z-index: 100;
    /*padding-left: 12px;
    padding-right: 12px;*/
}

.col-rt-12 {
    height: 100%;
}

.rt-row:before, .rt-row:after {
    display: table;
    line-height: 0;
    content: "";
}

.rt-row:after {
    clear: both;
}

[class^="col-rt-"] {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    padding: 0;
    min-height: 1px;
    position: relative;
}


@media (min-width: 768px) {
    .rt-container {
        width: 100%;
    }

    [class^="col-rt-"] {
        float: left;
        width: 49.9999999999%;
    }

    .col-rt-6, .col-rt-12 {
        width: 100%;
    }

    .rt-container {
        margin: 0;
        height: auto;
        z-index: 100;
        /*padding-left: 12px;
    padding-right: 12px;*/
    }

    article[id*='cc-slider'] {
        margin: 0;
        padding: 0;
        background-color: transparent;
        border-radius: 0;
        box-shadow: none;
        height: auto;
        position: relative;
        -webkit-transform: translateZ(0);
        -webkit-transition: all 0.5s ease-out;
        -moz-transition: all 0.5s ease-out;
        -o-transition: all 0.5s ease-out;
        transition: all 0.5s ease-out;
    }
}

@media (min-width: 1200px) {
    .rt-container {
        width: 400px;
    }

    .col-rt-1 {
        width: 16.6%;
    }

    .col-rt-2 {
        width: 30.33%;
    }

    .col-rt-3 {
        width: 50%;
    }

    .col-rt-4 {
        width: 67.664%;
    }

    .col-rt-5 {
        width: 83.33%;
    }
}
