.portfolio-cont {
	position: relative;
	display: block;
	margin: 0 auto;
	margin-top: 30px;
	margin-bottom: 30px;
	padding: 10px;
	width: 100%;
	max-width: 1200px;
}

.portfolio-cont .filters-button-group {
	text-align: center;
	width: 100%;
}
	


.portfolio-cont .button-port {
    display: inline-block;
	background: none;
    margin-bottom: 20px;
	color: #333;
    padding: 10px;
    letter-spacing: 0;
    font-size: 16px;
    cursor: pointer;
   -webkit-transition: background 0.3s;
   -moz-transition: background 0.3s;
    transition: background 0.3s;letter-spacing: 1px;
}
.portfolio-cont .port-title {
    position: absolute;
    bottom: 0;
    font-size: 14px;
    padding: 4px 10px;
    background: rgba(0,0,0,0.5);
    margin: 10px;
    font-weight: 700;
    color: #fff;
	line-height: 20px;
}
.portfolio-cont .button-port:hover {
    color: #0b3b72;
}

.portfolio-cont .button-port:active,
.portfolio-cont .button-port.is-checked {
  outline: none;
}

.portfolio-cont .button-port-group {
  margin: 5px 0;
  text-align: center;
}

.portfolio-cont .button-port-group:after {
  content: '';
  display: block;
  clear: both;
}

.portfolio-cont img {
  vertical-align: middle;
}

.portfolio-cont .img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

.seos-grid {
    left: 10px;
}
.home-widget .seos-grid {
    left: 20px;
}
.portfolio-cont .seos-grid div {
 
  overflow: hidden;
  float: none;
    margin: 5px;
  width: 23%;
  display: flex;
  justify-content: center;
  
}

@media (max-width: 1024px) {
  .portfolio-cont .seos-grid div {
    width: 31.3%;
  }
}

@media (max-width: 767px) {
	.portfolio-cont .seos-grid div {
	    width: 100%;
	}
    .seos-grid {
        left: 0;
	}
	.home-widget .seos-grid {
		left: 0;
	}
	.portfolio-cont .seos-grid div {
		margin: 5px 0;
	}
}

@media (max-width: 479px) {
  .portfolio-cont .seos-grid div {
    margin: 2% 0;
    width: 100%;
  }

}


















.portfolio-cont .button-group {
    width: 100%;
	text-align: center;
}
.portfolio-cont .button-group a {
  text-decoration: none;
  color: #222;
  text-transform: uppercase;
  text-align: center;
  position: relative;
  font-family: "Oswald";
  margin: 10px 15px 15px 0;
  flex-grow: 1;
  cursor: pointer;
}
.portfolio-cont .button-group a:before {
  content: "";
  position: absolute;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  top: calc(2px/ -1);
  left: calc(2px/ -1);
  background: linear-gradient(to right, blue 0%, blue 100%), linear-gradient(to top, blue 50%, transparent 50%), linear-gradient(to top, blue 50%, transparent 50%), linear-gradient(to right, blue 0%, blue 100%), linear-gradient(to left, blue 0%, blue 100%);
  background-size: 100% 2px, 2px 200%, 2px 200%, 0% 2px, 0% 2px;
  background-position: 50% 100%, 0% 0%, 100% 0%, 100% 0%, 0% 0%;
  background-repeat: no-repeat, no-repeat;
  transition: transform 0.1s ease-in-out, background-position 0.1s ease-in-out, background-size 0.3s ease-in-out;
  transform: scaleX(0) rotate(0deg);
  transition-delay: 0.3s, 0.3s, 0s;
}
.portfolio-cont .button-group a:hover:before {
  background-size: 200% 2px, 2px 400%, 2px 400%, 55% 2px, 55% 2px;
  background-position: 50% 100%, 0% 100%, 100% 100%, 100% 0%, 0% 0%;
  transform: scaleX(1) rotate(0deg);
  transition-delay: 0s, 0.1s, 0.3s;
}
.portfolio-cont .button-group a {
  position: relative;
}
.portfolio-cont .button-group a:before {
  content: "";
  position: absolute;
  width: calc(100% + 8px);
  height: calc(100% + 8px);
  top: calc(4px/ -1);
  left: calc(4px/ -1);
  background: linear-gradient(to right, #222 0%, #222 100%), linear-gradient(to top, #222 50%, transparent 50%), linear-gradient(to top, #222 50%, transparent 50%), linear-gradient(to right, #222 0%, #222 100%), linear-gradient(to left, #222 0%, #222 100%);
  background-size: 100% 4px, 4px 200%, 4px 200%, 0% 4px, 0% 4px;
  background-position: 50% 100%, 0% 0%, 100% 0%, 100% 0%, 0% 0%;
  background-repeat: no-repeat, no-repeat;
  transition: transform 0.2s ease-in-out, background-position 0.2s ease-in-out, background-size 0.2s ease-in-out;
  transform: scaleX(0) rotate(180deg);
  transition-delay: 0.2s, 0.2s, 0s;
}
.portfolio-cont .button-group a:hover:before {
  background-size: 200% 4px, 4px 400%, 4px 400%, 55% 4px, 55% 4px;
  background-position: 50% 100%, 0% 100%, 100% 100%, 100% 0%, 0% 0%;
  transform: scaleX(1) rotate(180deg);
  transition-delay: 0s, 0.1s, 0.2s;
}

.half .port-title {
    display:none;	
}

.port-title a {
	color: #fff;
}
.port-title a:hover {
	color: #eee;
}


body .portfolio-cont .half img { 
	position: absolute;
    top: 50%;
    left: 50%;

    right: 50%;
    bottom: 50%;
    transform: translate(-50%, -50%);   
}

body .portfolio-cont .half {
    position:fixed !important;
	z-index: 999;
    height: 100%;
    width: 100%;
    top: 50% !important;
    left: 50% !important;
    right: 50% !important;
    bottom: 50% !important;
    transform: translate(-50%, -50%);
    margin: 0 auto;
    text-align: center;
}
