{"id":1783,"date":"2019-11-22T19:01:07","date_gmt":"2019-11-22T19:01:07","guid":{"rendered":"http:\/\/carevetdev.kinsta.cloud\/riverroadnew\/?page_id=1783"},"modified":"2021-12-22T17:30:24","modified_gmt":"2021-12-22T17:30:24","slug":"tour-our-facility","status":"publish","type":"page","link":"https:\/\/www.carevet.com\/shoal-creek\/tour-our-facility\/","title":{"rendered":"Tour Our Facility"},"content":{"rendered":"<!-- HFCM by 99 Robots - Snippet # 14: Tour Our Facility -->\n<style>\r\n\/* The Image Box *\/\r\ndiv.img {\r\n    border: 1px solid #ccc;\r\n}\r\n\r\ndiv.img:hover {\r\n    border: 1px solid #777;\r\n}\r\n\r\n\/* The Image *\/\r\ndiv.img img {\r\n    max-width: 300px;\r\n\tmin-width: 300px;\r\n\tmin-height:300px;\r\n\tmax-height:300px;\r\n\tobject-fit:cover;\r\n    height: auto;\r\n    cursor: pointer;\r\n}\r\n\r\n\/* Description of Image *\/\r\ndiv.desc {\r\n    padding: 15px;\r\n    text-align: center;\r\n}\r\n\r\n* {\r\n    box-sizing: border-box;\r\n}\r\n\r\n\/* Add Responsiveness *\/\r\n.responsive {\r\n    padding: 0 6px;\r\n    float: left;\r\n\theight: auto;\r\nmargin-bottom:15px;\r\n}\r\n\r\n\/* The Modal (background) *\/\r\n.modal {\r\n    display: none; \/* Hidden by default *\/\r\n    position: fixed; \/* Stay in place *\/\r\n    z-index: 999; \/* Sit on top *\/\r\n    padding-top: 100px; \/* Location of the box *\/\r\n    left: 0;\r\n    top: 0;\r\n    width: 100%; \/* Full width *\/\r\n    height: 100%; \/* Full height *\/\r\n    overflow: auto; \/* Enable scroll if needed *\/\r\n    background-color: rgb(0,0,0); \/* Fallback color *\/\r\n    background-color: rgba(0,0,0,0.9); \/* Black w\/ opacity *\/\r\n}\r\n\r\n\r\n\r\n\/* Modal Content (image) *\/\r\n.modal-content {\r\n    margin: auto;\r\n    display: block;\r\n    width: 80%;\r\n    max-width: 700px;\r\n}\r\n\r\n\r\n\/* Caption of Modal Image *\/\r\n#caption {\r\n    margin: auto;\r\n    display: block;\r\n    width: 80%;\r\n    max-width: 700px;\r\n    text-align: center;\r\n    color: #ccc;\r\n    padding: 10px 0;\r\n    height: 150px;\r\n}\r\n\r\n\r\n\r\n\/* Add Animation *\/\r\n.modal-content, #caption {    \r\n    -webkit-animation-name: zoom;\r\n    -webkit-animation-duration: 0.6s;\r\n    animation-name: zoom;\r\n    animation-duration: 0.6s;\r\n}\r\n\r\n\r\n@-webkit-keyframes zoom {\r\n    from {transform:scale(0)} \r\n    to {transform:scale(1)}\r\n}\r\n\r\n@keyframes zoom {\r\n    from {transform:scale(0.1)} \r\n    to {transform:scale(1)}\r\n}\r\n\r\n\/* The Close Button *\/\r\n.close {\r\n    position: absolute;\r\n    top: 15px;\r\n    right: 35px;\r\n    color: #f1f1f1;\r\n    font-size: 40px;\r\n    font-weight: bold;\r\n    transition: 0.3s;\r\n}\r\n\r\n\r\n.close:hover,\r\n.close:focus {\r\n    color: #bbb;\r\n    text-decoration: none;\r\n    cursor: pointer;\r\n}\r\n\r\n<\/style>\r\n<div class=\"fullwidth fullwidth--centered\" style=\"flex-wrap:wrap;\">\r\n<div class=\"responsive\">\r\n  <div class=\"img\">\r\n      <img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/sites\/383\/2021\/12\/woman-typing-on-computer.jpg\" width=\"300\" height=\"200\">\r\n  <\/div>\r\n<\/div>\r\n\r\n\r\n<div class=\"responsive\">\r\n  <div class=\"img\">\r\n    <img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/sites\/383\/2021\/12\/shoalcreek-exterior.jpg\" width=\"300\" height=\"200\">\r\n  <\/div>\r\n<\/div>\r\n\r\n<div class=\"responsive\">\r\n  <div class=\"img\">\r\n    <img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/sites\/169\/2021\/12\/IMG-6404.jpg\" width=\"300\" height=\"200\">\r\n  <\/div>\r\n<\/div>\r\n\r\n<div class=\"responsive\">\r\n  <div class=\"img\">\r\n    <img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/sites\/383\/2021\/12\/shoalcreek-wreath.jpg\" width=\"300\" height=\"200\">\r\n  <\/div>\r\n<\/div>\r\n\r\n<div class=\"responsive\">\r\n  <div class=\"img\">\r\n    <img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/sites\/383\/2021\/12\/hospital-lobby.jpg\" width=\"300\" height=\"200\">\r\n  <\/div>\r\n<\/div>\r\n\r\n<div class=\"responsive\">\r\n  <div class=\"img\">\r\n    <img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/sites\/383\/2021\/12\/shoalcreek-boarding.jpg\" width=\"300\" height=\"200\">\r\n  <\/div>\r\n<\/div>\r\n\r\n<div class=\"responsive\">\r\n  <div class=\"img\">\r\n    <img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/sites\/383\/2021\/12\/shoalcreek-daycare.jpg\" width=\"300\" height=\"200\">\r\n  <\/div>\r\n<\/div>\r\n\r\n<div class=\"responsive\">\r\n  <div class=\"img\">\r\n    <img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/sites\/383\/2021\/12\/shoalcreek-daycare2.jpg\" width=\"300\" height=\"200\">\r\n  <\/div>\r\n<\/div>\r\n<\/div>\r\n\r\n\r\n\r\n\r\n\r\n<div class=\"clearfix\"><\/div>\r\n\r\n<!-- The Modal -->\r\n<div id=\"myModal\" class=\"modal\">\r\n  <span class=\"close\">\u00d7<\/span>\r\n  <img class=\"modal-content\" id=\"img01\">\r\n  <div id=\"caption\"><\/div>\r\n<\/div>\r\n\r\n<script>\r\n\r\n\r\n\/\/ Get the modal\r\nvar modal = document.getElementById('myModal');\r\n\r\n\/\/ Get the <span> element that closes the modal\r\nvar span = document.getElementsByClassName(\"close\")[0];\r\n\r\n\/\/ When the user clicks on <span> (x), close the modal\r\nspan.onclick = function() { \r\n\u00a0   modal.style.display = \"none\";\r\n}\r\n\r\n\/\/ Get all images and insert the clicked image inside the modal\r\n\/\/ Get the content of the image description and insert it inside the modal image caption\r\nvar images = document.getElementsByTagName('img');\r\nvar modalImg = document.getElementById(\"img01\");\r\nvar captionText = document.getElementById(\"caption\");\r\nvar i;\r\nfor (i = 0; i < images.length; i++) {\r\n   images[i].onclick = function(){\r\n       modal.style.display = \"block\";\r\n       modalImg.src = this.src;\r\n       modalImg.alt = this.alt;\r\n       captionText.innerHTML = this.nextElementSibling.innerHTML;\r\n   }\r\n}\r\n\r\ndocument.getElementById(\"myModal\").addEventListener(\"click\", () => {\r\nspan.click()\r\n})\r\n\r\n<\/script>\n<!-- \/end HFCM by 99 Robots -->\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1783","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.carevet.com\/shoal-creek\/wp-json\/wp\/v2\/pages\/1783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.carevet.com\/shoal-creek\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.carevet.com\/shoal-creek\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.carevet.com\/shoal-creek\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.carevet.com\/shoal-creek\/wp-json\/wp\/v2\/comments?post=1783"}],"version-history":[{"count":6,"href":"https:\/\/www.carevet.com\/shoal-creek\/wp-json\/wp\/v2\/pages\/1783\/revisions"}],"predecessor-version":[{"id":2762,"href":"https:\/\/www.carevet.com\/shoal-creek\/wp-json\/wp\/v2\/pages\/1783\/revisions\/2762"}],"wp:attachment":[{"href":"https:\/\/www.carevet.com\/shoal-creek\/wp-json\/wp\/v2\/media?parent=1783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}