﻿section{
    float: none;
}
#showcase {
  
    background:rgb(221, 224, 225);
    min-height: 600px;
    background-size:cover;
}
.active{
    background: none;
}
.active1 {
    background: #525252;
}
#showcase a{
        /*color: #fff;*/
    -webkit-transition: all .3s ease-in 0s;
    -moz-transition: all .3s ease-in 0s;
    -o-transition: all .3s ease-in 0s;
    transition: all .3s ease-in 0s;
}
.portfolio-filter {
    margin-bottom: 15px;
}
.clearfix:before,.clearfix:after{
	display: table;
	content: " ";
}

.clearfix:after{
	clear: both;
}
.text-center {
    text-align: center;
}
.portfolio-filter ul li {
    display: inline;
}
.portfolio-filter ul li a {
    
    display: inline-block;
   font-size: 20px;
    margin: 0 30px;
    padding: 5px 15px;
    position: relative;
}
.portfolio-filter ul li a::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #63B670;
    content: '';
    -webkit-transition: top 0.3s;
    -moz-transition: top 0.3s;
    -o-transition: top 0.3s;
    transition: top 0.3s;
}
.portfolio-filter ul li a::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 2px;
    background: #63B670;
    content: '';
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;
}
:before, :after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


.portfolio-filter ul li a:hover::before {
    top: 100%;
    opacity: 1;
}

.portfolio-filter ul li a:hover::after {
    height: 100%;
}

.og-grid .mix > a {
    display:block;
    overflow:hidden;
    position:relative;
}
.og-grid {
    list-style: none;
    padding: 20px 0;
    margin: 0 auto;
    text-align: center;
    width:100%;
    /*background: red;*/
}
.og-grid .mix a img {
    -webkit-transition: all 0.6s ease 0s;
       -moz-transition: all 0.6s ease 0s;
         -o-transition: all 0.6s ease 0s;
            transition: all 0.6s ease 0s;
}

.og-grid .mix a:hover img {
    -webkit-transform: scale(1.4) rotate(15deg);
       -moz-transform: scale(1.4) rotate(15deg);
        -ms-transform: scale(1.4) rotate(15deg);
         -o-transform: scale(1.4) rotate(15deg);
            transform: scale(1.4) rotate(15deg);
}

.og-grid .mix a:hover .hover-mask {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: rotateY(0deg) scale(1,1);
    -moz-transform: rotateY(0deg) scale(1,1);
    -ms-transform: rotateY(0deg) scale(1,1);
    -o-transform: rotateY(0deg) scale(1,1);
    transform: rotateY(0deg) scale(1,1);
}

.hover-mask {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(43, 44, 48, 0.8);
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: all 600ms ease-out 0s;
    -moz-transition: all 600ms ease-out 0s;
    -o-transition: all 600ms ease-out 0s;
    transition: all 600ms ease-out 0s;
    -webkit-transform: rotateY(180deg) scale(0.5,0.5);
    -moz-transform: rotateY(180deg) scale(0.5,0.5);
    -ms-transform: rotateY(180deg) scale(0.5,0.5);
    -o-transform: rotateY(180deg) scale(0.5,0.5);
    transform: rotateY(180deg) scale(0.5,0.5);
}
.hover-mask h3 {
    color: #ddd;
    font-size: 20px;
    position: relative;
    text-transform: uppercase;
    top: 110px;
    font-family: 'Noto Sans SC', 'Source Han Sans', 'OPPO Sans', 'Roboto', 'MiSans', 'HarmonyOS Sans', '思源黑体', sans-serif;
    font-weight: 400;
    margin-top: 20px;
    line-height: 1.1;
    margin-bottom: 10px;
}

.hover-mask span {
    background:url(../images/45a68da23b0321ca80ae68a03884635b_enw.png) no-repeat;
        background-position-x: 0%;
        background-position-y: 0%;
    background-position: 13px 14px;
    border: 2px solid #ddd;
    border-radius: 50px;
    color: #ddd;
    display: inline-block;
    height: 50px;
    left: 42%;
    padding: 11px 0;
    position: absolute;
    text-align: center;
    top: 22%;
    width: 50px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.fa-2x {
    font-size: 2em;
}
.fa {
    display: inline-block;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
        -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.og-grid .mix a:hover .hover-mask {
    opacity: 1;
    filter: alpha(opacity=100);
    
    -webkit-transform: rotateY(0deg) scale(1,1);
       -moz-transform: rotateY(0deg) scale(1,1);
        -ms-transform: rotateY(0deg) scale(1,1);
         -o-transform: rotateY(0deg) scale(1,1);
            transform: rotateY(0deg) scale(1,1);
}

#og-grid > .mix {
    display: none;
}
.og-grid li {
    display: inline-block;
   margin: 0 10px 20px 10px;
    vertical-align: top;
    height: 250px;
    width: 300px;
}
.og-grid li > a, .og-grid li > a img {
    border: none;
    outline: none;
    display: block;
    position: relative;
  
    vertical-align: middle;
}

.og-expander {
    position: absolute;
    background-color: rgba(242,242,242,.1);
    top: auto;
    left: 0;
    width: 100%;
    margin-top: 10px;
    text-align: left;
    height: 0;
    overflow: hidden;
    
}

.og-expander-inner {
    padding: 50px 30px;
    height: 100%;
    color: #ddd;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #333;
}

.og-close {
    position: absolute;
    width: 40px;
    height: 40px;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.og-close::before,
.og-close::after {
    content: '';
    position: absolute;
    width: 100%;
    top: 50%;
    height: 1px;
    background: #888;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}

.og-close::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.og-close:hover::before,
.og-close:hover::after {
    background: #fff;
}
.og-loading {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ddd;
    box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ccc;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px;
    -webkit-animation: loader 0.5s infinite ease-in-out both;
    -moz-animation: loader 0.5s infinite ease-in-out both;
    animation: loader 0.5s infinite ease-in-out both;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
@-webkit-keyframes loader {
    0% { background: #ddd; }
    33% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd; }
    66% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc; }
}

@-moz-keyframes loader {
    0% { background: #ddd; }
    33% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd; }
    66% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc; }
}

@keyframes loader {
    0% { background: #ddd; }
    33% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ccc, -15px 30px 1px #ddd; }
    66% { background: #ccc; box-shadow: 0 0 1px #ccc, 15px 30px 1px #ddd, -15px 30px 1px #ccc; }
}

.og-details a {
    width: 110px;
    border: 1px solid #fff;

    padding: 10px;
    margin-top: 10px;
    display: block;
}
.og-fullimg,
.og-details {
    width: 50%;
    float: left;
    height: 100%;
    overflow: hidden;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.og-details {
    padding: 0 40px 0 20px;
    background: #333;
}

*{

}
.og-fullimg {
    text-align: center;

}

.og-fullimg img {
    display: inline-block;
    max-height: 100%;
    max-width: 100%;

}

.og-details h3 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 10px;
    padding: 40px 0 10px;
    text-transform: capitalize;

}

.og-details p {
    font-weight: 400;
    font-size: inherit;
    line-height: 22px;
    color: inherit;
}

#showcase .og-details a {
    font-size: 16px;
    color: #999;
    text-transform: capitalize;
    padding: 10px 20px;
    border: 2px solid #999;
    display: inline-block;
    margin: 30px 0 0;
}

.og-details a::before {
    content: '\2192';
    display: inline-block;
    float: right;
    margin-left: 10px;
}

.og-details a:hover {
    border-color: #ddd;
    color: #ddd;
}


@media screen and (max-width: 830px) {

    .og-expander h3 { font-size: 32px; }
    .og-expander p { font-size: 13px; }
    .og-expander a { font-size: 12px; }

}

@media screen and (max-width: 650px) {

    .og-fullimg { display: none; }
    .og-details { float: none; width: 100%; }
    
}