/*
Theme Name:     techlaw
Description:    techlaw child theme
Author:         techlaw2
Template:       directory

(optional values you can add: Theme URI, Author URI, Version)
*/

@import url("../directory/style.css");

#dir-holder input#dir-searchinput-category { 
    display: none !important; 
}

#comments {display: none;}

#dir-holder{ padding-right: 10px; }

#dir-holder .dir-holder-wrap input#dir-searchinput-text{
    padding: 0 2% 0 7%;
    width: 63%;
    max-width: 63%;
}

#dir-holder #dir-search-location {
    background: url("../directory/design/img/search_input-arrow.png") no-repeat scroll 155px 14px rgba(0, 0, 0, 0);
    border: 0;
    color: #777777;
    border-left: 1px solid #dcdcdc !important;
    height: 35px;
    width: 31%;
    margin-right: -25px;
    padding: 3px 10px;
    float: right;
}

#dir-holder #dir-search-location option{
    border-bottom: 1px dotted #cfcfcf;
    margin: 0px;
    padding: 5px 10px;
}
#dir-holder #dir-search-location option:hover{
    color: #000;
    font-weight: bold;
    background: #CCC;
}

#dir-holder .dir-holder-wrap{ overflow: hidden; }

#firm-search-holder, .firm-holder-wrap {
    color: #fff !important;
    font-size: 14px;
}

#firm-search-holder span {
    display: inline-block;
    background: url('icon_map_marker.png') no-repeat top center;
    height: 22px;
    width: 14px;
    position: relative;
    top: 6px;
    margin-right: 5px;
}

#directory-search {
    height: 60px;
    padding-top: 20px;
    text-align: center;
    margin-bottom: 30px;
}

#firm-search-holder select {
    border: 1px solid #cccccc;
    padding: 0.5rem;
    padding-right: 1.25rem;
    color: rgba(0, 0, 0, 0.75);
    line-height: normal;
    border-radius: 0;
    height: 2.4rem;
    font-size: 14px;
    font-weight: bold;
    width: 25%;
    -webkit-appearance: none !important;
    background-color: #ffffff;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMTJweCIgeT0iMHB4IiB3aWR0aD0iMjRweCIgaGVpZ2h0PSIzcHgiIHZpZXdCb3g9IjAgMCA2IDMiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDYgMyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBvbHlnb24gcG9pbnRzPSI1Ljk5MiwwIDIuOTkyLDMgLTAuMDA4LDAgIi8+PC9zdmc+);
    background-position: 100% center;
    background-repeat: no-repeat;
}

ul.ui-autocomplete { width: 225px !important; }

.type-post .entry-meta { 
    display:none !important;
} 

#main h1.entry-title {  padding-bottom: 20px; }



.ait-dir-item .item-info{
    width: 630px;
}
.ait-dir-item .item-info .item-address dt{
    width: 125px;
}
.ait-dir-item .item-info dl.item-address dd{
    padding-left: 125px;
    text-align: justify;
}

#secondary ul{ list-style: none; margin: 0; }
#secondary ul li{ border-bottom: 1px solid #eee; }
#secondary ul li a{ line-height: 30px; display: block; }
#secondary ul li a:hover{ text-decoration: underline; }

#directory-search { margin-bottom: 0; }

.search-firm-listing {
    margin-bottom: 25px;
}

.search-firm-listing .firm-logo {
    float: left;
    width: 140px;
    margin-right: 15px;
}

.search-firm-listing .firm-details {
    padding-top: 42px;
}

.float_firm_box {
    float: left;
    width: 220px;
    margin-bottom: 20px;
}


@media all and (min-width: 769px) {
    .hide-desktop {
        display: none;
    }
}

@media all and (max-width: 768px) {
    #dir-holder .dir-holder-wrap input#dir-searchinput-text{
        padding: 0 2% 0 10%;
        width: 60%;
        max-width: 63%;
    }
    
    #directory-search {
        height: auto;
        padding-bottom: 15px;
    }

    #firm-search-area {
        margin-top: 7px;
    }
     
    #firm-search-holder select {
        display: block;
        margin-bottom: 5px;
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hide-mobile {
        display: none;
    }
}

@media all and (max-width: 496px) {
    
    #dir-holder #dir-search-location{
        background: url("../directory/design/img/search_input-arrow.png") no-repeat scroll 96% 14px rgba(255, 255, 255, 1);
        float: none;
        margin: 0;
        width: 100%;
    }
}

#dir-holder #dir-search-location {display: none;}