.fa,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-calendar:before{content:"\f133"}.fa-search:before{content:"\f002"}.fa-user-circle:before{content:"\f2bd"}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;src:url(https://scriptcrunch.com/wp-content/plugins/atomic-blocks/dist/assets/fontawesome/webfonts/fa-regular-400.eot);src:url(https://scriptcrunch.com/wp-content/plugins/atomic-blocks/dist/assets/fontawesome/webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(https://scriptcrunch.com/wp-content/plugins/atomic-blocks/dist/assets/fontawesome/webfonts/fa-regular-400.woff2) format("woff2"),url(https://scriptcrunch.com/wp-content/plugins/atomic-blocks/dist/assets/fontawesome/webfonts/fa-regular-400.woff) format("woff"),url(https://scriptcrunch.com/wp-content/plugins/atomic-blocks/dist/assets/fontawesome/webfonts/fa-regular-400.ttf) format("truetype"),url(https://scriptcrunch.com/wp-content/plugins/atomic-blocks/dist/assets/fontawesome/webfonts/fa-regular-400.svg#fontawesome) format("svg")}.far{font-weight:400}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;src:url(https://scriptcrunch.com/wp-content/plugins/atomic-blocks/dist/assets/fontawesome/webfonts/fa-solid-900.eot);src:url(https://scriptcrunch.com/wp-content/plugins/atomic-blocks/dist/assets/fontawesome/webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(https://scriptcrunch.com/wp-content/plugins/atomic-blocks/dist/assets/fontawesome/webfonts/fa-solid-900.woff2) format("woff2"),url(https://scriptcrunch.com/wp-content/plugins/atomic-blocks/dist/assets/fontawesome/webfonts/fa-solid-900.woff) format("woff"),url(https://scriptcrunch.com/wp-content/plugins/atomic-blocks/dist/assets/fontawesome/webfonts/fa-solid-900.ttf) format("truetype"),url(https://scriptcrunch.com/wp-content/plugins/atomic-blocks/dist/assets/fontawesome/webfonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:"Font Awesome 5 Free"}.fa,.fas{font-weight:900}.wp-block-image img{max-width:100%}.screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px;word-wrap:normal!important}.ab-block-pricing-table:nth-child(1){-ms-grid-row:1;-ms-grid-column:1;grid-area:col1}.ab-block-pricing-table:nth-child(2){-ms-grid-row:1;-ms-grid-column:2;grid-area:col2}.ab-block-pricing-table:nth-child(3){-ms-grid-row:1;-ms-grid-column:3;grid-area:col3}.ab-block-pricing-table:nth-child(4){-ms-grid-row:1;-ms-grid-column:4;grid-area:col4}.ab-block-layout-column:nth-child(1){-ms-grid-row:1;-ms-grid-column:1;grid-area:col1}.ab-block-layout-column:nth-child(1){-ms-grid-row:1;-ms-grid-column:1;grid-area:col1}.ab-block-layout-column:nth-child(2){-ms-grid-row:1;-ms-grid-column:2;grid-area:col2}.ab-block-layout-column:nth-child(3){-ms-grid-row:1;-ms-grid-column:3;grid-area:col3}.ab-block-layout-column:nth-child(4){-ms-grid-row:1;-ms-grid-column:4;grid-area:col4}.ab-block-layout-column:nth-child(5){-ms-grid-row:1;-ms-grid-column:5;grid-area:col5}.ab-block-layout-column:nth-child(6){-ms-grid-row:1;-ms-grid-column:6;grid-area:col6}@media only screen and (max-width:600px){.gpb-grid-mobile-reorder .ab-is-responsive-column .ab-block-layout-column:nth-of-type(1){grid-area:col2}.gpb-grid-mobile-reorder .ab-is-responsive-column .ab-block-layout-column:nth-of-type(2){grid-area:col1}}.ss-heart-color{background-color:#e83c4a}.ss-yahoo-color{background-color:#410093}.ss-amazon-color{background-color:#323b43}.ss-baidu-color{background-color:#de0f17}.ss-blogger-color{background-color:#f57d00}.ss-buffer-color{background-color:#323b43}.ss-delicious-color{background-color:#39f}.ss-digg-color{background-color:#005be2}.ss-livejournal-color{background-color:#004359}.ss-myspace-color{background-color:#333}.ss-newsvine-color{background-color:#055d00}.ss-pocket-color{background-color:#ef4056}.ss-reddit-color{background-color:#ff4500}.ss-skype-color{background-color:#00aff0}.ss-telegram-color{background-color:#169cdf}.ss-viber-color{background-color:#665cac}.ss-vkontakte-color{background-color:#45668e}.ss-whatsapp-color{background-color:#25d366}.ss-xing-color{background-color:#026466}.ss-messenger-color{background-color:#0084ff}.ss-yummly-color{background-color:#e16128}.ss-evernote-color{background-color:#2dbe60}.ss-sms-color{background-color:#323b43}.ss-flipboard-color{background-color:#e12828}.ss-heart:before{content:"\f004"}.ss-amazon:before{content:"\f270"}.ss-baidu:before{content:"\e00a"}.ss-blogger:before{content:"\e012"}.ss-buffer:before{content:"\e013"}.ss-delicious:before{content:"\e019"}.ss-digg:before{content:"\e01c"}.ss-livejournal:before{content:"\e04d"}.ss-myspace:before{content:"\e056"}.ss-newsvine:before{content:"\e057"}.ss-pocket:before{content:"\e067"}.ss-reddit:before{content:"\e06c"}.ss-skype:before{content:"\e073"}.ss-telegram:before{content:"\e913"}.ss-viber:before{content:"\e091"}.ss-vkontakte:before{content:"\e095"}.ss-whatsapp:before{content:"\e099"}.ss-xing:before{content:"\e09f"}.ss-evernote:before{content:"\e61e"}.ss-yummly:before{content:"\e815"}.ss-yahoo:before{content:"\f19e"}.ss-messenger:before{content:"\e910"}.ss-sms:before{content:"\e901"}.ss-flipboard:before{content:"\e917"}.ss-popup-overlay .ss-copy-action .ss-button,.ss-popup-overlay .ss-popup .ss-close-modal,.ss-popup-overlay .ss-popup .ss-popup-networks .ss-popup-network>a{border:0;text-shadow:none;-webkit-box-shadow:none;box-shadow:none;outline:0;text-decoration:none;text-transform:none;letter-spacing:0}@font-face{font-family:socialsnap;src:url(https://scriptcrunch.com/wp-content/plugins/socialsnap-pro/assets/fonts/socialsnap.eot?5k7r6t);src:url(https://scriptcrunch.com/wp-content/plugins/socialsnap-pro/assets/fonts/socialsnap.eot?5k7r6t#iefix) format("embedded-opentype"),url(https://scriptcrunch.com/wp-content/plugins/socialsnap-pro/assets/fonts/socialsnap.ttf?5k7r6t) format("truetype"),url(https://scriptcrunch.com/wp-content/plugins/socialsnap-pro/assets/fonts/socialsnap.woff?5k7r6t) format("woff"),url(https://scriptcrunch.com/wp-content/plugins/socialsnap-pro/assets/fonts/socialsnap.svg?5k7r6t#socialsnap) format("svg");font-weight:400;font-style:normal}.ss{font-family:socialsnap!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;vertical-align:text-bottom;line-height:1;font-size:16px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ss-envelope-color{background-color:#323b43}.ss-facebook-color{background-color:#3b5998}.ss-twitter-color{background-color:#1da1f2}.ss-tumblr-color{background-color:#36465d}.ss-linkedin-color{background-color:#0077b5}.ss-pinterest-color{background-color:#bd081c}.ss-copy-color{background-color:#323b43}.ss-print-color{background-color:#323b43}.ss-mix-color{background-color:#ff8226}.ss-socialsnap:before{content:"\e916"}.ss-print:before{content:"\f02f"}.ss-envelope:before{content:"\f0e0"}.ss-facebook:before{content:"\e028"}.ss-twitter:before{content:"\e08d"}.ss-tumblr:before{content:"\e08b"}.ss-linkedin:before{content:"\e04c"}.ss-pinterest:before{content:"\e063"}.ss-copy:before{content:"\e900"}.ss-close:before{content:"\e90f"}.ss-mix:before{content:"\e918"}.ss-clearfix:after{content:"";display:table;clear:both}.ss-popup-overlay{display:none;font-family:-apple-system,BlinkMacSystemFont,segoe ui,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Arial,helvetica neue,sans-serif;-webkit-font-smoothing:initial;content:'';position:fixed;top:0;bottom:0;left:0;right:0;z-index:99999;background:rgba(202,202,202,.75);opacity:0}.ss-popup-overlay .ss-copy-action{position:relative;display:none}.ss-popup-overlay .ss-copy-action .ss-copy-action-field{border:1px solid rgba(0,0,0,.1);border-radius:2px;color:#323b43;font-family:inherit;font-size:16px;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%;height:48px!important;line-height:48px!important;padding:0 120px 0 50px!important;text-shadow:none;-webkit-box-shadow:none;box-shadow:none;outline:0;background-color:#fff;margin:0}.ss-popup-overlay .ss-copy-action .ss-button{font-weight:400;font-family:inherit;position:absolute;right:6px;top:5px;background-color:#557ceb;color:#fff;padding:0;line-height:38px;height:38px;width:105px;font-size:16px;z-index:9;border-radius:2px}.ss-popup-overlay .ss-copy-action .ss.ss-copy{position:absolute;font-size:24px;top:50%;left:15px;margin-top:-12px;color:#dadada}.ss-popup-overlay .ss-popup{opacity:0;border-radius:2px;max-width:90%;max-height:90%;width:720px;height:auto}.ss-popup-overlay .ss-popup .ss-popup-heading{display:block;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:16px;font-weight:300;color:#323b43;background-color:#fff;line-height:58px;height:58px;padding:0 0 0 24px;margin:0;border-top-left-radius:4px;border-top-right-radius:4px}.ss-popup-overlay .ss-popup .ss-close-modal{float:right;margin-left:auto;color:#a9a9a9;padding:0 24px}.ss-popup-overlay .ss-popup .ss-popup-content{position:relative;top:3px;left:0;right:0;bottom:0;max-height:70vh;background-color:#fff;overflow-y:scroll;padding:24px 24px 20px;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.ss-popup-overlay .ss-popup .ss-powered-by{margin-top:12px;font-size:12px;text-align:center;color:#aaa;width:100%}.ss-popup-overlay .ss-popup .ss-powered-by a{color:#557ceb}.ss-popup-overlay .ss-popup .ss-powered-by a i{font-size:14px;display:inline-block;margin-right:4px;margin-left:1px}.ss-popup-overlay .ss-popup .ss-popup-networks{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 -6px}.ss-popup-overlay .ss-popup .ss-popup-networks .ss-popup-network{-webkit-box-sizing:border-box;box-sizing:border-box;width:33.33%;padding:0 6px 6px;-ms-flex-negative:0;flex-shrink:0;float:left;display:inline-block}.ss-popup-overlay .ss-popup .ss-popup-networks .ss-popup-network>a{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;height:40px;padding:0 15px 0 0;display:-webkit-box;display:-ms-flexbox;display:flex;line-height:40px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;color:#fff;border-radius:2px;font-weight:500;font-size:13px;vertical-align:middle;-webkit-backface-visibility:hidden;white-space:nowrap;text-overflow:ellipsis}.ss-popup-overlay .ss-popup .ss-popup-networks .ss-popup-network>a i{position:relative;z-index:2;height:40px;width:40px;text-align:center;line-height:40px;font-size:16px;margin-right:10px;background-color:rgba(0,0,0,.15)}.ss-popup-overlay .ss-popup .ss-popup-networks .ss-popup-network>a span{position:relative;z-index:3}.ss-popup-overlay .ss-popup .ss-popup-networks .ss-popup-network>a:before{position:absolute;content:'';background-color:transparent;top:0;left:0;bottom:0;right:0;z-index:1}.ss-share-network-tooltip{font-family:-apple-system,BlinkMacSystemFont,segoe ui,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Arial,helvetica neue,sans-serif;-webkit-font-smoothing:initial;position:absolute;line-height:1;left:100%;margin-left:12px;background-color:rgba(56,70,84,.85);top:50%;width:auto;white-space:nowrap;padding:8px 10px;border-radius:2px;font-size:12px;color:rgba(255,255,255,.9);z-index:2;opacity:0;-webkit-transform:translateX(-7px) translateY(-50%);-ms-transform:translateX(-7px) translateY(-50%);transform:translateX(-7px) translateY(-50%)}.ss-copy-action .ss-share-network-tooltip{left:auto;margin-left:0;right:100%;margin-right:12px;-webkit-transform:translateX(7px) translateY(-50%);-ms-transform:translateX(7px) translateY(-50%);transform:translateX(7px) translateY(-50%)}.ss-hidden-pin-image{display:none!important}@media screen and (max-width:782px){.ss-popup-overlay .ss-popup .ss-popup-networks .ss-popup-network{width:50%}}@media screen and (max-width:500px){.ss-popup-overlay .ss-popup .ss-popup-networks .ss-popup-network{width:100%}}.grid-container:after{clear:both}@-ms-viewport{width:auto}.grid-container:after,.grid-container:before{content:".";display:block;overflow:hidden;visibility:hidden;font-size:0;line-height:0;width:0;height:0}.grid-container{margin-left:auto;margin-right:auto;max-width:1200px;padding-left:10px;padding-right:10px}.grid-parent{padding-left:0;padding-right:0}html,body,div,span,h1,p,a,ul,li,form,label{border:0;margin:0;padding:0}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}main,nav,section{display:block}ul{list-style:none}a{background-color:transparent}a img{border:0}body,button,input{font-family:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-weight:400;text-transform:none;font-size:17px;line-height:1.5}p{margin-bottom:1.5em}h1{font-family:inherit;font-size:100%;font-style:inherit;font-weight:inherit}h1{font-size:40px;margin-bottom:20px;line-height:1.2em;font-weight:300;text-transform:none}ul{margin:0 0 1.5em 3em}ul{list-style:disc}li>ul{margin-bottom:0;margin-left:1.5em}i{font-style:italic}img{height:auto;max-width:100%}button,input{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button{border:1px solid transparent;background:#666;-webkit-appearance:button;padding:10px 20px;color:#fff}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input[type=text],input[type=search]{background:#fafafa;color:#666;border:1px solid #ccc;border-radius:0;padding:10px 15px;box-sizing:border-box;max-width:100%}a,a:visited{text-decoration:none}.size-full,.size-medium{max-width:100%;height:auto}.screen-reader-text{position:absolute!important;clip:rect(0,0,0,0);height:1px;width:1px;border:0;overflow:hidden}.site-content:after{content:"";display:table;clear:both}.post{margin:0 0 2em}.site-content{word-wrap:break-word}.comment-form input{margin-bottom:10px}.full-width-content .container.grid-container{max-width:100%}.container.grid-container{width:auto}@font-face{font-family:eicons;src:url(https://scriptcrunch.com/wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.eot?5.7.0);src:url(https://scriptcrunch.com/wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.eot?5.7.0#iefix) format("embedded-opentype"),url(https://scriptcrunch.com/wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.woff2?5.7.0) format("woff2"),url(https://scriptcrunch.com/wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.woff?5.7.0) format("woff"),url(https://scriptcrunch.com/wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.ttf?5.7.0) format("truetype"),url(https://scriptcrunch.com/wp-content/plugins/elementor/assets/lib/eicons/fonts/eicons.svg?5.7.0#eicon) format("svg");font-weight:400;font-style:normal}[class^=eicon]{display:inline-block;font-family:eicons;font-size:inherit;font-weight:400;font-style:normal;font-variant:normal;line-height:1;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.eicon-menu-bar:before{content:'\e816'}.elementor-screen-only,.screen-reader-text{position:absolute;top:-10000em;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.elementor{-webkit-hyphens:manual;-ms-hyphens:manual;hyphens:manual}.elementor *,.elementor :after,.elementor :before{-webkit-box-sizing:border-box;box-sizing:border-box}.elementor a{-webkit-box-shadow:none;box-shadow:none;text-decoration:none}.elementor img{height:auto;max-width:100%;border:none;-webkit-border-radius:0;border-radius:0;-webkit-box-shadow:none;box-shadow:none}.elementor-align-center{text-align:center}.elementor-section{position:relative}.elementor-section .elementor-container{display:-webkit-box;display:-ms-flexbox;display:flex;margin-right:auto;margin-left:auto;position:relative}.elementor-section.elementor-section-boxed>.elementor-container{max-width:1140px}.elementor-section.elementor-section-stretched{position:relative;width:100%}.elementor-row{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}@media (max-width:1024px){.elementor-row{-ms-flex-wrap:wrap;flex-wrap:wrap}}.elementor-column-wrap{width:100%;position:relative;display:-webkit-box;display:-ms-flexbox;display:flex}.elementor-widget-wrap{position:relative;width:100%;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:start;align-content:flex-start}.elementor:not(.elementor-bc-flex-widget) .elementor-widget-wrap{display:-webkit-box;display:-ms-flexbox;display:flex}.elementor-widget-wrap>.elementor-element{width:100%}.elementor-widget{position:relative}.elementor-widget:not(:last-child){margin-bottom:20px}.elementor-column{position:relative;min-height:1px;display:-webkit-box;display:-ms-flexbox;display:flex}.elementor-column-gap-default>.elementor-row>.elementor-column>.elementor-element-populated{padding:10px}@media (min-width:768px){.elementor-column.elementor-col-25{width:25%}.elementor-column.elementor-col-33{width:33.333%}.elementor-column.elementor-col-50{width:50%}.elementor-column.elementor-col-100{width:100%}}@media (min-width:768px) and (max-width:1024px){.elementor-reverse-tablet>.elementor-container>.elementor-row>:first-child{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}.elementor-reverse-tablet>.elementor-container>.elementor-row>:nth-child(2){-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}.elementor-reverse-tablet>.elementor-container>.elementor-row>:nth-child(3){-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}}@media (max-width:767px){.elementor-reverse-mobile>.elementor-container>.elementor-row>:first-child{-webkit-box-ordinal-group:11;-ms-flex-order:10;order:10}.elementor-reverse-mobile>.elementor-container>.elementor-row>:nth-child(2){-webkit-box-ordinal-group:10;-ms-flex-order:9;order:9}.elementor-reverse-mobile>.elementor-container>.elementor-row>:nth-child(3){-webkit-box-ordinal-group:9;-ms-flex-order:8;order:8}.elementor-column{width:100%}}ul.elementor-icon-list-items.elementor-inline-items{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}ul.elementor-icon-list-items.elementor-inline-items .elementor-inline-item{word-break:break-word}.elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget .elementor-icon-list-items.elementor-inline-items{margin-right:-8px;margin-left:-8px}.elementor-widget .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item{margin-right:8px;margin-left:8px}.elementor-widget .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item:after{width:auto;left:auto;right:auto;position:relative;height:100%;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);border-top:0;border-bottom:0;border-right:0;border-left-width:1px;border-style:solid;right:-8px}.elementor-widget .elementor-icon-list-items{list-style-type:none;margin:0;padding:0}.elementor-widget .elementor-icon-list-item{margin:0;padding:0;position:relative}.elementor-widget .elementor-icon-list-item:after{position:absolute;bottom:0;width:100%}.elementor-widget .elementor-icon-list-item,.elementor-widget .elementor-icon-list-item a{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.elementor-widget .elementor-icon-list-item a{width:100%}.elementor-widget .elementor-icon-list-icon+.elementor-icon-list-text{-ms-flex-item-align:center;align-self:center;padding-left:5px}.elementor-widget .elementor-icon-list-icon{-ms-flex-negative:0;flex-shrink:0}.elementor-widget .elementor-icon-list-icon i{width:1.25em}.elementor-widget.elementor-align-center .elementor-icon-list-item,.elementor-widget.elementor-align-center .elementor-icon-list-item a{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.elementor-widget.elementor-align-center .elementor-icon-list-item:after{margin:auto}.elementor-widget.elementor-align-center .elementor-inline-items{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.elementor-widget:not(.elementor-align-right) .elementor-icon-list-item:after{left:0}.elementor-widget:not(.elementor-align-left) .elementor-icon-list-item:after{right:0}@media (max-width:1024px){.elementor-widget:not(.elementor-tablet-align-right) .elementor-icon-list-item:after{left:0}.elementor-widget:not(.elementor-tablet-align-left) .elementor-icon-list-item:after{right:0}}@media (max-width:767px){.elementor-widget:not(.elementor-mobile-align-right) .elementor-icon-list-item:after{left:0}.elementor-widget:not(.elementor-mobile-align-left) .elementor-icon-list-item:after{right:0}}.elementor-widget-image{text-align:center}.elementor-widget-image .elementor-image>a{display:inline-block}.elementor-widget-image .elementor-image img{vertical-align:middle;display:inline-block}.elementor .elementor-element ul.elementor-icon-list-items{padding:0}@media (max-width:767px){.elementor .elementor-hidden-phone{display:none}}@media (min-width:768px) and (max-width:1024px){.elementor .elementor-hidden-tablet{display:none}}.elementor-posts-container .elementor-post__thumbnail img{display:block;width:100%;max-height:none;max-width:none}.elementor-item:after,.elementor-item:before{display:block;position:absolute}.elementor-item:not(:hover):not(:focus):not(.elementor-item-active):not(.highlighted):after,.elementor-item:not(:hover):not(:focus):not(.elementor-item-active):not(.highlighted):before{opacity:0}.e--pointer-underline .elementor-item:after,.e--pointer-underline .elementor-item:before{height:3px;width:100%;left:0;background-color:#55595c;z-index:2}.e--pointer-underline .elementor-item:after{content:"";bottom:0}.elementor-nav-menu--main .elementor-nav-menu a{padding:13px 20px}.elementor-nav-menu--main .elementor-nav-menu ul{position:absolute;width:12em;border-width:0;border-style:solid;padding:0}.elementor-nav-menu--layout-horizontal{display:-webkit-box;display:-ms-flexbox;display:flex}.elementor-nav-menu--layout-horizontal .elementor-nav-menu{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.elementor-nav-menu--layout-horizontal .elementor-nav-menu a{white-space:nowrap}.elementor-nav-menu__align-center .elementor-nav-menu{margin-left:auto;margin-right:auto}.elementor-nav-menu__align-center .elementor-nav-menu{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.elementor-widget-nav-menu .elementor-widget-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.elementor-nav-menu{position:relative;z-index:2}.elementor-nav-menu:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.elementor-nav-menu,.elementor-nav-menu li,.elementor-nav-menu ul{display:block;list-style:none;margin:0;padding:0;line-height:normal}.elementor-nav-menu ul{display:none}.elementor-nav-menu a,.elementor-nav-menu li{position:relative}.elementor-nav-menu li{border-width:0}.elementor-nav-menu a{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.elementor-nav-menu a{padding:10px 20px;line-height:20px}.elementor-menu-toggle{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:22px;padding:.25em;border:0 solid;border-radius:3px;background-color:rgba(0,0,0,.05);color:#494c4f}.elementor-nav-menu--dropdown{background-color:#fff;font-size:13px}.elementor-nav-menu--dropdown.elementor-nav-menu__container{margin-top:10px;-webkit-transform-origin:top;-ms-transform-origin:top;transform-origin:top;overflow:auto}.elementor-nav-menu--dropdown.elementor-nav-menu__container .elementor-sub-item{font-size:.85em}.elementor-nav-menu--dropdown a{color:#494c4f;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}ul.elementor-nav-menu--dropdown a{text-shadow:none;border-left:8px solid transparent}.elementor-nav-menu__text-align-center .elementor-nav-menu--dropdown .elementor-nav-menu a{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.elementor-nav-menu--toggle .elementor-menu-toggle:not(.elementor-active)+.elementor-nav-menu__container{-webkit-transform:scaleY(0);-ms-transform:scaleY(0);transform:scaleY(0);max-height:0}.elementor-nav-menu--stretch .elementor-nav-menu__container.elementor-nav-menu--dropdown{position:absolute;z-index:9997}@media (min-width:1025px){.elementor-nav-menu--dropdown-tablet .elementor-menu-toggle,.elementor-nav-menu--dropdown-tablet .elementor-nav-menu--dropdown{display:none}}@media (max-width:1024px){.elementor-nav-menu--dropdown-tablet .elementor-nav-menu--main{display:none}}.elementor-location-header:before{content:"";display:table;clear:both}.elementor-search-form{display:block}.elementor-search-form button,.elementor-search-form input[type=search]{margin:0;border:0;padding:0;display:inline-block;vertical-align:middle;white-space:normal;background:none;line-height:1;min-width:0;font-size:15px;-webkit-appearance:none;-moz-appearance:none}.elementor-search-form button{background-color:#818a91;font-size:16px;color:#fff;border-radius:0}.elementor-search-form__container{display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden;border:0 solid transparent;min-height:50px}.elementor-search-form__container:not(.elementor-search-form--full-screen){background:#eceeef}.elementor-search-form__input{-ms-flex-preferred-size:100%;flex-basis:100%;color:#55595c}.elementor-search-form__input::-webkit-input-placeholder{color:inherit;font-family:inherit;opacity:.6}.elementor-search-form__input:-ms-input-placeholder{color:inherit;font-family:inherit;opacity:.6}.elementor-search-form__input:-moz-placeholder,.elementor-search-form__input::-moz-placeholder{color:inherit;font-family:inherit;opacity:.6}.elementor-search-form__input::-ms-input-placeholder{color:inherit;font-family:inherit;opacity:.6}.elementor-search-form .elementor-search-form__submit{color:#fff;border:none;border-radius:0}.elementor-icon-list-items .elementor-icon-list-item .elementor-icon-list-text{display:inline-block}.elementor-icon-list-items .elementor-icon-list-item .elementor-icon-list-text span{display:inline}.fa,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-calendar:before{content:"\f133"}.fa-search:before{content:"\f002"}.fa-user-circle:before{content:"\f2bd"}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:auto;src:url(https://scriptcrunch.com/wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-solid-900.eot);src:url(https://scriptcrunch.com/wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(https://scriptcrunch.com/wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-solid-900.woff2) format("woff2"),url(https://scriptcrunch.com/wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-solid-900.woff) format("woff"),url(https://scriptcrunch.com/wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-solid-900.ttf) format("truetype"),url(https://scriptcrunch.com/wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.fas{font-family:"Font Awesome 5 Free";font-weight:900}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}

PhP Simulation Script Using Conditional Statements.

This script simulates a dog moving to its kennel. It consists of all conditional statements except switch. Initially we set to random positions for the dog and the kennel using the php function rand(). We set up the position using the x, y cordinates. Here i have used a 10X10 square. you can check out the script given below. You can see the demo here. Simulation Demo
<html>
<title>Dog</title>
<head>
<link rel="stylesheet" type="text/css" href="style.css"/>
<style type="text/css">
div.map
{
float: left;
margin: 10px;
padding:1em;

background: white;
border: 1px solid;
border-color: #e5e5e5 #dbdbdb #d2d2d2;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px;
-moz-box-shadow: rgba(0,0,0,0.3) 0 1px 3px;
box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px;
}

.header{
position: fixed;
height: 50px;
width: 100%;
top: 0;
left: 0;
border-top: 4px solid #a1cb2f;
background: #fff;
-moz-box-shadow: 0 2px 4px 0px rgba(0, 0, 0, 0.16);
-webkit-box-shadow: 0 2px 4px 0px rgba(0, 0, 0, 0.16);
box-shadow: 0 2px 4px 0px rgba(0, 0, 0, 0.16);
z-index: 999999;
}

#banner h1 {
line-height: 60px;
}
span.kennel ,span.dog
{
font-weignt:bold;
}
span.empty
{
color: #666;
}
</style>
</head>
<body>
<div class="header">
<div> <input type="button" align="center" onclick="javascript:history.go(0)" class="blu-btn" value="Click Here To View New Random Results"/> </div>
</div>
<?php

$squaresize =10; //sets the square size to create a 10X10 box

/*the following do while loop executes till there is a difference of 5 units between the dog and the kennel, either in x or y direction */
do{
$kennelX = rand(1,$squaresize-1);
$kennelY = rand(1,$squaresize-1);
$dogX = rand(1 , $squaresize-1);
$dogY = rand(1 , $squaresize-1);
}while((abs($kennelX-$dogX)<$squaresize/2) && (abs($kennelY-$dogY)<$squaresize/2));
do
{
if($dogX<$kennelX)
$dogX++;
elseif($dogX>$kennelX)
$dogX--;
if($dogY<$kennelY)
$dogY++;
elseif($dogY>$kennelY)
$dogY--;
echo '<div class="map" style="width:auto"><pre>';
for($y=0;$y<$squaresize;$y++){
for($x=0;$x<$squaresize;$x++) {
if(($y==$kennelY)&&($x==$kennelX))
{
echo '<span class="kennel"><img src="home.png"></span>'; //kennel is set
}
elseif (($y==$dogY)&&($x==$dogX))
{
echo '<span class="kennel"><img src="dog.png"></span>'; //dog is set
}
else
{
echo '<span class="empty">.</span>'; //prints empty square
}
echo ($x!= $squaresize-1)?" ":"";
}
echo "<br/>n";
}
echo "</pre></div>n";

}while ($dogX!=$kennelX || $dogY!=$kennelY);
?>
</body>
</html>

Other Interesting Blogs

Leave a Comment

0 Shares
Share via
Copy link