/*-----------------------------------------------------------------------------------*/
/*	 MAP
/*-----------------------------------------------------------------------------------*/
#directory-main-bar:after           { background: rgba(0,0,0,0.1); content: ""; position: absolute; bottom: 0; left: 0; height: 5px; width: 100%; }
.directory-map-labels               { overflow: visible !important; }
#directory-main-bar .spinner        { display: none; }
.marker-holder                      { position: relative; left: 0; width: 10px; height: 10px; }
.marker-content                     { width: 310px; position: absolute; bottom: 0; background: #ffffff; border: 4px solid #ffffff; box-shadow: 2px 2px 3px -1px rgba(0,0,0,0.4),0 0 0 1px rgba(0,0,0,0.25) inset; }
.map-item-info                      { padding: 10px; }
.with-image .map-item-info          { width: 200px; }
.map-item-info .title a               { color: #333333; font-size: 12px; font-weight: bold; text-decoration: none;}
.map-item-info .address             { border-bottom: 1px dotted #cccccc; margin-bottom: 10px; padding-bottom: 5px; }
.marker-content img                 { float: right; padding: 1px; }
.marker-content .arrowpop              { background: url('/Assets/imgs/countries/map-pin-description.png') no-repeat; bottom: -21px; left: 28px; height: 22px; position: absolute; width: 37px; }
.marker-content .closepop              { cursor: pointer; background: #ffffff url('/Assets/imgs/countries/pop_up-close.png') no-repeat center; border-radius: 10px; box-shadow: 0 0 1px rgba(0,0,0,0.8); height: 10px; margin: auto; padding: 4px; position: absolute; right: -9px; top: -9px; width: 10px; z-index: 1000; }
.map-item-info .more-button         { cursor: pointer; background: #73ac4b; background: -moz-linear-gradient(#73ac4b,#6ca146); background: -o-linear-gradient(#73ac4b,#6ca146); background: -webkit-gradient(linear,0% 0%,0% 100%,from(#73ac4b),to(#6ca146)); background: -webkit-linear-gradient(#73ac4b,#6ca146); border: 1px solid #679a43; box-shadow: 0 1px 0 #88bc64 inset; color: #ffffff; display: inline-block; font-size: 10px; font-weight: bold; padding: 3px 10px; text-shadow: 1px 1px 0 #527a35; text-decoration: none; margin-right: 10px; }
.map-item-info .more-button + .more-button { margin-right: 0; background: #3174c6; background: -moz-linear-gradient(#3174c6,#265a99); background: -o-linear-gradient(#3174c6,#265a99); background: -webkit-gradient(linear,0% 0%,0% 100%,from(#3174c6),to(#265a99)); background: -webkit-linear-gradient(#3174c6,#265a99); border: 1px solid #265a99; box-shadow: 0 1px 0 #7aa7de inset; text-shadow: 1px 1px 0 #122c4b; }
.map-item-info .more-button:hover   { background: #60903f; background: -moz-linear-gradient(#73ac4b,#60903f); background: -o-linear-gradient(#73ac4b,#60903f); background: -webkit-gradient(linear,0% 0%,0% 100%,from(#73ac4b),to(#60903f)); background: -webkit-linear-gradient(#73ac4b,#60903f); border: 1px solid #5b883c; box-shadow: 0 1px 0 #96c376 inset; text-shadow: 1px 1px 0 #46692e; }
.map-item-info .more-button + .more-button:hover { margin-right: 0; background: #3174c6; background: -moz-linear-gradient(#3174c6,#164a89); background: -o-linear-gradient(#3174c6,#164a89); background: -webkit-gradient(linear,0% 0%,0% 100%,from(#3174c6),to(#164a89)); background: -webkit-linear-gradient(#3174c6,#164a89); border: 1px solid #265a99; box-shadow: 0 1px 0 #7aa7de inset; text-shadow: 1px 1px 0 #122c4b; }

.cluster                            { color: #333333; cursor: pointer !important; font-family: 'Oswald'; font-size: 14px; text-align: center; }
.cluster-1                          { background-image: url('/Assets/imgs/countries/cluster-m1.png'); width: 90px; height: 80px; line-height: 79px; }
.cluster-2                          { background-image: url('/Assets/imgs/countries/cluster-m2.png'); width: 90px; height: 80px; line-height: 79px; }
.cluster-3                          { background-image: url('/Assets/imgs/countries/cluster-m3.png'); width: 90px; height: 80px; line-height: 79px; }
.draggable-toggle-button            { cursor: pointer; background-color: #ffffff; z-index: 1000; position: absolute; bottom: 20px; right: 10px; padding: 10px; }

/*-----------------------------------------------------------------------------------*/
/*	DIRECTORY SEARCH BAR
/*-----------------------------------------------------------------------------------*/

#directory-search                       { background: #308ecf url('../img/search_bg_pattern.png') repeat; border-top: 1px solid #1e5b85; border-bottom: 1px solid #1e5b85; border-top: 1px solid #0a5c93; box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset,0 -33px 16px -10px rgba(0,0,0,0.05) inset,0 33px 18px -10px rgba(250,250,250,0.1) inset,0 -10px 1px -10px rgba(0,0,0,0.3) inset; }
#directory-search .defaultContentWidth  { width: 1000px; }
#dir-search-inputs                      { float: left; padding: 20px 25px; width: 639px; }
#dir-holder                             { background: #ffffff; border: 1px solid #1e5b85; border-radius: 40px; box-shadow: 0 1px 0 #cccccc inset,0 2px 0 -1px #3892d1; padding-right: 40px; position: relative; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; width: 100%; }
#dir-holder:before                      { background: #dcdcdc; content: ""; display: block; position: absolute; left: 39px; height: 23px; top: 6px; width: 1px; }
.dir-holder-wrap                        { width: 100%; }
.dir-holder-wrap:after                  { content: "."; display: block; height: 0; overflow: hidden; clear: both; visibility: hidden; }
#dir-holder input                       { display: block; background: url('../img/search_input-loupe.png') no-repeat 13px center; font-size: 13px; height: 35px; line-height: 1; padding: 0 10px 0 50px; vertical-align: top; position: relative; width: auto; max-width: 220px; }
#dir-holder input#dir-searchinput-text  { float: left; }
#dir-holder input#dir-searchinput-category,
#dir-holder input#dir-searchinput-location { background: url('../img/search_input-arrow.png') no-repeat right 13px; border-left: 1px solid #dcdcdc !important; float: right; margin: 0 10px 0 0; padding: 0 10px; width: 139px; }

#dir-holder input#dir-searchinput-category-id { display: none; }
#dir-holder input#dir-searchinput-location-id { display: none; }

#dir-holder span.ui-helper-hidden-accessible { display: none; }
ul.ui-autocomplete                      { position: absolute; max-height: 300px; overflow-y: auto; background: #ffffff; border: 1px solid #cfcfcf; border-top: 0; box-shadow: 1px 1px 2px rgba(0,0,0,0.1); width: 172px !important; }
ul.ui-autocomplete li                   { border-bottom: 1px dotted #cfcfcf; margin: 0 10px; padding: 5px 0; }
ul.ui-autocomplete li:hover             { background: #e9e9e9; margin: 0; padding: 5px 10px; }
ul.ui-autocomplete li:last-child        { border: 0; }
ul.ui-autocomplete li a                 { background: none !important; border: none !important; color: #222222 !important; display: block; text-decoration: none; }
#directory-search .reset-ajax           { background: url('../img/ico-style3.png') no-repeat; cursor: pointer; display: none; height: 20px; float: right; left: 220px; margin: 8px; position: absolute; width: 20px; }

/* IE9 - Placeholder */

#dir-holder span label[for=dir-searchinput-text]        { left: 50px !important; top: 10px !important; font-size: 14px !important; border: none !important; }
#dir-holder span label[for=dir-searchinput-category]    { left: 10px !important; top: 10px !important; font-size: 14px !important; border: none !important; }
#dir-holder span label[for=dir-searchinput-location]    { left: 10px !important; top: 10px !important; font-size: 14px !important; border: none !important; }

span.for-dir-searchinput-location   { left: 260px; position: absolute !important; top: 0; }
span.for-dir-searchinput-category   { left: 430px; position: absolute !important; top: 0; }

.dir-searchinput-settings           { background: url('../img/search_input-settings.png') no-repeat center center; border-left: 1px solid #dcdcdc; border-radius: 0 20px 20px 0; cursor: pointer; height: 35px; margin-right: 0; position: absolute; right: 0; top: 0; width: 40px; z-index: 0; }

.dir-searchinput-settings:hover     { background: #efefef url('../img/search_input-settings.png') no-repeat center center; }
.dir-searchinput-settings .icon     { height: 35px; width: 40px; }

#dir-search-button                  { background: rgba(255,255,255,0.1); float: left; padding: 20px 25px; width: 260px; }
#dir-search-button input            { background: #73ac4b url('../img/search_button-loupe.png') no-repeat 92px center; background: -moz-linear-gradient(#73ac4b,#6ca146) url('../img/search_button-loupe.png') no-repeat 92px center; background: -o-linear-gradient(#73ac4b,#6ca146) url('../img/search_button-loupe.png') no-repeat 92px center; background: -webkit-gradient(linear,0% 0%,0% 100%,from(#73ac4b),to(#6ca146)) url('../img/search_button-loupe.png') no-repeat 92px center; background: -webkit-linear-gradient(#73ac4b,#6ca146) url('../img/search_button-loupe.png') no-repeat 92px center; border: 1px solid #5b883c; box-shadow: 0 1px 0 #88bc64 inset,0 1px 0 #46692e; border-radius: 40px; color: #ffffff; display: inline-block; font-family: 'Oswald'; font-size: 15px; padding: 5px 8px 5px 32px; text-shadow: 1px 1px 0 #527a35; text-decoration: none; text-transform: uppercase; width: 261px; }
#dir-search-button input:hover      { background: #6ca146 url('../img/search_button-loupe.png') no-repeat 92px center; background: -moz-linear-gradient(#73ac4b,#60903f) url('../img/search_button-loupe.png') no-repeat 92px center; background: -o-linear-gradient(#73ac4b,#60903f) url('../img/search_button-loupe.png') no-repeat 92px center; background: -webkit-gradient(linear,0% 0%,0% 100%,from(#73ac4b),to(#60903f)) url('../img/search_button-loupe.png') no-repeat 92px center; background: -webkit-linear-gradient(#73ac4b,#60903f) url('../img/search_button-loupe.png') no-repeat 92px center; border: 1px solid #5b883c; box-shadow: 0 1px 0 #96c376 inset,0 1px 0 #3a5726; cursor: pointer; }

/* Advanced Search (POP UP) */

#dir-search-advanced                { background: #ffffff; border: 1px solid #afafaf; box-shadow: 1px 1px 0 rgba(80,80,80,0.2); color: #333333; display: none; padding: 20px; position: absolute; right: 0; top: -194px; z-index: 999; width: 300px; }
#dir-search-advanced:before         { border-color: #ffffff transparent transparent; border-style: solid; border-width: 8px 7px 0; bottom: -8px; content: ""; height: 0; position: absolute; right: 13px; width: 0; }
#dir-search-advanced .text          { border-bottom: 1px solid #cccccc; font-size: 13px; font-weight: bold; margin: 0 auto 10px; padding: 0 0 5px; text-transform: uppercase; }

.text-geo-radius                    { margin-bottom: 10px; }
.geo-radius                         { float: left; font-weight: bold; }
input#dir-searchinput-geo-radius    { background: none !important; border: none !important; box-shadow: none !important; color: #222222; float: right; font-size: 12px; font-weight: bold; height: auto; line-height: 17px; margin: 0; padding: 1px 5px 0; text-align: right; width: 50px !important; }
.text-geo-radius .metric            { display: inline-block; float: right; }
#dir-searchinput-geo                { display: none !important; }
#dir-search-advanced .geo-slider .ui-slider-handle { border: 1px solid #cccccc !important; height: 15px; width: 10px; }
#dir-search-advanced .geo-slider .ui-state-hover,
#dir-search-advanced .geo-slider .ui-state-focus    { background: #73ac4b; border: 1px solid #5b883c !important; }
#dir-search-advanced .geo-slider .ui-widget-content { background: #dedede; }
.geo-slider { background: #fdfdfd; border: 1px solid #d6d6d6; margin-bottom: 20px; }
.ui-slider.ui-widget { margin: 10px auto; text-align: center; width: 90%; }

.iphone-style { border-radius: 2px 2px 5px 5px !important; float: right; height: 26px !important; }

#dir-search-advanced-close { background: #ffffff url('../img/ico-style3.png') no-repeat; border: 1px solid #cccccc; border-radius: 10px; cursor: pointer; height: 20px; position: absolute; right: -10px; top: -10px; width: 20px; }

/*-----------------------------------------------------------------------------------*/
/*	28. RESPONSIVE
/*-----------------------------------------------------------------------------------*/

@media all and (max-width:768px) {
    body {
        min-width: 320px;
        max-width: 768px;
    }

    #page.narrow {
        width: auto;
    }

    .defaultContentWidth,#directory-search .defaultContentWidth {
        max-width: 768px;
        width: auto;
    }

    #advertising-box-1 .defaultContentWidth > div {
        padding: 20px 0 20px 25px;
    }

    #advertising-box-1.advertising-box img {
        max-width: 699px;
        height: auto;
        width: 100%;
    }

    #main .advertising-box img {
        max-width: 408px;
        width: 100%;
    }

    #logo {
        float: none;
        padding: 35px 25px;
    }

    #logo img {
        margin: 0 auto;
        text-align: center;
    }

    #access {
        float: none;
        margin: 0 auto 20px;
    }

    #access ul {
        text-align: center;
    }

    #access .mainmenu > ul > li {
        display: inline-block;
        float: none;
    }

    #access .mainmenu > ul > li:first-child,#access .mainmenu > ul > li:first-child a {
        margin-left: 0;
    }

    #access .sub-menu a {
        text-align: left;
    }

    #dir-search-inputs {
        padding: 20px 5%;
        width: 90%;
    }

    #dir-search-button {
        width: 100%;
        text-align: center;
        padding: 20px 0;
    }

    #content {
        width: auto;
        max-width: 408px;
        box-shadow: 4px 0 5px -1px rgba(0,0,0,0.1);
    }

    #secondary {
        width: auto;
        max-width: 260px;
    }

    #searchform #s,#search-form .s {
        width: 100%;
        max-width: 175px;
    }

    #content input#s {
        max-width: 85%;
        width: 85%;
    }

    ul.subcategories li {
        margin-right: 0;
        width: 100%;
    }

    ul.subcategories li:nth-child(even),ul.subcategories li:nth-child(odd) {
        margin-right: 0;
    }

    .entry-thumbnail img {
        width: 100%;
    }

    .items .description {
        float: none;
        width: auto;
    }

    .item-info {
        float: none;
        width: auto;
    }

    .item-map {
        float: none;
        width: auto !important;
    }

    footer .widget-area {
        margin: 0 2%;
    }

    .widgets .widget-container {
        padding: 0 2% 20px !important;
        width: 50%;
    }

    aside.widget_text.widget img {
        max-width: 49%;
        height: auto;
    }

    #ait-dir-register-shortcode input {
        width: 96%;
    }

    #ait-dir-register-shortcode label {
        display: block !important;
    }

    .wp-user-form .register-role select {
        margin-left: 0;
        width: 100%;
    }

    #ait-dir-register-shortcode .register-username {
        margin-right: 0;
    }

    #ait-dir-register-shortcode .register-username,#ait-dir-register-shortcode .register-email {
        display: block;
    }

    #footer-text {
        float: none;
        padding: 15px 25px;
    }

    nav.footer-menu {
        float: none;
        padding: 0 25px 15px;
    }

    .frame pre,.frame pre code {
        white-space: pre-wrap;
        white-space: -moz-pre-wrap !important;
        white-space: -pre-wrap;
        white-space: -o-pre-wrap;
        word-wrap: break-word;
    }

    .entry-content img,.comment-content img,.widget img {
        width: 100%;
    }

    img.ajax-loader {
        width: auto;
    }

    .sc-column.three-fourth,.sc-column.three-fourth-last,.sc-column.one-third,.sc-column.one-third-last,.sc-column.one-half,.sc-column.one-half-last,.sc-column.two-third,.sc-column.two-third-last,.sc-column.one-fourth,.sc-column.one-fourth-last,.ui-widget-content .sc-column.one-third,.ui-widget-content .sc-column.one-third-last,.sc-column.three-fourth,.sc-column.three-fourth-last,.sc-column.one-third,.sc-column.one-third-last,.sc-column.one-half,.sc-column.one-half-last,.sc-column.two-third,.sc-column.two-third-last,.sc-column.one-fourth,.sc-column.one-fourth-last {
        width: 100% !important;
    }

    .fb_iframe_widget span,.twtr-doc {
        max-width: 403px !important;
    }

    .rev_slider iframe {
        width: 240px !important;
    }

    .rev_slider_wrapper .tp-caption p {
        width: 350px !important;
    }

    #dir-holder input {
        max-width: 90px;
    }

    #dir-holder input#dir-searchinput-category,#dir-holder input#dir-searchinput-location {
        width: 85px;
    }
}

@media all and (max-width:650px) {
    body {
        max-width: 650px;
    }

    .defaultContentWidth,#directory-search .defaultContentWidth {
        max-width: 650px;
        width: auto;
    }

    #advertising-box-1.advertising-box img {
        max-width: 600px;
        width: 100%;
    }

    #main .advertising-box img {
        max-width: 350px;
        width: 100%;
    }

    #dir-search-inputs {
        width: 90%;
        border: 0;
        box-shadow: none;
    }

    #dir-holder {
        width: auto;
    }

    #dir-holder input {
        max-width: 90px;
        width: auto;
    }

    #dir-holder input#dir-searchinput-category,#dir-holder input#dir-searchinput-location {
        width: 85px;
    }

    #dir-search-button {
        background: none;
        display: inline-block;
        padding: 0 0 20px;
        float: none;
        text-align: center;
        width: 100%;
    }

    #directory-search .reset-ajax {
        left: auto;
        right: 0;
        top: 57px;
    }

    #content {
        padding: 50px 25px 0;
        max-width: 350px;
        width: auto;
    }

    #secondary {
        padding: 55px 25px 0;
        max-width: 200px;
        width: auto;
    }

    #searchform #s,#search-form .s {
        max-width: 118px;
        width: auto;
    }

    #content input#s {
        max-width: 80%;
        width: 80%;
    }

    .entry-thumbnail img {
        width: 100%;
    }

    ul.subcategories li {
        margin-right: 0;
        width: 100%;
        max-width: 100%;
    }

    ul.subcategories li:nth-child(even),ul.subcategories li:nth-child(odd) {
        margin-right: 0;
    }

    .items .description {
        width: auto;
    }

    .rev_slider iframe {
        width: 310px !important;
    }

    .rev_slider_wrapper .tp-caption p {
        width: 290px !important;
    }
}

@media all and (max-width:497px) {
    body {
        max-width: 480px;
    }

    .defaultContentWidth,#directory-search .defaultContentWidth {
        max-width: 480px;
        width: auto;
    }

    #directory-search .reset-ajax {
        position: absolute;
        left: auto;
        right: 0;
        top: 0;
    }

    #advertising-box-1.advertising-box img {
        max-width: 430px;
    }

    #main .advertising-box img {
        max-width: 430px;
    }

    #logo {
        float: none;
        padding: 20px 0;
        max-width: 480px;
    }

    #logo img {
        margin: 0 auto;
    }

    #access {
        background: #eeeeee;
        border-top: 1px solid #cccccc;
        float: none;
        margin: 0 auto;
        max-width: 480px;
        padding: 20px 0;
        text-align: center;
    }

    #access ul,.assistive-text {
        display: none;
    }

    .responsive-menu {
        display: inline;
        padding: 10px;
    }

    #directory-main-bar {
        max-height: 380px !important;
    }

    #dir-search-inputs {
        border: 0;
        width: 90%;
        max-width: 480px;
    }

    #dir-holder {
        background: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    #dir-holder input,#dir-holder input#dir-searchinput-category,#dir-holder input#dir-searchinput-location {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        margin-bottom: 15px;
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    #dir-holder input#dir-searchinput-location {
        margin: 0;
    }

    #dir-search-button {
        text-align: center;
        padding: 0 0 20px 0;
        width: 90%;
    }

    ul.ui-autocomplete {
        width: 405px !important;
    }

    .dir-searchinput-settings {
        background-color: #efefef;
        border-radius: 20px;
        float: none;
        position: absolute;
        top: 156px;
        width: 36px;
    }

    #dir-holder span label[for=dir-searchinput-text] {
        left: 10px !important;
        top: 10px !important;
        font-size: 14px !important;
        border: none !important;
    }

    #dir-holder span label[for=dir-searchinput-category] {
        left: 10px !important;
        top: 10px !important;
        font-size: 14px !important;
        border: none !important;
    }

    #dir-holder span label[for=dir-searchinput-location] {
        left: 10px !important;
        top: 10px !important;
        font-size: 14px !important;
        border: none !important;
    }

    span.for-dir-searchinput-text {
        width: 420px;
    }

    input.dir-searchinput-text {
        width: 420px;
    }

    span.for-dir-searchinput-location {
        position: relative !important;
        left: auto;
    }

    span.for-dir-searchinput-category {
        position: relative !important;
        left: auto;
    }

    #dir-search-advanced {
        left: 0;
        right: auto;
        top: -209px;
    }

    #dir-search-advanced:before {
        left: 10px;
        right: auto;
    }

    #main,#wrapper-row,#primary,#secondary {
        display: block;
    }

    #main {
        border: 0;
    }

    #content,.onecolumn #content {
        max-width: 430px;
        width: auto;
        padding-top: 30px;
    }

    #secondary {
        margin: 0;
        padding-top: 30px;
        max-width: 480px;
        width: auto;
    }

    #supplementary {
        padding: 30px 25px 10px;
    }

    .widgets .widget-container {
        padding: 0 0 20px 0 !important;
        max-width: 480px;
        width: 100% !important;
    }

    .items .description {
        width: auto;
    }

    #searchform #s,#search-form .s {
        width: 81%;
        max-width: 340px;
    }

    #searchform #searchsubmit,#search-form .searchsubmit {
        width: 10%;
        padding: 0;
    }

    footer .widget-area {
        margin: 0;
    }

    .widgets h2.widget-title {
        text-align: center;
    }

    ul.subcategories li,.onecolumn ul.subcategories li,.onecolumn ul.subcategories li:nth-child(3n) {
        margin-right: 0;
        max-width: 480px;
    }

    .widget_recent_comments li {
        border-bottom: 1px dotted #cfcfcf;
    }

    .widgets .widget_archive li,.widgets .widget_categories li,.widgets .widget_links li,.widgets .widget_meta li,.widgets .widget_nav_menu li,.widgets .widget_pages li,.widgets .widget_recent_entries li,.widgets .widget_rss li,.widgets .widget_submenu li,.widgets .widget_recent_comments li {
        border-width: 0 0 1px 0;
    }

    .entry-thumbnail img {
        max-width: 413px;
        width: 100%;
    }

    .edit-link {
        float: none;
    }

    .open-button {
        background: none !important;
        color: #222222;
        float: none !important;
        font-size: 13px;
        font-weight: bold;
        margin: 0 auto 10px !important;
        padding: 0 !important;
        position: relative !important;
        text-align: center;
        text-transform: uppercase;
        width: 100%;
    }

    #comments h2 {
        text-align: center;
    }

    .item-map,.item-info {
        width: 100% !important;
    }

    .open-button {
        display: none !important;
    }

    #commentform .comment-form-author,#commentform .comment-form-email,#commentform .comment-form-url {
        width: 98% !important;
    }

    #commentform input {
        width: 96% !important;
    }

    #respond #submit {
        width: 100% !important;
    }

    .rev_slider iframe {
        width: 230px !important;
    }

    .rev_slider_wrapper .tp-caption p {
        width: 150px !important;
    }

    .rating {
        float: none;
    }

    .rating-details,.user-details {
        width: auto;
    }

    .rating-details {
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        display: inline-block;
        width: 100%;
    }

    .ratings,.user-values {
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        display: inline-block;
        width: 100%;
    }

    .rating-system .rating > div.stars {
        float: right;
    }

    .dir-searchinput-settings {
        z-index: 1;
    }

    .contact-owner-popup .input,.claim-listing-popup .input {
        display: block;
    }

    .contact-owner-popup input,.contact-owner-popup textarea,.claim-listing-popup input,.claim-listing-popup textarea {
        width: 220px;
    }

    .contact-owner-popup textarea,.claim-listing-popup textarea {
        width: 220px;
    }
}

@media all and (max-width:320px) {
    #advertising-box-1.advertising-box img,#main .advertising-box img {
        max-width: 270px;
    }

    #tagLineHolder .info,.social-icons.right {
        float: none;
        text-align: center;
    }

    #tagLineHolder .info {
        padding: 0 25px;
    }

    ul.social-icons {
        padding: 0;
    }

    .social-icons li {
        display: inline;
        float: none;
        margin: 0 5px;
    }

    ul.ui-autocomplete {
        width: 245px !important;
    }

    .frame {
        max-width: 248px;
    }

    .fb_iframe_widget span,.twtr-doc {
        max-width: 263px !important;
    }

    .sc-fb-comments {
        width: 263px;
    }

    span.for-dir-searchinput-text {
        width: 280px;
    }

    input.dir-searchinput-text {
        width: 280px;
    }

    .rev_slider_wrapper .tp-caption p {
        width: 120px !important;
    }

    .rev_slider iframe {
        width: 150px !important;
    }
}

@media (max-width:497px) {
    #dir-holder input,#dir-holder input#dir-searchinput-category,#dir-holder input#dir-searchinput-location {
        background: #ffffff;
        border: 1px solid #1e5b85;
        border-radius: 0;
        box-shadow: 0 1px 0 #cccccc inset,0 2px 0 -1px #3892d1;
    }

    #dir-holder input#dir-searchinput-category,#dir-holder input#dir-searchinput-location {
        background: #ffffff url('../img/search_input-arrow.png') no-repeat 97% 15px;
        float: none;
        display: inline-block;
    }

    #dir-holder {
        padding-right: 0;
    }

    .dir-searchinput-settings {
        right: auto;
        left: 0;
    }

    span.for-dir-searchinput-text,span.for-dir-searchinput-category,span.for-dir-searchinput-location {
        overflow: hidden;
    }
}

.commentlist li li {
    padding-bottom: 0px;
}

.comment {
    position: relative;
    padding: 10px 0;
}

.children {
    padding-left: 65px;
}

.children .comment-arrow {
    content: "";
    height: 0px;
    width: 0px;
    border-color: transparent transparent #ffffff;
    border-style: solid;
    border-width: 0 11px 11px;
    position: absolute;
    top: -12px;
    left: 24px;
}

.children .comment-arrow:before {
    content: "";
    height: 0px;
    width: 0px;
    border-color: transparent transparent #f4f4f4;
    border-style: solid;
    border-width: 0 9px 9px;
    position: absolute;
    top: 3px;
    left: -9px;
}

.children #respond:before {
    content: "";
    height: 0px;
    width: 0px;
    border-color: transparent transparent #ffffff;
    border-style: solid;
    border-width: 0 11px 11px;
    position: absolute;
    top: -12px;
    left: 24px;
}

.children #respond:after {
    content: "";
    height: 0px;
    width: 0px;
    border-color: transparent transparent #f4f4f4;
    border-style: solid;
    border-width: 0 9px 9px;
    position: absolute;
    top: -8px;
    left: 26px;
}

.comment .avatar {
    width: 45px;
    height: 45px;
}

.content > div a {
    text-decoration: none;
}

.content > div,.comment .content p {
    margin: 0 0 0 64px;
}

.comment .comment-meta {
    margin: 10px 0 10px 64px;
}

.comment .comment-controls {
    position: absolute;
    top: 5px;
    right: 15px;
}

.comment .comment-controls .reply,.comment .comment-controls .edit-link {
    float: left;
    text-transform: uppercase;
    font-size: 11px;
}

.comment .comment-controls .reply a {
    color: #000000;
}

.comment .comment-controls .edit-link {
    margin: 0 8px 0 0;
}

.comment .comment-controls .edit-link a {
    color: #ff0000;
}

.reply,.edit-link {
    display: inline;
    float: right;
    margin-left: 10px;
}

#comments h2 {
    text-transform: uppercase;
    font-size: 20px;
    font-family: Arial,Helvetica,sans-serif;
    margin: 0 0 15px;
    padding-bottom: 10px;
    line-height: 23px;
}

h3#reply-title {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 18px;
    color: #222222;
    margin: 0 0 20px;
    text-transform: uppercase;
}

.author.vcard {
    font-weight: bold;
}

ol.commentlist {
    border-top: 1px solid #cfcfcf;
}

/* REPLY */

#respond {
    background: #f2f2f2;
    border: 1px dotted #cfcfcf;
    padding: 16px 16px 10px 16px;
    position: relative;
    margin: 0px 0px 20px 0px;
}

#commentform {
    position: relative;
}

#commentform p {
    position: relative;
    margin-bottom: 8px;
}

#commentform .comment-form-author,#commentform .comment-form-email,#commentform .comment-form-url {
    width: 134px;
    margin-right: 8px;
    float: left;
}

#commentform .comment-form-url {
    margin-right: 0px;
}

#commentform .comment-form-comment {
    clear: both;
}

#commentform label {
    position: absolute;
    top: 5px;
    left: 12px;
}

#commentform textarea {
    width: 100%;
    height: 100px;
    padding: 5px 10px;
    border: 1px solid #e5e5e5;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#commentform input {
    width: 114px;
    padding: 5px 10px;
    border: 1px solid #e5e5e5;
}

#commentform .required {
    position: absolute;
    top: -4px;
    left: -11px;
    height: 0px;
    width: 0px;
    border-color: #ff6000 transparent transparent;
    border-style: solid;
    border-width: 10px 10px 0 0;
    overflow: hidden;
}

#commentform .comment-notes,#commentform .logged-in-as {
    font-style: italic;
    margin: -15px 0px 15px 0px;
    font-size: 11px;
    line-height: 16px;
}

#commentform .comment-notes .required,#commentform .form-allowed-tags {
    display: none;
}

#respond #submit {
    background: #2876ae;
    color: #ffffff;
    font-size: 12px;
    padding: 5px 10px;
    width: auto;
    font-family: Arial,Helvetica,sans-serif;
    cursor: pointer;
}

#cancel-comment-reply-link {
    float: right;
    color: #ff0000;
}

/* Comments closing */

.closeable {
    position: relative;
}

.open-button {
    position: absolute;
    right: 0;
    top: 3px;
    height: 16px;
    background: url('../img/closeable.png') scroll 0 0 no-repeat transparent;
    cursor: pointer;
    padding: 0 0 0 20px;
}

.open-button.comments-closed {
    background-position: 0 bottom;
}
