body.search .clear-fix:before,
body.search .clear-fix:after {
    display: table;
    content:'';
    clear:both;
}

body.search .npm-search,
body.search .npm-search * {
    box-sizing: border-box;
}

body.search *:focus {
    outline: 0;
}

body.search .npm-search.wp,
body.search .npm-search.festivalfilms,
body.search .npm-search.persons,
body.search .npm-search.filmsarchive {
    display: none;
    position: relative;
    margin-bottom: 3.6rem;
    padding: 0rem 1.1rem;
    min-height: 6rem;
}

body.search .search .primary-area .thesearchform .search-submit {
    background: none;
    background-color: transparent !important;
    cursor: pointer;
}

body.search .ajax-loader {
    position: absolute;
    top:50%;
    left:50%;
    margin-left:calc(-3.1rem/2);
    margin-top:calc(-3.1rem/2);
    width:3.1rem;
    height:3.1rem;
    background: url('../images/search/ajax-loader.gif');
}

body.search .npm-search a {
    text-decoration: none;
}

body.search .npm-search article {
    margin: 0rem 0rem 1.6rem;
    width:100%;
}

body.search .npm-search .element {
    padding: 0rem 1.1rem;
}

body.search .npm-search header {
    width:100%;
    height:50px;
    margin-bottom:20px;
    padding:0 0 60px;
    border-bottom:solid 1px #e6e6e6;
}

body.search .npm-search .header h2 {
    line-height: 100%;
    padding:0;
    margin-bottom:.4rem;
}

body.search .npm-search .header h3 {
    padding: 0;
    margin:0 0 0 0;
    color: #939393;
}

body.search .npm-search .featured-image {
    float:left;
    width:25%;
    height: 100%;
    padding-right:1.6rem;
    background-color: #fff;
}

body.search .npm-search .featured-image .image {
    height: 20.2rem !important;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body.search .npm-search .featured-image .image a {
    display: block;
    width:100%;
    height:100%;
    text-decoration: none;
}

body.search .npm-search .header {
    float:left;
    position: relative;
    width:calc(1/3*100%);
    padding: 2rem 2rem 2rem 2rem;
    border-right:solid 1px #e6e6e6;
    height: 20.2rem;
}


body.search .npm-search .header a {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    text-decoration: none;
    z-index: 3;
}

body.search .npm-search .header h2 {
    color:#e94622;
}

body.search .npm-search .search-header {
    position: relative;
}

body.search .npm-search .search-header span.total-result {
    position: absolute;
    right:.2rem;
    top:50%;
    margin-top: calc(-1.4rem/2);
    color:#939393;
    font-size:1.4rem;
    line-height:1.4rem;
    z-index: 2;
}

body.search .npm-search .content-container {
    float:left;
    position: relative;
    width:75%;
    background: #ebeee9;
    padding-right:4rem;
}

body.search .npm-search .content {
    float:left;
    width:calc(2/3*100%);
    padding: 2rem 0 2rem 2rem;
    height: 20.2rem !important;
}

body.search .npm-search .content > a {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index: 10;
    display: block;
    text-decoration: none;
}

body.search .npm-search .content .info {
   padding-bottom: 10px;
    /*height:100%;*/
}

body.search .npm-search .content-container .arrow {
    display: inline-block;
    overflow: hidden;
    background: url(../images/list/spritesheet.png) no-repeat;
    background-size: 16.4rem 11.8rem;
    width: 3rem;
    height: 3rem;
    background-position: -11.8rem -0.1rem;
    position: absolute;
    top: 50%;
    right:2rem;
    margin-top:calc(-3rem/2);
    z-index: 2;
}

@media ( max-width:940px ) {
    body.search .npm-search .header,
    body.search .npm-search .content {
        width:100%;
    }
}

/* site search */

body.search .npm-search .content-container {
    position: relative;
}

body.search .npm-search.wp .featured-image,
body.search .npm-search.wp .header,
body.search .npm-search.wp .info {
    position: relative;
}

body.search .npm-search.wp .link,
body.search .gotolink {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    display: block;
    z-index: 3;
}


/* films archive search */


/* persons search */

body.search .npm-search.persons .featured-image,
body.search .npm-search.persons .header {
    position: relative;
}

body.search .npm-search.persons .featured-image .link,
body.search .npm-search.persons .header .link,
body.search .npm-search.persons .content .link {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    display: block;
    z-index: 3;
}

body.search .npm-search.persons .content .info {
    padding-top:1rem;
}

body.search .npm-search.persons div[data-search="persons"] {
    /*background-repeat: no-repeat;
    background-position: center top;
    background-size: auto 100%;
    background-color: #000;
    */
}

body.search .npm-search .link,
body.search .npm-search .link {
    margin-bottom:1rem;
    display: block;
    text-align: right;
    margin-right: 0.4rem;
}

body.search .npm-search .link:last-of-type {
    margin-bottom:3rem;
}

body.search header[class*=""]:nth-of-type(1) {
    margin-top:2rem;
}


/* ajax pagination */

body.search .search-pagination {
    text-align: right;
}

body.search ul.wp-search-pagination {
    display: inline-block;
    list-style-type: none;
    margin:0 0 .4rem auto;
    padding:0 !important;
}

body.search ul.wp-search-pagination li {
    display: inline-block;
    margin:0;
}

body.search ul.wp-search-pagination li a.current {
    color:#e94622;
    cursor: default;
    display: inline-block;
}

body.search ul.wp-search-pagination li a:hover {
    color:#e94622;
}

body.search ul.wp-search-pagination li a {
    font-family: 'Lato', serif;
    font-weight: 400;
    cursor: pointer !important;
    color:#444;
    padding:0 .3rem;
}

body.search .search .primary-area .thesearchform {
    border-bottom:none !important;
}

body.search .search .primary-area .thesearchform {
    margin-bottom:0rem !important;
}

body.search .search-validate,
body.search .search-no-result {
    margin-top:4rem;
    font-family: 'Lato', serif;
    font-weight: 400;
    color:#e94622;
    font-size:1.8rem;
    line-height: 1.8rem;
}

body.search .search-no-result {
    color:#444;
}

@media ( max-width:940px ) {

    body.search .npm-search .featured-image .image {
        height:19.6rem !important;
    }

    body.search .npm-search.wp .featured-image .image {
        height:14.8rem !important;
    }

    body.search .npm-search .content-container {
        padding-right:6rem;
    }

    body.search .npm-search .header {
        height:auto;
        padding-bottom:0;
        border-right:0;
        height:8.6rem;
    }

    body.search .npm-search.wp .header {
        height:6.2rem;
    }

    body.search .npm-search.wp .header {

    }

    body.search .npm-search .header h2,
    body.search .npm-search .header h3 {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width:460px;
    }

    body.search .npm-search .content {
        height:11rem !important;
        padding-top:0;
    }

    body.search .npm-search.wp .content {
        height:8.6rem !important;
    }

}

@media ( max-width:736px ) {

    body.search .npm-search .header {
        height:8rem;
    }

    body.search .npm-search .header h2 {
        font-size:2rem;
        line-height: 2.2rem;
        width:280px;
    }

    body.search .npm-search .header h3 {
        font-size:1.6rem;
        line-height: 1.8rem;
        width:280px;
    }

    body.search .npm-search .featured-image {
        width:50%;
    }

    body.search .npm-search .featured-image .image {
        height:19rem !important;
    }

    body.search .npm-search .content-container {
        width:50%;
    }

    body.search .npm-search .content {
        height:11rem !important;
        padding-top:0;
    }

}

@media ( max-width: 640px ) {

    body.search .npm-search .header h2,
    body.search .npm-search .header h3 {
        width:220px;
    }
}

@media ( max-width:560px ) {

    body.search .npm-search .featured-image {
        float:none;
        width:100%;
        padding-right:0;
    }

    body.search .npm-search .header {
        float:none;
    }

    body.search .npm-search .content-container {
        float:none;
        width:100%;
    }

    body.search .npm-search .content {
        float:none;
    }

}

@media ( max-width:420px ) {

    body.search .npm-search .header {
        height:7.4rem;
    }

    body.search .npm-search .content {
        height:9.6rem !important;
        padding-top:0;
    }

    body.search .search-header h2 {
        font-size:2.2rem;
        line-height: 2.2rem;
    }

    body.search .npm-search .search-header span.total-result {
        right:.2rem;
        margin-top:calc(-2.2rem/2);
        font-size:1.2rem;
        line-height:1.2rem;
        font-weight:300;
    }

}
