.popup-frame-box {
    background: #fff none repeat scroll 0 0;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid rgb(51, 67, 115) !important;
    padding: 20px;
    overflow: hidden;
}
.popup-frame .popup-name {
    background: none !important;
    box-shadow: none;
    padding: 50px 20px 40px 15px;
    color: rgb(50, 54, 148);
    color: rgb(50, 54, 149);
    border-bottom: none;
    font-size: 25px;
}
.popup-frame .popup-name:after {
    background: none;
}
.popup-frame .popup-name .title-icon {
    font-size: 40px;
    margin-right: 25px;
}
.popup-frame .after-name-info {
    padding: 0 0 30px 80px;
    font-size: 16px;
}
.popup-frame .popup-title {
    font-size: 20px;
    color: #323694;
    background: none;
    border-bottom: none;
    font-weight: normal;
    line-height: 26px;
    padding: 10px 20px 20px 80px;
}
.popup-frame .popup-title:after {
    display: none;
}
.popup-frame .fancybox-skin {
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.popup-frame .fancybox-inner {
    max-width: 1000px;
    width: 1000px;
}
.popup-frame .popup-close {
    border: 1px solid rgb(50, 54, 149);
    border-radius: 0px 5px 0px 5px;
    background-color: rgb(50, 54, 149);
    background-image: none;
    height: 32px;
    width: 100px;
    right: -1px;
    top: -1px;
    position: absolute;
    font-weight: normal;
    font-size: 13px;
    color: white;
    padding: 5px 0 4px 16px;
    cursor: pointer;
}
.popup-frame .popup-close .fa-times {
    text-shadow: none;
    opacity: 1;
    right: 10px;
    top: 8px;
    font-size: 13px;
    text-align: right;
    color: white;
    position: absolute;
}
.popup-frame .popup-close .fa-times:hover {
    opacity: 1;
    color: white;
}
.popup-frame .truck {
    width: 42px;
    height: 31px;
    display: inline-block;
    background: url("../img/truck.png") no-repeat;
}
.popup-frame .detail {
    max-width: 1000px;
    height: auto;
}
.popup-frame .detail-picture {
    height: 400px;
    width: inherit;
    position: relative;
    overflow: hidden;
    margin: -20px -20px 20px -20px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.popup-frame .detil-picture-shadow {
    height: 400px;
    width: 100%;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+60&amp;0+0,0.65+60 */
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 60%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(60%, rgba(0, 0, 0, 0.65))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 60%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 60%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 60%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 60%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#a6000000', GradientType=0); /* IE6-9 */
    position: absolute;
    top: 0;
}
.popup-frame .detail-picture .detail-picture-title {
    position: relative;
    height: 400px;
    padding: 20px;
}
.popup-frame .detail-picture .detail-picture-title .h2 {
    position: absolute;
    bottom: 40px;
}
.popup-frame .detail-text {
    padding: 20px;
}
.popup-frame .project-copy {
    font-size: 16px;
    padding: 15px 0 10px;
    font-weight: bold;
}
@media (max-width: 991px) {
    .popup-frame .fancybox-inner {
        max-width: 700px;
        width: 100%;
    }
}
@media (max-width: 767px) {
    .popup-frame {
        width: 100%;
        min-width: 100%;
    }
    .popup-frame .fancybox-inner {
        max-width: 100%;
        min-width: 100%;
        width: 100%;
    }
    .popup-frame .popup-name {
        padding: 30px 0 20px
    }
    .popup-frame .popup-title {
        padding: 0 0 20px;
    }
}