diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 index 93821ad..08a4283 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ !var/SymfonyRequirements.php /vendor/ /web/bundles/ +/web/.sass-cache/ \ No newline at end of file diff --git a/app/Resources/translations/messages.en.yml b/app/Resources/translations/messages.en.yml new file mode 100755 index 0000000..a737ad3 --- /dev/null +++ b/app/Resources/translations/messages.en.yml @@ -0,0 +1,5 @@ +menu: + presentation: Presentation + rooms: Our Rooms + reservation: Book & Fees + information: Information \ No newline at end of file diff --git a/app/Resources/translations/messages.fr.yml b/app/Resources/translations/messages.fr.yml new file mode 100755 index 0000000..a2011da --- /dev/null +++ b/app/Resources/translations/messages.fr.yml @@ -0,0 +1,5 @@ +menu: + presentation: Présentation + rooms: Nos Chambres + reservation: Réservation & tarifs + information: Informations pratiques \ No newline at end of file diff --git a/app/Resources/views/base.html.twig b/app/Resources/views/base.html.twig index c1ce206..fc6706f 100755 --- a/app/Resources/views/base.html.twig +++ b/app/Resources/views/base.html.twig @@ -10,17 +10,13 @@ {% block title %}Villa Kleber{% endblock %} {% block all_stylesheets %} - - - - + {% block stylesheets %}{% endblock %} {% endblock %} - - + {% block favicon %}{% endblock %} + {% endblock %} \ No newline at end of file diff --git a/app/config/config.yml b/app/config/config.yml old mode 100644 new mode 100755 index 4c44687..96f4546 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -6,11 +6,11 @@ imports: # Put parameters here that don't need to change on each machine where the app is deployed # http://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration parameters: - locale: en + locale: fr framework: #esi: ~ - #translator: { fallbacks: ["%locale%"] } + translator: { fallbacks: ["%locale%"] } secret: "%secret%" router: resource: "%kernel.root_dir%/config/routing.yml" diff --git a/web/config.rb b/web/config.rb new file mode 100755 index 0000000..f89f6ca --- /dev/null +++ b/web/config.rb @@ -0,0 +1,24 @@ +# Require any additional compass plugins here. + +# Set this to the root of your project when deployed: +http_path = "/" +css_dir = "css" +sass_dir = "sass" +images_dir = "img" +javascripts_dir = "js" + +# You can select your preferred output style here (can be overridden via the command line): +# output_style = :expanded or :nested or :compact or :compressed + +# To enable relative paths to assets via compass helper functions. Uncomment: +# relative_assets = true + +# To disable debugging comments that display the original location of your selectors. Uncomment: +# line_comments = false + + +# If you prefer the indented syntax, you might want to regenerate this +# project again passing --syntax sass, or you can uncomment this: +# preferred_syntax = :sass +# and then run: +# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass diff --git a/web/css/footer.css b/web/css/footer.css deleted file mode 100755 index 5342a3c..0000000 --- a/web/css/footer.css +++ /dev/null @@ -1,121 +0,0 @@ -/** - * Footer stylesheet - */ - -#page-footer { - position: relative; - text-align: center; - padding: 3rem 0; - background: url('http://demo.newskythemes.com/myhouse/wp-content/uploads/2015/08/footer.jpg') no-repeat; -} - -#page-footer h2 { - font-family: 'Roboto', sans-serif; - cursor: pointer; - font-size: 2.2rem; - font-weight: 700; - text-transform: uppercase; - color: #fff; -} - -#page-footer h2 span { - font-family: 'Roboto', sans-serif; - cursor: pointer; - font-size: 2.2rem; - font-weight: 700; - text-transform: uppercase; - color: #f0542d; -} - -#page-footer h2:after { - content: ''; - display: block; - position: absolute; - width: 4.5rem; - height: 0.2rem; - left: 50%; - background: #f0542d; - margin-left: -2.25rem; - margin-top: 2.2rem; -} - -#page-footer p { - font-family: 'Roboto', sans-serif; - font-size: 1.6rem; - margin: 0; - color: #d3d2d2; - margin-top: 4rem; -} - -#page-footer .social { - margin-top: 2.5rem; - text-align: center; -} - -#page-footer .social a { - text-decoration: none; - display: inline-block; - width: 30px; - height: 30px; - margin: 2px; - border-radius: 50%; - background: none repeat scroll 0% 0% #f0542d; - transition: all 0.2s linear 0s; -} - -#page-footer .social a i { - font-size: 1.5rem; - line-height: 3rem; - color: #fff; -} - -#page-footer .social a:hover { - background: none repeat scroll 0% 0% #c93014; -} - -#page-footer:after { - position: absolute; - background-image: url('../img/triangle.png'); - top: 0; - left: 0; - width: 100%; - height: 0.4rem; - background-repeat: repeat-x; - content: ''; -} - -/* BACK TO TOP */ -#back-to-top { - display: block; - position: fixed; - height: 30px; - bottom: -80px; - right: 50px; - background: rgba(240, 84, 45, 0.9); - text-decoration: none; - border-radius: 3px; - z-index: 9999; - font-size: 20px; - line-height: 30px; - width: 30px; - text-align: center; - color: #fff; - cursor: pointer; - -webkit-transition: all 0.3s linear; - -moz-transition: all 0.3s linear; - -ms-transition: all 0.3s linear; - -o-transition: all 0.3s linear; - transition: all 0.3s linear; -} - -#back-to-top:before { - display: inline-block; - font: normal normal normal 14px/1 FontAwesome; - font-size: inherit; - text-rendering: auto; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - transform: translate(0, 0); - line-height: 1em; - content: "\f077"; -} \ No newline at end of file diff --git a/web/css/header.css b/web/css/header.css deleted file mode 100755 index 3498a05..0000000 --- a/web/css/header.css +++ /dev/null @@ -1,176 +0,0 @@ -/** - * Header stylesheet - * Header, menu, responsive styles - */ - -#page-header { - position: fixed; - top: 0; - width: 100%; - z-index: 99; - background: #fff; - padding-top: 15px; - padding-bottom: 15px; - transition: background 0.3s linear; - background: rgba(0, 0, 0, 0.9); -} - -#page-header .container { - position: relative; -} - -@media screen and (max-width: 992px) { - #page-header { - background: rgba(255, 255, 255, 0.97); - padding-top: 15px; - } -} - - -/* Logo */ -#logo { - float: left; - margin: 0; - padding: 0; - font-size: 25px; - padding-top: 2px; -} - -#logo a { - color: #FFFFFF; - font-family: 'Roboto', sans-serif; - font-weight: 800; - text-decoration: none; -} - - -/* Menu */ -#main-menu { - float: right; -} - -#main-menu ul { - margin: 0; - padding: 0; -} - -#main-menu li { - list-style: none; - float: left; - margin: 0 5px; -} - -#main-menu li a { - color: #FFFFFF; - font-size: 15px; - text-transform: uppercase; - padding: 5px 4px 2px 5px; - border-bottom: 2px solid transparent; - transition: border-color 0.2s linear; - display: inline-block; - font-family: 'Roboto', sans-serif; - font-weight: 800; - text-decoration: none; -} - -#main-menu li a:hover, -#main-menu li.active a { - color: #F0542D; - border-color: #F0542D; -} - -#main-menu li:last-of-type { - margin-right: 0; -} - -@media screen and (max-width: 992px) { - #main-menu { - display: none; - width: 100%; - margin-right: 0; - } - - #main-menu li { - float: none; - width: 100%; - text-align: center; - margin: 0; - padding-left: 20px; - padding-right: 30px; - } - - #main-menu li a { - padding: 17px 0; - display: block; - border: none; - border-top: 1px solid #196575; - transition: color 0.2s linear, background 0.2s linear; - font-size: 11px; - } - - #main-menu li a:hover { - background: #196575; - color: #fff; - } -} - -@media screen and (max-width: 1200px) { - #main-menu li { - margin: 0; - } - - #main-menu li a { - font-size: 9px; - } -} - - -/* Menu button */ -#menu-responsive { - width: 30px; - height: 18px; - position: absolute; - right: 15px; - display: none; - cursor: pointer; - margin-top: 1px; -} - -#menu-responsive span { - height: 2px; - margin-top: 10px; - background: #03dcd4; - display: block; - position: relative; - top: 0; - transition: all 500ms ease-out; -} - -@media screen and (max-width: 992px) { - #menu-responsive { - display: block; - } -} - -#menu-responsive span:first-child { - margin-top: 0; -} - -#menu-responsive.active span:nth-child(1) { - -webkit-transform: rotate(45deg); - -ms-transform: rotate(45deg); - transform: rotate(45deg); - top: 7px; -} - -#menu-responsive.active span:nth-child(2) { - opacity: 0; - top: 7px; -} - -#menu-responsive.active span:nth-child(3) { - -webkit-transform: rotate(-45deg); - -ms-transform: rotate(-45deg); - transform: rotate(-45deg); - top: -17px; -} \ No newline at end of file diff --git a/web/css/ie.css b/web/css/ie.css new file mode 100644 index 0000000..5cd5b6c --- /dev/null +++ b/web/css/ie.css @@ -0,0 +1,5 @@ +/* Welcome to Compass. Use this file to write IE specific override styles. + * Import this file using the following HTML or equivalent: + * */ diff --git a/web/css/main.css b/web/css/main.css new file mode 100644 index 0000000..3d300f4 --- /dev/null +++ b/web/css/main.css @@ -0,0 +1,608 @@ +/** + * Main stylesheet file. + */ +/** + * Variables + */ +/** + * html5doctor.com Reset Stylesheet + * v1.6.1 + * Last Updated: 2010-09-17 + * Author: Richard Clark - http://richclarkdesign.com + * Twitter: @rich_clark + */ +/* line 20, ../sass/partials/_reset.scss */ +html, body, div, span, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +abbr, address, cite, code, +del, dfn, em, img, ins, kbd, q, samp, +small, strong, sub, sup, var, +b, i, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, figcaption, figure, +footer, header, hgroup, menu, nav, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + outline: 0; + font-size: 100%; + vertical-align: baseline; + background: transparent; +} + +/* line 30, ../sass/partials/_reset.scss */ +body { + line-height: 1; +} + +/* line 35, ../sass/partials/_reset.scss */ +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} + +/* line 39, ../sass/partials/_reset.scss */ +nav ul { + list-style: none; +} + +/* line 43, ../sass/partials/_reset.scss */ +blockquote, q { + quotes: none; +} + +/* line 48, ../sass/partials/_reset.scss */ +blockquote:before, blockquote:after, +q:before, q:after { + content: ''; + content: none; +} + +/* line 53, ../sass/partials/_reset.scss */ +a { + margin: 0; + padding: 0; + font-size: 100%; + vertical-align: baseline; + background: transparent; +} + +/* change colours to suit your needs */ +/* line 62, ../sass/partials/_reset.scss */ +ins { + background-color: #ff9; + color: #000; + text-decoration: none; +} + +/* change colours to suit your needs */ +/* line 69, ../sass/partials/_reset.scss */ +mark { + background-color: #ff9; + color: #000; + font-style: italic; + font-weight: bold; +} + +/* line 76, ../sass/partials/_reset.scss */ +del { + text-decoration: line-through; +} + +/* line 80, ../sass/partials/_reset.scss */ +abbr[title], dfn[title] { + border-bottom: 1px dotted; + cursor: help; +} + +/* line 85, ../sass/partials/_reset.scss */ +table { + border-collapse: collapse; + border-spacing: 0; +} + +/* change border colour to suit your needs */ +/* line 91, ../sass/partials/_reset.scss */ +hr { + display: block; + height: 1px; + border: 0; + border-top: 1px solid #cccccc; + margin: 1em 0; + padding: 0; +} + +/* line 100, ../sass/partials/_reset.scss */ +input, select { + vertical-align: middle; +} + +/** + * Global styling. + */ +/* line 5, ../sass/partials/_global.scss */ +body { + background: #02080d; + color: #fef9f0; + font-family: "News Cycle", Verdana, Tahoma, "DejaVu Sans", sans-serif; + font-size: 16px; + line-height: 24px; +} + +/* line 13, ../sass/partials/_global.scss */ +img { + max-width: 100%; +} + +/* line 17, ../sass/partials/_global.scss */ +a { + color: #025d8c; + transition: color 0.2s linear; +} +/* line 21, ../sass/partials/_global.scss */ +a:hover { + color: #038fd7; + text-decoration: none; +} + +/** + * Typography related styles. + */ +/* line 5, ../sass/partials/_typography.scss */ +h1, h2, h3, h4, h5, h6 { + font-family: "Advent Pro", Verdana, Tahoma, "DejaVu Sans", sans-serif; +} + +/* line 9, ../sass/partials/_typography.scss */ +h1 { + font-size: 32px; +} + +/* line 13, ../sass/partials/_typography.scss */ +h2 { + font-size: 24px; +} + +/* line 17, ../sass/partials/_typography.scss */ +h3 { + font-size: 18.72px; +} + +/* line 21, ../sass/partials/_typography.scss */ +h4 { + font-size: 16px; +} + +/* line 25, ../sass/partials/_typography.scss */ +h5 { + font-size: 13.28px; +} + +/* line 29, ../sass/partials/_typography.scss */ +h6 { + font-size: 10.72px; +} + +/* Helper classes */ +/* line 35, ../sass/partials/_typography.scss */ +.secondary-color { + color: #025d8c; +} + +/* line 39, ../sass/partials/_typography.scss */ +.section-title { + text-align: center; + font-family: "Advent Pro", Verdana, Tahoma, "DejaVu Sans", sans-serif; + color: #025d8c; +} +/* line 44, ../sass/partials/_typography.scss */ +.section-title h1, .section-title h2, .section-title h3, .section-title h4, .section-title h5, .section-title h6 { + font-size: 3rem; + font-weight: 300; + text-transform: uppercase; + position: relative; + z-index: 0; + margin-bottom: 5rem; + margin-top: 6rem; +} +/* line 53, ../sass/partials/_typography.scss */ +.section-title h1 span, .section-title h2 span, .section-title h3 span, .section-title h4 span, .section-title h5 span, .section-title h6 span { + position: absolute; + font-size: 9rem; + font-weight: 700; + color: rgba(2, 93, 140, 0.1); + left: 50%; + top: 40%; + -moz-transform: translate(-50%, -50%); + -webkit-transform: translate(-50%, -50%); + -ms-transform: translate(-50%, -50%); + -o-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + z-index: -1; +} +/* line 68, ../sass/partials/_typography.scss */ +.section-title h1 span.hr, .section-title h2 span.hr, .section-title h3 span.hr, .section-title h4 span.hr, .section-title h5 span.hr, .section-title h6 span.hr { + width: 12rem; + margin: 0; + display: block; + position: absolute; + height: 0.1rem; + background: rgba(2, 93, 140, 0.1); + left: 50%; + top: 50%; + z-index: -1; + transform: translateX(-50%) translateY(-50%) rotate(-45deg); + -moz-transform: translateX(-50%) translateY(-50%) rotate(-45deg); +} + +/** + * WYSIWYG related styles. + */ +/* line 5, ../sass/partials/_wysiwyg.scss */ +.text-image { + margin-bottom: 20px; + transition: border-color 0.2s linear; +} +/* line 9, ../sass/partials/_wysiwyg.scss */ +.text-image.text-image-right { + float: right; + margin-left: 20px; + border-left: 4px solid #025d8c; +} +/* line 14, ../sass/partials/_wysiwyg.scss */ +.text-image.text-image-right:hover { + border-left-color: #038fd7; +} +/* line 19, ../sass/partials/_wysiwyg.scss */ +.text-image.text-image-left { + float: left; + margin-right: 20px; + border-right: 4px solid #025d8c; +} +/* line 24, ../sass/partials/_wysiwyg.scss */ +.text-image.text-image-left:hover { + border-right-color: #038fd7; +} + +/** + * Header stylesheet + * Header, menu, responsive styles + */ +/* line 6, ../sass/partials/_header.scss */ +#page-header { + position: fixed; + top: 0; + width: 100%; + z-index: 99; + background: #fff; + padding-top: 15px; + padding-bottom: 15px; + transition: background 0.3s linear; + background: rgba(2, 8, 13, 0.9); +} +/* line 17, ../sass/partials/_header.scss */ +#page-header .container { + position: relative; +} + +/* Logo */ +/* line 23, ../sass/partials/_header.scss */ +#logo { + float: left; + margin: 0; + padding: 0; + font-size: 25px; + padding-top: 2px; +} +/* line 30, ../sass/partials/_header.scss */ +#logo a { + color: #fef9f0; + font-weight: 800; + text-decoration: none; +} + +/* Menu */ +/* line 38, ../sass/partials/_header.scss */ +#main-menu { + float: right; +} +/* line 41, ../sass/partials/_header.scss */ +#main-menu ul { + margin: 0; + padding: 0; +} +/* line 45, ../sass/partials/_header.scss */ +#main-menu ul li { + list-style: none; + float: left; + margin: 0 5px; +} +/* line 50, ../sass/partials/_header.scss */ +#main-menu ul li a { + color: #fef9f0; + font-size: 15px; + text-transform: uppercase; + padding: 5px 4px 2px 5px; + transition: color 0.2s linear; + display: inline-block; + font-weight: 400; + text-decoration: none; +} +/* line 62, ../sass/partials/_header.scss */ +#main-menu ul li.active a, #main-menu ul li a:hover { + color: #025d8c; +} +/* line 66, ../sass/partials/_header.scss */ +#main-menu ul li:last-of-type { + margin-right: 0; +} +@media screen and (max-width: 992px) { + /* line 73, ../sass/partials/_header.scss */ + #main-menu { + display: none; + width: 100%; + margin-right: 0; + } + /* line 78, ../sass/partials/_header.scss */ + #main-menu ul li { + float: none; + width: 100%; + text-align: center; + margin: 0; + padding-left: 20px; + padding-right: 30px; + } +} +@media screen and (max-width: 1200px) { + /* line 90, ../sass/partials/_header.scss */ + #main-menu ul li { + margin: 0; + } + /* line 93, ../sass/partials/_header.scss */ + #main-menu ul li a { + font-size: 9px; + } +} + +/* Menu button */ +/* line 101, ../sass/partials/_header.scss */ +#menu-responsive { + width: 30px; + height: 18px; + position: absolute; + right: 15px; + display: none; + cursor: pointer; + margin-top: 1px; +} +/* line 110, ../sass/partials/_header.scss */ +#menu-responsive span { + height: 2px; + margin-top: 10px; + background: #025d8c; + display: block; + position: relative; + top: 0; + transition: all 500ms ease-out; +} +/* line 119, ../sass/partials/_header.scss */ +#menu-responsive span:first-child { + margin-top: 0; +} +/* line 125, ../sass/partials/_header.scss */ +#menu-responsive.active span:nth-child(1) { + -webkit-transform: rotate(45deg); + -ms-transform: rotate(45deg); + transform: rotate(45deg); + top: 7px; +} +/* line 132, ../sass/partials/_header.scss */ +#menu-responsive.active span:nth-child(2) { + opacity: 0; + top: 7px; +} +/* line 137, ../sass/partials/_header.scss */ +#menu-responsive.active span:nth-child(3) { + -webkit-transform: rotate(-45deg); + -ms-transform: rotate(-45deg); + transform: rotate(-45deg); + top: -17px; +} +@media screen and (max-width: 992px) { + /* line 146, ../sass/partials/_header.scss */ + #menu-responsive { + display: block; + } +} + +/** + * Footer stylesheet + */ +/* line 5, ../sass/partials/_footer.scss */ +#page-footer { + position: relative; + text-align: center; + padding-top: 50px; + padding-bottom: 50px; + background: url("../img/footer.jpg"); + background-size: cover; + border-top: rgba(2, 93, 140, 0.5) 2px solid; +} +/* line 14, ../sass/partials/_footer.scss */ +#page-footer h2 { + cursor: pointer; + font-size: 2.2rem; + font-weight: 700; + text-transform: uppercase; + color: #fef9f0; +} +/* line 21, ../sass/partials/_footer.scss */ +#page-footer h2 span { + cursor: pointer; + font-size: 2.2rem; + font-weight: 700; + text-transform: uppercase; + color: #025d8c; +} +/* line 29, ../sass/partials/_footer.scss */ +#page-footer h2:after { + content: ''; + display: block; + position: absolute; + width: 4.5rem; + height: 0.2rem; + left: 50%; + background: #025d8c; + margin-left: -2.25rem; + margin-top: 20px; +} +/* line 42, ../sass/partials/_footer.scss */ +#page-footer p { + margin-top: 40px; +} +/* line 46, ../sass/partials/_footer.scss */ +#page-footer .social { + margin-top: 20px; + text-align: center; +} +/* line 50, ../sass/partials/_footer.scss */ +#page-footer .social a { + text-decoration: none; + display: inline-block; + width: 30px; + height: 30px; + margin: 2px; + border-radius: 50%; + background: none repeat scroll 0 0 #025d8c; + transition: all 0.2s linear 0s; +} +/* line 60, ../sass/partials/_footer.scss */ +#page-footer .social a i { + font-size: 1rem; + line-height: 2rem; + color: #fef9f0; +} +/* line 66, ../sass/partials/_footer.scss */ +#page-footer .social a:hover { + background: none repeat scroll 0 0 #038fd7; +} + +/* BACK TO TOP */ +/* line 74, ../sass/partials/_footer.scss */ +#back-to-top { + display: block; + position: fixed; + height: 30px; + bottom: -80px; + right: 50px; + background: #025d8c; + text-decoration: none; + border-radius: 3px; + z-index: 9999; + font-size: 20px; + line-height: 25px; + width: 30px; + text-align: center; + color: #fef9f0; + cursor: pointer; + transition: all 0.3s linear; +} +/* line 92, ../sass/partials/_footer.scss */ +#back-to-top:before { + display: inline-block; + font: normal normal normal 14px/1 FontAwesome; + font-size: inherit; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + transform: translate(0, 0); + line-height: 1em; + content: "\f077"; +} +/* line 104, ../sass/partials/_footer.scss */ +#back-to-top:hover { + background: #038fd7; +} + +/** + * Homepage styles. + */ +/* Room preview section */ +/* line 6, ../sass/components/_homepage.scss */ +.room-preview { + /* Room color specifics */ +} +/* line 7, ../sass/components/_homepage.scss */ +.room-preview .room-preview-title { + margin-bottom: 10px; +} +/* line 10, ../sass/components/_homepage.scss */ +.room-preview .room-preview-title h3 { + font-size: 2rem; + text-align: center; +} +/* line 14, ../sass/components/_homepage.scss */ +.room-preview .room-preview-title h3 span, .room-preview .room-preview-title h3 i { + font-weight: 300; +} +/* line 18, ../sass/components/_homepage.scss */ +.room-preview .room-preview-title h3 i { + padding-right: 10px; +} +/* line 24, ../sass/components/_homepage.scss */ +.room-preview .room-preview-image { + border-bottom: 4px solid #025d8c; + transition: border-color 0.2s linear; +} +/* line 29, ../sass/components/_homepage.scss */ +.room-preview .room-preview-desc { + margin-top: 10px; +} +/* line 32, ../sass/components/_homepage.scss */ +.room-preview .room-preview-desc:first-letter { + font-weight: 800; + font-size: 20px; +} +/* line 38, ../sass/components/_homepage.scss */ +.room-preview .room-preview-link { + margin-top: 10px; +} +/* line 41, ../sass/components/_homepage.scss */ +.room-preview .room-preview-link a { + color: inherit; +} +/* line 50, ../sass/components/_homepage.scss */ +.room-preview.room-preview-red .room-preview-link, +.room-preview.room-preview-red .room-preview-title { + color: #a40802; +} +/* line 54, ../sass/components/_homepage.scss */ +.room-preview.room-preview-red .room-preview-image { + border-bottom-color: #a40802; +} +/* line 61, ../sass/components/_homepage.scss */ +.room-preview.room-preview-green .room-preview-link, +.room-preview.room-preview-green .room-preview-title { + color: #04ac6b; +} +/* line 65, ../sass/components/_homepage.scss */ +.room-preview.room-preview-green .room-preview-image { + border-bottom-color: #04ac6b; +} +/* line 72, ../sass/components/_homepage.scss */ +.room-preview.room-preview-blue .room-preview-link, +.room-preview.room-preview-blue .room-preview-title { + color: #025d8c; +} +/* line 76, ../sass/components/_homepage.scss */ +.room-preview.room-preview-blue .room-preview-image { + border-bottom-color: #025d8c; +} + +/* line 19, ../sass/main.scss */ +body { + margin-top: 60px; +} diff --git a/web/css/partials/global.css b/web/css/partials/global.css new file mode 100644 index 0000000..e69de29 diff --git a/web/css/print.css b/web/css/print.css old mode 100755 new mode 100644 index fb759d7..b0e9e45 --- a/web/css/print.css +++ b/web/css/print.css @@ -1,3 +1,3 @@ -/** - * Print stylesheet - */ +/* Welcome to Compass. Use this file to define print styles. + * Import this file using the following HTML or equivalent: + * */ diff --git a/web/css/styles.css b/web/css/styles.css deleted file mode 100755 index e8a6d61..0000000 --- a/web/css/styles.css +++ /dev/null @@ -1,11 +0,0 @@ -/** - * Global stylesheet - */ - -body { - margin-top: 60px; -} - -.second-color { - color: #F0542D; -} \ No newline at end of file diff --git a/web/img/footer.jpg b/web/img/footer.jpg new file mode 100755 index 0000000..bda1cff Binary files /dev/null and b/web/img/footer.jpg differ diff --git a/web/img/photos/photo1.jpg b/web/img/photos/photo1.jpg new file mode 100755 index 0000000..79e1e8e Binary files /dev/null and b/web/img/photos/photo1.jpg differ diff --git a/web/img/photos/photo10.jpg b/web/img/photos/photo10.jpg new file mode 100755 index 0000000..ed7eae0 Binary files /dev/null and b/web/img/photos/photo10.jpg differ diff --git a/web/img/photos/photo11.jpg b/web/img/photos/photo11.jpg new file mode 100755 index 0000000..51dd49b Binary files /dev/null and b/web/img/photos/photo11.jpg differ diff --git a/web/img/photos/photo12.jpg b/web/img/photos/photo12.jpg new file mode 100755 index 0000000..94273d8 Binary files /dev/null and b/web/img/photos/photo12.jpg differ diff --git a/web/img/photos/photo13.jpg b/web/img/photos/photo13.jpg new file mode 100755 index 0000000..1984e00 Binary files /dev/null and b/web/img/photos/photo13.jpg differ diff --git a/web/img/photos/photo14.jpg b/web/img/photos/photo14.jpg new file mode 100755 index 0000000..681897a Binary files /dev/null and b/web/img/photos/photo14.jpg differ diff --git a/web/img/photos/photo15.jpg b/web/img/photos/photo15.jpg new file mode 100755 index 0000000..1701539 Binary files /dev/null and b/web/img/photos/photo15.jpg differ diff --git a/web/img/photos/photo16.jpg b/web/img/photos/photo16.jpg new file mode 100755 index 0000000..6b7cd23 Binary files /dev/null and b/web/img/photos/photo16.jpg differ diff --git a/web/img/photos/photo17.jpg b/web/img/photos/photo17.jpg new file mode 100755 index 0000000..ce62c48 Binary files /dev/null and b/web/img/photos/photo17.jpg differ diff --git a/web/img/photos/photo18.jpg b/web/img/photos/photo18.jpg new file mode 100755 index 0000000..5fa0381 Binary files /dev/null and b/web/img/photos/photo18.jpg differ diff --git a/web/img/photos/photo19.jpg b/web/img/photos/photo19.jpg new file mode 100755 index 0000000..fa77a02 Binary files /dev/null and b/web/img/photos/photo19.jpg differ diff --git a/web/img/photos/photo2.jpg b/web/img/photos/photo2.jpg new file mode 100755 index 0000000..dc64050 Binary files /dev/null and b/web/img/photos/photo2.jpg differ diff --git a/web/img/photos/photo20.jpg b/web/img/photos/photo20.jpg new file mode 100755 index 0000000..3579d86 Binary files /dev/null and b/web/img/photos/photo20.jpg differ diff --git a/web/img/photos/photo21.jpg b/web/img/photos/photo21.jpg new file mode 100755 index 0000000..a338312 Binary files /dev/null and b/web/img/photos/photo21.jpg differ diff --git a/web/img/photos/photo22.jpg b/web/img/photos/photo22.jpg new file mode 100755 index 0000000..cbd6d25 Binary files /dev/null and b/web/img/photos/photo22.jpg differ diff --git a/web/img/photos/photo23.jpg b/web/img/photos/photo23.jpg new file mode 100755 index 0000000..39f2a8c Binary files /dev/null and b/web/img/photos/photo23.jpg differ diff --git a/web/img/photos/photo24.jpg b/web/img/photos/photo24.jpg new file mode 100755 index 0000000..80cf621 Binary files /dev/null and b/web/img/photos/photo24.jpg differ diff --git a/web/img/photos/photo3.jpg b/web/img/photos/photo3.jpg new file mode 100755 index 0000000..abeac79 Binary files /dev/null and b/web/img/photos/photo3.jpg differ diff --git a/web/img/photos/photo4.jpg b/web/img/photos/photo4.jpg new file mode 100755 index 0000000..6f2e1d1 Binary files /dev/null and b/web/img/photos/photo4.jpg differ diff --git a/web/img/photos/photo5.jpg b/web/img/photos/photo5.jpg new file mode 100755 index 0000000..7a28308 Binary files /dev/null and b/web/img/photos/photo5.jpg differ diff --git a/web/img/photos/photo6.jpg b/web/img/photos/photo6.jpg new file mode 100755 index 0000000..94b949d Binary files /dev/null and b/web/img/photos/photo6.jpg differ diff --git a/web/img/photos/photo7.jpg b/web/img/photos/photo7.jpg new file mode 100755 index 0000000..1a8a835 Binary files /dev/null and b/web/img/photos/photo7.jpg differ diff --git a/web/img/photos/photo8.jpg b/web/img/photos/photo8.jpg new file mode 100755 index 0000000..0de7638 Binary files /dev/null and b/web/img/photos/photo8.jpg differ diff --git a/web/js/main.js b/web/js/main.js index 613c3cb..b3cef21 100755 --- a/web/js/main.js +++ b/web/js/main.js @@ -7,7 +7,7 @@ // Go to top button $(window).load(function () { $(window).scroll(function () { - if ($(document).scrollTop() > 300) { + if ($(document).scrollTop() > 0) { $('#back-to-top').css({bottom: "50px"}); } else { diff --git a/web/libs/royalslider/blank.gif b/web/libs/royalslider/blank.gif new file mode 100755 index 0000000..75b945d Binary files /dev/null and b/web/libs/royalslider/blank.gif differ diff --git a/web/libs/royalslider/grab.png b/web/libs/royalslider/grab.png new file mode 100755 index 0000000..42456ef Binary files /dev/null and b/web/libs/royalslider/grab.png differ diff --git a/web/libs/royalslider/grabbing.png b/web/libs/royalslider/grabbing.png new file mode 100755 index 0000000..88b3308 Binary files /dev/null and b/web/libs/royalslider/grabbing.png differ diff --git a/web/libs/royalslider/jquery.royalslider.min.js b/web/libs/royalslider/jquery.royalslider.min.js new file mode 100755 index 0000000..58e5d83 --- /dev/null +++ b/web/libs/royalslider/jquery.royalslider.min.js @@ -0,0 +1,120 @@ +// jquery.royalslider v9.5.7 +(function(n){function v(b,f){var c,a=this,e=window.navigator,g=e.userAgent.toLowerCase();a.uid=n.rsModules.uid++;a.ns=".rs"+a.uid;var d=document.createElement("div").style,h=["webkit","Moz","ms","O"],k="",l=0,q;for(c=0;ca.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)|| + [];return{browser:a[1]||"",version:a[2]||"0"}}(g);h={};c.browser&&(h[c.browser]=!0,h.version=c.version);h.chrome&&(h.webkit=!0);a._a=h;a.isAndroid=-1 +a.numSlides-1&&(a.st.startSlideId=a.numSlides-1):a.st.startSlideId=0;a._o=a.staticSlideId=a.currSlideId=a._u=a.st.startSlideId;a.currSlide=a.slides[a.currSlideId];a._v=0;a.pointerMultitouch=!1;a.slider.addClass((a._h?"rsHor":"rsVer")+(a._l?"":" rsFade"));d='
';a.slidesSpacing=a.st.slidesSpacing;a._w=(a._h?a.slider.width():a.slider.height())+a.st.slidesSpacing;a._x=Boolean(0=a.numSlides&&(a._z=!1);a._a1=a._z&&a._l?2===a.numSlides?1:2:0;a._b1= + 6>a.numSlides?a.numSlides:6;a._c1=0;a._d1=0;a.slidesJQ=[];for(c=0;c
'));a._e1=d=n(d+"
");var m=a.ns,k=function(b,c,d,e,f){a._j1=b+c+m;a._k1=b+d+m;a._l1=b+e+m;f&&(a._m1=b+f+m)};c=e.pointerEnabled;a.pointerEnabled=c||e.msPointerEnabled;a.pointerEnabled?(a.hasTouch=!1,a._n1=.2,a.pointerMultitouch=Boolean(1');e=a._p1.children(".rsSlide");a._r1=a.slidesJQ[a.currSlideId];a._s1=0;a._e?(a._t1="transition-property",a._u1="transition-duration",a._v1="transition-timing-function",a._w1=a._x1=a._g+"transform",a._f?(h.webkit&&!h.chrome&&a.slider.addClass("rsWebkit3d"), + a._y1="translate3d(",a._z1="px, ",a._a2="px, 0px)"):(a._y1="translate(",a._z1="px, ",a._a2="px)"),a._l?a._p1[a._g+a._t1]=a._g+"transform":(h={},h[a._g+a._t1]="opacity",h[a._g+a._u1]=a.st.transitionSpeed+"ms",h[a._g+a._v1]=a.st.css3easeInOut,e.css(h))):(a._x1="left",a._w1="top");var p;n(window).on("resize"+a.ns,function(){p&&clearTimeout(p);p=setTimeout(function(){a.updateSliderSize()},50)});a.ev.trigger("rsAfterPropsSetup");a.updateSliderSize();a.st.keyboardNavEnabled&&a._b2();a.st.arrowsNavHideOnTouch&& +(a.hasTouch||a.pointerMultitouch)&&(a.st.arrowsNav=!1);a.st.arrowsNav&&(e=a._o1,n('
').appendTo(e),a._c2=e.children(".rsArrowLeft").click(function(b){b.preventDefault();a.prev()}),a._d2=e.children(".rsArrowRight").click(function(b){b.preventDefault();a.next()}),a.st.arrowsNavAutoHide&&!a.hasTouch&&(a._c2.addClass("rsHidden"),a._d2.addClass("rsHidden"),e.one("mousemove.arrowshover", + function(){a._c2.removeClass("rsHidden");a._d2.removeClass("rsHidden")}),e.hover(function(){a._e2||(a._c2.removeClass("rsHidden"),a._d2.removeClass("rsHidden"))},function(){a._e2||(a._c2.addClass("rsHidden"),a._d2.addClass("rsHidden"))})),a.ev.on("rsOnUpdateNav",function(){a._f2()}),a._f2());if(a.hasTouch&&a.st.sliderTouch||!a.hasTouch&&a.st.sliderDrag)a._p1.on(a._j1,function(b){a._g2(b)});else a.dragSuccess=!1;var r=["rsPlayBtnIcon","rsPlayBtn","rsCloseVideoBtn","rsCloseVideoIcn"];a._p1.click(function(b){if(!a.dragSuccess){var c= + n(b.target).attr("class");if(-1!==n.inArray(c,r)&&a.toggleVideo())return!1;if(a.st.navigateByClick&&!a._h2){if(n(b.target).closest(".rsNoDrag",a._r1).length)return!0;a._i2(b)}a.ev.trigger("rsSlideClick",b)}}).on("click.rs","a",function(b){if(a.dragSuccess)return!1;a._h2=!0;setTimeout(function(){a._h2=!1},3)});a.ev.trigger("rsAfterInit")}n.rsModules||(n.rsModules={uid:0});v.prototype={constructor:v,_i2:function(b){b=b[this._h?"pageX":"pageY"]-this._j2;b>=this._q?this.next():0>b&&this.prev()},_t:function(){var b; + b=this.st.numImagesToPreload;if(this._z=this.st.loop)2===this.numSlides?(this._z=!1,this.st.loopRewind=!0):2>this.numSlides&&(this.st.loopRewind=this._z=!1);this._z&&0=this.numSlides?b=1:this.st.numImagesToPreload>(this.numSlides-1)/2&&(b=Math.floor((this.numSlides-1)/2)));this._y=b},_s:function(b,f){function c(b,c){c?g.images.push(b.attr(c)):g.images.push(b.text());if(h){h=!1;g.caption="src"===c?b.attr("alt"):b.contents();g.image=g.images[0];g.videoURL=b.attr("data-rsVideo");var d=b.attr("data-rsw"), + e=b.attr("data-rsh");"undefined"!==typeof d&&!1!==d&&"undefined"!==typeof e&&!1!==e?(g.iW=parseInt(d,10),g.iH=parseInt(e,10)):a.st.imgWidth&&a.st.imgHeight&&(g.iW=a.st.imgWidth,g.iH=a.st.imgHeight)}}var a=this,e,g={},d,h=!0;b=n(b);a._k2=b;a.ev.trigger("rsBeforeParseNode",[b,g]);if(!g.stopParsing)return b=a._k2,g.id=a._r,g.contentAdded=!1,a._r++,g.images=[],g.isBig=!1,g.hasCover||(b.hasClass("rsImg")?(d=b,e=!0):(d=b.find(".rsImg"),d.length&&(e=!0)),e?(g.bigImage=d.eq(0).attr("data-rsBigImg"),d.each(function(){var a= + n(this);a.is("a")?c(a,"href"):a.is("img")?c(a,"src"):c(a)})):b.is("img")&&(b.addClass("rsImg rsMainSlideImage"),c(b,"src"))),d=b.find(".rsCaption"),d.length&&(g.caption=d.remove()),g.content=b,a.ev.trigger("rsAfterParseNode",[b,g]),f&&a.slides.push(g),0===g.images.length&&(g.isLoaded=!0,g.isRendered=!1,g.isLoading=!1,g.images=null),g},_b2:function(){var b=this,f,c,a=function(a){37===a?b.prev():39===a&&b.next()};b._b.on("keydown"+b.ns,function(e){if(!b.st.keyboardNavEnabled)return!0;if(!(b._l2||(c= + e.keyCode,37!==c&&39!==c||f))){if(document.activeElement&&/(INPUT|SELECT|TEXTAREA)/i.test(document.activeElement.tagName))return!0;b.isFullscreen&&e.preventDefault();a(c);f=setInterval(function(){a(c)},700)}}).on("keyup"+b.ns,function(a){f&&(clearInterval(f),f=null)})},goTo:function(b,f){b!==this.currSlideId&&this._m2(b,this.st.transitionSpeed,!0,!f)},destroy:function(b){this.ev.trigger("rsBeforeDestroy");this._b.off("keydown"+this.ns+" keyup"+this.ns+" "+this._k1+" "+this._l1);this._p1.off(this._j1+ + " click");this.slider.data("royalSlider",null);n.removeData(this.slider,"royalSlider");n(window).off("resize"+this.ns);this.loadingTimeout&&clearTimeout(this.loadingTimeout);b&&this.slider.remove();this.ev=this.slider=this.slides=null},_n2:function(b,f){function c(c,f,g){c.isAdded?(a(f,c),e(f,c)):(g||(g=d.slidesJQ[f]),c.holder?g=c.holder:(g=d.slidesJQ[f]=n(g),c.holder=g),c.appendOnLoaded=!1,e(f,c,g),a(f,c),d._p2(c,g,b),c.isAdded=!0)}function a(a,c){c.contentAdded||(d.setItemHtml(c,b),b||(c.contentAdded= + !0))}function e(a,b,c){d._l&&(c||(c=d.slidesJQ[a]),c.css(d._i,(a+d._d1+p)*d._w))}function g(a){if(l){if(a>q-1)return g(a-q);if(0>a)return g(q+a)}return a}var d=this,h,k,l=d._z,q=d.numSlides;if(!isNaN(f))return g(f);var m=d.currSlideId,p,r=b?Math.abs(d._o2-d.currSlideId)>=d.numSlides-1?0:1:d._y,t=Math.min(2,r),w=!1,v=!1,u;for(k=m;km-1-t;k--)if(u=g(k),(h=d.slides[u])&&(!h.isAdded||!h.positionSet)){v=!0;break}if(w)for(k= + m;km-1-r;k--)u=g(k),p=Math.floor((d._u-(m-k))/q)*q,(h=d.slides[u])&&c(h,u);if(!b)for(t=g(m-r),m=g(m+r),r=t>m?0:t,k=0;km&&k>t-1||!(km)||(h=d.slides[k])&&h.holder&&(h.holder.detach(),h.isAdded=!1)},setItemHtml:function(b,f){var c=this,a=function(){if(!b.images)b.isRendered=!0,b.isLoaded=!0,b.isLoading=!1,d(!0);else if(!b.isLoading){var a,f;b.content.hasClass("rsImg")?(a=b.content, + f=!0):a=b.content.find(".rsImg:not(img)");a&&!a.is("img")&&a.each(function(){var a=n(this),c='';f?b.content=n(c):a.replaceWith(c)});a=f?b.content:b.content.find("img.rsImg");k();a.eq(0).addClass("rsMainSlideImage");b.iW&&b.iH&&(b.isLoaded||c._q2(b),d());b.isLoading=!0;if(b.isBig)n("").on("load.rs error.rs",function(a){n(this).off("load.rs error.rs");e([this],!0)}).attr("src",b.image);else{b.loaded=[];b.numStartedLoad=0;a=function(a){n(this).off("load.rs error.rs"); + b.loaded.push(this);b.loaded.length===b.numStartedLoad&&e(b.loaded,!1)};for(var g=0;g");b.numStartedLoad++;h.on("load.rs error.rs",a).attr("src",b.images[g])}}}},e=function(a,c){if(a.length){var d=a[0];if(c!==b.isBig)(d=b.holder.children())&&1this._n3?g=this._h3+a*this._n1:g=this.currSlideId&&0=this.numSlides-1&&0>d-this._d3&&(g=this._h3+a*this._n1));this._h3=g;200a){if(!g)b.preventDefault(), + c._z2="y";else if(e){c._v3(b);return}c._l3=!0}}},_v3:function(b,f){this._r3=!0;this._a3=this._l2=!1;this._y2(b)},_y2:function(b,f){function c(a){return 100>a?100:500=t)a(!0,d);else{if(!v&&!f)if(0>=r){if(0=t-1&&0>w){a(!0,d);return}if(f){h=e._i3;if(h>e._n3)h=e._n3;else if(hl?(l+=e._z3/(15/(m/d*.003)),d=d*l/m,m=l):0>g&&m>p&&(p+=e._z3/(15/(m/d*.003)),d=d*p/m,m=p);l=Math.max(Math.round(d/ + .003),50);h+=m*(0>g?-1:1);if(h>e._n3){e._a4(h,l,!0,e._n3,200);return}if(hq&&b++;return b},p+qw?a(!1,d):(l=l(m-p),e._m2(e.currSlideId-l,c(Math.abs(e._p-(-e._u-e._d1+l)*e._w)/d),!1,!0,!0)):p-q>m?0this.numSlides)f=this.numSlides;this.slides.splice(f,0,c);this.slidesJQ.splice(f,0,n('
'));f<=this.currSlideId&&this.currSlideId++;this.ev.trigger("rsOnAppendSlide", + [c,f]);this._f4(f);f===this.currSlideId&&this.ev.trigger("rsAfterSlideChange")},removeSlide:function(b){var f=this.slides[b];f&&(f.holder&&f.holder.remove(),b=f._u?0:Math.floor(f._u/b);f.numSlides=f.slides.length;0===f.numSlides?(f.currSlideId=f._d1=f._u= + 0,f.currSlide=f._g4=null):f._u=b*f.numSlides+f.currSlideId;for(b=0;b=f.numSlides?f.goTo(f.numSlides-1):0>f.currSlideId&&f.goTo(0);f._t();f._l&&f._p1.css(f._g+f._u1,"0ms");f._h4&&clearTimeout(f._h4);f._h4=setTimeout(function(){f._l&&f._p3((-f._u-f._d1)*f._w);f._n2();f._l||f._r1.css({display:"block",opacity:1})},14);f.ev.trigger("rsOnUpdateNav")},_i1:function(){this._f1&&this._l&&(this._g1? + this._e1.css("cursor",this._g1):(this._e1.removeClass("grabbing-cursor"),this._e1.addClass("grab-cursor")))},_w2:function(){this._f1&&this._l&&(this._h1?this._e1.css("cursor",this._h1):(this._e1.removeClass("grab-cursor"),this._e1.addClass("grabbing-cursor")))},next:function(b){this._m2("next",this.st.transitionSpeed,!0,!b)},prev:function(b){this._m2("prev",this.st.transitionSpeed,!0,!b)},_m2:function(b,f,c,a,e){var g=this,d,h,k;g.ev.trigger("rsBeforeMove",[b,a]);k="next"===b?g.currSlideId+1:"prev"=== +b?g.currSlideId-1:b=parseInt(b,10);if(!g._z){if(0>k){g._i4("left",!a);return}if(k>=g.numSlides){g._i4("right",!a);return}}g._r2&&(g._u2(!0),c=!1);h=k-g.currSlideId;k=g._o2=g.currSlideId;var l=g.currSlideId+h;a=g._u;var n;g._z?(l=g._n2(!1,l),a+=h):a=l;g._o=l;g._g4=g.slidesJQ[g.currSlideId];g._u=a;g.currSlideId=g._o;g.currSlide=g.slides[g.currSlideId];g._r1=g.slidesJQ[g.currSlideId];var l=g.st.slidesDiff,m=Boolean(0g.numSlides-1?p=g.numSlides-1:0>p&&(p=0);k=m?p-k:k-p;k>g._y&&(k=g._y);if(h>k+l)for(g._d1+=(h-(k+l))*(m?-1:1),f*=1.4,k=0;k=this.numSlides?(this._c2.css("display","none"),this._d2.css("display","none")):(this._c2.css("display", + "block"),this._d2.css("display","block"),this._z||this.st.loopRewind||(0===this.currSlideId?this._c2.addClass("rsArrowDisabled"):this._c2.removeClass("rsArrowDisabled"),this.currSlideId===this.numSlides-1?this._d2.addClass("rsArrowDisabled"):this._d2.removeClass("rsArrowDisabled"))))},_x3:function(b,f,c,a,e){function g(){var a;h&&(a=h.data("rsTimeout"))&&(h!==k&&h.css({opacity:0,display:"none",zIndex:0}),clearTimeout(a),h.data("rsTimeout",""));if(a=k.data("rsTimeout"))clearTimeout(a),k.data("rsTimeout", + "")}var d=this,h,k,l={};isNaN(d._c)&&(d._c=400);d._p=d._h3=b;d.ev.trigger("rsBeforeAnimStart");d._e?d._l?(d._c=parseInt(d._c,10),c=d._g+d._v1,l[d._g+d._u1]=d._c+"ms",l[c]=a?n.rsCSS3Easing[d.st.easeInOut]:n.rsCSS3Easing[d.st.easeOut],d._p1.css(l),a||!d.hasTouch?setTimeout(function(){d._p3(b)},5):d._p3(b)):(d._c=d.st.transitionSpeed,h=d._g4,k=d._r1,k.data("rsTimeout")&&k.css("opacity",0),g(),h&&h.data("rsTimeout",setTimeout(function(){l[d._g+d._u1]="0ms";l.zIndex=0;l.display="none";h.data("rsTimeout", + "");h.css(l);setTimeout(function(){h.css("opacity",0)},16)},d._c+60)),l.display="block",l.zIndex=d._m,l.opacity=0,l[d._g+d._u1]="0ms",l[d._g+d._v1]=n.rsCSS3Easing[d.st.easeInOut],k.css(l),k.data("rsTimeout",setTimeout(function(){k.css(d._g+d._u1,d._c+"ms");k.data("rsTimeout",setTimeout(function(){k.css("opacity",1);k.data("rsTimeout","")},20))},20))):d._l?(l[d._h?d._x1:d._w1]=b+"px",d._p1.animate(l,d._c,a?d.st.easeInOut:d.st.easeOut)):(h=d._g4,k=d._r1,k.stop(!0,!0).css({opacity:0,display:"block", + zIndex:d._m}),d._c=d.st.transitionSpeed,k.animate({opacity:1},d._c,d.st.easeInOut),g(),h&&h.data("rsTimeout",setTimeout(function(){h.stop(!0,!0).css({opacity:0,display:"none",zIndex:0})},d._c+60)));d._r2=!0;d.loadingTimeout&&clearTimeout(d.loadingTimeout);d.loadingTimeout=e?setTimeout(function(){d.loadingTimeout=null;e.call()},d._c+60):setTimeout(function(){d.loadingTimeout=null;d._k4(f)},d._c+60)},_u2:function(b){this._r2=!1;clearTimeout(this.loadingTimeout);if(this._l)if(!this._e)this._p1.stop(!0), + this._p=parseInt(this._p1.css(this._h?this._x1:this._w1),10);else{if(!b){b=this._p;var f=this._h3=this._l4();this._p1.css(this._g+this._u1,"0ms");b!==f&&this._p3(f)}}else 20h||l>q)&&(d="fit");if("fill"===d||"fit"===d)m=h/k,p=q/l,m="fill"==d?m>p?m:p:"fit"==d?m=d.delay?12:d.delay))})}});l.rsModules.animatedBlocks=l.rsProto._p4})(jQuery); +// jquery.rs.auto-height v1.0.3 +(function(b){b.extend(b.rsProto,{_w4:function(){var a=this;if(a.st.autoHeight){var b,c,e,f=!0,d=function(d){e=a.slides[a.currSlideId];(b=e.holder)&&(c=b.height())&&void 0!==c&&c>(a.st.minAutoHeight||30)&&(a._c4=c,a._e||!d?a._e1.css("height",c):a._e1.stop(!0,!0).animate({height:c},a.st.transitionSpeed),a.ev.trigger("rsAutoHeightChange",c),f&&(a._e&&setTimeout(function(){a._e1.css(a._g+"transition","height "+a.st.transitionSpeed+"ms ease-in-out")},16),f=!1))};a.ev.on("rsMaybeSizeReady.rsAutoHeight", + function(a,b){e===b&&d()});a.ev.on("rsAfterContentSet.rsAutoHeight",function(a,b){e===b&&d()});a.slider.addClass("rsAutoHeight");a.ev.one("rsAfterInit",function(){setTimeout(function(){d(!1);setTimeout(function(){a.slider.append('
')},16)},16)});a.ev.on("rsBeforeAnimStart",function(){d(!0)});a.ev.on("rsBeforeSizeSet",function(){setTimeout(function(){d(!1)},16)})}}});b.rsModules.autoHeight=b.rsProto._w4})(jQuery); +// jquery.rs.autoplay v1.0.5 +(function(b){b.extend(b.rsProto,{_x4:function(){var a=this,d;a._y4={enabled:!1,stopAtAction:!0,pauseOnHover:!0,delay:2E3};!a.st.autoPlay&&a.st.autoplay&&(a.st.autoPlay=a.st.autoplay);a.st.autoPlay=b.extend({},a._y4,a.st.autoPlay);a.st.autoPlay.enabled&&(a.ev.on("rsBeforeParseNode",function(a,c,f){c=b(c);if(d=c.attr("data-rsDelay"))f.customDelay=parseInt(d,10)}),a.ev.one("rsAfterInit",function(){a._z4()}),a.ev.on("rsBeforeDestroy",function(){a.stopAutoPlay();a.slider.off("mouseenter mouseleave");b(window).off("blur"+ + a.ns+" focus"+a.ns)}))},_z4:function(){var a=this;a.startAutoPlay();a.ev.on("rsAfterContentSet",function(b,e){a._l2||a._r2||!a._a5||e!==a.currSlide||a._b5()});a.ev.on("rsDragRelease",function(){a._a5&&a._c5&&(a._c5=!1,a._b5())});a.ev.on("rsAfterSlideChange",function(){a._a5&&a._c5&&(a._c5=!1,a.currSlide.isLoaded&&a._b5())});a.ev.on("rsDragStart",function(){a._a5&&(a.st.autoPlay.stopAtAction?a.stopAutoPlay():(a._c5=!0,a._d5()))});a.ev.on("rsBeforeMove",function(b,e,c){a._a5&&(c&&a.st.autoPlay.stopAtAction? + a.stopAutoPlay():(a._c5=!0,a._d5()))});a._e5=!1;a.ev.on("rsVideoStop",function(){a._a5&&(a._e5=!1,a._b5())});a.ev.on("rsVideoPlay",function(){a._a5&&(a._c5=!1,a._d5(),a._e5=!0)});b(window).on("blur"+a.ns,function(){a._a5&&(a._c5=!0,a._d5())}).on("focus"+a.ns,function(){a._a5&&a._c5&&(a._c5=!1,a._b5())});a.st.autoPlay.pauseOnHover&&(a._f5=!1,a.slider.hover(function(){a._a5&&(a._c5=!1,a._d5(),a._f5=!0)},function(){a._a5&&(a._f5=!1,a._b5())}))},toggleAutoPlay:function(){this._a5?this.stopAutoPlay(): + this.startAutoPlay()},startAutoPlay:function(){this._a5=!0;this.currSlide.isLoaded&&this._b5()},stopAutoPlay:function(){this._e5=this._f5=this._c5=this._a5=!1;this._d5()},_b5:function(){var a=this;a._f5||a._e5||(a._g5=!0,a._h5&&clearTimeout(a._h5),a._h5=setTimeout(function(){var b;a._z||a.st.loopRewind||(b=!0,a.st.loopRewind=!0);a.next(!0);b&&(a.st.loopRewind=!1)},a.currSlide.customDelay?a.currSlide.customDelay:a.st.autoPlay.delay))},_d5:function(){this._f5||this._e5||(this._g5=!1,this._h5&&(clearTimeout(this._h5), + this._h5=null))}});b.rsModules.autoplay=b.rsProto._x4})(jQuery); +// jquery.rs.bullets v1.0.1 +(function(c){c.extend(c.rsProto,{_i5:function(){var a=this;"bullets"===a.st.controlNavigation&&(a.ev.one("rsAfterPropsSetup",function(){a._j5=!0;a.slider.addClass("rsWithBullets");for(var b='
',e=0;e
';a._k5=b=c(b+"");a._l5=b.appendTo(a.slider).children();a._k5.on("click.rs",".rsNavItem",function(b){a._m5||a.goTo(c(this).index())})}),a.ev.on("rsOnAppendSlide",function(b,c,d){d>=a.numSlides?a._k5.append('
'): + a._l5.eq(d).before('
');a._l5=a._k5.children()}),a.ev.on("rsOnRemoveSlide",function(b,c){var d=a._l5.eq(c);d&&d.length&&(d.remove(),a._l5=a._k5.children())}),a.ev.on("rsOnUpdateNav",function(){var b=a.currSlideId;a._n5&&a._n5.removeClass("rsNavSelected");b=a._l5.eq(b);b.addClass("rsNavSelected");a._n5=b}))}});c.rsModules.bullets=c.rsProto._i5})(jQuery); +// jquery.rs.deeplinking v1.0.6 + jQuery hashchange plugin v1.3 Copyright (c) 2010 Ben Alman +(function(b){b.extend(b.rsProto,{_o5:function(){var a=this,h,d,f;a._p5={enabled:!1,change:!1,prefix:""};a.st.deeplinking=b.extend({},a._p5,a.st.deeplinking);if(a.st.deeplinking.enabled){var g=a.st.deeplinking.change,e=a.st.deeplinking.prefix,c="#"+e,k=function(){var a=window.location.hash;return a&&0b||(b>a.numSlides-1&&(b=a.numSlides-1), + a.goTo(b)))}),a.ev.on("rsBeforeAnimStart",function(){d&&clearTimeout(d);f&&clearTimeout(f)}),a.ev.on("rsAfterSlideChange",function(){d&&clearTimeout(d);f&&clearTimeout(f);f=setTimeout(function(){h=!0;window.location.replace((""+window.location).split("#")[0]+c+(a.currSlideId+1));d=setTimeout(function(){h=!1;d=null},60)},400)}));a.ev.on("rsBeforeDestroy",function(){d=f=null;g&&b(window).off("hashchange"+a.ns)})}}});b.rsModules.deeplinking=b.rsProto._o5})(jQuery); +(function(b,a,h){function d(a){a=a||location.href;return"#"+a.replace(/^[^#]*#?(.*)$/,"$1")}"$:nomunge";var f=document,g,e=b.event.special,c=f.documentMode,k="onhashchange"in a&&(c===h||7').hide().one("load",function(){c||m(d());g()}).attr("src",c||"javascript:0").insertAfter("body")[0].contentWindow,f.onpropertychange= + function(){try{"title"===event.propertyName&&(a.document.title=f.title)}catch(b){}})};e.stop=n;q=function(){return d(a.location.href)};m=function(c,e){var d=a.document,g=b.fn.hashchange.domain;c!==e&&(d.title=f.title,d.open(),g&&d.write('