#search {
    background-color: transparent;
    border-radius: 0;
    /* height: 40px; */
    /* position: absolute; */
    /* top: 0; */
    /* z-index: 1; */
    display: inline-block;
    float: right;
}

#search {
    /* right: 0; */
    /* top: 0; */
    width: auto !important;
}

#searchToggle {
    cursor: pointer;
    display: none;
    height: 72px;
    right: 0;
    /* position: absolute; */
    /* top: 0; */
    width: 48px;
    /* z-index: 10; */
    background-image: url('default/search_small.png');
    background-repeat: no-repeat;
    background-size: 60% auto;
    background-position: 50% 50%;
}

#search p {
    margin: 0;
    line-height: 28px;
}

#search label {
    display: none;
}

#searchbox {
    background-color: rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    border: 0;
    color: #fff;
    /* height: 100%; */
    line-height: 30px;
    margin: 0;
    max-width: 1264px;
    padding: 0 16px;
    position: absolute;
    top: 72px;
    font-size: 1em;
    font-weight: 300;
    outline-style: none;
    right: 0;
    text-align: right;
    width: 100vw !important;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    z-index: 3;
}

.open #searchbox {
    border-radius: 0;
    display: block;
}

.pagesearchbutton,
.go {
    box-sizing: border-box;
    height: 40px;
    margin-top: 8px;
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    outline-style: none;
    padding: 5px;
}

.pagesearchbutton {
    display: none;
}

.gotopage {
    overflow: hidden;
}

.gotopage strong,
.gotopage a {
    border: 1px solid #ccc;
    width: 30px;
    height: 30px;
    line-height: 30px;
    display: inline-block;
    text-align: center;
}

.gotopage a {
    margin: 0 2px;
}

.gotopage a strong {
    border: none;
}

.gotopage strong {
    color: #fff;
    background-color: #F1604D;
    border-color: #F1604D;
}

.gotopage .next,
.gotopage .previous {
    border-color: #f1604d;
}

.gotopage span {
    display: none;
}

@media (min-width:560px) {
    #searchToggle {
        display: inline-block;
    }

    #searchbox {
        display: none;
        height: 37px;
        background-color: rgba(0,0,0,1);
    }

}

@media (min-width:1024px) {
    #search {
        width: auto !important;
    }

    #searchbox {
        top: 105px;
        height: 64px;
        max-width: none;
    }

    #searchToggle {
        /* right: 0; */
        /* top: 8px; */
        /* top: 0; */
        /* height: 92px; */
        margin-top: 17px;
    }

}

@media (min-width:1280px) {

    #searchbox {
        right: 0;
    }

}