
.ic-demo-panel {
    #{$ic-pos-right}: -100%;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    transition: all .5s ease-in-out;
	z-index: 9999;
    .ic-demo-trigger {
        position: absolute;
        z-index: 9;
        top: 21.75rem;
        #{$ic-pos-right}: 100%;
        background-color: $secondary;
        color: $white;
        display: inline-block;
        height: 3rem;
        width: 3rem;
        text-align: center;
        font-size: 1.75rem;
        line-height: 3rem;
		border-radius: 0;
		border-top-#{$ic-pos-left}-radius : $radius;
		border-bottom-#{$ic-pos-left}-radius : $radius;
		box-shadow: -5px 3px 5px 0px rgba(119, 119, 119, 0.15);
		@include custommq($max: 1023px) {
			display:none;
		}
        @include respond ('phone'){
            height:35px;
			width:35px;
			line-height:35px;
			font-size: 22px;
        }
    }
	.ic-demo-close{
		height:30px;
		color:$black;
		width:30px;
		border-radius:$radius;
		background:$white;
		line-height:30px;
		text-align:center;
		&:hover{
			color:$black!important;
		}
	}
    &.show {
        #{$ic-pos-right}: 0;
		box-shadow: 0px 0px 50px rgba(0 ,0 ,0 ,0.2);
        z-index: 99999;
		overflow:hidden;
		.sidebar-right-trigger{
			display:none;
		}
		.bg-close{
			position:fixed;
			z-index: -2;
			cursor:pointer;
			width:100%;
			height:100%;
			top:0;
			#{$ic-pos-left}:0;
			background:rgba($black,0.6);
		}
    }
	.ic-demo-inner{
		padding: 30px 30px;
		background:#331e1e9e;
	}
	.ic-demo-content{
		height: calc(100vh - 200px);
		padding: 0 15px;
		margin: 0 -15px;
		overflow-y: auto;
		.text-black{
			color:$black!important;
		}
	}
	.ic-demo-header{
		display:flex;
		justify-content:space-between;
		align-items:center;
		margin-bottom: 20px;
		h4{
			margin-bottom:0;
			color:$black!important;
		}
	}
	.ic-demo-bx{
		height:400px;
		overflow:hidden;
		border:2px solid #efefef;
		box-shadow:0px 5px 10px rgba(0,0,0,0.1);
		margin-bottom: 10px;
		border-radius: 5px;
		&.demo-active{
			border-color:$secondary;
			.overlay-layer{
				opacity: 1;
			}
		}
	}
	.overlay-bx{
		position:relative;
		.overlay-layer{
			position: absolute;
			top: 0;
			bottom: 0;
			#{$ic-pos-left}: 0;
			#{$ic-pos-right}: 0;
			display: -webkit-box;
			display: -ms-flexbox;
			display: flex;
			-webkit-box-pack: center;
			-ms-flex-pack: center;
			justify-content: center;
			-webkit-box-align: center;
			-ms-flex-align: center;
			align-items: center;
			background-color: rgba(0,0,0,.1);
			-webkit-transition: all .3s ease;
			transition: all .3s ease;
			opacity: 0;
		}
		&:hover{
			.overlay-layer{
				-webkit-transition: all .3s ease;
				transition: all .3s ease;
				opacity: 1;
			}
		}
	}
	@include respond ('phone'){
		
		.ic-demo-bx{
			height:230px;
		}
	}
}
