﻿.wrap.select2-selection--single, .wrap.select2-selection--multiple {
    height: 100%;
}

.select2-container .wrap.select2-selection--single .select2-selection__rendered, .select2-container .wrap.select2-selection--multiple .select2-selection__rendered {
    word-wrap: break-word;
    text-overflow: inherit;
    white-space: normal;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #722257 !important;
    color:white !important;
}

    .select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[aria-selected]:hover {
        background-color: #722257 !important;
        color: white !important;
    }

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #722257 !important;
    color: white !important;
    border: 1px solid #a03472 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: white;
}

    .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
        color: #a03472;
    }
.select2-selection--single {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
a /*--------------------------------------------------------------
	Portfolio
--------------------------------------------------------------*/
/* Portfolio filter */
.filter {
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0 0 70px;
}

.filter > li {
    display: inline-block;
    padding: 0 0 10px;
    margin: 0 25px;
}

/* Portfolio grid */
.works-grid {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .works-grid.works-grid-gut {
        margin: 0 0 0 -5px;
    }

        .works-grid.works-grid-gut .work-item {
            padding: 0 0 10px 10px;
        }

.work-item {
    width: 50%;
    float: left;
    margin: 0;
}

.works-grid-3 .work-item {
    width: 33.3333%;
}

.container .works-grid-3 .work-item {
    width: 33.2%;
}

.works-grid-4 .work-item {
    width: 25%;
}

.works-grid-5 .work-item {
    width: 20%;
}

.work-item > a {
    position: relative;
    display: block;
    overflow: hidden;
}

.work-image {
    position: relative;
    overflow: hidden;
}

    .work-image img {
        display: block;
        overflow: hidden;
        width: 100%;
    }

    .work-image:after {
        position: absolute;
        display: block;
        content: "";
        height: 100%;
        width: 100%;
        top: 0;
        left: 0;
    }

.work-caption {
    width: 100%;
    padding: 0 20px;
    opacity: 0;
    position: absolute;
    bottom: 58%;
    left: 0;
    text-align: center;
    overflow: hidden;
}

.work-title {
    font-size: 14px;
    color: #fff;
    margin: 0 0 6px;
}

.work-descr {
    color: #aaa;
}

/*.work-item:hover .work-image:after {
            background: rgba(0, 0, 0, 0.6);
        }*/

.work-item:hover .work-image > img {
    -webkit-transform: scale(1.1) rotate(2deg);
    -ms-transform: scale(1.1) rotate(2deg);
    transform: scale(1.1) rotate(2deg);
    opacity: 0.7;
}

.work-item:hover .work-caption {
    bottom: 50%;
    opacity: 1;
    z-index: 3;
    -webkit-transform: translateY(50%);
    -ms-transform: translateY(50%);
    transform: translateY(50%);
}

/* Work item white background
        /*.works-grid.works-hover-w .work-title {
            color: #111;
        }

        .works-grid.works-hover-w .work-item:hover .work-image:after {
            background: rgba(255, 255, 255, 0.8);
        }

        
        .works-grid.works-hover-g .work-image:after {
            opacity: 0;
        }

        .works-grid.works-hover-g .work-descr {
            color: #fff;
        }

        .works-grid.works-hover-g .work-item:hover .work-image:after {
            background: #6fe29e;
            background: linear-gradient(135deg, rgba(111, 226, 158, 0.8) 0%, rgba(91, 218, 209, 0.8) 100%);
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6fe29e', endColorstr='#5bdad1',GradientType=1 );
            opacity: 1;
        }*/

.sliding-portfolio .work-item {
    width: 100%;
}