.filtr-item {
    padding: 1rem;
}
.item-desc {
    background-color: rgba(0,0,0,0.5);
    color: white;
    position: absolute;
    text-transform: uppercase;
    text-align: center;
    padding: 1rem;
    z-index: 1;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
}

/* Filter controls */
.simplefilter li, .multifilter li, .sortandshuffle li {
    color: #222;
    cursor: pointer;
    display: inline-block;
    text-transform: uppercase;
    padding: 10px 15px;
	margin-right:5px;
}
.simplefilter li:hover {
    background-color: #212121;
	color: #fff;
	border-radius: 5px;
}
.simplefilter li.active {
    background-color: #212121;
	color: #fff;
	border-radius: 5px;
}
.multifilter li {
    background-color: #4b9eff;
}
.multifilter li.active {
    background-color: #2265b4;
}

/* Shuffle and sort controls */
select {
    padding: 1rem 1rem;
    text-transform: uppercase;
}
.sortandshuffle .shuffle-btn {
    background-color: #dec800;
}
.sortandshuffle .sort-btn {
    background-color: #de0000;
}
.sortandshuffle .sort-btn.active {
    background-color: #9d0000;
}

/* Search control */
.search-row {
    margin-left: 2.5rem;
}
.filtr-search {
    padding: 0.5rem;
    text-transform: uppercase;
}

/* -------------- modal style ------- */
.modal {top:10% !important}
.modal-content {
  background-color: #fefefe;
  margin: 0% auto 15% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  padding:0px;
  display: flex;
}
.modal-body{width: 100%;padding-right: 0px !important;}
.portfolioImage{text-align: center;}
.project-description {
    width: 100%;
    float: left;
    position: relative;
}
.close{
    position: absolute;
    z-index: 999;
    top: 5px;
    right: 25px;
    color: red !important;
    background: #fff !important;
    opacity: inherit !important;
    padding: 4px !important;
    border-radius: 50%;
}
.project-title {
    margin-top: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #FECE1A;
    width: 100%;
    float: left;
}
.project-title h3 {
	float:left;
	margin-top:0;
	padding:0;
	width:80%
}
.project-info span, .project-title h3 {
	color:#FECE1A
}
.project-info {
	font-weight:100;
	padding:10px 0;
	width:100%;
	float:left
}
.project-info span {
	width:80px;
	display:inline-block
}
.project-info div {
	margin-bottom:5px
}
.portfolioDescription {
	width:100%;
	float:left
}
/* -------------- hovereffect for home portfolio ------- */
.box{
    text-align: center;
    position: relative;
    overflow: hidden;
	height:200px;
	box-shadow: 1px 1px 12px #efecec;
}
.box:after{
    content:"";
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0,0.7);
    position: absolute;
    top:0;
    left: 0;
    opacity: 0;
    transition: all 0.5s ease 0s;
}
.box:hover:after{
    opacity: 2;
}
.box img{
    width: auto;
    height: 100% !important;
}
.box .icon{
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 1;
    transition: all 0.5s ease 0s;
    cursor: pointer;
}
.box:hover .icon{
    top: 30%;
}
.box .icon li{
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 8px;
    background: #dff3e4;
    margin-right: 20px;
    transform:rotate(45deg);
	float:none;
}
.box .icon li:last-child{
    margin-right: 0;
}
.box .icon li a{
    display: block;
    font-size: 22px;
    color: #3423a6;
    transform: rotate(-45deg);
}
.box .box-content{
    width: 100%;
    padding: 15px 0;
    background: #DFF3E4;
    position: absolute;
    bottom: -100%;
    left: 0;
    z-index: 2;
    transition: all 0.5s ease 0s;
}
.box:hover .box-content{
    bottom: 0;
}
.box .title{
    font-size: 24px;
    color: #3d475e;
    margin: 0 0 5px 0;
    text-transform: capitalize;
}
.box .post{
    font-size: 14px;
    color: #ffa630;
    text-transform: capitalize;
}
@media only screen and (max-width: 990px){
    .box{ margin-bottom: 20px; width:100%; }
}
/* -------------- hovereffect portfolio ------- */
.box_p2{
    text-align: center;
    position: relative;
    overflow: hidden;
	margin-bottom:20px;
}
.box_p2:after{
    content:"";
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0,0.7);
    position: absolute;
    top:0;
    left: 0;
    opacity: 0;
    transition: all 0.5s ease 0s;
}
.box_p2:hover:after{
    opacity: 2;
}
.box_p2 img{
    width: 100%;
    height: auto;
}
.box_p2 .icon{
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 1;
    transition: all 0.5s ease 0s;
}
.box_p2:hover .icon{
    top: 30%;
}
.box_p2 .icon li{
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 8px;
    background: #dff3e4;
    margin-right: 20px;
    transform:rotate(45deg);
	float:none;
}
.box_p2 .icon li:last-child{
    margin-right: 0;
}
.box_p2 .icon li a{
    display: block;
    font-size: 22px;
    color: #3423a6;
    transform: rotate(-45deg);
}
.box_p2 .box-content{
    width: 100%;
    padding: 9px 0;
    background: #DFF3E4;
    position: absolute;
    bottom: -100%;
    left: 0;
    z-index: 2;
    transition: all 0.5s ease 0s;
}
.box_p2:hover .box-content{
    bottom: 0;
}
.box_p2 .title{
    font-size: 18px;
    color: #3d475e;
    margin: 0 0 5px 0;
    text-transform: capitalize;
}
.box_p2 .post{
    font-size: 14px;
    color: #ffa630;
    text-transform: capitalize;
}
@media only screen and (max-width: 990px){
    .box_p2{ margin-bottom: 20px; width:100%; }
}
