.portfolio{padding: 0em 0em 5em 0em;}
.port-head {
    text-align: center;
}
h3.w3l-heading {
    border: 1px solid #ce7501;
    color: #000000;
    font-size: 2em;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 0 auto;
    padding: 0.4em;
    text-align: center;
    text-transform: uppercase;
    width: 66%;
}

.w3ls-heading h3 {
    color: #000000;
    font-size: 3em;
    font-weight: 800;
    letter-spacing: 5px;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
}
ul.simplefilter {
    margin-bottom: 6px;
    margin-top: 10px;
    text-align: left;
    padding-left: 0;
}


.simplefilter li {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background: rgba(0, 0, 0, 0);
    border-color: currentcolor currentcolor #fff;
    border-image: none;
    border-style: none none solid;
    border-width: medium medium 5px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 4px!important;
    text-transform: uppercase;
    border: 1px solid #fd7f01;
    background-color: #f37900;
    border-radius: 3px;
}

.simplefilter li::before {
    background: #fff;
    content: "";
    height: 1px;
    position: absolute;
    right: -12px;
    top: 19px;
    transform: rotate(-180deg);
    transition: all 0.5s ease 0s;
    width: 10px;
}
.simplefilter li:last-child::before {
    background: #fff;
    content: "";
    height: 1px;
    position: absolute;
    right: -12px;
    top: 19px;
    transform: rotate(-180deg);
    transition: all 0.5s ease 0s;
    width: 10px;
}
.simplefilter li.active, .simplefilter li:hover {
    background: #ff6125;
    border: 1px solid #ff6125;
    color: #fff;
    transition: all 0.5s ease 0s;
}
.filtr-container {
    width: 100%;
}
.filtr-item {
    float: left;
    padding: 0;
    width: 24.8%;
}


figure.w3ls-gallery {
    cursor: pointer;
    display: block;
    margin: 7px;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 23%;
    height: 147px;
    border: 1px solid #ddd;
    padding: 6px;
    background-color: #f7f4f4;
}
figure.w3ls-gallery:hover figcaption.w3layouts-caption {
    opacity: 1;
    top: 0;
    transform: rotate(0deg);
}
figcaption.w3layouts-caption {
   
    color: #fff;
    height: 100%;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: -100%;
    transform: rotate(360deg);
    transition: all 0.5s ease 0.5s;
    width: 100%;
}
figcaption.w3layouts-caption h3 {
    background: #111;
    color: #fff;
    font-size: 1.8em;
    font-weight: 400;
    left: 100%;
    margin-bottom: 0;
    margin-top: 110px;
    padding: 10px 0;
    position: relative;
    text-transform: uppercase;
    transition: all 0.5s ease 1s;
}
figcaption.w3layouts-caption p {
    font-size: 0.85em;
    left: 100%;
    line-height: 2em;
    margin-bottom: 0;
    padding: 10px 0;
    position: relative;
    transition: all 0.5s ease 1.3s;
}
figure.w3ls-gallery:hover h3, figure.w3ls-gallery:hover p {
    left: 0;
}
figcaption.w3layouts-caption a {
    border: 2px solid #fff;
    color: #fff;
    padding: 4px 0;
    text-decoration: none;
}
figcaption.w3layouts-caption:hover {
    color: #4f5856;
}







@media screen and (min-width:320px) and (max-width:640px)
{

h3.w3l-heading {
    width: 60%;
}
ul.simplefilter{ padding:0;}
.simplefilter li.active, .simplefilter li:hover{width: 53%;padding:0;margin: 8px 0px;}
.simplefilter li {
    background: rgba(0, 0, 0, 0);
    border: 1px solid #0017FF;
    color: #000;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0 0;
    padding: 0;
    text-transform: uppercase;
    margin: 8px 0px;
    width: 53%;
}

.img-responsive, .thumbnail > img, .thumbnail a > img, .carousel-inner > .item > img, .carousel-inner > .item > a > img
{
    display: block;
    height: auto;
    max-width: 100%;
}

.filtr-item {
    float: left;
    padding: 0;
    width: 100%!important;
}
 }

@media screen and (min-width:320px) and (max-width:640px){


.filtr-item {
    float: left;
    padding: 0;
    width: 100%!important;
}

.auto-container {
    position: relative!important;
    max-width: 1200px;
    padding: 0px 15px;
    margin: 0 auto;
}



} 

.logo a h1 {
    margin-top: 7px!important;
    font-size: 29px;
    font-weight: 800!important;
    color: #fff!important;
    text-decoration:none!important;
}

figure.w3ls-gallery img {
    width: 100%;
    height: 132px;
}

.auto-container {
    position: relative!important;
    max-width: 1200px;
    padding: 0px 15px;
    margin: 0 auto;
}
sidebar-page-container {
   position: relative!important;
   height: 100%!important;
   min-height: 100vh!important;
}
ul.simplefilter li a {
   
   padding: 0px 7px!important;
   color: #fff!important;
   text-decoration:none!important;
}

ul.simplefilter li{background-color: #ff6125!important;}

ul.simplefilter li a {
   
   padding: 0px 7px!important;
   color: #fff!important;
   text-decoration:none!important;
}
ul.simplefilter li:hover {
   background-color: #702121!important;
}
