/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 18/08/2016, 9:58:33 AM
    Author     : duncanc
*/


#carousel .cloud9-item, #buttons button {
    cursor: pointer;
}

/*
* Wrapper
*/

.id-cloud-nine-wrapper {
    background-color: #fff;
    width: 100%;
    padding-top: 50px;
    padding-bottom: 200px;
    height: 400px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.id-cloud-nine-wrapper::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.75);
    /*background-color: rgba(44, 81, 52, 0.75);*/
}


@media screen and (min-width: 480px) {
    .id-cloud-nine-wrapper {
        height: 450px;
    }
}

@media screen and (min-width: 768px) {
    .id-cloud-nine-wrapper {
        height: 550px;
    }
    .id-cloud-nine-wrapper {
        padding-top: 100px;
    }
}


@media screen and (min-width: 1400px) {
    .id-cloud-nine-wrapper {
        height: 600px;
    }
}

.cloud-nine-buttons-wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
}



/*
* ITEM
*/

h5.id-hex-title {
    position: absolute;
    top: auto;
    left: 15px;
    right: 15px;
    bottom: 0;
    font-size: 1em;
    text-align: center;
    text-transform: uppercase;
    background-color: rgba(255,255,255,0.5);
    padding: 1ex;
}

.id-cloud-nine-item {
    width: 260px;
}

.id-cloud-nine-content {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 3px rgba(0,0,0,0.15);
}

.id-cloud-nine-thumbnail {
    display: block;
    position: relative;
    padding-bottom: 75%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center center;
}


@media screen and (min-width: 1200px) {



    .id-cloud-nine-thumbnail:after {
        content: '';
        display: block;
        /*background-color: rgba(119,70,150,0);*/
        background-color: rgba(255,255,255,0.25);
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        -webkit-transition: all 250ms ease-out .1s;
        -moz-transition: all 250ms ease-out .1s;
        -o-transition: all 250ms ease-out .1s;
        transition: all 250ms ease-out .1s;
    }

    .id-cloud-nine-thumbnail:hover:after {
        background-color: rgba(119,70,150,0.35);
        background-color: rgba(255,255,255,0);
        -webkit-transition: all 250ms ease-out .1s;
        -moz-transition: all 250ms ease-out .1s;
        -o-transition: all 250ms ease-out .1s;
        transition: all 250ms ease-out .1s;
    }
}

.id-cloud-nine-shadow::after {
    content: '';
    width: 100%;
    height: 30px;
    display: block;
    margin-top: 10px;
    background: -moz-radial-gradient(center, ellipse cover, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 50%);
    background: -webkit-radial-gradient(center, ellipse cover, rgba(0,0,0,0.35) 0%,rgba(0,0,0,0) 50%);
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.35) 0%,rgba(0,0,0,0) 50%);
}

.btn-cloud-nine-link.btn-primary {
    white-space: normal;
}

/*
* -------------
* 
* GALLERY STYLES
* 
* -------------
*/


.id-gallery-images {
    margin: 20px 0;
    padding: 0;
    font-size: 0;
}

.id-gallery-images > * {
    font-size: 14px;
    font-size: 1rem;
}

.id-gallery-images > li.id-gallery-image {
    margin: 0;
    padding: 7.5px;
    list-style: none;
    display: inline-block;
}

.id-gallery-i {
    display: block;
}

.id-gallery-image img {
    border-radius: 0;
    max-width: 100%;
    width: 100%;
    height: auto;
}


.id-gallery-images .masonry-brick {
    width: 50%;
}
.id-gallery-images .masonry-brick:nth-child(10n+3) {
    width: 100%;
} 


@media screen and (min-width: 768px) {
    .id-gallery-images .masonry-brick {
        width: 25%;
    } 
    .id-gallery-images .masonry-brick:nth-child(10n+3) {
        width: 50%;
    } 
}

/* 
* --------------------------------------------------------------
* 
* NO Masonry
* 
* --------------------------------------------------------------
*/

.no-masonry.id-gallery-images > li.id-gallery-image {
    max-width: 50%;
    vertical-align: top;
}


@media screen and (min-width: 768px) {
    .no-masonry.id-gallery-images > li.id-gallery-image {
        max-width: 33.3%;
    }
}

@media screen and (min-width: 992px) {
    .no-masonry.id-gallery-images > li.id-gallery-image {
        max-width: 25%;
    }
}
/* 
* --------------------------------------------------------------
* 
* Column Widths
* 
* --------------------------------------------------------------
*/

@media screen and (min-width: 992px) {
    .no-masonry.id-gallery-images > li.id-gallery-col-2,
    .id-gallery-images > li.id-gallery-col-2 {
        width: 50%;
    }
}

@media screen and (min-width: 992px) {
    .no-masonry.id-gallery-images > li.id-gallery-col-3,
    .id-gallery-images > li.id-gallery-col-4 {
        width: 25%;
    }
}

@media screen and (min-width: 992px) {
    .no-masonry.id-gallery-images > li.id-gallery-col-4,
    .id-gallery-images > li.id-gallery-col-5 {
        width: 20%;
    }
}

@media screen and (min-width: 992px) {
    .no-masonry.id-gallery-images > li.id-gallery-col-6,
    .id-gallery-images > li.id-gallery-col-6 {
        width: 16.666%;
    }
}

@media screen and (min-width: 992px) {
    .no-masonry.id-gallery-images  > li.id-gallery-col-7,
    .id-gallery-images > li.id-gallery-col-7 {
        width: 14.285%;
    }
}

@media screen and (min-width: 992px) {
    .no-masonry.id-gallery-images  > li.id-gallery-col-10,
    .id-gallery-images > li.id-gallery-col-10 {
        width: 10%;
    }
}


/*

li.id-gallery-image {
    float: left;
  width: 80px;
  height: 60px;
  border: 2px solid hsla(0, 0%, 0%, 0.5);
}

.id-gallery-image > a {
    display: block;
}

*/

.id-masonry-spinner {
    height: 100vh;
    max-height: 100vh;
    width: 100vw;
    max-width: 100vw;
    z-index: 999999;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background-color: rgba(0,0,0,0.75);*/
    background-color: rgba(255,255,255,0.85);
    display: block;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-flow: row wrap;
    -moz-flex-flow: row wrap;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-wrap: nowrap;
    -ms-flex-direction: row;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    -o-align-items: center;
    -ms-align-items: center;
    -moz-align-items: center;
    -webkit-align-items: center;
    align-items: center;
    -o-align-content: center;
    -ms-align-content: center;
    -moz-align-content: center;
    -webkit-align-content: center;
    align-content: center;
    -o-justify-content: center;
    -ms-justify-content: center;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    justify-content: center;
}