/*
Theme Name: D2P
Description: 
Author: toast creative
Version: 1.0
*/

.hidefirst{
    display:none
}

.hidecontrol .flex-direction-nav{
    display:none
}

.imageCon{
    position:relative;
}

.project{
     overflow:visible !important
}

/*.blog-list .post-each.group:nth-child(even) {
    float: right;
}

.blog-list .post-each.group {
    float: left;
    width: 47%;
}
.post-each.group a.btn-link:hover {
    color: #f1f1f1 !important;
}*/

.tile{
    /*width:16.666%;*/
    /*padding-top:16.666%;*/
    width: 20%;
    padding: 5px;
    position:relative;
    display:inline-block;
    overflow:hidden;
    float:left;
    cursor:pointer; 
    /*font-family:sansation,sans-serif;*/
    background-color:#000;
    border:none !important
}

.innerContent{
    background-position:50% 50%;
    /*font-family:sansation,sans-serif;*/
}


.innerContent{
    /*position:absolute;*/
    position: relative;
    width:100%;
    padding-bottom: 100%;
    /*height:100%;
    top:50%;
    left:50%;
    margin-left:-50%;
    margin-top:-50%;
    -webkit-transition:.5s;
    -moz-transition:.5s;
    -ms-transition:.5s;
    -o-transition:.5s;
    transition:.5s;
    transition-timing-function: linear;
    -ms-transform-origin: -50% 50%;
    -webkit-transform-origin: -50% 50%;
     transform-origin: 50% 50%;*/
     background-repeat:no-repeat;
     background-position: center center;
    
    z-index:1;
    overflow:hidden;
}

.randoom{
    position:absolute;
    /*width:480px;
    height:480px;
    top:50%;
    left:50%;
    margin-left:-240px;
    margin-top:-240px;*/
    background-repeat:no-repeat;
    background-position: center center;
    /*transform:scale(1.2);*/
    background-size: cover;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/*.innerContent:hover{
    width:120%;
    height:120%;
    margin-left:-60%;
    margin-top:-60%;
    
}*/



html.no-touch .tile:focus,
html.no-touch .tile:hover {
 z-index:100;
}
.tile:hover{
    overflow:visible !important;
}



/*html.no-touch .tile:focus .overlay,
html.no-touch .tile:hover .overlay,*/
html.no-touch .tile:focus .textContent,
html.no-touch .tile:hover .textContent{
   display:block;
}

html.no-touch .tile:focus .overlay,
html.no-touch .tile:hover .overlay{
    opacity: 0;
}

.fa-chevron-down:before{
    display:none
}
.newArrow{
   background: url(_ui/images/arrow.png);
   width:56px;
   height:27px;
   background-repeat:no-repeat;
   -webkit-transition:.3s;
    -moz-transition:.3s;
    -ms-transition:.3s;
    -o-transition:.3s;
    transition:.3s;
    position:absolute;
    top:0px;
    left:50%;
    margin-left:-28px;
}

.newArrow:hover{
    top:10px
}
.overlay{
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    background-color:rgba(0,0,0,0.6);
    /*display:none;*/
    opacity: 1;
    z-index:2;
}

.textContent{
    z-index:3;
    position:absolute;
    /*bottom:0px;
    left:0px;
    width:100%;
    min-height:20%;*/
    overflow:hidden;
    display:hidden;
    background-color:rgb(0,0,0);
    color:#ffffff;
    /*padding-top:15px;
    padding-left:15px;*/
    display:none;
    top: 10px;
    left: 10px;
    right: 10px;
    padding: 10px;

}

.home-slider__container img {
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.home-slider__control{
    width:100%;
    margin-top:50px
}

.home-slider__control .ui-slider {
    width: 360px;
}
.home-slider__control .ui-slider {
    background: #343434 none repeat scroll 0 0;
    display: inline-block;
    height: 2px;
    position: relative;
    vertical-align: top;
    width: 300px;
}

.home-slider__control .ui-slider-handle {
    background: #191919 none repeat scroll 0 0;
    border: 2px solid #343434;
    border-radius: 50%;
    height: 18px;
    left: 0;
    margin: -8px 0 0 -12px;
    outline: 0 none;
    overflow: hidden;
    padding: 0;
    position: absolute;
    text-align: left;
    text-indent: 100%;
    top: 0;
    white-space: nowrap;
    width: 18px;
    z-index: 15;
}
/*
.body-wrap-outer {
    overflow-x: hidden;
}
*/

/* fix the mouse over issue for case study */

.nbs-flexisel-item:hover .case-study-logo img:first-child,
.nbs-flexisel-item:hover .product-thumb img:first-child{
    opacity: 1;
}

.nbs-flexisel-item:hover .case-study-logo img:last-child,
.nbs-flexisel-item:hover .product-thumb img:last-child{
    opacity: 0;
}
.footer {
    z-index: 10;
}

.body-wrap-inner{
    overflow:hidden;
}

.hidecontrol .flex-direction-nav{
    -webkit-transition:.5s;
    -moz-transition:.5s;
    -ms-transition:.5s;
    -o-transition:.5s;
    transition:.5s;
}

.fa-chevron-down, .fa-angle-down{
    position:absolute;
    bottom:55px;
    width:60px;
    color:#ffffff;
    font-size:25px !important;
    text-align:center;
    left:50%;
    margin-left:-30px;
    z-index:1;
    cursor:pointer;
    text-align:center;
}

.footer-image {
    background-size: cover !important;
}

.home-slider {
    z-index: 1;
}
.footer-image{
     z-index: 2;
}

#main{
    z-index:3
}

/*.slides .project-caption {
    height: 102px !important;
}*/
@media screen and (max-width: 767px) {
	.blog-list .post-each.group:nth-child(even) {
    float: none;
	}
	.blog-list .post-each.group {
		float: left;
		width: 100%;
	}
 }

@media screen and (min-width: 768px) {
        .hidefirst{
                display:none
            }
            
            .hidecontrol .flex-direction-nav{
                display:none
            }
}
  

@media screen and (min-width: 600px) {
        .tile {
                width: 50%;
                /*padding-top:50%;*/
        }
}
      
        
@media screen and (min-width: 980px) {
           .tile {
                width: 20%;
                /*padding-top:20%;*/
            }
            .textContent h1{
                font-size:15px !important;
            }
            .textContent p{
                font-size:13px !important;
            }
}
        
/*@media screen and (min-width: 1280px) {
           .tile {
                width: 16.666%;
                padding-top:16.666%;
            }
}*/
     
@media screen and (max-width: 599px) {
           .tile {
                width: 100%;
                /*padding-top:100%;*/
            }
}

/*Sub Menu Carousel*/
.case-studies .nbs-flexisel-nav-left,
.products .nbs-flexisel-nav-left{
    left: -30px;
}

.case-studies .nbs-flexisel-nav-right,
.products .nbs-flexisel-nav-right{
    right: -30px;
}