/*-----------------------------------------------------------------------------------*/
/*	ISOTOPE PORTFOLIO GRID
/*-----------------------------------------------------------------------------------*/
.portfolio-wrapper {
    overflow: hidden;
    position: relative;
}
.items {
    width: 110%;
    clear: both;
}
.items li {
    float: left;
    position: relative;
    background: none;
    padding: 0;
}
.items.col4 {
    margin-right: -10px
}
.items.col4 li {
    margin: 0 10px 10px 0;
    width: 270px;
}
.items li img {
    display: block
}
.items li a .overlay {
    display: none;
    height: 100%;
    position: absolute;
    text-decoration: none;
    width: 100%;
    z-index: 100;
    background-color: rgba(255,103,96, 0.92);
    padding: 20px;
}
.items li a .overlay h3 {
    color: #FFF;
    font-weight: 300;
    font-size: 22px;
    text-transform: uppercase;
}
.items li a .overlay span.meta {
    color: #FFF;
    font-weight: 300;
    font-style: italic;
}
.items li a .overlay,
			.overlay a .more {
			    background-color: rgba( 35,203,255, 0.92);
			}
.items:after {
    content: '';
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.items li a,
.items li a img {
    display: block;
    position: relative;
}
.items li a {
    overflow: hidden
}
.filter {
    padding: 0 0 25px 0;
    text-align: center;
    margin-bottom: -10px;
}
.filter li {
    margin: 0;
    background: none;
    display: inline;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    color: #616161;
}
.filter li a {
    margin: 0 4px 10px 4px
}
.isotope-item {
    z-index: 2;
    display: block !important;
}
.isotope-hidden.isotope-item {
    pointer-events: none;
    z-index: 1;
}
.isotope,
.isotope .isotope-item {
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -ms-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
}
.isotope {
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    -ms-transition-property: height, width;
    -o-transition-property: height, width;
    transition-property: height, width;
}
.isotope .isotope-item {
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    -ms-transition-property: -ms-transform, opacity;
    -o-transition-property: top, left, opacity;
    transition-property: transform, opacity;
}
.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
    -webkit-transition-duration: 0s;
    -moz-transition-duration: 0s;
    -ms-transition-duration: 0s;
    -o-transition-duration: 0s;
    transition-duration: 0s;
}
.item-details {
  /*  width: 300px;
    float: right;*/
    overflow: hidden;
}
.item-details .item-info {
    padding-bottom: 20px
}
.item-details .item-info span {
    margin-right: 3px
}
.portfolio-content .item {
    margin-bottom: 60px
}

.portfolio-detail-view .closebutton:hover,
			.portfolio-detail-view-remove .closebutton:hover {
			    background: #23cbff;
			}
			.carousel .item .link:hover,
			.portfolio-detail-view .single .link:hover {
			    background-color: #23cbff;
			}
			.carousel-control:hover {
			    background-color: #23cbff;
			}
/*-----------------------------------------------------------------------------------*/
/*	PORTFOLIO NAVIGATION
/*-----------------------------------------------------------------------------------*/
.navigation a.next-post {
    float: right
}
.navigation a.prev-post {
    float: right;
    margin-right: 10px;
}


.portfolio-wrapper ul.filter li a {
    background-color: #23cbff;
}

.items.isotope{
    padding:0 !important;
    margin:0 !important;
}

.filter li a {
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    color: #FFF;
    display: inline-block;
    background-color: #ff6760;
    padding: 6px 20px;
    margin: 0;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    cursor: pointer;
    margin-bottom: 20px;
    width: auto;
    border: none;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    text-align: center;
    letter-spacing: 1px;
}

img.right,
	img.alignright,
	img.left,
	img.alignleft,
	.alignleft,
	.alignright {
	    float: none;
	    margin: 0 0 20px 0;
	}
	.one-half,
	.one-third,
	.two-third,
	.three-fourth,
	.one-fourth,
	.one-fifth,
	.one-sixth {
	    margin: 0;
	    width: 100%;
	    margin-bottom: 40px;
	    float: none;
	}

.filter {
	    text-align: left
	}
	.filter li a {
	    margin: 0 8px 10px 0
	}

        .portfolio-wrapper a.button, .portfolio-detail-view a.button,  .filter li a, .page-navi ul li a {
            background-color: #23cbff
        }

        .portfolio-wrapper a.button .filter li a, .portfolio-detail-view a.button .filter li a, .page-navi ul li a {
                color: #ffffff
            }

            a.button:hover, .filter li a:hover, .forms fieldset .btn-submit:hover, .wpcf7-form .wpcf7-submit:hover, #comment-form .btn-submit:hover, .page-navi ul li a:hover, .page-navi ul li a.current {
                background-color: #616161
            }

            a.button.gray, .filter li a.active {
                background-color: #616161
            }
.portfolio-detail-view .closebutton:hover,
			.portfolio-detail-view-remove .closebutton:hover {
			    background: #23cbff;
			}
			.carousel .item .link:hover,
			.portfolio-detail-view .single .link:hover {
			    background-color: #23cbff;
			}
			.carousel-control:hover {
			    background-color: #23cbff;
			}


.inner {
    width: 1110px;
    margin: 0 auto;
    padding: 60px 0;
}
/*-----------------------------------------------------------------------------------*/
/*	SHOWCASE
/*-----------------------------------------------------------------------------------*/
.portfolio-detail-view,
.portfolio-detail-view-remove {
    position: absolute;
    height: 0px;
    overflow: hidden;
    background: #2a2a2a;
    color: #bebebe;
    width: 100%;
    padding: 0px;
    margin-bottom: 10px;
}
.box-layout .portfolio-detail-view,
.box-layout .portfolio-detail-view-remove	{	
	 width:1230px;
}
.portfolio-detail-view .closebutton,
.portfolio-detail-view-remove .closebutton {
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
    background: #595959;
    width: 34px;
    height: 34px;
    display: block;
    text-align: center;
    color: #dfdfdf;
    float: left;
    margin-left: 4px;
    font-size: 15px;
    padding-top: 4px;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.portfolio-detail-view .closebutton:hover,
.portfolio-detail-view-remove .closebutton:hover {
    background: #ff6760;
    color: #FFF;
}
.portfolio-detail-view .inner,
.portfolio-detail-view-remove .inner {
    padding: 0px 0px
}
.portfolio-detail-content-container {
    position: relative;
    height: auto;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding: 40px 0px;
}
.portfolio-detail-view h2 {
    color: #e0e0e0
}
.portfolio-detail-content-container .content {
    width: 770px;
    position: relative;
}
.portfolio-wrapper a.button,
.portfolio-detail-view a.button {
    background-color: #23cbff;
    color:#fff;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    padding:6px 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    letter-spacing: 1px;
    text-decoration: none;
}
.portfolio-wrapper p ,
.portfolio-detail-view p{
    font-size: 14px !important;
    line-height: 1.6;
}
.portfolio-wrapper p,
.portfolio-detail-view p {
    padding-bottom: 20px;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
.portfolio-detail-view h2 {
    color: #e0e0e0;
    font-size: 24px !important;
}
.portfolio-wrapper h2 {
    font-size: 24px;
}
.portfolio-wrapper h1, .portfolio-wrapper h2, .portfolio-wrapper h3, .portfolio-wrapper h4, .portfolio-wrapper h5, .portfolio-wrapper h6 {
    font-weight: 900;
    color: #616161;
    word-spacing: 1px;
    margin-bottom: 20px;
}
/*-----------------------------------------------------------------------------------*/
/*	SHOWCASE SLIDER
/*-----------------------------------------------------------------------------------*/
.content,
.portfolio-detail-view .single {
    position: relative
}
.carousel {
    position: relative;
    line-height: 1;
}
.carousel-inner {
    overflow: hidden;
    width: 100%;
    position: relative;
}
.carousel .item {
    display: none;
    position: relative;
    -webkit-transition: 0.6s ease-in-out left;
    -moz-transition: 0.6s ease-in-out left;
    -o-transition: 0.6s ease-in-out left;
    transition: 0.6s ease-in-out left;
}
.carousel .item .link,
.portfolio-detail-view .single .link {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #ebebeb;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    color: #4a4a4a;
    width: 30px;
    height: 30px;
    text-align: center;
    font-size: 15px;
    padding-top: 7px;
    -moz-opacity: 0;
    filter: alpha(opacity=0);
    opacity: 0;
    -webkit-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
}
.portfolio-detail-view .single .link {
    padding-top: 3px
}
.carousel .item:hover .link,
.portfolio-detail-view .single:hover .link {
    -moz-opacity: 1;
    filter: alpha(opacity=100);
    opacity: 1;
}
.carousel .item .link:hover,
.portfolio-detail-view .single .link:hover {
    background-color: #ff6760;
    color: #FFF;
}
.carousel .item .link:before,
.portfolio-detail-view .single .link:before {
    display: block;
    /* content: "\f50d"; */
    content:'';
    width: 24px;  /* set your desired size */
    height: 24px;
    margin-left:3px;
    background-image: url("link.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    font-family: 'fontello';
    text-align: center;
}
.carousel .item > img {
    display: block;
    line-height: 1;
}
.carousel .active,
.carousel .next,
.carousel .prev {
    display: block
}
.carousel .active {
    left: 0
}
.carousel .next,
.carousel .prev {
    position: absolute;
    top: 0;
    width: 100%;
}
.carousel .next {
    left: 100%
}
.carousel .prev {
    left: -100%
}
.carousel .next.left,
.carousel .prev.right {
    left: 0
}
.carousel .active.left {
    left: -100%
}
.carousel .active.right {
    left: 100%
}
.carousel-control:before {
    font-family: 'fontello';
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    margin-right: 0;
    margin-top: 7px;
    margin-left:7px;
    text-align: center;
    width: 36px;
    font-size: 15px;
}
.carousel-control {
    position: absolute;
    top: 50%;
    left: 15px;
    width: 36px;
    height: 36px;
    margin-top: -18px;
    background: #ebebeb;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    color: #4a4a4a;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    -moz-opacity: 0;
    -khtml-opacity: 0;
    opacity: 0;
}
.carousel-control:hover {
    background-color: #ff6760;
    color: #FFF;
}
.carousel:hover .carousel-control {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
}
.carousel-control.left:before {
    /*content: '\e84b'*/
    content:'';
    width: 24px;  /* set your desired size */
    height: 24px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.carousel-control.right:before {
    /*content: '\e84a'*/
    content:'';
    width: 24px;  /* set your desired size */
    height: 24px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.carousel-control.right {
    left: auto;
    right: 15px;
}
.carousel-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 15px;
    background: #333333;
    background: rgba(0, 0, 0, 0.75);
}
.carousel-caption h4,
.carousel-caption p {
    color: #ffffff;
    line-height: 20px;
}
.carousel-caption h4 {
    margin: 0 0 5px
}
.carousel-caption p {
    margin-bottom: 0
}

.one-half,
.one-third,
.two-third,
.three-fourth,
.one-fourth,
.one-fifth,
.two-fifth,
.three-fifth,
.four-fifth,
.one-sixth,
.five-sixth {
    position: relative;
    margin-right: 4%;
    float: left;
}
.last {
    margin-right: 0 !important;
    clear: right;
}

.clear {
	clear:both;
	display:block;
	overflow:hidden;
	visibility:hidden;
	width:0;
	height:0
}  

.one-half {
    width: 48%;
}

.portfolio-detail-view .closebutton {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 9999;
}

.closebutton:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}


.video-responsive .single {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-responsive .single iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) { 
	.inner {
	    width: 280px
	}
    .items.col4 li {
	    width: 135px
	}
	.filter {
	    text-align: left
	}
	.filter li a {
	    margin: 0 8px 10px 0
	}
	img.right,
	img.alignright,
	img.left,
	img.alignleft,
	.alignleft,
	.alignright {
	    float: none;
	    margin: 0 0 20px 0;
	}
	.one-half,
	.one-third,
	.two-third,
	.three-fourth,
	.one-fourth,
	.one-fifth,
	.one-sixth {
	    margin: 0;
	    width: 100%;
	    margin-bottom: 40px;
	    float: none;
	}
    .items.col4 li {
        width: 47%;
    }
    .video-responsive .single{
        padding-bottom: 75%; /* adjust aspect ratio if needed for better fit */
    }
}