Error executing template "Designs/home-install/_parsed/index.parsed.cshtml"
System.ArgumentException: Object type cannot be converted to target type.
   at RazorEngine.Compilation.CrossAppDomainCleanUp.CleanupHelper.Init(AppDomain domain, IPrinter printer)
   at RazorEngine.Compilation.CrossAppDomainCleanUp.InitHelper.CreateHelper()
   at RazorEngine.Compilation.ExecutionContextLessThread.CallHelperSafeHelper`2.AsAction()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at RazorEngine.Compilation.ExecutionContextLessThread.DefaultCallFunc[O](Func`1 f)
   at RazorEngine.Compilation.CrossAppDomainCleanUp..ctor(AppDomain toWatch, IPrinter printer)
   at RazorEngine.Compilation.CrossAppDomainCleanUp.CreateInitial()
   at System.Lazy`1.CreateValue()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Lazy`1.get_Value()
   at RazorEngine.Compilation.CrossAppDomainCleanUp.RegisterCleanup(String item, Boolean throwOnDefault)
   at RazorEngine.Templating.InvalidatingCachingProvider.CacheTemplate(ICompiledTemplate template, ITemplateKey templateKey)
   at RazorEngine.Templating.RazorEngineService.CompileAndCacheInternal(ITemplateKey key, Type modelType)
   at RazorEngine.Templating.RazorEngineService.GetCompiledTemplate(ITemplateKey key, Type modelType, Boolean compileOnCacheMiss)
   at RazorEngine.Templating.RazorEngineService.RunCompile(ITemplateKey key, TextWriter writer, Type modelType, Object model, DynamicViewBag viewBag)
   at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass16_0.<RunCompile>b__0(TextWriter writer)
   at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter)
   at Dynamicweb.Rendering.RazorTemplateRenderingProvider.Render(Template template)
   at Dynamicweb.Rendering.TemplateRenderingService.Render(Template template)
   at Dynamicweb.Rendering.Template.RenderRazorTemplate()

1 <!DOCTYPE html> 2 <html lang="da"> 3 <head> 4 <title>@GetValue("Title")</title> 5 <!--[if IE]><![endif]--> 6 <meta charset="utf-8"> 7 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> 8 @GetString("MetaTags") 9 <meta property="og:title" content='@GetString("Title")'> 10 <meta property="og:url" content='@GetGlobalValue("Global:Pageview.Url")'> 11 <meta property="og:image" content="https://homeinstall.dk/Files/Templates/Designs/home-install/images/homeinstall-logo.png"> 12 <meta property="og:description" content='@GetValue("Meta.Description-->")'> 13 @RenderSnippet("meta") 14 @RenderSnippet("scripts") 15 16 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 17 <link href="/Files/Templates/Designs/shrpa-v1/./images/favicon.ico" rel="shortcut icon" type="image/x-icon"> 18 <link href="/Files/Templates/Designs/shrpa-v1/./images/favicon.ico" rel="icon" type="image/x-icon"> 19 <link href="/Files/Templates/Designs/home-install/./images/favicon.ico" rel="shortcut icon" type="image/x-icon"> 20 <link href="/Files/Templates/Designs/home-install/./images/favicon.ico" rel="icon" type="image/x-icon"> 21 <link rel="apple-touch-icon" href="/Files/Templates/Designs/home-install/./images/apple-touch-icon-32x32.png"> 22 <link rel="apple-touch-icon" sizes="76x76" href="/Files/Templates/Designs/home-install/./images/apple-touch-icon-76x76.png"> 23 <link rel="apple-touch-icon" sizes="120x120" href="/Files/Templates/Designs/home-install/./images/apple-touch-icon-120x120.png"> 24 <link rel="apple-touch-icon" sizes="152x152" href="/Files/Templates/Designs/home-install/./images/apple-touch-icon-152x152.png"> 25 26 @if (System.Web.HttpContext.Current.Request.Cookies["hi-styles"] != null || System.Web.HttpContext.Current.Request.QueryString["oldschoolcss"] != null) 27 { 28 <link rel="stylesheet" href="/files/templates/designs/home-install/css/home-install.min.css"> 29 } 30 else 31 { 32 if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/files/templates/designs/home-install/css/critical/" + GetGlobalValue("Global:Pageview.LayoutTemplate").ToLower().Replace(".cshtml", "").Replace(".html", "").Replace("test-", "") + ".min.css"))) 33 { 34 <style> 35 @System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/files/templates/designs/home-install/css/critical/" + GetGlobalValue("Global:Pageview.LayoutTemplate").ToLower().Replace(".cshtml", "").Replace(".html", "").Replace("test-", "") + ".min.css")) 36 </style> 37 } 38 else 39 { 40 <link rel="stylesheet" href="/files/templates/designs/home-install/css/home-install.min.css"> 41 } 42 } 43 44 <script> 45 (function (i, s, o, g, r, a, m) { 46 i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { 47 (i[r].q = i[r].q || []).push(arguments) 48 }, i[r].l = 1 * new Date(); a = s.createElement(o), 49 m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) 50 })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); 51 52 ga('create', 'UA-54647455-1', 'auto'); 53 ga('send', 'pageview'); 54 </script> 55 </head> 56 <body data-is-desktop='@GetGlobalValue("Global:Device.IsDesktop")' data-is-tablet='@GetGlobalValue("Global:Device.IsTablet")' data-is-mobile='@GetGlobalValue("Global:Device.IsMobile")' data-is-android='@GetGlobalValue("Global:Device.IsAndroid")' data-is-ios='@GetGlobalValue("Global:Device.IsIOS")' data-is-windows='@GetGlobalValue("Global:Device.IsWindows")' data-is-iphone='@GetGlobalValue("Global:Device.IsIPhone")' data-is-androidphone='@GetGlobalValue("Global:Device.IsAndroidPhone")' data-is-windowsphone='@GetGlobalValue("Global:Device.IsWindowsPhone")' data-is-ipad='@GetGlobalValue("Global:Device.IsIPad")' data-is-androidtablet='@GetGlobalValue("Global:Device.IsAndroidTablet")' data-is-windowstablet='@GetGlobalValue("Global:Device.IsWindowsTablet")' class='@("page-template-")@GetGlobalValue("Global:Pageview.LayoutTemplate").ToString().Replace(".cshtml","").Replace(".html","")'> 57 <div id="page-wrapper" class="cbp-so-scroller"> 58 <header id="header"> 59 <div class="container"> 60 <nav class="navbar navbar-default" role="navigation"> 61 <div class="navbar-header"> 62 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar"> 63 <span class="sr-only">Toggle navigation</span> 64 <span class="icon-bar"></span> 65 <span class="icon-bar"></span> 66 <span class="icon-bar"></span> 67 </button> 68 @{ 69 if (GetGlobalValue("Global:Page.ID").ToString() == "1") { 70 <h1><a href="/" class="navbar-brand" title="AV-montør i Aalborg"><img src="/Files/Templates/Designs/home-install/./images/homeinstall-logo.png" alt="AV-montør i Aalborg, Nordjylland"></a></h1> 71 } else { 72 <a href="/" class="navbar-brand" title="AV-montør"><img src="/Files/Templates/Designs/home-install/./images/homeinstall-logo.png" alt="Homeinstall logo"></a> 73 } 74 } 75 </div> 76 <div class="collapse navbar-collapse" id="navbar"> 77 <ul> 78 @GetValue("DwNavigation(primarynav)") 79 </ul> 80 </div> 81 </nav> 82 </div> 83 </header> 84 85 @*@SnippetStart("csstop") 86 @{ 87 if (System.Web.HttpContext.Current.Request.Cookies["hi-styles"] != null) { 88 <link rel="stylesheet" href="/files/templates/designs/home-install/css/home-install.min.css"> 89 } else { 90 if (GetGlobalValue("Global:Device.IsDesktop").ToString().ToLower() == "true" || GetGlobalValue("Global:Device.IsTablet").ToString().ToLower() == "true") { 91 <style>img{border:0}body{margin:0}#header li,h1,h2{text-transform:uppercase}.btn,a{text-decoration:none}nav ul{list-style:none}*{outline:0}html{font-family:sans-serif}a{background:0 0}body{background-color:#fff}.navbar-toggle{background-image:none}.navbar-default{background-repeat:repeat-x}img{vertical-align:middle}button,input{color:inherit;font:inherit;margin:0}button{overflow:visible}button{text-transform:none}*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%;-webkit-tap-highlight-color:transparent}body{font-size:14px;line-height:1.42857143;color:#333}button,input{line-height:inherit}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@@media (min-width:768px){.container{width:750px}}@@media (min-width:992px){.container{width:970px}}@@media (min-width:1200px){.container{width:1170px}}.row{margin-left:-15px;margin-right:-15px}.col-lg-6,.col-md-6,.col-md-8,.col-sm-10,.col-sm-8,.col-xs-10{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-10{float:left}.col-xs-10{width:83.33333333%}@@media (min-width:768px){.col-sm-10,.col-sm-8{float:left}.col-sm-10{width:83.33333333%}.col-sm-8{width:66.66666667%}.col-sm-offset-2{margin-left:16.66666667%}}@@media (min-width:992px){.col-md-6,.col-md-8{float:left}.col-md-8{width:66.66666667%}.col-md-6{width:50%}.col-md-offset-3{margin-left:25%}}@@media (min-width:1200px){.col-lg-6{float:left}.col-lg-6{width:50%}}.navbar{position:relative}#header a,section.default{text-align:center}.collapse{display:none}.navbar{min-height:50px;border:1px solid transparent}.navbar-collapse{overflow-x:visible;padding-right:15px;padding-left:15px;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.1);-webkit-overflow-scrolling:touch}@@media (min-width:991px){.navbar-header{float:left}.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}}.navbar-brand{float:left;padding:15px;font-size:18px;line-height:20px;height:50px}@@media (min-width:768px){.navbar{border-radius:4px}}.navbar-toggle{position:relative;float:right;margin-right:15px;padding:9px 10px;margin-top:8px;margin-bottom:8px;background-color:transparent;border:1px solid transparent;border-radius:4px}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}#header{position:fixed}@@media (min-width:992px){.navbar-toggle{display:none}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse{border-color:#e7e7e7}.container:after,.container:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.row:after,.row:before{content:" ";display:table}.container:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.row:after{clear:both}#header h1,h1,h2,p{margin:0;padding:0}body{font-family:'Open Sans',Arial,Helvetica,sans-serif}.navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.navbar-brand{text-shadow:0 1px 0 rgba(255,255,255,.25)}h1,h2{letter-spacing:.05em}h1,h2{font-weight:700;font-size:47px;line-height:55px;margin-bottom:35px}@@media (min-width:768px) and (max-width:991px){h1,h2{font-size:40px;line-height:48px}}h1:after,h2:after{content:"";width:100%;height:12px;display:block;background:url(/files/templates/designs/home-install/images/h2-after-bg-light.png)%20center%20no-repeat;background-size:auto%2012px;margin-top:40px%7D@@media%20(max-width:767px)%7Bh1,h2%7Bfont-size:28px;line-height:36px;margin-bottom:30px%7Dh1:after,h2:after%7Bheight:8px;background-size:auto%208px;margin-top:30px%7D%7Dp%7Bmargin-top:1em;margin-bottom:1em%7Dp%7Bfont-size:14px;line-height:24px;color:#000%7D@@media%20(min-width:768px)%20and%20(max-width:991px)%7Bp%7Bfont-size:16px;line-height:26px%7D%7Dbody%7Boverflow-x:hidden%7D@@media%20(max-width:767px)%7Bbody%7Bfont-size:28px%7D%7D@@media%20(min-width:768px)%20and%20(max-width:991px)%7Bbody%7Bfont-size:24px%7D%7D@@media%20(max-width:640px)%7B#page-wrapper%7Bwidth:100%25%7D%7D#header%7Bwidth:100%25;background-color:#fff;top:0;left:0;font-weight:600;z-index:99%7D#header%20h1:after%7Bdisplay:none%7D@@media%20(min-width:992px)%7Bbody%7Bfont-size:14px%7D#header,#header%20.navbar-header%7Bheight:125px%7D%7D@@media%20(max-width:991px)%7B#header%20ul%7Bmargin:30px%200%200;padding:0%2015px%2020px;border-top:1px%20solid%20#dedede%7D%7D@@media%20(min-width:768px)%20and%20(max-width:991px)%7B#header%7Bmin-height:100px%7D#header%20.navbar-header%7Bheight:100px%7D#header%20li%7Btext-align:center;font-size:20px%7D%7D@@media%20(min-width:992px)%7B#header%20ul%7Bpadding-top:38px;padding-bottom:20px;float:right%7D#header%20li%7Bmargin:0%200%200%2040px;float:left;display:inline-block;font-size:14px%7D%7D@@media%20(min-width:768px)%20and%20(max-width:991px)%7B#header%20.navbar-header%20button%7Bmargin:25px%200%200%7D%7D@@media%20(max-width:767px)%7B#header%7Bmin-height:60px%7D#header%20.navbar-header%7Bheight:60px%7D#header%20li%7Btext-align:center;font-size:14px%7D#header%20.navbar-header%20button%7Bmargin:12px%200%200;padding:6px%7D%7D#header%20.navbar-collapse%7Bborder-top:0;overflow:hidden;padding:0%7D@@media%20(min-width:768px)%20and%20(max-width:991px)%7B#header%20.navbar-toggle%20.icon-bar%7Bwidth:45px;height:5px;margin:3px%200;clear:both;float:left%7D%7D@@media%20(max-width:767px)%7B#header%20.navbar-toggle%20.icon-bar%7Bwidth:30px;height:3px;margin:2px%200;clear:both;float:left%7D#header%20.navbar%7Bmargin:0%7D%7D#header%20.collapse%7Bheight:1px%7D#header%20.navbar%7Bborder:0;background-color:transparent;background-image:none;-webkit-box-shadow:none;box-shadow:none%7D#header%20a%7Bdisplay:inline-block;color:#000%7D@@media%20(max-width:991px)%7B#header%20a.btn,#header%20ul%20li.last%20a%7Bmargin:15px%200%200%7D#header%20a%7Bpadding:15px%200%7D%7D@@media%20(min-width:992px)%7B#header%20a%7Bpadding:15px%200%200%7D%7D#header%20a.navbar-brand%7Bpadding:0%7D#header%20a.navbar-brand%20img%7Bmargin-top:26px%7D@@media%20(min-width:768px)%20and%20(max-width:991px)%7B#header%20a.navbar-brand%20img%7Bwidth:160px;margin-top:25px%7D%7D@@media%20(max-width:767px)%7B#header%20a.navbar-brand%7Bpadding:0;overflow:hidden;max-height:46px%7D#header%20a.navbar-brand%20img%7Bmax-height:42px;margin-top:14px%7D%7D#header%20.btn%7Bpadding-top:0;color:#fff;-webkit-transition:background%20.2s;transition:background%20.2s;background-color:#000%7D@@media%20(max-width:991px)%7B#header%20.btn%7Bpadding-top:0%7D%7D#topbanner-container%7Bcolor:#000;position:relative;background:url(/files/templates/designs/home-install/images/homeinstall-top-2016.png)%2028%25%20top%20no-repeat;width:100%25;background-size:cover%7D@@media%20(min-width:768px)%7B#topbanner-container%7Bbackground-position:0%200%7D%7D@@media%20(min-width:992px)%7B#topbanner-container%7Bmargin:125px%200%200%7D%7D#topbanner-container,#topbanner-container%3E.container%7Bheight:580px%7D#topbanner-container%3E.container%7Bpadding-top:98px;position:relative%7D@@media%20(min-width:768px)%20and%20(max-width:991px)%7B#topbanner-container%7Bmargin:100px%200%200%7D#topbanner-container%3E.container%7Bpadding-top:78px%7D#topbanner-container%20span.title%7Bfont-size:20px;line-height:20px%7D%7D@@media%20(max-width:767px)%7B#topbanner-container%7Bmargin:60px%200%200%7D#topbanner-container,#topbanner-container%3E.container%7Bheight:280px%7D#topbanner-container%3E.container%7Bpadding-top:35px%7D%7Dsection.default%7Bpadding:100px%200%7D#topbanner%3Ediv%7Bz-index:2%7D#topbanner-container%20h2,#topbanner-container%20span.title%7Btext-transform:uppercase;letter-spacing:2px%7Dsection.default%20h2+p%7Bletter-spacing:.05em;font-weight:700;text-transform:uppercase%7D#topbanner-container%20span.title%7Bfont-weight:700;font-size:20px;line-height:20px;margin-bottom:10px;display:block%7D@@media%20(max-width:767px)%7B#topbanner-container%20span.title%7Bfont-size:14px;line-height:14px%7D%7D#topbanner-container%20h2%7Bfont-size:68px;line-height:80px%7D.page-template-index%20#topbanner-container%20h2:after%7Bdisplay:none%7D@@media%20(min-width:768px)%20and%20(max-width:991px)%7B#topbanner-container%20h2%7Bfont-size:56px;line-height:68px%7D%7D@@media%20(max-width:767px)%7B#topbanner-container%20h2%7Bfont-size:30px;line-height:35px%7Dsection.default%7Bpadding:60px%200%7D%7D@@media%20(min-width:768px)%7Bsection.default%20h2+p%7Bfont-size:16px;line-height:26px%7D%7D@@media%20(min-width:992px)%7Bsection.default%20h2+p%7Bfont-size:14px;line-height:24px%7D%7D.supersize-background%7Bbackground-size:cover%7D.btn%7Bborder-radius:6px;text-transform:uppercase;font-weight:600;text-align:center;z-index:1;position:relative%7D*,nav%20ul%7Bpadding:0%7Da%7Bcolor:#37989e%7D.btn%7Bwidth:170px;height:50px;display:inline-block;line-height:50px%7D@@media%20(min-width:992px)%7B.btn%7Bfont-size:14px%7D%7D@@media%20(min-width:768px)%20and%20(max-width:991px)%7B.btn%7Bwidth:220px;height:60px;line-height:60px;margin:auto;display:block;font-size:18px%7D%7D@@media%20(max-width:767px){.btn{width:180px;height:50px;line-height:50px;margin:auto;display:block;font-size:14px}}*{margin:0;border-width:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:0;border-radius:0}html{overflow-y:scroll;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}ul{padding-left:18px}a,button{cursor:pointer}input{-webkit-appearance:none;-moz-appearance:none;appearance:none}button,input{font-family:inherit;font-size:100%}button{-webkit-appearance:button;cursor:pointer}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}header,nav,section{display:block}</style> 92 } else { 93 <style>img{border:0}body{margin:0}#header li,h2{text-transform:uppercase}.btn,a{text-decoration:none}nav ul{list-style:none}*{outline:0}html{font-family:sans-serif}a{background:0 0}body{background-color:#fff}.navbar-toggle{background-image:none}.navbar-default{background-repeat:repeat-x}img{vertical-align:middle}button,input{color:inherit;font:inherit;margin:0}button{overflow:visible}button{text-transform:none}*,:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:62.5%;-webkit-tap-highlight-color:transparent}body{font-size:14px;line-height:1.42857143;color:#333}button,input{line-height:inherit}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}@@media (min-width:768px){.container{width:750px}}@@media (min-width:992px){.container{width:970px}}@@media (min-width:1200px){.container{width:1170px}}.row{margin-left:-15px;margin-right:-15px}.col-lg-6,.col-md-8,.col-sm-10,.col-xs-10{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-10{float:left}.col-xs-10{width:83.33333333%}@@media (min-width:768px){.col-sm-10{float:left}.col-sm-10{width:83.33333333%}}@@media (min-width:992px){.col-md-8{float:left}.col-md-8{width:66.66666667%}}@@media (min-width:1200px){.col-lg-6{float:left}.col-lg-6{width:50%}}.navbar{position:relative}#header a,section.default{text-align:center}.collapse{display:none}.navbar{min-height:50px;border:1px solid transparent}.navbar-collapse{overflow-x:visible;padding-right:15px;padding-left:15px;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.1);-webkit-overflow-scrolling:touch}@@media (min-width:991px){.navbar-header{float:left}.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}}.navbar-brand{float:left;padding:15px;font-size:18px;line-height:20px;height:50px}@@media (min-width:768px){.navbar{border-radius:4px}}.navbar-toggle{position:relative;float:right;margin-right:15px;padding:9px 10px;margin-top:8px;margin-bottom:8px;background-color:transparent;border:1px solid transparent;border-radius:4px}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}#header{position:fixed}@@media (min-width:992px){.navbar-toggle{display:none}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse{border-color:#e7e7e7}.container:after,.container:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.row:after,.row:before{content:" ";display:table}.container:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.row:after{clear:both}h2{margin:0;padding:0}body{font-family:'Open Sans',Arial,Helvetica,sans-serif}.navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.navbar-brand{text-shadow:0 1px 0 rgba(255,255,255,.25)}h2{letter-spacing:.05em}h2{font-weight:700;font-size:47px;line-height:55px;margin-bottom:35px}@@media (min-width:768px) and (max-width:991px){h2{font-size:40px;line-height:48px}}h2:after{content:"";width:100%;height:12px;display:block;background:url(/files/templates/designs/home-install/images/h2-after-bg-light.png)%20center%20no-repeat;background-size:auto%2012px;margin-top:40px%7D@@media%20(max-width:767px)%7Bh2%7Bfont-size:28px;line-height:36px;margin-bottom:30px%7Dh2:after%7Bheight:8px;background-size:auto%208px;margin-top:30px%7D%7Dbody%7Boverflow-x:hidden%7D@@media%20(max-width:767px)%7Bbody%7Bfont-size:28px%7D%7D@@media%20(min-width:768px)%20and%20(max-width:991px)%7Bbody%7Bfont-size:24px%7D%7D@@media%20(max-width:640px)%7B#page-wrapper%7Bwidth:100%25%7D%7D#header%7Bwidth:100%25;background-color:#fff;top:0;left:0;font-weight:600;z-index:99%7D@@media%20(min-width:992px)%7Bbody%7Bfont-size:14px%7D#header,#header%20.navbar-header%7Bheight:125px%7D%7D@@media%20(max-width:991px)%7B#header%20ul%7Bmargin:30px%200%200;padding:0%2015px%2020px;border-top:1px%20solid%20#dedede%7D%7D@@media%20(min-width:768px)%20and%20(max-width:991px)%7B#header%7Bmin-height:100px%7D#header%20.navbar-header%7Bheight:100px%7D#header%20li%7Btext-align:center;font-size:20px%7D%7D@@media%20(min-width:992px)%7B#header%20ul%7Bpadding-top:38px;padding-bottom:20px;float:right%7D#header%20li%7Bmargin:0%200%200%2040px;float:left;display:inline-block;font-size:14px%7D%7D@@media%20(min-width:768px)%20and%20(max-width:991px)%7B#header%20.navbar-header%20button%7Bmargin:25px%200%200%7D%7D@@media%20(max-width:767px)%7B#header%7Bmin-height:60px%7D#header%20.navbar-header%7Bheight:60px%7D#header%20li%7Btext-align:center;font-size:14px%7D#header%20.navbar-header%20button%7Bmargin:12px%200%200;padding:6px%7D%7D#header%20.navbar-collapse%7Bborder-top:0;overflow:hidden;padding:0%7D@@media%20(min-width:768px)%20and%20(max-width:991px)%7B#header%20.navbar-toggle%20.icon-bar%7Bwidth:45px;height:5px;margin:3px%200;clear:both;float:left%7D%7D@@media%20(max-width:767px)%7B#header%20.navbar-toggle%20.icon-bar%7Bwidth:30px;height:3px;margin:2px%200;clear:both;float:left%7D#header%20.navbar%7Bmargin:0%7D%7D#header%20.collapse%7Bheight:1px%7D#header%20.navbar%7Bborder:0;background-color:transparent;background-image:none;-webkit-box-shadow:none;box-shadow:none%7D#header%20a%7Bdisplay:inline-block;color:#000%7D@@media%20(max-width:991px)%7B#header%20a.btn,#header%20ul%20li.last%20a%7Bmargin:15px%200%200%7D#header%20a%7Bpadding:15px%200%7D%7D@@media%20(min-width:992px)%7B#header%20a%7Bpadding:15px%200%200%7D%7D#header%20a.navbar-brand%7Bpadding:0%7D#header%20a.navbar-brand%20img%7Bmargin-top:26px%7D@@media%20(min-width:768px)%20and%20(max-width:991px)%7B#header%20a.navbar-brand%20img%7Bwidth:160px;margin-top:25px%7D%7D@@media%20(max-width:767px)%7B#header%20a.navbar-brand%7Bpadding:0;overflow:hidden;max-height:46px%7D#header%20a.navbar-brand%20img%7Bmax-height:42px;margin-top:14px%7D%7D#header%20.btn%7Bpadding-top:0;color:#fff;-webkit-transition:background%20.2s;transition:background%20.2s;background-color:#000%7D@@media%20(max-width:991px)%7B#header%20.btn%7Bpadding-top:0%7D%7D#topbanner-container%7Bcolor:#000;position:relative;background:url(/files/templates/designs/home-install/images/homeinstall-top-2016.png)%2028%25%20top%20no-repeat;width:100%25;background-size:cover%7D@@media%20(min-width:768px)%7B#topbanner-container%7Bbackground-position:0%200%7D%7D@@media%20(min-width:992px)%7B#topbanner-container%7Bmargin:125px%200%200%7D%7D#topbanner-container,#topbanner-container%3E.container%7Bheight:580px%7D#topbanner-container%3E.container%7Bpadding-top:98px;position:relative%7D@@media%20(min-width:768px)%20and%20(max-width:991px)%7B#topbanner-container%7Bmargin:100px%200%200%7D#topbanner-container%3E.container%7Bpadding-top:78px%7D#topbanner-container%20span.title%7Bfont-size:20px;line-height:20px%7D%7D@@media%20(max-width:767px)%7B#topbanner-container%7Bmargin:60px%200%200%7D#topbanner-container,#topbanner-container%3E.container%7Bheight:280px%7D#topbanner-container%3E.container%7Bpadding-top:35px%7D%7Dsection.default%7Bpadding:100px%200%7D#topbanner%3Ediv%7Bz-index:2%7D#topbanner-container%20h2,#topbanner-container%20span.title%7Btext-transform:uppercase;letter-spacing:2px%7D#topbanner-container%20span.title%7Bfont-weight:700;font-size:20px;line-height:20px;margin-bottom:10px;display:block%7D@@media%20(max-width:767px)%7B#topbanner-container%20span.title%7Bfont-size:14px;line-height:14px%7D%7D#topbanner-container%20h2%7Bfont-size:68px;line-height:80px%7D.page-template-index%20#topbanner-container%20h2:after%7Bdisplay:none%7D@@media%20(min-width:768px)%20and%20(max-width:991px)%7B#topbanner-container%20h2%7Bfont-size:56px;line-height:68px%7D%7D@@media%20(max-width:767px)%7B#topbanner-container%20h2%7Bfont-size:30px;line-height:35px%7Dsection.default%7Bpadding:60px%200%7D%7D.supersize-background%7Bbackground-size:cover%7D.btn%7Bborder-radius:6px;text-transform:uppercase;font-weight:600;text-align:center;z-index:1;position:relative%7D*,nav%20ul%7Bpadding:0%7Da%7Bcolor:#37989e%7D.btn%7Bwidth:170px;height:50px;display:inline-block;line-height:50px%7D@@media%20(min-width:992px)%7B.btn%7Bfont-size:14px%7D%7D@@media%20(min-width:768px)%20and%20(max-width:991px)%7B.btn%7Bwidth:220px;height:60px;line-height:60px;margin:auto;display:block;font-size:18px%7D%7D@@media%20(max-width:767px){.btn{width:180px;height:50px;line-height:50px;margin:auto;display:block;font-size:14px}}*{margin:0;border-width:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:0;border-radius:0}html{overflow-y:scroll;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}ul{padding-left:18px}a,button{cursor:pointer}input{-webkit-appearance:none;-moz-appearance:none;appearance:none}button,input{font-family:inherit;font-size:100%}button{-webkit-appearance:button;cursor:pointer}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}header,nav,section{display:block}</style> 94 } 95 } 96 } 97 <link rel="stylesheet" href="/files/templates/designs/home-install/css/home-install.min.css"> 98 99 @SnippetEnd("csstop")*@ 100 <div id="topbanner" class="row">@GetValue("DwContent(topbanner)")</div> 101 <div id="content">@GetValue("DwContent(content)")</div> 102 <footer id="footer-container"> 103 <div class="container"> 104 <div class="row"> 105 <div id="footer">@GetValue("DwContent(footer)")</div> 106 </div> 107 </div> 108 </footer> 109 <div id="footer-bottom"> 110 <div class="container"> 111 <div class="row"> 112 <div class="col-md-4"> 113 <div> 114 &copy;<span>@(System.DateTime.Now.Year)</span> 115 <img src="/Files/Templates/Designs/home-install/./images/homeinstall-logo-footer.png"> 116 </div> 117 </div> 118 </div> 119 </div> 120 </div> 121 122 <nav class="global"> 123 <ul> 124 <li class="contact"> 125 <div class="icon"> 126 @if (System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("/files/templates/designs/home-install/images/icon-check-mark.svg"))) 127 { 128 <text>@System.IO.File.ReadAllText(System.Web.HttpContext.Current.Server.MapPath("/files/templates/designs/home-install/images/icon-check-mark.svg"))</text> 129 } 130 </div> 131 <div class="text"> 132 @Pageview.Area.Item["CTAText"] 133 </div> 134 </li> 135 </ul> 136 </nav> 137 </div> 138 <script src="/Files/Templates/Designs/home-install/js/home-install.async.min.js" async="" defer=""></script> 139 @if (System.Web.HttpContext.Current.Request.Cookies["hi-styles"] == null) { 140 System.Web.HttpContext.Current.Response.Cookies["hi-styles"].Value = "1"; 141 System.Web.HttpContext.Current.Response.Cookies["hi-styles"].Expires = DateTime.Now.AddDays(7); 142 143 <script type="text/javascript"> 144 var cb = function() { 145 var l = document.createElement('link'); l.rel = 'stylesheet'; 146 l.href = "/files/templates/designs/home-install/css/home-install.min.css"; 147 var h = document.getElementsByTagName('script')[0]; h.parentNode.insertBefore(l, h); 148 }; 149 150 setTimeout(function () { 151 var raf = requestAnimationFrame || mozRequestAnimationFrame || webkitRequestAnimationFrame || msRequestAnimationFrame; 152 if (raf) raf(cb); 153 else window.addEventListener('load', cb); 154 }, 500); 155 </script> 156 } 157 <script> 158 setTimeout(function () { 159 WebFontConfig = { 160 google: { families: [ 'Open+Sans:600,700,400:latin' ] } 161 }; 162 (function() { 163 var wf = document.createElement('script'); 164 wf.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js'; 165 wf.type = 'text/javascript'; 166 wf.async = 'true'; 167 var s = document.getElementsByTagName('script')[0]; 168 s.parentNode.insertBefore(wf, s); 169 })(); 170 }, 500); 171 </script> 172 </body> 173 </html>