.header .headerSearch {
    width: 535px;
}

@media (max-width: 1024px) {

    .phpld-wbox, .header {
        width: auto;height: auto;
    }

    .phpld-wbox .userPanel {
        padding: 0 10px;
    }
    
    .container-inner, #nav ,.wrap , .footer-inner, .breadcrumbs, .footer{
        width: 100%;
        height: auto;
        box-sizing: border-box;
        position: static;
    }
    
    #header-mid .container-inner {
        height: auto;
    }
    
    .search-container {
        float: none;
        width: 100%;
    }
    
    .wrap{
        margin: 0px
    }
    
    .phpld-hlist{
        overflow: hidden;
    }
    
    .phpld-hlist ul{
        clear: both;
        position: relative;
        top: 6px;
    }
    
    #nav { background-repeat: repeat;}
    
    .phpld-widget h3{
        background: none #5493d8;
    }

}

@media (max-width: 800px) {}

@media (max-width: 768px) {}

@media (max-width: 736px) {

    .header .headerSearch {
        width: 500px;
    }

    #search_form #autoquery, #search_form .select2-container {
        width: 310px !important;
    }

    .headerLogo {
        padding-left: 7px;
    }

    .phpld-wbox .userPanel {
        padding-top: 3px;
    }
    
   

}

@media (max-width: 667px) {

    .header .headerSearch {
        width: 420px;
    }

    #search_form #autoquery, #search_form .select2-container {
        width: 290px !important;
    }
    
   .phpld-col1, .phpld-col2, .phpld-col3 {
    float: none;
    margin: 0 !important;
    width: 100% !important;
    }
    
    .phpld-column   { display: table; }
    .phpld-col2, .phpld-col1  { display: table-footer-group; }
      .phpld-col3 { display: table-header-group; }
    
    .phpld-col3 .phpld-cbox {
        margin-right: 8px !important;
        margin-left: 8px !important;
    }
    
    ul.dynatree-container
    {
        width: auto;
    }

}

@media (max-width: 568px) {

    .header .headerSearch {
        width: 340px;
    }

    #search_form #autoquery, #search_form .select2-container {
        width: 230px !important;
    }
    
     


    .phpld-col3 .phpld-cbox {
        margin-right: 8px !important;
        margin-left: 8px !important;
    }

}

@media (max-width: 480px) {

    .headerLogo, #search_form {
        float: none;
    }

    .headerLogo {
        padding-left: 35px;
    }

    #search_form {
        margin: 0 auto;
        display: block;
    }

    #nav .phpld-wbox .phpld-hlist>ul {
        float: none;
        padding: 0;
        display: block;
    }

    #nav .phpld-wbox .phpld-hlist>ul>li {
        position: relative;
        display: inline-block;
        text-align: center;
        -webkit-flex-basis: 25%;
        margin: 0;
        margin-right: 5px;
    }

    #nav .phpld-wbox .phpld-hlist ul li a {
        text-align: center;
    }

    #submitForm .phpld-equalize>.phpld-label {
        width: auto;
        float: none;
        display: block;
        text-align: left;
    }

    .phpld-columnar {
        margin-top: 0;
    }

}

@media (max-width: 414px) {

    #nav {
        height: auto;
        overflow: hidden;
    }

    #nav .phpld-wbox .phpld-hlist>ul {
        float: none;
        padding: 0;
        display: block;
    }

    #nav .phpld-wbox .phpld-hlist>ul>li {
        position: relative;
        display: inline-block;
        text-align: center;
        margin: 0;
        margin-right: 5px;
    }

    #nav .phpld-wbox .phpld-hlist ul li a {
        text-align: center;
    }


    .phpld-col3 .phpld-cbox {
        margin-right: 6% !important;
        margin-left: 6% !important;
    }

}

@media (max-width: 375px) {

    .headerLogo {
        padding-left: 20px;
    }

    #nav .phpld-wbox .phpld-hlist>ul>li {
        margin-right: 2px;
    }

}

@media (max-width: 320px) {

    #search_form {
        width: 300px;
    }

    #search_form .select2-container {
        width: 200px !important;
    }

    .headerLogo {
        padding-left: 15px;
    }

    #nav .phpld-wbox .phpld-hlist>ul>li {
        margin-right: 4px;
        margin-left: 4px;
    }

    .phpld-col3 .phpld-cbox {
        margin-right: 2% !important;
        margin-left: 2% !important;
    }

    #hierarchy {
        margin-left: 4px !important;
    }

}