<\/i><\/a><\/li><\/ul>\n\t<\/div>\n[\/et_pb_code][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section bb_built=”1″ custom_padding=”0px|0px|0px|0px” _builder_version=”3.0.65″][et_pb_row _builder_version=”3.0.65″ background_size=”initial” background_position=”top_left” background_repeat=”repeat” custom_padding=”0px|0px|27px|0px” background_position_1=”top_left” background_repeat_1=”no-repeat” width_unit=”off” custom_width_percent=”95%”][et_pb_column type=”4_4″][et_pb_4divi_jgallery _builder_version=”3.0.66″ gallery_ids=”77,78,80,79″ \/][et_pb_code admin_label=”jquery proyectos” _builder_version=”3.0.65″ disabled=”off” disabled_on=”off|off|off” custom_css_main_element=”display: none;” saved_tabs=”all” global_module=”765″]<script type="text\/javascript"><!– [et_pb_line_break_holder] –> var ancho = 0;<!– [et_pb_line_break_holder] –> var alto_pantalla = 0;<!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –> function image_styles() {<!– [et_pb_line_break_holder] –> alto_pantalla = jQuery(window).height();<!– [et_pb_line_break_holder] –> console.log("alto_pantalla = " + alto_pantalla)<!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –> var baseElements = jQuery("#project-gallery .et_pb_gallery_items")<!– [et_pb_line_break_holder] –> \/\/ console.log( "Ancho container = " + baseElements.width() )<!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –> baseElements.css({<!– [et_pb_line_break_holder] –> 'text-align': 'center',<!– [et_pb_line_break_holder] –> });<!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –> baseElements.find('.et_pb_gallery_item').removeClass("et_pb_grid_item")<!– [et_pb_line_break_holder] –> baseElements.find('.et_pb_gallery_item').css({<!– [et_pb_line_break_holder] –> 'display': 'inline-block',<!– [et_pb_line_break_holder] –> 'float': 'inherit',<!– [et_pb_line_break_holder] –> 'max-height': alto_pantalla,<!– [et_pb_line_break_holder] –> 'height': 'auto',<!– [et_pb_line_break_holder] –> 'width': 'auto',<!– [et_pb_line_break_holder] –> 'margin': '1%'<!– [et_pb_line_break_holder] –> });<!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –> baseElements.find('img').css({<!– [et_pb_line_break_holder] –> 'max-height': alto_pantalla,<!– [et_pb_line_break_holder] –> 'height': 'auto',<!– [et_pb_line_break_holder] –> 'width': 'auto'<!– [et_pb_line_break_holder] –> });<!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –> baseElements.find(".et_pb_gallery_item").each(function(index) {<!– [et_pb_line_break_holder] –> elemento = jQuery(this).find('img')<!– [et_pb_line_break_holder] –> ancho = elemento.width();<!– [et_pb_line_break_holder] –> alto = elemento.height();<!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –> if (ancho < alto) {<!– [et_pb_line_break_holder] –> image_vertical(elemento);<!– [et_pb_line_break_holder] –> } else {<!– [et_pb_line_break_holder] –> image_horizontal(elemento);<!– [et_pb_line_break_holder] –> }<!– [et_pb_line_break_holder] –> });<!– [et_pb_line_break_holder] –> };<!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –> function image_vertical(elemento) {<!– [et_pb_line_break_holder] –> \/\/ console.log("img Vertical " + elemento.width() + " " + elemento.height());<!– [et_pb_line_break_holder] –> };<!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –> function image_horizontal(elemento) {<!– [et_pb_line_break_holder] –> \/\/ console.log("img Horizontal " + elemento.width() + " " + elemento.height());<!– [et_pb_line_break_holder] –> };<!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –> function social_icons_format() {<!– [et_pb_line_break_holder] –> var AnchoTotal = jQuery("#project-gallery .et_pb_gallery_items").width(); <!– [et_pb_line_break_holder] –> var baseSocial = jQuery("#social-sharing-container" );<!– [et_pb_line_break_holder] –> console.log( "AnchoSocial=" + baseSocial.width() + "; AnchoTotal = " + AnchoTotal );<!– [et_pb_line_break_holder] –> if (AnchoTotal == baseSocial.width() ) {<!– [et_pb_line_break_holder] –> baseSocial.find( 'ul li' ).css({<!– [et_pb_line_break_holder] –> 'list-style-type': 'none',<!– [et_pb_line_break_holder] –> 'float': 'left'<!– [et_pb_line_break_holder] –> });<!– [et_pb_line_break_holder] –> } else {<!– [et_pb_line_break_holder] –> baseSocial.find( 'ul li' ).css({<!– [et_pb_line_break_holder] –> 'list-style-type': 'none',<!– [et_pb_line_break_holder] –> 'float': 'right'<!– [et_pb_line_break_holder] –> });<!– [et_pb_line_break_holder] –> }<!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –>};<!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –> jQuery(window).load(function($) {<!– [et_pb_line_break_holder] –> image_styles();<!– [et_pb_line_break_holder] –> social_icons_format()<!– [et_pb_line_break_holder] –> });<!– [et_pb_line_break_holder] –><!– [et_pb_line_break_holder] –> jQuery(window).resize(function($) {<!– [et_pb_line_break_holder] –> image_styles();<!– [et_pb_line_break_holder] –> social_icons_format()<!– [et_pb_line_break_holder] –> });<!– [et_pb_line_break_holder] –><\/script>[\/et_pb_code][\/et_pb_column][\/et_pb_row][\/et_pb_section][et_pb_section bb_built=”1″ _builder_version=”3.0.47″][et_pb_row _builder_version=”3.0.47″ background_size=”initial” background_position=”top_left” background_repeat=”repeat”][et_pb_column type=”4_4″][et_pb_portfolio fullwidth=”off” posts_number=”50″ show_categories=”off” show_pagination=”off” disabled_on=”off|off|off” _builder_version=”3.0.65″ title_font_size=”12″ title_line_height=”1em” custom_css_portfolio_image=”display:none;” disabled=”off” show_title=”on” zoom_icon_color=”#000000″ hover_overlay_color=”rgba(255,255,255,0.9)” background_layout=”light” border_style=”solid” title_font=”|||on|” module_id=”projects_navigation” \/][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=”3.0.65″ background_size=”initial” background_position=”top_left” background_repeat=”repeat” background_position_1=”top_left” background_repeat_1=”no-repeat” custom_padding=”0px|||” use_custom_width=”on” width_unit=”off” custom_width_percent=”90%”][et_pb_column type=”4_4″][et_pb_divider color=”#cccccc” show_divider=”on” divider_style=”solid” divider_position=”center” _builder_version=”3.0.65″ \/][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"Un proyecto de tres trece interiorismo.<\/p>\n","protected":false},"author":2,"featured_media":694,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":""},"project_category":[],"project_tag":[],"_links":{"self":[{"href":"http:\/\/trestrece.es\/wp-json\/wp\/v2\/project\/875"}],"collection":[{"href":"http:\/\/trestrece.es\/wp-json\/wp\/v2\/project"}],"about":[{"href":"http:\/\/trestrece.es\/wp-json\/wp\/v2\/types\/project"}],"author":[{"embeddable":true,"href":"http:\/\/trestrece.es\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/trestrece.es\/wp-json\/wp\/v2\/comments?post=875"}],"version-history":[{"count":3,"href":"http:\/\/trestrece.es\/wp-json\/wp\/v2\/project\/875\/revisions"}],"predecessor-version":[{"id":1111,"href":"http:\/\/trestrece.es\/wp-json\/wp\/v2\/project\/875\/revisions\/1111"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/trestrece.es\/wp-json\/wp\/v2\/media\/694"}],"wp:attachment":[{"href":"http:\/\/trestrece.es\/wp-json\/wp\/v2\/media?parent=875"}],"wp:term":[{"taxonomy":"project_category","embeddable":true,"href":"http:\/\/trestrece.es\/wp-json\/wp\/v2\/project_category?post=875"},{"taxonomy":"project_tag","embeddable":true,"href":"http:\/\/trestrece.es\/wp-json\/wp\/v2\/project_tag?post=875"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}