/* custom-css */
@media (max-width: 767px) {

    #bg,
    footer {
        min-width: 100%;
    }

    #footer {
        margin-left: 0;
        padding-left: 30px;
    }

    a#madeby {
        margin-right: 0;
        padding-right: 30px;
    }

    div#wrapb {
        padding-left: 15px;
        padding-right: 15px;
    }

    .fblock {
        margin-left: 0;
    }

    .span_4_of_12,
    .span_4_of_12:nth-child(3) {
        width: 100%;
    }

    #sakums-home {
        padding-top: 30px;
    }

    .home .home_block {
        margin: 0;
        margin-top: 20px;
    }

    .allhead {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        gap: 10px;
        width: calc(100% - 20px);
        scale: 0.9;
    }
    
    .allhead a#ienakt {
        position: static;
        padding-left: 30px;
    }
    
    .allhead a#favorite {
        position: static;
    }
    
    .allhead a#grozs {
        position: static;
    }
    
    form#searchbox {
        position: relative;
        float: none;
        max-width: 370px;
        width: 100%;
        display: block;
        margin: 0;
        padding: 0 15px;
        height: 35px;
        margin-top: 10px;
        top: auto;
        left: auto;
        right: auto;
        margin-bottom: 10px;
    }
    
    .easy-autocomplete {
        width: 100%!important;
        display: block;
        position: relative;
    }
    
    #searchbox input[type=text] {
        width: 100%;
        max-width: none;
        padding-right: 0;
    }
    
    #searchbox input[type=submit] {
        position: absolute;
        right: 0;
        top: 0;
    }
    
    a#logo {
        position: static;
        background-position: 5px 5px;
        margin-left: 60px;
    }
    
    a#responsive_menu {
        top: 5px;
        right: auto;
    }
    #ienakt .cont {
        visibility: visible;
    }
}