/*
    Document   : TEGallery style
    Author     : TrubinE
*/

/* ==========================
Basic styles
============================= */
html, body {
    height: 100%;
}

*, *::after, *::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*::after, *::before {
    content: '';
}

.te-panel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    visibility: hidden;
    -webkit-transition: visibility 0s 0.6s;
    -moz-transition: visibility 0s 0.6s;
    transition: visibility 0s 0.6s;
    z-index: 2147483645;
}
.te-panel::after {
    /* overlay layer */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    cursor: pointer;
    -webkit-transition: background 0.3s 0.3s;
    -moz-transition: background 0.3s 0.3s;
    transition: background 0.3s 0.3s;
}
.te-panel.is-visible {
    visibility: visible;
    -webkit-transition: visibility 0s 0s;
    -moz-transition: visibility 0s 0s;
    transition: visibility 0s 0s;
}
.te-panel.is-visible::after {
    background: rgba(0, 0, 0, 0.6);
    -webkit-transition: background 0.3s 0s;
    -moz-transition: background 0.3s 0s;
    transition: background 0.3s 0s;
}
.te-panel.is-visible .te-panel-close::before {
    -webkit-animation: te-close-1 0.6s 0.3s;
    -moz-animation: te-close-1 0.6s 0.3s;
    animation: te-close-1 0.6s 0.3s;
}
.te-panel.is-visible .te-panel-close::after {
    -webkit-animation: te-close-2 0.6s 0.3s;
    -moz-animation: te-close-2 0.6s 0.3s;
    animation: te-close-2 0.6s 0.3s;
}

@-webkit-keyframes te-close-1 {
    0%, 50% {
    -webkit-transform: rotate(0);
}
100% {
    -webkit-transform: rotate(45deg);
}
}
@-moz-keyframes te-close-1 {
    0%, 50% {
    -moz-transform: rotate(0);
}
100% {
    -moz-transform: rotate(45deg);
}
}
@keyframes te-close-1 {
    0%, 50% {
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
}
100% {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
}
@-webkit-keyframes te-close-2 {
    0%, 50% {
    -webkit-transform: rotate(0);
}
100% {
    -webkit-transform: rotate(-45deg);
}
}
@-moz-keyframes te-close-2 {
    0%, 50% {
    -moz-transform: rotate(0);
}
100% {
    -moz-transform: rotate(-45deg);
}
}
@keyframes te-close-2 {
    0%, 50% {
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
    transform: rotate(0);
}
100% {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
}
.te-panel-header {
    position: fixed;
    width: 90%;
    height: auto;
    min-height: 50px;
    line-height: 50px;
    background: rgba(255, 255, 255, 0.96);
    z-index: 2;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
    -webkit-transition: top 0.3s 0s;
    -moz-transition: top 0.3s 0s;
    transition: top 0.3s 0s;
    border-bottom: none;
}
.te-panel-header h2 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0!important;
    padding-left: 5%!important;
    width: 90%;
}
.from-right .te-panel-header, .from-left .te-panel-header {
    top: -50px;
}
.from-right .te-panel-header {
    right: 0;
}
.from-left .te-panel-header {
    left: 0;
}
.is-visible .te-panel-header {
    top: 0;
    -webkit-transition: top 0.3s 0.3s;
    -moz-transition: top 0.3s 0.3s;
    transition: top 0.3s 0.3s;
}
.te-panel-header {
    max-width: 600px;
}
@media only screen and (min-width: 768px) {
    .te-panel-header {
        width: 70%;
    }
}
@media only screen and (min-width: 1170px) {
    .te-panel-header {
        width: 50%;
    }
}
.te-panel-close {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 60px;
    /* image replacement */
    display: inline-block;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
}
.te-panel-close::before, .te-panel-close::after {
    /* close icon created in CSS */
    position: absolute;
    top: 22px;
    left: 20px;
    height: 3px;
    width: 20px;
    /* this fixes a bug where pseudo elements are slighty off position */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.te-panel-close::before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
.te-panel-close::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.no-touch .te-panel-close:hover::before, .no-touch .te-panel-close:hover::after {
    background-color: #ffffff;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
.no-touch .te-panel-close:hover::before {
    -webkit-transform: rotate(220deg);
    -moz-transform: rotate(220deg);
    -ms-transform: rotate(220deg);
    -o-transform: rotate(220deg);
    transform: rotate(220deg);
}
.no-touch .te-panel-close:hover::after {
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}
.te-panel-container {
    position: fixed;
    width: 90%;
    max-width: 600px;
    height: 100%;
    top: 0;
    background: white;
    z-index: 1;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-delay: 0.3s;
    -moz-transition-delay: 0.3s;
    transition-delay: 0.3s;
}
.from-right .te-panel-container {
    right: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    -moz-transform: translate3d(100%, 0, 0);
    -ms-transform: translate3d(100%, 0, 0);
    -o-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
}
.from-left .te-panel-container {
    left: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    -moz-transform: translate3d(-100%, 0, 0);
    -ms-transform: translate3d(-100%, 0, 0);
    -o-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
}
.is-visible .te-panel-container {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    transition-delay: 0s;
}
@media only screen and (min-width: 768px) {
    .te-panel-container {
        width: 70%;
    }
}
@media only screen and (min-width: 1170px) {
    .te-panel-container {
        width: 50%;
    }
}
.te-panel-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0 0 70px;
    overflow: auto;
    /* smooth scrolling on touch devices */
    -webkit-overflow-scrolling: touch;
}
.te-panel-content p {
    font-size: 14px;
    color: #424f5c;
    margin: 2em 0;
}
.te-panel-content p:first-of-type {
    margin-top: 0;
}
@media only screen and (min-width: 768px) {
    .te-panel-content p {
    }
}
/* Slider */
.te-panel-content-img {
    background: none repeat scroll 0 0 #ecf0f1;
    border-top: 1px solid #bdc3c7;
    border-bottom: 1px solid #bdc3c7;
    height: 200px;
    margin: 50px 0 15px;
    overflow: hidden;
    text-align: center;
    width: 100%;
}
.te-panel-content-img img {
    border-radius: 0;
    height: 200px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
/* ==========================
Template
============================= */
/* template collage */
.te-collage{
    padding: 10px 5px;
}
.te-collage .te-image-wrapper{
    opacity:0;
    margin: 0;
}
.te-collage .te-image-wrapper img{
    cursor: pointer;
    margin:0;
    padding:0;
    display: block;
    vertical-align:bottom;
    opacity:1;
}
.effect-parent {
    -webkit-perspective: 1300px;
    -moz-perspective: 1300px;
    perspective: 1300px;
}
/* template columns */
.te-image-wrapper {
    position: relative;
}
.te-column-2,
.te-column-3,
.te-column-4{
    width:100%;
    display:block;
    clear:both;
    overflow:hidden;
}
.te-column-2 .te-image-wrapper{
    width:48%;
}
.te-column-3 .te-image-wrapper{
    width:31%;
}
.te-column-4 .te-image-wrapper{
    width:23%;
}
.te-column-2 .te-image-wrapper,
.te-column-3 .te-image-wrapper,
.te-column-4 .te-image-wrapper
{
    /*    -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -o-box-sizing: border-box;   */
    margin:1%;
    float:left;
    /*max-width:300px;*/
    overflow:hidden;
    height: auto;
}

.te-column-2 .te-image-wrapper img,
.te-column-3 .te-image-wrapper img,
.te-column-4 .te-image-wrapper img
{
    max-width: 100%;
    min-height: 100%;
    min-width: 100%;
    position: relative;
    display: block;
}
@media only screen and (max-width: 767px) {
    .te-column-2 .te-image-wrapper,
    .te-column-3 .te-image-wrapper,
    .te-column-4 .te-image-wrapper
    {
        width:48%;
        margin:1%;
    }
}
/* Progress bars */
.te-progress-bars {
    width: 100%;
    clear: both;
    margin-bottom: 5px;
    padding: 0 3%;
}
.te-progress-bars-line {
    background: white;
    height: 20px;
    overflow: hidden;
}
.te-progress-bars-title {
    color: #34495e;
    font-size: 14px;
}
.goalProgress {
    background: white;
    height: 20px;
    overflow: hidden;
}
.progressBar {
    width: 0;
}
/* End Progress bars */
.te-panel-content-text {
    padding: 15px 3% 0 3%;
}
.te-panel-content-text .alignright{
    margin: 5px 0 5px 20px!important;
}
.te-panel-content-text .alignleft{
    margin: 5px 20px 5px 0!important;
}
#te-portfolio{
    display: block;
    overflow: hidden;
    position: relative;
    clear: both;
}
/* Filter */
#te-filter {
    clear: both;
    height: 45px;
    margin: 15px 0 0;
    padding: 10px 5px 0;
    width: 100%;
}
#te-filter li {
    border-radius: 3px;
    display: block;
    float: left;
    height: 35px;
    list-style: none;
    margin: 0 10px 5px 0;
    padding: 5px 10px;
}
#te-filter li a{
    text-decoration: none;
    font-size: 16px;
}
#te-filter li a:hover{
    text-decoration: none;
}
/* Social buttons */
.te-social-buttons {
    margin: 20px;
    overflow: hidden;
}
.te-social-buttons a {
    display: block;
    float: left;
    height: 35px;
    margin: 0 10px 5px 0;
    width: 35px;
}
.te-social-buttons img {
    min-width: 100%;
    width: 100%;
}
/* Preview hover effect */
.te-image-wrapper .te-hover-effect:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}

.te-image-wrapper .te-hover-effect a{
    border-radius: 3px;
    font-size: 16px;
    line-height: 16px;
    padding: 5px 10px;
    text-decoration: none;
    vertical-align: middle;
}
.te-image-wrapper .te-hover-effect a:hover {
    color: white;
    text-decoration: none;
}
/* Effect 1 - slide in bottom */
.te-effect-1 .te-hover-effect {
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 0;
    position: absolute;
    z-index: 5;
    background: rgba(0, 0, 0, 0.8);
    overflow: hidden;
    transition: all 0.5s;
    text-align: center;
}
.te-effect-1:hover .te-hover-effect {
    height: 100%;
}
/* Effect 2 - slide in top */
.te-effect-2 .te-hover-effect {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 0;
    position: absolute;
    z-index: 5;
    background: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    transition: all 0.5s;
    text-align: center;
}
.te-effect-2:hover .te-hover-effect {
    height: 100%;
}
/* Effect 3 - slide in left */
.te-effect-3 .te-hover-effect {
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 0;
    position: absolute;
    z-index: 5;
    background: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    transition: all 0.5s;
    text-align: center;
}
.te-effect-3:hover .te-hover-effect {
    width: 100%;
}
/* Effect 4 - slide in right */
.te-effect-4 .te-hover-effect {
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 0;
    position: absolute;
    z-index: 5;
    background: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    transition: all 0.5s;
    text-align: center;
}
.te-effect-4:hover .te-hover-effect {
    width: 100%;
}
/* Effect 5 - show */
.te-effect-5 .te-hover-effect {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    position: absolute;
    z-index: 5;
    background: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    transition: all 0.5s;
    text-align: center;
}
.te-effect-5:hover .te-hover-effect {
    opacity: 1;
}
/* =================================
Style color
==================================== */
/* Blue */
#te-filter.te-style-blue li {
    background: #4aa3df;
    border-bottom: 1px solid #2980b9;
    cursor: pointer;
}
#te-filter.te-style-blue li:hover {
    background: #2980b9;
    border-bottom: 1px solid #2980b9;
}
#te-filter.te-style-blue li a{
    color: white;
}
.te-style-blue .te-image-wrapper .te-hover-effect a {
    background: #4aa3df;
    border-bottom: 1px solid #2980b9;
    color: white;
}
.te-style-blue .te-image-wrapper .te-hover-effect a:hover {
    background: #2980b9;
    color: white;
}
.te-style-blue .te-panel-close:before, .te-style-blue .te-panel-close:after {
    background-color: #2980b9;
}
.te-style-blue .te-panel-close:hover {
    background-color: #2980b9;
}
/* Red */
#te-filter.te-style-red li {
    background: #e74c3c;
    border-bottom: 1px solid #c0392b;
    cursor: pointer;
}
#te-filter.te-style-red li:hover {
    background: #c0392b;
    border-bottom: 1px solid #c0392b;
}
#te-filter.te-style-red li a{
    color: white;
}
.te-style-red .te-image-wrapper .te-hover-effect a {
    background: #e74c3c;
    border-bottom: 1px solid #c0392b;
    color: white;
}
.te-style-red .te-image-wrapper .te-hover-effect a:hover {
    background: #c0392b;
    color: white;
}
.te-style-red .te-panel-close:before, .te-style-red .te-panel-close:after {
    background-color: #c0392b;
}
.te-style-red .te-panel-close:hover {
    background-color: #c0392b;
}
/* Green */
#te-filter.te-style-green li {
    background: #1abc9c;
    border-bottom: 1px solid #16a085;
    cursor: pointer;
}
#te-filter.te-style-green li:hover {
    background: #16a085;
    border-bottom: 1px solid #16a085;
}
#te-filter.te-style-green li a{
    color: white;
}
.te-style-green .te-image-wrapper .te-hover-effect a {
    background: #1abc9c;
    border-bottom: 1px solid #16a085;
    color: white;
}
.te-style-green .te-image-wrapper .te-hover-effect a:hover {
    background: #16a085;
    color: white;
}
.te-style-green .te-panel-close:before, .te-style-green .te-panel-close:after {
    background-color: #16a085;
}
.te-style-green .te-panel-close:hover {
    background-color: #16a085;
}
/* Silver */
#te-filter.te-style-silver li {
    background: #ecf0f1;
    border-bottom: 1px solid #bdc3c7;
    cursor: pointer;
}
#te-filter.te-style-silver li:hover {
    background: #bdc3c7;
    border-bottom: 1px solid #bdc3c7;
}
#te-filter.te-style-silver li a{
    color: #34495e;
}
.te-style-silver .te-image-wrapper .te-hover-effect a {
    background: #ecf0f1;
    border-bottom: 1px solid #bdc3c7;
    color: #34495e;
}
.te-style-silver .te-image-wrapper .te-hover-effect a:hover {
    background: #bdc3c7;
    color: #34495e;
}
.te-style-silver .te-panel-close:before, .te-style-silver .te-panel-close:after {
    background-color: #bdc3c7;
}
.te-style-silver .te-panel-close:hover {
    background-color: #bdc3c7;
}
/* dark */
#te-filter.te-style-dark li {
    background: #34495e;
    border-bottom: 1px solid #2c3e50;
    cursor: pointer;
}
#te-filter.te-style-dark li:hover {
    background: #2c3e50;
    border-bottom: 1px solid #2c3e50;
}
#te-filter.te-style-dark li a{
    color: white;
}
.te-style-dark .te-image-wrapper .te-hover-effect a {
    background: #34495e;
    border-bottom: 1px solid #2c3e50;
    color: white;
}
.te-style-dark .te-image-wrapper .te-hover-effect a:hover {
    background: #2c3e50;
    color: white;
}
.te-style-dark .te-panel-close:before, .te-style-dark .te-panel-close:after {
    background-color: #2c3e50;
}
.te-style-dark .te-panel-close:hover {
    background-color: #2c3e50;
}
/* customs */
.my-hipster-style-classic {
	background-color: #2c3e50;
	color: white;
}
.my-hipster-style-classic_new {
	background-color: #2c3e50;
	color: white;
}
/* end customs */


